remove NaT pandas code example
Example 1: if none in column remove row
import pandas as pd
df = df[pd.notnull(df['Gender'])]
Example 2: drop na pandas
>>> df.dropna(subset=['name', 'born'])
name toy born
1 Batman Batmobile 1940-04-25