jomarie04/cities
Cities Dataset This dataset contains a collection of famous cities around the world with population data. File cities.csv Columns id – unique identifier city_name – name of the city country – country where the city is located population_millions – approximate population in millions Usage Load the dataset in Python using pandas: import pandas as pd cities = pd.read_csv("cities.csv") print(cities.head())
018
Cities Dataset
This dataset contains a collection of famous cities around the world with population data.
File
cities.csv
Columns
id– unique identifiercity_name– name of the citycountry– country where the city is locatedpopulation_millions– approximate population in millions
Usage
Load the dataset in Python using pandas:
import pandas as pd
cities = pd.read_csv("cities.csv")
print(cities.head())