I understand that i could use at to set value of particular cell robustly:
index = "a"
df.at[index,"some_list"] = []
note that loc could not be used, since
df.loc[index,"some_list"] = []
leads to the error
ValueError: Must have equal len keys and value when setting with an iterable
The problem is, sometimes, the index is not unique yet i know the exact iloc to set the value. Thus what i need to do is
df.iloc[some_number_1,some_number_2] = []
but this leads to
ValueError: Must have equal len keys and value when setting with an iterable
is there some at correspondence to iloc so that i could set the value?
For example
df.at_iloc[some_number_1,some_number_2] = []
Thank you.
Note: this question is not duplicated since i need the at variant for loc which turn out to be iat...