Spaces:
Runtime error
Runtime error
Download src/data/data_loader.py from SparshSG/AQI_Predictor: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/spaces/SparshSG/AQI_Predictor/resolve/main/src/data/data_loader.py
- Command line
-
hf download hf://spaces/SparshSG/AQI_Predictor/src/data/data_loader.py
-
curl -L -o data_loader.py https://huggingface.co/spaces/SparshSG/AQI_Predictor/resolve/main/src/data/data_loader.py
211 Bytes
| import pandas as pd | |
| def load_raw_data(path: str) -> pd.DataFrame: | |
| df = pd.read_csv(path) | |
| return df | |
| def load_processed_data(path: str) -> pd.DataFrame: | |
| df = pd.read_csv(path) | |
| return df |