Commit 36c2a69
Fix pandas FutureWarnings in ecephys_project_cache
- Select only the needed column before groupby().apply() to avoid
FutureWarning about grouping columns (compatible with pandas 1.5+)
- Use None instead of 0 to initialize column, avoiding dtype incompatibility
warning when storing arrays of strings
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 920e6b7 commit 36c2a69
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
741 | | - | |
742 | | - | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
743 | 746 | | |
744 | 747 | | |
745 | 748 | | |
| |||
0 commit comments