We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from pandas import DataFrame DataFrame([],[]) # DataFrame([]) does the same thing
pandas\core\frame.pyc in init(self, data, index, columns, dtype, copy) 208 copy=copy) 209 elif isinstance(data, list): --> 210 if isinstance(data[0], (list, tuple)): 211 data, columns = _list_to_sdict(data, columns) 212 mgr = self._init_dict(data, index, columns, dtype=dtype)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
BUG: accept empty list to DataFrame constructor, regression from 0.6.…
8f4b86d
…0, GH #491
Well, this sucks but better to identify holes in the test suite. Fixed in the above commit
Sorry, something went wrong.
No branches or pull requests
from pandas import DataFrame
DataFrame([],[]) # DataFrame([]) does the same thing
pandas\core\frame.pyc in init(self, data, index, columns, dtype, copy)
208 copy=copy)
209 elif isinstance(data, list):
--> 210 if isinstance(data[0], (list, tuple)):
211 data, columns = _list_to_sdict(data, columns)
212 mgr = self._init_dict(data, index, columns, dtype=dtype)
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: