I need to delete rows from a dataframe which have "No" value in column Auto-Investment. How to do that using pandas dataframe?
index = 0
for x in df3['Auto-Investment']:
if x == 'No':
rows = df3.index(index)
df3.drop(rows, inplace=True)
index += 1
print(df3)