df fill empty with 0 pandas code example Example: pandas fill blanks with zero column.fillna(0, inplace=True)