how do i remove rows in python?

Use Series.ne with all:

data = data[data.ne('.').all(1)]

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top