Skip to content

Commit 8c4309c

Browse files
committed
Use isna instead os isnull
1 parent 55db5eb commit 8c4309c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/sas/sas7bdat.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from pandas.errors import EmptyDataError, OutOfBoundsDatetime
2424

2525
import pandas as pd
26-
from pandas import isnull
26+
from pandas import isna
2727

2828
from pandas.io.common import get_handle
2929
from pandas.io.sas._sas import Parser
@@ -32,7 +32,7 @@
3232

3333

3434
def _parse_datetime(sas_datetime: float, unit: str):
35-
if isnull(sas_datetime):
35+
if isna(sas_datetime):
3636
return pd.NaT
3737

3838
if unit == "s":

0 commit comments

Comments
 (0)