On pandas version 1.1.4
I can\'t create a minimal reproducible. The same use case for a small df does not give this warning.
The use case
df.loc