how to remove nan from a pandas series where the dtype is a list?,pd.Series([np.array(e)[~np.isnan(e)] for e in x.values])