Source code for finstmt.check
import pandas as pd
[docs]def item_series_is_empty(s: pd.Series) -> bool:
if s.sum() != 0:
return False
for value in s:
if value != 0:
return False
return True
import pandas as pd
[docs]def item_series_is_empty(s: pd.Series) -> bool:
if s.sum() != 0:
return False
for value in s:
if value != 0:
return False
return True