Skip to content

Excel support? #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PyDataBlog opened this issue May 4, 2020 · 3 comments
Open

Excel support? #19

PyDataBlog opened this issue May 4, 2020 · 3 comments

Comments

@PyDataBlog
Copy link

Excel is one of the most popular data formats so it'd be great to have it supported like:

using UrlDownload
using DataFrames 

url = "https://archive.ics.uci.edu/ml/machine-learning-databases/00352/Online%20Retail.xlsx"

df = urldownload(url) |> DataFrame
@Arkoniak
Copy link
Owner

Arkoniak commented May 5, 2020

Most popular package for excel files is XLSX.jl. Unfortunately, it doesn't support raw data. There is an issue felipenoris/XLSX.jl#26, but it is not resolved currently.

@PyDataBlog
Copy link
Author

Most popular package for excel files is XLSX.jl. Unfortunately, it doesn't support raw data. There is an issue felipenoris/XLSX.jl#26, but it is not resolved currently.

We can only wait for the issue to be fixed now.

@Arkoniak
Copy link
Owner

Current workaround (with UrlDownload v0.3.0)

using UrlDownload
using DataFrames 
using XLSX

url = "https://archive.ics.uci.edu/ml/machine-learning-databases/00352/Online%20Retail.xlsx"
outfile = "/tmp/online_retail.xlsx"

urldownload(url, parser = identity, save_raw = outfile)
df = DataFrame(XLSX.readtable(outfile, "mysheet")...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants