machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

Dataframe load data from excel and query using sql

Open Kumar3010 opened this issue 6 years ago • 5 comments

can we load excel data using this libraray and query the dataframe as we do in padnas using sql command df.select("select col1,col2,from df")

Kumar3010 avatar Nov 07 '20 12:11 Kumar3010

No, we can't do this yet. However, if you find a library that lets you read excel files and exposes it as an IDataReader, we should be able to read it into a DataFrame once https://github.com/dotnet/corefxlab/pull/2924/files goes in

pgovind avatar Nov 18 '20 19:11 pgovind

There's ExcelDataReader which is ADO.NET compatible.

YohDeadfall avatar Nov 18 '20 20:11 YohDeadfall

@pgovind - could you please let us know if this is possilbe now

Kumar3010 avatar Jan 23 '21 13:01 Kumar3010

Not yet unfortunately. dotnet/corefxlab#2924 is inactive at the moment. Would you be interested in adding unit tests to that PR? If not, this is on the list for the next DataFrame release. I'm tied up with .NET 6 work at the moment though, so it'll be a while before I can get to this.

pgovind avatar Jan 25 '21 17:01 pgovind

Triage: we don't think the feature is worth the investment at the moment as there isn't huge demand for it and there is a known workaround using CSV export.

rosebyte avatar Oct 01 '26 09:10 rosebyte