pydit.wrangling.sequence.check_sequence¶
- pydit.wrangling.sequence.check_sequence(obj_in, col=None)[source]¶
Checks the numerical sequence of a series including dates
If a text column is provided it will attempt to convert to numeric after extacting any non numeric chars.
- Parameters:
obj_in (list, pandas.Series or pandas.DataFrame) – The list, series or dataframe to check
col (str) – The column name to check, if a DataFrame is provided.
- Returns:
A list of the missing values in the series
- Return type:
list