What’s new in 2.0.2 (May 29, 2023)#

These are the changes in pandas 2.0.2. See Release notes for a full changelog including other versions of pandas.

Fixed regressions#

  • Fixed performance regression in GroupBy.apply() (GH 53195)

  • Fixed regression in merge() on Windows when dtype is np.intc (GH 52451)

  • Fixed regression in read_sql() dropping columns with duplicated column names (GH 53117)

  • Fixed regression in DataFrame.loc() losing MultiIndex name when enlarging object (GH 53053)

  • Fixed regression in DataFrame.to_string() printing a backslash at the end of the first row of data, instead of headers, when the DataFrame doesn’t fit the line width (GH 53054)

  • Fixed regression in MultiIndex.join() returning levels in wrong order (GH 53093)

Bug fixes#



A total of 18 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.

  • Gianluca Ficarelli +

  • Guillaume Lemaitre

  • Joris Van den Bossche

  • Julian Badillo +

  • Luke Manley

  • Lumberbot (aka Jack) +

  • Marc Garcia

  • Marco Edward Gorelli

  • MarcoGorelli

  • Matt Richards

  • Matthew Roeschke

  • MeeseeksMachine

  • Pandas Development Team

  • Patrick Hoefler

  • Simon Høxbro Hansen +

  • Thomas Li

  • Yao Xiao +

  • dependabot[bot]