How to replace equal consecutive numbers in a list to nan?

后端 未结 0 661
温柔的废话
温柔的废话 2021-02-02 00:05

I\'m trying to replace equal consecutive numbers in a list to nan. I having problems to replace all values when there is a odd number of equal consecutive numbers.

This i

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