dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
9.05k stars 1.89k forks source link

DataFrame.LoadCsv should support URLs #5905

Open pgovind opened 3 years ago

pgovind commented 3 years ago

Just logging an issue I encountered while using DataFrame. I wanted to read in the csv file living here: https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/01-01-2021.csv. However I first had to download the raw data, save it into a csv file and then read it into a DataFrame. I think there's room to make LoadCsv support URLs ending with .csv here to make the process cleaner.

tombohub commented 3 years ago

You can also load dataframe from csv string with DataFrame.LoadCsvFromString. Did you try? it worked for me