Código:
import csv
import random
dataset = []
with open('data.csv') as _file:
data = csv.reader(_file,delimiter=',')
for line in data:
line = [float(elemento) for elemento in line]
dataset.append(line)
Erro:
FileNotFoundError: [Errno 2] No such file or directory: 'data.csv'
Arquivos:
Rn.py
?