mars icon indicating copy to clipboard operation
mars copied to clipboard

Support DataFrame indexing with mars Tensor

Open MaxwellLZH opened this issue 4 years ago • 2 comments

Currently the following snippets causes error, which is quite surprising for users coming from Pandas background:

import mars.dataframe as md
import mars.tensor as mt
df = md.DataFrame(mt.random.randn(10, 4))
df.loc[df.index].execute()

It will be nice to support indexing with Mars Tensor as well.

Thank you !

MaxwellLZH avatar Sep 08 '21 09:09 MaxwellLZH

Thanks, will support it ASAP.

qinxuye avatar Sep 08 '21 09:09 qinxuye

Wondering if the issue has been fixed in the newest version?

MaxwellLZH avatar Jun 24 '22 01:06 MaxwellLZH