Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinicius999/eda-basketball-streamlit
Simple web application for viewing, filtering and analyzing Basketball data using Stremlit.
https://github.com/vinicius999/eda-basketball-streamlit
numpy pandas python streamlit webapp webscraping
Last synced: 13 days ago
JSON representation
Simple web application for viewing, filtering and analyzing Basketball data using Stremlit.
- Host: GitHub
- URL: https://github.com/vinicius999/eda-basketball-streamlit
- Owner: Vinicius999
- License: mit
- Created: 2022-12-29T00:29:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-11T12:07:42.000Z (over 1 year ago)
- Last Synced: 2024-11-13T12:52:14.332Z (2 months ago)
- Topics: numpy, pandas, python, streamlit, webapp, webscraping
- Language: Python
- Homepage:
- Size: 7.68 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
π Β EDA Basketball Β π
Web app developed with Streamlit containing a simple exploratory data analysis (EDA) about NBA data.
Demo App |
Run Project |
Technologies |
Data |
Web App## Demo App
## Run Project
To install all the necessary libraries to run this project, we will use the [`requirements.txt`](https://github.com/Vinicius999/EDA-Basketball-Streamlit/blob/main/requirements.txt) file. To do this, launch the terminal, navigate to the project folder and run the following command:
```
pip install -r requirements.txt
```After that we can run the [`main.py`](https://github.com/Vinicius999/EDA-Basketball-Streamlit/blob/main/main.py) file using the command:
```
streamlit run main.py
```## Technologies
## Data
- Data Source: [basketball-reference.com](https://www.basketball-reference.com/)
- Original data (2022):
![Original data](https://github.com/Vinicius999/EDA-Basketball-Streamlit/blob/main/images/data-image-website.png)
## Web App
Sidebar
In the sidebar we have the User Input Features, where we can filter the results presented based on 3 different filters:
- Year
- Team
- Position
In the demo below we can see the sidebar and how filters can be applied.
Display and Download Data
By applying the filters, we can view the resulting data shown in a table (dataframe).
The table with the results is interactive and we can sort the data displayed based on any of the columns in ascending or descending order. In addition, we can expand the table to a full screen view and we can also select one or several cells to copy and paste the data contained in it.
To download the table with the filtered data, we can use the Download CSV File button.
The demo below shows the interactions with the results table, as well as how to download the table.
Intercorrelation Heatmap Button
In addition to the table with the filtered data, we can also visualize an intercorrelation matrix of these data graphically.
We can view this graph through the "intercorrlation heatmap" button as shown in the demonstration below.
π§ Projeto π em construção... π§