Skip to content

Dataframe ctor dies when passed a list containing empty dataframe #3243

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

Closed
ghost opened this issue Apr 2, 2013 · 1 comment · Fixed by #3245
Closed

Dataframe ctor dies when passed a list containing empty dataframe #3243

ghost opened this issue Apr 2, 2013 · 1 comment · Fixed by #3245
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Apr 2, 2013

pd.DataFrame([DataFrame([])])

/home/user1/src/pandas/pandas/core/frame.pyc in __getattr__(self, name)
   1965             return self[name]
   1966         raise AttributeError("'%s' object has no attribute '%s'" %
-> 1967                              (type(self).__name__, name))
   1968 
   1969     def __setattr__(self, name, value):

AttributeError: 'DataFrame' object has no attribute 'dtype'
@jreback
Copy link
Contributor

jreback commented Apr 2, 2013

@y-p not sure how you fine these! but thxs....trivial fix (best kind!)

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.

1 participant