In this project, we will query the local and global fitness landscape to identify the international niche for our fitness products. We will use Pandas to analyze data related to online interest in home gyms, gym workouts, home workouts, and fitness products.
In this project, we aim to identify the international market for fitness products by querying local and global fitness landscapes. The project involves various analyses and visualizations using the following key libraries:
- pandas (pd): Used for data manipulation and analysis. Official Documentation
- seaborn (sns): Employed for data visualization; the style and color palette were set to 'white' and 'Pastel2', respectively. Official Documentation
- matplotlib.pyplot (plt): Utilized for creating graphs. Official Documentation
- os: Used for operating system operations. os Module Documentation
-
read_file(filepath, plot=True):
- Reads a CSV file and converts it into a pandas DataFrame.
- Returns a processed DataFrame with three columns: 'week', 'region', and 'interest'.
- Creates a line plot using Seaborn to visualize the data.
-
read_geo(filepath, multi=False):
- Reads a CSV file and converts it into a pandas DataFrame.
- Returns a processed DataFrame with two columns: 'country' and 'interest'.
- Creates a bar plot using Seaborn to visualize the data.
- Uses multi=True if analyzing more than one keyword, otherwise multi=False.
-
Global Fitness Interest Analysis:
- Evaluates international fitness interest using data from the 'workout.csv' file.
-
Fitness Interest Trends:
- Compares trends in interest for home workouts, gym workouts, and home gyms using data from the 'three_keywords.csv' file.
-
Fitness Interest by Regions:
- Segments regional fitness interest using data from the 'workout_global.csv' file.
-
Home Workouts and Regions:
- Evaluates the demand for home workouts, gym workouts, and home gyms regionally using data from the 'geo_three_keywords.csv' file.
-
Interest Analysis by Country and Category:
- Conducts an in-depth analysis by examining yoga and zumba interest in specific countries.