weld-project / weld

High-performance runtime for data analytics applications

Home Page:https://www.weld.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: '|S36' while doing Pivot in weld

shashwatwork opened this issue · comments

Hi,
I'm trying to do pivot on top of one dataframe in normal pandas as well as in weld to checking its performance.

In pandas its working fine, but in weld I got error like KeyError: '|S36' but I don't have that value in dataframe.

Please help me to address this issue

In pandas:
pivot_normal

In weld
pivot_weld

Hi,
I had convert all columns to str and also tried pivot. again I got same error KeyError36.

#snippet
pivot_data['person_id'] = pivot_data.person_id.apply(str)
pivot_data['code'] = pivot_data.code.apply(str)
pivot_data['value'] = pivot_data.value.apply(str)

Might be I'm doing wrong, Please let me know how to move forward to overcome this issue.

Thanks.