Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DB Serial
- 0 13058
- 1 13069
- 2 *13070
- 3 13070
- 4 13044
- 5 13042
- df = df[~df['DB Serial'].str.contains('*')]
- raise error, v # invalid expression
- error: nothing to repeat
- df = df[~df['DB Serial'].astype(str).str.contains('*')]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement