Skip to content

Error when using unhashable key in '__setitem__' #2362

@YarShev

Description

@YarShev

Describe the problem

I get TypeError: unhashable type: 'slice' when trying to set value(s) to Series using slice.

Source code / logs

import modin.pandas as pd
import pandas

ps = pandas.Series([1,2,3])
ms = pd.Series([1,2,3])

ps[1:3] = 0
ps
0    1
1    0
2    0
dtype: int64

ms[1:3] = 0
TypeError: unhashable type: 'slice'

Metadata

Metadata

Assignees

Labels

bug 🦗Something isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions