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

Directory of CSVs to DataFrame is broken #151

Open
cpcloud opened this issue Mar 26, 2015 · 2 comments
Open

Directory of CSVs to DataFrame is broken #151

cpcloud opened this issue Mar 26, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@cpcloud
Copy link
Member

cpcloud commented Mar 26, 2015

mkdir test
cd test
$ echo -en "a,b\n1,2\n3,4" > a.csv
$ echo -en "a,b\n1,2\n3,4\n5,6" > b.csv
$ cd ..
$ ipython
In [1]: df = odo('test/*.csv', pd.DataFrame)
KeyError: <class 'odo.directory.Directory(CSV)'>
@cpcloud cpcloud changed the title Directory of gzipped CSVs is broken Directory of CSVs is broken Mar 26, 2015
@cpcloud cpcloud changed the title Directory of CSVs is broken Directory of CSVs to DataFrame is broken Mar 26, 2015
@cpcloud cpcloud self-assigned this Mar 26, 2015
@cpcloud cpcloud added this to the 0.3.2 milestone Mar 26, 2015
@cpcloud cpcloud added the bug label Mar 26, 2015
@cpcloud
Copy link
Member Author

cpcloud commented Mar 26, 2015

Hm, even though Directory inherits from Chunks since convert doesn't respect inheritance, we need to explicitly define this conversion.

@cpcloud cpcloud modified the milestones: 0.3.3, 0.3.2 Apr 26, 2015
@cpcloud cpcloud modified the milestones: 0.3.3, 0.3.4 Jul 7, 2015
@cpcloud cpcloud modified the milestones: 0.3.4, 0.4.0 Sep 15, 2015
@cpcloud cpcloud modified the milestones: 0.4.0, 0.3.5 Oct 5, 2015
@cpcloud cpcloud modified the milestones: 0.4.0, 0.4.1 Dec 4, 2015
@kwmsmith kwmsmith modified the milestones: 0.4.2, 0.4.1, 0.5.0 Feb 2, 2016
@kwmsmith kwmsmith removed this from the 0.4.2 milestone Feb 5, 2016
@ethanluoyc
Copy link

This is still occurring on version 0.5.0 (the latest development version?)
It can be reproduced with the steps mentioned in #153.

I would like to help fix this one. Where are we right now on this and what can I do?

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

Successfully merging a pull request may close this issue.

3 participants