This commit refactors the main_functions.py file by removing duplicate import statement and adds new functions for data preprocessing and feature engineering. The new functions include:
add_release_season_column: Adds a new column 'release_season' to the dataframe based on the 'Release date' column.
convert_estimated_owners_to_midpoints: Converts the 'Estimated owners' column from range format to midpoint values.
add_review_columns: Adds new columns 'total_reviews' and 'positive_ratio' based on the 'Positive' and 'Negative' columns.
merge_genres_tags: Merges the 'Genres' and 'Tags' columns into a new column 'Genres_Tags'.
add_player_type_numeric_column: Adds a new column 'player_type_numeric' based on the presence of keywords in the 'Categories' column.
add_online_offline_column: Adds a new column 'online_offline' based on the presence of 'online' in the 'Categories' column.
This commit refactors the main_functions.py file by removing duplicate import statement and adds new functions for data preprocessing and feature engineering. The new functions include: