Skip to content

deprecate Axis(pd.Index()) #1182

@gdementen

Description

@gdementen

in _to_ticks we have:

if isinstance(s, pd.Index):

which is not used internally but is useful if one wants to create an Axis from a pandas Index manually.

I don't think this should be allowed directly in la.Axis (we accept too many things in there) and would rather have a dedicated class method for that. Unsure even that is worth it.

In any case, this code path has no test coverage, so if we decide to continue supporting it as-is, it needs a test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions