CoolFace
Apppublic

Nainikas/Traffic-Aware-ETA-Prediction-Using-Temporal-Deep-Learning

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
load_and_inspect.py18 linesDownload Raw Back to data
1import pandas as pd2from pathlib import Path3 4# Path to your HDF5 file5data_path = Path("data/pems-bay.h5")6 7# Load using pandas8df = pd.read_hdf(data_path, key='speed')9 10# Preview the data11print("DataFrame shape:", df.shape)12print("Columns (sensors):", df.columns[:5])13print(df.head())14 15# Check for missing values or zero speeds16print("\nAny NaNs?", df.isna().any().any())17print("Basic stats:\n", df.describe())18