Why isn't pandas logical operator aligning on the index like it should?

前端 未结 0 1960
余生分开走
余生分开走 2021-02-11 21:40

Consider this simple setup:

x = pd.Series([1, 2, 3], index=list(\'abc\'))
y = pd.Series([2, 3, 3], index=list(\'bca\'))

x

a    1
b    2
c    3
dtype: int64

y
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题