The behavior will change in pandas 3.0. This inplace method will never work because the intermediate object on which we are setting values always behaves as a copy.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results