oo-method-test / scripts /import datasets.py
Edward J. Schwartz
Script updates
85a4ca2
raw
history blame
167 Bytes
import datasets
# find /wherever -name '*.csv' | tar -T - -c | tar -C /somewhere -x
ds = datasets.load_dataset("csv", "/somewhere")
ds = ds.class_encode_column('Type')