Closed ollyhensby closed 2 months ago
Implementing use of pd.isnull where applicable.
pd.isnull
Before we were just checking for None, however, pandas data frame returns nan and therefore was not being captured by the if statement correctly.
None
nan
The issue was caused by this commit and will be reverted in this PR.
To finally resolve this issue, an is_null function has been created and used in place of pd.isnull.
is_null
great - looks good to me
Implementing use of
pd.isnull
where applicable.Before we were just checking for
None
, however, pandas data frame returnsnan
and therefore was not being captured by the if statement correctly.The issue was caused by this commit and will be reverted in this PR.
To finally resolve this issue, an
is_null
function has been created and used in place ofpd.isnull
.