RuntimeError: Files in same split metro_traffic_pipeline/data/* have different header

Hello,

I have a problem in the second programming assignment (Feature Engineering).

I faced with this error (Files in same split metro_traffic_pipeline/data/* have different header) when I want to define example_gen:

example_gen = CsvExampleGen(input_base=_data_root)
context.run(example_gen)

I could not find the solution. Could you help me how to solve it?

HI @AtefehVhd
I’m not sure about it but it sounds as if your ‘metro_traffic_pipeline/CsvExampleGen’ folder is dirty.
Please can you try to clean it?
It can be done by a Terminal.
From the notebook window select ‘File->Open’

Select ‘Terminal’ in the right side of the window.

From the Terminal please remove the ‘metro_traffic_pipeline/CsvExampleGen’ folder

Re-run the notebook to ingest your data
Hope this can fix the issue
Regards

Hi fabioantonini,

Thank you for your help. I solved the issue