sdv-dev / RDT

A library of Reversible Data Transforms
Other
116 stars 24 forks source link

Resolve column names being integers #816

Closed lajohn4747 closed 4 months ago

lajohn4747 commented 4 months ago

resolves https://github.com/sdv-dev/SDV/issues/1935 CU-86b04ut1e

Transformers assume data column values are strings but they can be numerical (int) so convert it to string to avoid type errors. Put the change in hyper transformer over the sdv repo because this allows us to maintain integrity of the input data and the created synthetic data (avoid type changing of columns). The changes are build for intermediate steps so it won't affect the data itself.

sdv-team commented 4 months ago

Task linked: CU-86b04ut1e SDV - Synthesizers crash when column names are integers (TypeError: unsupported operand) #1935

lajohn4747 commented 4 months ago

This issue is a bit more nuanced, closing and moving fix back to SDV repository