I finally got csvs-to-sqlite to work on the Windows machine here! You might remember that the 12, 10, and 8 year-old gang and I had been unable to coerce the utility into working. That was OK because with our workarounds, we could use it on Github Codespaces, so we were still up and running an instance of Datasette that served our ham radio QSOs. It was also really ok, because with the experience we gained, when one of the gang saw a OneSchema hiring banner hanging in a window overlooking the alley where our favorite pub is located, they immediately knew what the company did, and made sure to point it to me. This led to us checking out their website, and discussing even more of the vagaries of csv files and jobs in the tech industry over our lunch. Unschooling works!
Today, I found a way! First, I re-read my original post. I changed our pandas install back to 1.5.0 as the post instructs. I got further. The utility errored out because it was upset about the number of columns named in the first line of the csv file not matching up with the number of fields in some of the rows.
Notice that the third row goes right back to my usual shenanigans of missing data. It worked though! It worked! Pandas was convinced that the column headers were ok, and read in the file.
Comments
Post a Comment
Please leave your comments on this topic: