• Roman Shaptala's avatar
    [python] Faster categorical column names selection (#4787) · 6cbb3586
    Roman Shaptala authored
    * Faster categorical column names selection (#1)
    
    * Faster categorical column names selection
    
    Change slow and redundant dataframe query by select_dtypes into a dataframe.dtypes list comprehension
    
    * Update compat with CategoricalDtype
    
    * sort imports
    
    * import CategoricalDtype from pandas.api.types
    
    * add categorical import try/except
    6cbb3586
basic.py 163 KB