Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
New appending behavior doesn't work on an empty DataFrame #5226
Consider this working example from the docs:
And now watch what happens when the DataFrame is empty:
I haven't read the discussion that generated this new behavior of loc/ix. Perhaps there is a good reason why this can't work. But I can't think of one.
(This was prompted by this SO question.)