Loading native skoot datasetsΒΆ

This example demonstrates how to use the datasets module to load pre-bundled datasets for modeling use in skoot.


Out:

age  ... Salary
0   39  ...  <=50K
1   50  ...  <=50K
2   38  ...  <=50K
3   53  ...  <=50K
4   28  ...  <=50K

[5 rows x 15 columns]

print(__doc__)

# Author: Taylor Smith <taylor.smith@alkaline-ml.com>

from skoot.datasets import load_adult_df

# #############################################################################
# Load the adult dataset
adult = load_adult_df(include_tgt=True, tgt_name="Salary")
print(adult.head())

Total running time of the script: ( 0 minutes 0.062 seconds)

Gallery generated by Sphinx-Gallery