mars icon indicating copy to clipboard operation
mars copied to clipboard

[BUG] Series doesn't support attribute access

Open ericpai opened this issue 2 years ago • 0 comments

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

ericpai avatar Aug 07 '23 03:08 ericpai