Spaces:
Runtime error
Runtime error
Download check_data.py from KaustavMP/NetWokie-AI: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/spaces/KaustavMP/NetWokie-AI/resolve/main/check_data.py
- Command line
-
hf download hf://spaces/KaustavMP/NetWokie-AI/check_data.py
-
curl -L -o check_data.py https://huggingface.co/spaces/KaustavMP/NetWokie-AI/resolve/main/check_data.py
466 Bytes
| import pandas as pd | |
| import os | |
| data_dir = r"C:\Users\KAUSTAV\OneDrive\Desktop\NetWokie\NetWokie-AI\datasets" | |
| for f in ["dataset_1.csv", "dataset_2.csv", "dataset_3.csv", "processed_dataset.csv"]: | |
| path = os.path.join(data_dir, f) | |
| if os.path.exists(path): | |
| try: | |
| df = pd.read_csv(path, nrows=0) | |
| print(f"--- {f} ---") | |
| print(list(df.columns)) | |
| except Exception as e: | |
| print(f"Error reading {f}: {e}") | |