PICTURE I want to get a column name when the data is under 10. I can get or connect to the data using loc or iloc but I couldn't find a function or something to get a column name.
ex) if date of 220609
, MANGO = 7
and 220610
, Mango=2
, then I need to do like this;
if df.iloc[0,1:]<10==True:
then I want to get 220609 and 220610
I dont know how I make a code for this in order to get a column name for each items.
what should I do? Thank you!