Commit 7c1f7a4
fix: reset self.df at start of compute_metadata to prevent DuplicateError
compute_metadata mutates self.df by adding timezone and local_datetime
columns. Calling it a second time on the same instance caused a
DuplicateError in the Polars join (_compute_timezones). Fix: re-read
the CSV at the start of each call alongside the existing cache resets.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 639e999 commit 7c1f7a4
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
824 | 827 | | |
825 | 828 | | |
826 | 829 | | |
| |||
0 commit comments