Skip to content

Bad developer experience - df.__dataframe_namespace__() is untyped #258

Closed
@MarcoGorelli

Description

@MarcoGorelli

The developer experience of using the api could be improved (to put it mildly) - I'll give a demo

If I stick to dataframe methods, then it's all typed and so I get nice suggestions from my IDE:

image

But if I try getting the namespace out, I don't get any suggestions, because __dataframe_namespace__() is typed to return Any

image

Before I make suggestions, can we agree that this is a bad developer experience and that it needs fixing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    static typingtype annotations, use of type checkers directly from the spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions