pandas分列操作之str.split()

知识点:str.split()

如果切割出空值,想要去掉的话,注意:这里的空值是空字符串

df = df[df['b']!='']

即可!

原文地址:https://www.cnblogs.com/yu121/p/12944499.html