Skip to content

Support multiple subscript operator in proxified PyObjects. #101

Open
@antl3x

Description

@antl3x

The following way to use multiple values below work:

df.item(['Age', 'Fare']).median().type
'Series'

Is possible to support something without relying in manual calling the .item() ?

This works:

df['Age'].median().type
'numpy.float64'

This is wrong (since should be a Series, and not a float value):

df['Age', 'Fare'].median().type
'numpy.float64'

This does not work:

df[['Age', 'Fare']].median().type
Uncaught TypeError: Cannot read properties of undefined (reading 'median')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions