Forum Discussion
cyborgdroid
8 years agoFrequent Visitor
Python - multiple tables
How do you call other tables from the python script in the query editor? How do you save the output of a python script to multiple tables?
- 8 years ago
Hi cyborgdroid,
Tables in power query can be recongnized as pandas object directly, so you can simply call other tables by calling relevant pandas object. You can refer to this answer: https://stackoverflow.com/questions/51947441/power-bi-using-python-on-multiple-tables-in-the-query-editor/51947461.
Regards,
Jimmy Tao
v-yuta-msft
8 years agoCommunity Support
Hi cyborgdroid,
Tables in power query can be recongnized as pandas object directly, so you can simply call other tables by calling relevant pandas object. You can refer to this answer: https://stackoverflow.com/questions/51947441/power-bi-using-python-on-multiple-tables-in-the-query-editor/51947461.
Regards,
Jimmy Tao
Anonymous
8 years agoNot applicable
That was a great SO-answer. Something similar should be added to the docs!