We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

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!

3 REPLIES 3
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!!!! :-)

i did the same but i am getting empty record, however there are content present in the excel

Labels
Top Solution Authors