lowercase a python dataframe string in column 'x' if it has missing values in dataframe `df`,df['x'].str.lower()