Why leading zeros from a numbers ignore on exporting polars dataframe to CSV?
03:12 19 Sep 2022

I have a polars dataframe with a number in a string datatype;

enter image description here

On exporting it to csv using write_csv method it ignores the leading zeros and the output it-

enter image description here

How to retain the zeros on exporting the files to csv?

python csv python-polars