I need to print from the series ('fluorescence') only the elements that are above a certain numerical threshold.
How can I take one element, compare it with another from the same series, and in case the condition is not met, simply move on in the series?
#for i in range(len(fluorescence)):
for i in fluorescence.iteritems():
if i > 43: # (mean(fluorescence)-min(fluorescence)) == 43.
print(i)
TypeError: '<' not supported between instances of 'tuple' and 'float'
This is the original dataframe:
What I would like to have is the following:
Thank you in advance