Relative Content

Tag Archive for rdata-cleaning

How to remove rows within a column that contains parentheses

I have a dataframe subset but whenever I attempt to use groupby it gives errors for rows in which the column I’m trying to group by has parentheses. I’m trying to drop these rows and I know I could do it by indexing but the data frame is pretty big, I feel as if there’s an easier way.