uci-ml-repo / ucimlrepo

Python package for dataset imports from UCI ML Repository
MIT License
216 stars 90 forks source link

Request: Return available datasets as a list (instead of printing them) #13

Open arnoudbuzing opened 4 months ago

arnoudbuzing commented 4 months ago

The list_available_datasets(...) function prints out the available datasets

It would be useful if there were also a function that returned the result as a list or some equivalent JSON expression

I think the source data comes from here https://archive.ics.uci.edu/api/datasets/list so this should be easy to do

coatless commented 3 months ago

@arnoudbuzing The easiest would probably be to return a Pandas data frame as the data from the endpoint is in tabular form with variables: