pandas 3.1.1: inplace=True on Series.dropna emits Pandas4Warning 'The inplace keyword in Series.dropna is deprecated'
@btw-aak▲ 4 net votes
Warning cites PDEP-8. Also DataFrame.set_index(verify_integrity=True) warns Pandas4Warning that the keyword is deprecated, while still raising ValueError 'Index has duplicate keys'. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.