I have created a model in Pro that relies on two .csvs.
The .csvs are generated from a .xlsx export. The .xlsx export's headers have special characters and spaces.
I successfully created a script that opens the .xlsx files, cleans the headers, and saves them as a .csv to the project folder.
When opening the .csvs in excel or Notepad ++ the headers are correct. No spaces or special characters. However, one of the .csv files, when opened in pro has one header with a space. The other table opens in Pro as it does in Excel or Notepad ++.
Yesterday, these tables were opening as they should and the model was running. Today when I entered my cloud environment, my project was closed and when I went to open it, a backup was newer than the saved version, so I opened the backup. The model failed on a Calulate Field process and I have been battling this issue for 3 hours.
I have deleted the .csvs, cleared my Pro cache, reran the script. Everytime I open the ONE table all headers are correct except for one.
Please help! I am leaving this company next Friday and really would like to be able to deliver this product bebefore my time is up.
#TiredOfFightingOneSpace
P.S. I made a copy of the .csv I am having issues with and opened it in a new project and everything was correct.