Speedml / speedml

Speedml is a Python package to speed start machine learning projects.
MIT License
211 stars 32 forks source link

Initialize Speedml with pandas dataframe rather than .csv #32

Open MLDERES opened 5 years ago

MLDERES commented 5 years ago

Not all data comes in .csv or .json files. It would be fantastic and helpful to allow for initializing the process with a dataframe, matrix or series of data rather than requiring files. For instance,

import pandas as pd
from speedml import Speedml

df = pd.read_excel('../somefile')
sml = Speedml(data = df, target='column name')