NFL Player Stat App

This is a web application that allows users to view and compare NFL player statistics.

Features

  • View player statistics for the current season, previous seasons, and career.
  • Compare player statistics across different positions and teams.
  • Filter player statistics by game, date, and team.
  • Export player statistics to a CSV file.
  • Generate Heatmap

Technologies Used

Requirements

  • Python 3.6 or higher
  • Pandas
  • NumPy
  • Plotly

Installation

  1. Clone the repository to your local machine
  2. Install the dependencies by running the following command in the terminal:

Use code with caution. Learn more pip install -r requirements.txt

Usage

  1. Run the app by running the following command in the terminal:

Use code with caution. Learn more
streamlit run football.py

The app will open in your web browser.
Enter a player's name or select a player from the drop-down menu.
Select the season, position, and team to view the player's statistics.
Use the filter options to filter the player's statistics.
Click the "Export" button to export the player's statistics to a CSV file.

Example

The following is an example of how to use the app:

Enter the player's name: Tom Brady
Select the season: 2022
Select the position: Quarterback
Select the team: Tampa Bay Buccaneers
Click the "View Stats" button.
The app will display Tom Brady's statistics for the 2022 season. The statistics will include passing yards, passing touchdowns, rushing yards, rushing touchdowns, and receptions.

Contributing

If you would like to contribute to the development of this app, please feel free to fork the repository and make your changes. Once you have made your changes, please submit a pull request.

Contact

If you have any questions or suggestions, please feel free to contact me by email at sababadad74@gmail.com