I have a styled object that some of the cells have nan values. I need to remove the nan values while I keep the style in place.
if I do this:
new_df.data.replace(np.nan, '', regex=True)
this removes the nan values as well as the style.
Is there a way to keep the style while removing nan values from the Pandas styled object.

