Spaces:
Sleeping
Sleeping
Download test.py from friedeggy/Final_Project: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/friedeggy/Final_Project/resolve/main/test.py
- Command line
-
hf download hf://spaces/friedeggy/Final_Project/test.py
-
curl -L -o test.py https://huggingface.co/spaces/friedeggy/Final_Project/resolve/main/test.py
352 Bytes
| import pandas as pd | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| df = pd.DataFrame({ | |
| 'Category': ['B', 'B', 'B', 'C', 'A', 'B', 'A', 'D'], | |
| 'Value': [10, 20, 30, 40, 50, 60, 70, 80] | |
| }) | |
| null_data = df.isnull().sum() | |
| print(f"The shape of this dataframe is {str(df.shape)} \n {df.describe()} \n Null data: \n {null_data}") | |