Flash - data functions

Hi all, Just wondering if there is a from_pandas functionality in Flash since I can see that there is a from_csv function as seen here.

Similarly is there a from_numpy function so that you can just do something like,

dm = from_numpy(x, y)

and it will take care of splitting data etc. If not, can someone point me in the right direction to do a PR.

Hi, thanks for the question. Yes, we do have from_data_frame, which accepts a pandas data frame as input, for TabularData, take a look here: Tabular Classification — Flash documentation

Also, it’s worth mentioning that you will get a quicker response in future if you use GitHub discussions as we’ve migrated: Migrating to GitHub discussions!

Hope that helps :smiley: