Skip to content

[BUG] Series doesn't support attribute access #3356

@ericpai

Description

@ericpai

The Series doesn't support attribute access, but the pandas' can.

To Reproduce

import mars.dataframe as md
s1 = md.Series([1, 2, 3], index=list("abc"))
print(s1.b)

>>> AttributeError: 'SeriesData' object has no attribute 'b'

Expected behavior

>>> 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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