I was wondering how I can remove all indexes that containing negative values inside their column. I am using Pandas DataFrames.
DataFrames
Documentation Pandas DataFr
You could loop over the column names
for cols in data.columns.tolist()[1:]: data = data.ix[data[cols] > 0]