You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was recently trying to use csvlink to filter the data from two well-formated data sets. I tried to follow the documentation but it was not working at all. I repeatedly got the following error despite the field "sample" being in both my files.
csvlink: error: Could not find field 'sample' in input
Ultimately, I was able to dump the CSV and notice my header was printing as \ufeffsample which left me to figure out this was a byte order mark (BOM) issue. I made the following change to csvlink.py and the code ran for me.
Hi all,
I was recently trying to use
csvlink
to filter the data from two well-formated data sets. I tried to follow the documentation but it was not working at all. I repeatedly got the following error despite the field "sample" being in both my files.csvlink: error: Could not find field 'sample' in input
Ultimately, I was able to dump the CSV and notice my header was printing as
\ufeffsample
which left me to figure out this was a byte order mark (BOM) issue. I made the following change to csvlink.py and the code ran for me.The text was updated successfully, but these errors were encountered: