from pathlib import Path
from typing import Any
import csv


def load_csv(path: Path) -> Any:
    """Load data from csv file."""
    with open(path, newline='') as csvfile:
        reader = csv.DictReader(csvfile)
        items = list(reader)
        return items