import csv


def load_csv_records(csv_file_name, max_records=100):
    """
    Loads a list of sample records from the CSV file up to the maximum record count.
    :param csv_file_name: Name of CSV file
    :param max_records: Maximum number of records to load
    :return: List of records
    """
    record_list = []
    print("Loading {} records from {} file".format(max_records, csv_file_name))
    with open(csv_file_name) as csv_file:
        csv_reader = csv.DictReader(csv_file)
        row_count = 0
        for row in csv_reader:
            if row_count == 0:
                pass
            else:
                record_list.append(row)
            row_count += 1
            if (row_count > max_records):
                break
    print("Done\n")
    return record_list