• Nikita Titov's avatar
    [python] avoid data copy where possible (#2383) · d064019f
    Nikita Titov authored
    * avoid copy where possible
    
    * use precise type for importance type
    
    * removed pointless code
    
    * simplify sparse pandas Series conversion
    
    * more memory savings
    
    * always force type conversion for 1-D arrays
    
    * one more copy=False
    d064019f
engine.py 27.4 KB