Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend Data to Python Pandas

All,

 

Is it possible to pass data from talend to Python Pandas ?

 

My PythonCode: 

 

 

import pandas as pd
import tableauserverclient as TSC
from pandleau import *

df = pd.read_csv(r'C:\Users\user\Documents\Sample - Superstore.csv')
df = pandleau(df)
print (df)
df.to_tableau('C:\ProgramData\Anaconda3\Lib\site-packages\Extract_SS.hyper', add_index=False)

 

 

Instead of CSV file, I have to make it as parameter and need to pass data from talend, it can be output of tJoin or Filter link (just for example)

is it possible?

 

Labels (2)
6 Replies
Anonymous
Not applicable
Author

This will require a bit of Java. This site might give you some clues

https://pythonhosted.org/javabridge/java2python.html

Anonymous
Not applicable
Author

Can I get more details?

 

What is the job design flow here?

Anonymous
Not applicable
Author

I haven't done this, but I would use a tJavaFlex for the Java receiving column data to be sent to python

Anonymous
Not applicable
Author

Can I get more help ?

Anonymous
Not applicable
Author

how to pass incoming link  data to tFlexJava?

Anonymous
Not applicable
Author

You can pass data to the tJavaFlex in the same way as any other component. The documentation for this is here: https://help.talend.com/reader/9q55KsfASqX0qY4GVhEDNQ/gy4G6M2uUTOfL5k5NootZA

 

As I said, I have not done this before (calling Python from a Talend Job). Therefore the only way I can help more is to try it out myself. Unfortunately I do not have the time at the moment to do this.