Converting Pandas DataFrame to Orange Table

后端 未结 7 1699
感动是毒
感动是毒 2020-12-08 17:18

I notice that this is an issue on GitHub already. Does anyone have any code that converts a Pandas DataFrame to an Orange Table?

Explicitly, I have the following tab

7条回答
  •  臣服心动
    2020-12-08 17:36

    from Orange.data.pandas_compat import table_from_frame,table_to_frame
    df= table_to_frame(in_data)
    #here you go
    out_data = table_from_frame(df)
    

    based on answer of Creo

提交回复
热议问题