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
>>> import pandas as pd >>> >>> pd.__version__ '0.26.0.dev0+1731.g3ddd495e4' >>> >>> df = pd.DataFrame({"Name": ["Alice"], "Gender": ["F"]}) >>> df Name Gender 0 Alice F >>> >>> df.append({"Name": "Bob", "Gender": "M"}) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\simon\pandas\pandas\core\frame.py", line 7013, in append "Can only append a Series if ignore_index=True " TypeError: Can only append a Series if ignore_index=True or if the Series has a name >>>
dict-like is valid type for other parameter of DataFrame.append
other
ValueError: Can only append a dict-like if ignore_index=True
pd.show_versions()
[paste the output of pd.show_versions() here below this line]
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Code Sample, a copy-pastable example if possible
Problem description
dict-like is valid type for
other
parameter of DataFrame.appendExpected Output
ValueError: Can only append a dict-like if ignore_index=True
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]The text was updated successfully, but these errors were encountered: