I have a Google Sheet that I am using like a (read-only) database - columns and rows of data that get read in when the app is initialized and then I use that in the app. It is convenient for testing and making quick changes, however this causes slowdowns in the app on slower connections.
What is the easiest way to convert my “Google Sheets” system to use Database Tables instead of loading in the data from Google each time the app loads?
I tried using it by changing the Separator to pipe (|) however it didn’t separate it properly, just put everything into a single column. Looking at the source code it seems that changing this value doesn’t change anything in the app yet? Unfortunately I wasn’t able to use it for my purposes.
I have a spreadsheet where individual cells have multiple values in them separate by commas, so I’m unable to create a “true” CSV where the columns are separated by commas.
I tried using the method in the Anvil Docs, but I get some kind of C error thrown by pandas:
ParserError: Error tokenizing data. C error: Expected 24 fields in line 45, saw 53.
Thanks, I finally managed to get it imported with a bit of trial and error. I am still working on getting more performance out of the app, though. I thought moving away from Google Sheets would make a significant difference, but it was not as great as I assumed it would be. I am thinking it must be related to the server runtime starting up?