Backend / api /modules /continents.py
Ezhil
d
9e1e908
raw
history blame contribute delete
250 Bytes
import pandas as pd
file_path = "./data/world_population.csv"
def process_data():
data_frame = pd.read_csv(file_path)
return data_frame
def get_continents(data_frame):
continents = data_frame['Continent'].unique()
return continents