Commit e61a84b
BUG : avoid maximum fill value of datetime and timedelta return
Fill datetime/timedelta with the correct minimum value for the masked maximum operations.
The lowest integer value is NaT, so the actual smallest value is `-2**63+1`.
---------
Co-authored-by: fengluo <fengluoqiuwu@gmail.com>
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>NaT in masked array (numpy#27643)1 parent fdeb79a commit e61a84b
2 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
5979 | 5979 | | |
5980 | 5980 | | |
5981 | 5981 | | |
5982 | | - | |
| 5982 | + | |
5983 | 5983 | | |
5984 | 5984 | | |
5985 | 5985 | | |
| |||
6084 | 6084 | | |
6085 | 6085 | | |
6086 | 6086 | | |
6087 | | - | |
| 6087 | + | |
6088 | 6088 | | |
6089 | 6089 | | |
6090 | 6090 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1351 | 1351 | | |
1352 | 1352 | | |
1353 | 1353 | | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
1354 | 1374 | | |
1355 | 1375 | | |
1356 | 1376 | | |
| |||
0 commit comments