In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Read excel file with Python notebooks

rafatomillero
7 - Meteor

Hi, can someone please let me know how to read an excel file using Python notebooks in Alteryx? I tried:

 

import pandas as pd

 

fileName = pd.read_excel('Name of the file.xlsx')

 

It didn't work.

 

Thanks!

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @rafatomillero 

 

1)Use the input tool to connect with your excel file normally

2)Connect the input tool with the python tool

3)Import the data from Alteryx to Python with Alteryx.read("#1")

 

Felipe_Ribeir0_0-1668790756098.png

 

 

 

rafatomillero
7 - Meteor

@Felipe_Ribeir0 amazing, thank you!!!! :-)

Labels
Top Solution Authors