Home >
other > Python DataFrame text data how to operate
Python DataFrame text data how to operate
Want to ask how to delete the data frame has specific characters in line, such as the first line of a message 1 column, content is ABC, the second line of a message 2 columns, content is the alphabet, the third line 1 is a message, the message is 2 b, how in view of the characters' ABC 'to delete the bank, is the first the second line, no matter how few lines, only the characters' ABC' delete the bank, I use of df. Drop (' ABC 'in df [' message 1] & amp; 'ABC' in df [' message 2 ']) no, excuse me, how can,