• Patrick Ford's avatar
    [python] Output model to a pandas DataFrame (#2592) · 301402c8
    Patrick Ford authored
    * trees_to_df method and unit test added. PEP 8 fixes for integration.
    
    * Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>
    
    Post-review changes
    
    * changes from second round of reviews from striker
    
    * third round of review. formatting and added 2 more tests
    
    * replaced pandas dot attribute accessor with string attribute accessor
    
    * dealt with single tree edge case and minor refactor of tests
    
    * slight refactor for checking if tree is a single node
    301402c8
test_basic.py 15.9 KB