Giter Site home page Giter Site logo

ozzygoylusun / python.-conducting-market-analysis-of-global-workout-trends Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.5 MB

This data project in Python is designed to conduct a market analysis designed to assess global demand for workout by country and also category from 2018 to 2023.

Jupyter Notebook 97.78% Python 2.22%
data-visualisation exploratory-data-analysis pandas-dataframe python

python.-conducting-market-analysis-of-global-workout-trends's Introduction

Conducting Market Analysis of Global Workout Trends

Table of Contents

Project Overview


This data analysis project in Python is intended to conduct a market analysis to assist a fitness studio based in Philippines with:

  • Assessing global demand for workout for the timeframe between mid-March 2018 and mid-March 2023.
  • Exploring top 3 fitness keywords searched that generated most interest for workout during various time periods.
  • Gauging the split of interest in these three keywords by Philippines and its far/near neighbouring countries, including in Middle East.
  • Identifying most popular workout types in Philippines and Singapore.

Various Workout Types

The main goal of these activities is to enable the firm to create unique new digital products and services for its existing customers and potential users informed by a data-driven product management strategy.

Data Sources

There were four fundamental datasets leveraged for this analysis:

  • workout.csv
  • three_keywords.csv
  • workout_global.csv
  • geo_three_keywords.csv

Tools

Data Preparation

  • Found in the Datasets folder, all datasets were first inspected and then loaded into various Pandas DataFrames in the appropriate sections of the code.
  • During inspection, various duplicated, corrupt and missing aspects of the data were identified.
  • Before loading any file into DataFrames, the code was written to pre-emptively handle all problematic parts in the datasets.

Exploratory Data Analysis

Depending upon Google Trends and also YouTube keyword searches in niche instances, EDA aimed at answering some key questions, such as:

  1. How does the trend of global demand for workout appear for the timeframe between mid-March 2018 and mid-March 2023?
  2. Which of these three keywords - gym workout, home workout and home gym, generated most interest in 2020 and during 2022-2023 separately?
  3. What are the top 20 countries with the highest interest in workout?
  4. What is the breakdown of the three workout keywords for certain Middle Eastern and South Asian countries (aka. MESA), including Philippines and Singapore?
  5. Based on YouTube keyword searches, which workout type (e.g., yoga, weight lifting) generated highest interest in Philippines during the timeframe at hand?

Data Analysis

While inspecting datasets that include multiple categorical variables, I realised that if I were to transpose those cat variables from columns into rows, it would help tremendously with my next steps for the exploratory data analysis work.

Hence, I decided to resort to a function, called stack(), to achieve this task:

df = file.set_index('Week').stack().reset_index()

Prior to that, I had needed to set the index to our 'Week' column so that I would be able to also group each of these three keywords by the datetime parameter without forfeiting it.

Findings

The critical analysis results are summarised as follows:

  1. Interest in workouts tends to be rather seasonal, spiking at the beginning of each year, presumably due to people's part of New Year resolutions.
  • However, there is an anomaly observed in year 2020, with another but more powerful spike in global interest in workouts, shortly following the COVID announcement - in April 2020.

Global Interest in Workouts

  1. During the peak COVID 2020 period, the home workouts had stood out as the most popular workout trend, whereas there was subsequently a global shift in trend towards the gym workouts from 2022 onwards.

Global Interest in Type of Workouts

  1. The United States in relative terms showed the highest interest in workouts while Philippines globally ranked the 7th spot where the firm is based. In addition, almost half of the top 20 countries turned out to be based in Middle East or South Asia (MESA).

Interest in Workout by Country

  1. It was fairly interesting to note that, among the other prominent MESA countries in rankings, Philippines came out on top for the population's interest in home workout. Nevertheless, the same country ranked the last spot when comes to interest in home gym.

  2. Linked to Finding #4 to a certain extent, Zumba is the most preferred method of workout in Philippines over the last 5 years, which may also indicate the reason as to why the population living in Philippines works out rather at home than visiting a gym, as shown below:

Popular Workouts in Philippines

Recommendations

Based on the analysis, I recommend the following actions:

  • Invest human and financial capital to devise a data-driven product management strategy.
  • Launch marketing communications campaigns, particularly built on the theme Zumba, in order to alter potential users' behaviour towards visiting the firm's fitness studios.
  • Consider Zumba and Yoga as the pilot content while developing products and services designed to more intelligently interact with potential users.
  • Continue to undertake data researches of similar type every 6 months to stay abreast of new developments in the industry.

Limitations

All this data analysis work hinge on the datasets made available by DataCamp. By consequence, the accuracy of the findings and proposed suggestions are inherently bound to the integrity of such data.

References

  1. DataCamp: Project Source
  2. Python-Pandas: Use of Stack() Function
  3. Python-Pandas: DateTime Conversion
  4. Python-Pandas: Manipulation of DateTime into Desired String
  5. Python-Pandas: Resampling Method
  6. Seaborn Library: Setting Background Theme for Graphs
  7. Seaborn Library: Setting Colour Palette for Graphs

python.-conducting-market-analysis-of-global-workout-trends's People

Contributors

ozzygoylusun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.