drop na from a rows having columns na code example
Example 1: dropping nan in pandas dataframe
df.dropna(subset=['name', 'born'])
Example 2: drop column with nan values
fish_frame = fish_frame.dropna(axis = 1, how = 'all')
df.dropna(subset=['name', 'born'])
fish_frame = fish_frame.dropna(axis = 1, how = 'all')