Our client wanted to manage a large data set in Excel, and easily import into our web template.
Rather than try to import the data into an ACF repeater field, we set up an ACF file field so the client could import the CSV file directly to the back-end.
The following code parses it:


$csv = get_attached_file(get_field('csv_file')['id']);
if(($handle = fopen($csv, "r")) !== FALSE) {
$count=0;
while(($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$name = $data[0];
$symbol = $data[1];
echo $name;
echo $symbol;
}
fclose($handle);
}