Skip to content

Commit effcf58

Browse files
committed
cleanup
1 parent ac14e3c commit effcf58

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/_libs/lib.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2081,10 +2081,6 @@ def is_datetime_naive_array(values: ndarray) -> bool:
20812081
return False
20822082

20832083
for j in range(n):
2084-
# Compare val's timezone with the reference timezone
2085-
# NaT can coexist with tz-aware datetimes, so skip if encountered
2086-
# val = values[j]
2087-
# if val is not NaT and val is not None and not util.is_nan(val):
20882084
tz = getattr(values[j], "tzinfo", None)
20892085
if tz is not None:
20902086
return False

0 commit comments

Comments
 (0)