country capital area population
BR Brazil Brasilia 8.516 200.40
RU Russia Moscow 17.100 143.50
IN India New Dehli 3.286 1252.00
CH China Beijing 9.597 1357.00
SA South Africa Pretoria 1.221 52.98
OpenAI
This code creates a pandas DataFrame with information about different countries.
• The DataFrame has five columns: "country", "capital", "area", and "population".
• Each row represents a different country and includes information about that country's capital, area, and population.
• The first column is an index co
Was this helpful? Yes
No