Load_dataset() loading csv file show error

data1 = load_dataset(“csv”, data_files= [“dataset/train.csv”])
or
data1 = load_dataset(“csv”, data_files= ‘dataset/train.csv’)

They show the same error:
raise DatasetGenerationError(“An error occurred while generating the dataset”) from e
datasets.builder.DatasetGenerationError: An error occurred while generating the dataset

Can you please paste the entire error stack trace, not only the end of it?

thanks for your reply, i have already solved it.