How to delete entire row if values in a column are NaN
Well if the dataset is not too large I would suggest using pandas to clean the data. So you would need to first do 

Python2

python2 -m pip install pandas


Python3

python3 -m pip install pandas


If you already have anaconda installed you can skip the above step. Next you could go through an IDE (like jupyter) or through the shell type the following commands

import pandas as pd
df = pd.read_csv("filename", dtype=str)
#or if excel file
#df = pd.read_excel("filename", dtype=str)

df = df[pd.notnull(df['Gender'])]


Then you would want to save your result in a file with 

df.to_csv("newfile");