Replacing values greater than a number in pandas dataframe April 10, 2023 by Tarik Very simply : df[df > 9] = 11