Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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



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



Vini-python


Vini-streamlit

## 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... 🚧