Python pandas Filtering out nan from a data selection of a column of strings [multiple col]

PHOTO EMBED

Tue Dec 13 2022 03:45:24 GMT+0000 (Coordinated Universal Time)

Saved by @lahiruaruna

filtered_df = df[df[['name', 'country', 'region']].notnull().all(1)]
content_copyCOPY

https://stackoverflow.com/questions/22551403/python-pandas-filtering-out-nan-from-a-data-selection-of-a-column-of-strings