mars-project / mars

Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and Python functions.
https://mars-project.readthedocs.io
Apache License 2.0
2.68k stars 325 forks source link

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

Open ericpai opened 10 months ago

ericpai commented 10 months ago

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