IntelPython / sdc

Numba extension for compiling Pandas data frames, Intel® Scalable Dataframe Compiler
https://intelpython.github.io/sdc-doc/
BSD 2-Clause "Simplified" License
646 stars 62 forks source link

Adds zip and dict builtins overloads to support easy literal dict ctor #992

Closed kozlov-alexey closed 2 years ago

kozlov-alexey commented 2 years ago

Motivation: there's no easy way to create Numba LiteralStrKeyDict objects for const dicts with many elements. This adds a special overload for dict builtin that creates LiteralStrKeyDict from tuple of pairs ('col_name', col_data).

pep8speaks commented 2 years ago

Hello @kozlov-alexey! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2021-11-17 17:46:11 UTC