IntelPython / sdc

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

Allow global values to be used in read_csv params (names, usecols) #998

Closed kozlov-alexey closed 2 years ago

kozlov-alexey commented 2 years ago

Motivation: fixes a bug in RewriteReadCsv rewrite that fails compilation when exception is raised during the match phase because variable defining value of read_csv parameter is not ir.Expr node but ir.Global (and thus has no op attribute).