Skip to content

Clearly document what a list-like is #21784

Open
@toobaz

Description

@toobaz

I think we need a doc section which states what is accepted as list-like: each method which accepts list-likes would then link to that doc section.

This will basically detail the types for which pandas.core.dtypes.common.is_list_like returns True, with the only exception of tuple, which we should not declare as list-like, but which some methods still accept for backward compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions