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
In [5]: pd.DataFrame(columns=['a', 'a', 'b']) Out[5]: Empty DataFrame Columns: [a, b] Index: [] In [6]: pd.DataFrame.from_records({}, columns=['a', 'a', 'b']) Out[6]: Empty DataFrame Columns: [a, a, b] Index: []
I don't know which is preferred.
This is not being fixed in #24387
The text was updated successfully, but these errors were encountered:
Whoops, my Out[5] was on the wrong branch. On master it matches from_records, which makes my life in #24387 harder.
In [9]: pd.DataFrame(columns=['a', 'a', 'b']) Out[9]: Empty DataFrame Columns: [a, a, b] Index: []
Sorry, something went wrong.
No branches or pull requests
I don't know which is preferred.
This is not being fixed in #24387
The text was updated successfully, but these errors were encountered: