We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e610c commit 04dcbe8Copy full SHA for 04dcbe8
pandas/tests/frame/test_sorting.py
@@ -524,13 +524,9 @@ def test_sort_nat_values_in_int_column(self):
524
525
# and now check if NaT is still considered as "na" for datetime64
526
# columns:
527
- df = DataFrame(dict(int=int_values, float=float_values),
528
- columns=["int", "float"])
529
-
530
df = DataFrame(dict(datetime=[Timestamp("2016-01-01"), NaT],
531
float=float_values), columns=["datetime", "float"])
532
533
- # check if the dtype is datetime64[ns]:
534
assert df["datetime"].dtypes == np.dtype("datetime64[ns]"),\
535
"this test function is not reliable anymore"
536
0 commit comments