Untitled
unknown
plain_text
a year ago
540 B
1
Indexable
Never
# Example code for creating a map import matplotlib.pyplot as plt import geopandas as gpd world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres')) pacific_islands = world[world['continent'] == 'Oceania'] pacific_islands.plot() plt.title('Pacific Island Region') plt.show() # Example code for creating a table import pandas as pd data = {'Island/Country': ['Fiji', 'Tonga', 'Samoa', 'Vanuatu'], 'Ethnic Groups': [25, 15, 30, 20], 'Languages Spoken': [3, 2, 2, 3]} df = pd.DataFrame(data) df