RecursionError after assigning empty list of columns
RecursionError after assigning empty list of columns: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). ddf = dd.from pandas(pd.DataFrame({'a': 1 }), npartitions=1) print(ddf.columns) ddf = ddf .astype(str) print(ddf.columns) Index( 'a'…
The task
ddf = dd.from_pandas(pd.DataFrame({'a': [1]}), npartitions=1) print(ddf.columns) ddf[[]] = ddf[[]].astype(str) print(ddf.columns) ``` >Index(['a'], dtype='object') >Index(['a'], dtype='object')