Open zach-hunt opened 1 month ago
I was able to confirm that the same issue occurs in a new environment, following a machine restart.
Tested 0.20.23
, 1.2.1
, 1.3.0
, 1.4.0
, and 1.7.1
, same results on another Windows 10 machine.
Hey I just encountered this same issue with the pl.read_excel() function. I suspect it has to do with the default "calamine" engine. When I change the engine to "openpyxl" it works just fine but it runs much slower, negating the speed-benefit from using polars.
Oddly enough, this same behavior happens with pl.read_excel() even when a column containing an excel formula is pulled from an entirely separate excel workbook using PowerQuery AND a step is applied to change the data type to text. You think this would bypass the issue since the PowerQuery removes the excel formula and replaces it with plain text, but for some reason the same result occurs; calamine can't read the cell. It must be something in the metadata of the cell which causes the issue.
Checks
Reproducible example
Log output
Issue description
df.write_excel
creates the Excel file with columnsA
,B
, but columnB
is empty in V1.3.0+: (Introduced before v1.0: https://github.com/pola-rs/polars/pull/7871)1.2.1
1.3.0 - 1.7.1
Expected behavior
I expect the newest version to assign column
B
with the formula as it did back in1.2.1
. Thanks!Installed versions