Allison Parrish is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Allison Parrish @aparrish

the joy of being distracted by tiny unimportant questions while programming (tonight it's "why doesn't it work right when I ask sqlite3 to use a numpy array for variable binding?" which I initially thought was because sqlite3 was checking the type of the parameter you pass to the execute() method, but no, any iterator works; what's happening is that sqlite3 strictly works only with a small number of python built-in types and numpy ints aren't int-ey enough)

· Web · 0 · 5