I have a pandas dataframe without colum/row names, just indexes [10 rows x 10001 colums]. I am trying to loop through my data to find and print the values (and print their indexes) which are below a certain value (-1).
0 1 2 ... 9998 9999 10000
0 -0.007941 -0.001512 -0.001382 ... -0.014795 -0.012467 -0.013895
1 0.006133 0.008272 0.008863 ... 0.006959 0.005816 0.010471
2 0.034539 0.039303 0.025629 ... 0.004146 0.007729 0.016468
3 0.016329 0.032751 0.020361 ... -0.001196 0.000477 -0.003695
4 0.027603 0.047889 0.028451 ... -0.001866 0.003521 -0.011133
5 0.030001 0.040376 0.022477 ... -0.024666 -0.023214 -0.020742
6 0.043001 0.054916 0.028356 ... -0.029666 -0.035219 -0.053880
7 0.000211 0.003178 -0.000271 ... -0.016128 -0.035698 -0.032700
8 0.054058 0.044326 0.023248 ... -0.029225 -0.033486 -0.032040
I tried with iterrows() but can't really figure out the exact code. Hope someone can help.