Commit b7355ed
committed
fix: update DataFrame.from_records index parameter to accept Hashable values
- Change index parameter type from SequenceNotStr[str] to SequenceNotStr[Hashable]
- Apply black formatting to test files
- Resolves CI type checking issues per Dr-Irv feedback
This allows index parameter to accept integers and other hashable values,
not just strings, matching pandas runtime behavior.1 parent 3204558 commit b7355ed
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4735 | 4735 | | |
4736 | 4736 | | |
4737 | 4737 | | |
4738 | | - | |
| 4738 | + | |
4739 | 4739 | | |
4740 | 4740 | | |
4741 | | - | |
| 4741 | + | |
| 4742 | + | |
| 4743 | + | |
4742 | 4744 | | |
4743 | 4745 | | |
4744 | 4746 | | |
| |||
0 commit comments