Skip to content

PD011 should recommend .array as well #24804

@flying-sheep

Description

@flying-sheep

Summary

The pandas docs say

Warning

We recommend using Series.array or Series.to_numpy(), depending on whether you need a reference to the underlying data or a NumPy array.

PD011 only mentions .to_numpy(), but should also mention both.

Version

0.15.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    diagnosticsRelated to reporting of diagnostics.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions