Commit a28061e
committed
Simplify test and check for empty dataframe before truncating
This avoid type errors when the index is not initialized to timestamp1 parent b724a52 commit a28061e
2 files changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
539 | 541 | | |
540 | 542 | | |
541 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | 955 | | |
960 | | - | |
| 956 | + | |
961 | 957 | | |
962 | 958 | | |
963 | 959 | | |
| |||
0 commit comments