2 ms·
I get that passing around `locals()` or `globals()` in some IDE isn't a big deal, but I wish the article would mention there's nothing special about the `env` p
by guitarbill 10y ago
I get that passing around `locals()` or `globals()` in some IDE isn't a big deal, but I wish the article would mention there's nothing special about the `env` param it expects. AFAIK, you can pass it a dict as to avoid unwanted side-effects.
The docstring for `sqldf` says "This function is meant for backward compatibility only. New users are encouraged to use the PandaSQL class". So I'm not sure why they'd advocate its use, especially if you're going to create a wrapper function anyway.