Skip to content
Snippets Groups Projects
Commit 5a4f3189 authored by Max Väistö's avatar Max Väistö
Browse files

Testing global variable optimization

parent 60fde42f
No related branches found
No related tags found
No related merge requests found
...@@ -56,3 +56,6 @@ def add_game_revenues_and_owner_means(data): ...@@ -56,3 +56,6 @@ def add_game_revenues_and_owner_means(data):
data["game_revenue"] = data.apply(lambda x: x["owner_means"] * x["price"] if data["game_revenue"] = data.apply(lambda x: x["owner_means"] * x["price"] if
not (pandas.isna(x["owner_means"]) or pandas.isna(x["price"])) not (pandas.isna(x["owner_means"]) or pandas.isna(x["price"]))
else 0, axis=1) else 0, axis=1)
FULL_DATA, OWNER_RANGE_PARTS_SORTED, LABEL_ENCODED_DATASET = initialize_data()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment