|
@@ -8,7 +8,7 @@ Created on Fri Sep 27 16:20:03 2019
|
|
|
|
|
|
import pandas as pd
|
|
|
import numpy as np
|
|
|
-from typing import Union, Any, List
|
|
|
+from typing import Union, List
|
|
|
|
|
|
|
|
|
class CleaningUtils:
|
|
@@ -16,7 +16,7 @@ class CleaningUtils:
|
|
|
Unites different methods for data cleaning
|
|
|
'''
|
|
|
def convert_dates(self,
|
|
|
- series: pd.Series[Any],
|
|
|
+ series: pd.Series,
|
|
|
formats: Union[str, List[str]]) -> pd.Series:
|
|
|
'''
|
|
|
Converts values from string to date in a pandas Series
|