-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
API DesignDeprecateFunctionality to remove in pandasFunctionality to remove in pandasNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action
Milestone
Description
example of where it is needed
items = [
('a', [1,2,3]),
('b', ['j', 'k', 'l'])
]
df = pd.DataFrame.from_items(items)
df
Out[3]:
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
Metadata
Metadata
Assignees
Labels
API DesignDeprecateFunctionality to remove in pandasFunctionality to remove in pandasNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action