delete rows containing na in r code example
Example: how to delete na values in a dataframe
# if you want to delete rows containing NA values
df.dropna(inplace=True)
# if you want to delete rows containing NA values
df.dropna(inplace=True)