Skip to content

DOC: section on caveats of storing lists inside DataFrame/Series #17027

Open
@chris-b1

Description

@chris-b1

xref to a lot of issues, for example #16864

I think we could use a doc section stating storing nested lists/arrays inside a pandas object is preferred to be avoided, showing the downsides (perf, memory use) and a worked out example of an alternative. This seems to be earned knowledge that many have, but not sure we do a good job stating it clearly.

Closely related, might also benefit from a little section encouraging use of Python core data structures when appropriate.

probably goes here - http://pandas.pydata.org/pandas-docs/stable/gotchas.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsNested DataData where the values are collections (lists, sets, dicts, objects, etc.).good first issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions