Skip to content
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

Regression in v0.7.5 when loading a CSV with only column names #711

Closed
Octogonapus opened this issue Aug 4, 2020 · 1 comment
Closed

Comments

@Octogonapus
Copy link

Octogonapus commented Aug 4, 2020

I have noticed a regression introduced in v0.7.5 when loading a CSV containing only column names.

Given a file foo.csv (containing only column names):

a, b

In CSV v0.7.4,

julia> import CSV
julia> using DataFrames
julia> DataFrame(CSV.File("foo.csv"))
0×2 DataFrame

In CSV v0.7.5,

julia> import CSV
julia> using DataFrames
julia> DataFrame(CSV.File("foo.csv"))
0×0 DataFrame

I am using Julia version 1.4.2. I get the same result with various versions of DataFrames v0.21.x.
CC @ianshmean

@Octogonapus Octogonapus changed the title Regression in v0.7.5 Regression in v0.7.5 when loading a CSV with only column names Aug 4, 2020
@quinnj
Copy link
Member

quinnj commented Aug 4, 2020

This was fixed by JuliaData/DataFrames.jl#2341; I think @bkamins is planning a new DataFrames release w/ the fix soon

@quinnj quinnj closed this as completed Aug 4, 2020
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