Company: Sigmoid_9dec
Difficulty: medium
Problem Description You are given a URL or file path to a CSV file containing weather data. The CSV file contains the following columns: COUNTRY , DATE , RAIN , SNWD , SNOW , DURATION . Your task is to write a Python function that reads this dataset and returns a list of country names that have the maximum average rainfall. A single country can have multiple entries in the dataset. You must calculate the average rainfall for each country (the total sum of RAIN values divided by the total number of record entries for that country) and then identify which country (or countries) has the highest average. Below is a small snippet of the dataset for your reference: COUNTRY DATE RAIN SNWD SNOW DURATION Scotland 20140101 0 0 0 516 Dominican Republic 20140102 41 0 0 2919 Monaco 20140103 15 0 0 7 Belarus 20140104 0 0 0 566 Iraq 20140105 0 0 0 663 Congo 20140106 3 0 0 3507 Input input1: A string representing the URL or local file path to the CSV file being passed to the function. Output Return a