Open pvk-developer opened 2 years ago
I can confirm that this issue still persists in RDT 1.0:
import pandas as pd
from rdt import HyperTransformer
data = pd.DataFrame([
['a', 'b', 'c'],
['d', 'e', 'f']
])
ht = HyperTransformer()
ht.detect_initial_config(data)
ht.fit_transform(data)
Output:
TypeError: sequence item 0: expected str instance, int found
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
When fitting any
Transformer
with apd.DataFrame
that contains as column names aRangeIndex
, or anumerical
value as column name, those end up failing.This bug can produce two errors:
Steps to reproduce
Multiple columns
Using a single column
Notes
This errors appear in
_store_columns
for multiple columns and_build_output_columns
for single column.