HF Datasets loading csv

I am attempting to use the following code snippet to load my own custom csv file:

from datasets import load_dataset
dataset = load_dataset(‘csv’, data_files=[‘my_file_1.csv’, ‘my_file_2.csv’])

I am replacing [‘my_file_1.csv’, ‘my_file_2.csv’] with one file name ‘my_file_1.csv’. However, I am getting the following error: TypeError : expected string or bytes-like object’

Any suggestions?

Hi ! Can you post the full stack trace please ?