-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: allow axis argument to append / move append code to generic.py #8295
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
Comments
I would like to take this into a PR, but I wonder which file would be the best to put a test case. |
ok so right now I don't think Panel support append ATM (so can raise prob a bit more involved now! |
Thank you for the information ! |
lmk how it goes! and if you need help. |
Closing. This would have confusing performance implications, as appending to the columns is cheap, but appending to rows is expensive. |
http://stackoverflow.com/questions/25896241/creating-columns-dynamically-assigning-them-a-constant-row-vector/25896504#25896504
e.g.
Instead of
pd.concat([df,DataFrame([[1,2,3,4]],columns=list('ABCD'),index=df.index)],axis=1)
allow as a convience feature
df.append(DataFrame([[1,2,3,4]],columns=list('ABCD'),index=df.index),axis=1)
The text was updated successfully, but these errors were encountered: