ERR: Can't initialise DataFrame using empty Series and empty columns #34977
Labels
Constructors
Series/DataFrame/Index/pd.array Constructors
Enhancement
Error Reporting
Incorrect or improved errors from pandas
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
noticed while working on #30858
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
This returns an error:
But this doesn't:
Empty DataFrame
Columns: []
Index: []
The text was updated successfully, but these errors were encountered: