fill blank cells in excel code example Example: Replace all the empty rows in the column with the value that you have identified df['column'].fillna('the_value', inplace=True)