Skip to content
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

API: deprecate DataFrame.from_items ? #17320

chris-b1 opened this Issue Aug 24, 2017 · 1 comment


None yet
3 participants
Copy link

commented Aug 24, 2017

xref #4916, #17312

example of where it is needed

items = [
 ('a', [1,2,3]),
 ('b', ['j', 'k', 'l'])

df = pd.DataFrame.from_items(items)
   a  b
0  1  j
1  2  k
2  3  l

We possibly could deprecate this to shrink the construction api - I find DataFrame(dict(items)) easier to think about / remember (item is a pretty generic term), only downside I see is it discards order on <3.6


This comment has been minimized.

Copy link

commented Aug 24, 2017

What about `orient='index'? I used this just last week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.