How to replace non string values with Nan in pandas series?

前端 未结 0 1782
悲哀的现实
悲哀的现实 2021-01-28 17:04

Tried to do this with pandas.Series.apply function but it consider to be slow on big amount of data. Is there any quicker way to replace values?

Here is what I\'ve tried,

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