Skip to content

Consider adding support for tracking subclass method invocations #142

@kgryte

Description

@kgryte

An issue arose when analyzing GeoPandas and its consumption of Pandas APIs.

GeoPandas subclasses Pandas (see here), so, in principle, a subclassed method should correspond to an equivalent Pandas DataFrame method. However, this is not the case.

Based on analysis, GeoPandas appears to only consume 3 Pandas APIs, but this is, presumably, not a fair representation, given that many a GeoPandas DataFrame method is a Pandas DataFrame method.

Accordingly, may be worth investigating whether we can track subclass method invocations.

In conversation with @saulshanabrook, he suggested updating the Tracer to look at method resolution order (MRO).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions