I have tried to convert entire data frame to lowercase using below script. But blank will fill with nan, I tried to remove nan by but no use.
data = data.apply(lambda x: x.astype(str).str.lower())
data = data.replace(np.nan, '', regex=True)
How to solve this?