Skip to content

Commit d1f1a8d

Browse files
committed
Remove identification of timedelta dtypes
1 parent 09ab7e1 commit d1f1a8d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pointblank/_interrogation.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,18 +2032,14 @@ def _modify_datetime_compare_val(tgt_column: any, compare_val: any) -> any:
20322032
compare_type = "datetime"
20332033
elif "datetime.date" in compare_type_str:
20342034
compare_type = "date"
2035-
elif "datetime.timedelta" in compare_type_str:
2036-
compare_type = "timedelta"
20372035
else:
20382036
compare_type = "other"
20392037

20402038
if "datetime" in tgt_col_dtype_str:
20412039
tgt_col_dtype = "datetime"
20422040
elif "date" in tgt_col_dtype_str or "object" in tgt_col_dtype_str:
2043-
# Object type is used for date columns in the Pandas
2041+
# Object type is used for date columns in Pandas
20442042
tgt_col_dtype = "date"
2045-
elif "timedelta" in tgt_col_dtype_str:
2046-
tgt_col_dtype = "timedelta"
20472043
else:
20482044
tgt_col_dtype = "other"
20492045

0 commit comments

Comments
 (0)