Kaynağa Gözat

fixed bug in Cleaning utis

tanja 3 yıl önce
ebeveyn
işleme
351271f435
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      cdplib/utils/CleaningUtils.py

+ 2 - 2
cdplib/utils/CleaningUtils.py

@@ -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