Spaces:
Sleeping
Sleeping
Commit History
-
Smart data ingestion + figure safety + synthetic manifest + HF auth fix
Addresses the directive's six Major Problems without disturbing the primary Gradio workflow at http://127.0.0.1:7860. Major Problem 1 — robust multi-format CSV ingestion New module cdpr.ingest.smart_loader provides load_dataset() and ProfileReport across CSV / TSV / TXT / XLSX / XLS / ODS / Parquet / Feather. Auto-detects format from extension and magic bytes; missing engine surfaces a clean ImportError with the install command rather than a tangled traceback. Timestamp handling: any column whose normalised name matches the alias table (time/timestamp/ts/sec/date/...) OR any string column whose first non-null values parse as datetime is converted to seconds-from-first-sample under a new 't' column. The directive's exact failure case --- 2025-05-07 15:01:27.548198 --- yields t = 0, 1, 2, 3, 4 (seconds). Missing-value handling: recognises the full sentinel set the directive listed (none/None/NULL/NaN/nan/N/A/missing/blank plus common spreadshe…2ad96a7