I've a data set that has too many na values, even my target variable has got null values ,I managed to handle the null values by replacing them with appropriate values but for the target variable I need to remove the rows with na values. how can I remove the observations with na values corresponding to a particular column in python?
Asked
Active
Viewed 133 times
0
-
Can you tell us a bit more about your problem? your data? your code? – WiseDev Jul 08 '19 at 12:23
-
`df.dropna()` ,for columns: `df.dropna(axis=1)` ? – anky Jul 08 '19 at 12:23