In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

A pandas dataframe is required for passing data to outgoing connections in Alteryx

wonka1234
10 - Fireball

Hi,

 

Is there a limitation to the dataframe size using Alteryx.write(df,1) ? 

I cant seem to write my dataframe to an anchor.

 

my code uses zipfile and read excel to get data.. and for some reason it is not reading in as a dataframe.. but it clearly is when i run it locally.

 

Is there anyway to convert it again to ensure i have it as a dataframe in alteryx?

12 REPLIES 12
wonka1234
10 - Fireball

@apathetichell 

 

Getting an error on your suggestion:

 

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-8d4e89bed36f> in <module>
     10 
     11 
---> 12 df = pd.concat(pd.DataFrame(pd.read_excel(xlfile, header = 1, sheet_name=None), ignore_index=True))
     13 
     14 print(df)

TypeError: __init__() got an unexpected keyword argument 'ignore_index'
apathetichell
20 - Arcturus

o.k. - try playing around with the syntax key is to define df as a dataframe using the pd.DataFrame function...

jaspartap_singh
5 - Atom

Hi, How can one pass a json object generated using a Python code to the outgoing connection

Labels
Top Solution Authors