I am cleaning some data (its been a while) and when I drop the rows that have a nan within either of two specific columns I am left with a "noneType" object that I cannot run any further functions on. why is this happening and how do i fix this.
I expected this to drop rows that had nans in those columns but did not expect it to change to 'noneType'
df = df.dropna(subset=['Step Age', 'Process Age'], inplace = True)