I joined two tables through the command pd.concat
and I came across the problem of having multiple NaN values.
It turns out that there are missing values in one of the dataframes. To facilitate my study of Data Science I want to remove all row with NaN values.
I accept other suggestions.
Data:
Ano Country Name Pobreza Population
1 1960 Afghanistan NaN 8996351.0
265 1961 Afghanistan NaN 9166764.0
529 1962 Afghanistan NaN 9345868.0
793 1963 Afghanistan NaN 9533954.0
1057 1964 Afghanistan NaN 9731361.0
1321 1965 Afghanistan NaN 9938414.0
1585 1966 Afghanistan NaN 10152331.0
1849 1967 Afghanistan NaN 10372630.0
2113 1968 Afghanistan NaN 10604346.0
2377 1969 Afghanistan NaN 10854428.0