Commit 7c6414d
check ExtensionType in is_datetime64_any_dtype for array-likes (pandas-dev#57060)
* check for ExtensionType in is_datetime64_any_dtype
* use pre-commit
* add test and move doc entry
* check not date in test
* fix condition
* check type is not datetime.date
* fix comparison
* move description to ExtensionArray
* return True for date types1 parent ad90316 commit 7c6414d
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
893 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
894 | 898 | | |
895 | 899 | | |
896 | 900 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
1531 | 1532 | | |
1532 | 1533 | | |
1533 | 1534 | | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1534 | 1543 | | |
1535 | 1544 | | |
1536 | 1545 | | |
| |||
0 commit comments