Skip to content

Instantly share code, notes, and snippets.

@Alekoale
Alekoale / ghana and cote dIvore data analytics.py
Last active September 29, 2025 15:16
Data analytics project
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
from io import StringIO
def load_and_process_data():
"""Loads and processes the population data."""
csv_data = """Year,Country,Population
1960,Côte d'Ivoire,3508000
1960,Ghana,6728000