You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(file): read only header row instead of entire CSV in has_valid_headers (#1235)
* perf(file): fast append and schema migration for CSV output
- has_valid_headers() reads only first row instead of entire CSV
- Append mode with matching headers: direct append via to_csv(mode='a')
- On schema mismatch: merge old data with new schema instead of backup
(union of columns, preserves old data with NaN for missing)
- dropna(axis=1, how='all') only in append path to preserve new file columns
* remove unintended changes
---------
Co-authored-by: Vishali M P <vishali@Mac.lan>
0 commit comments