简体   繁体   English

如何将Python与Qlikview连接以进行数据可视化?

[英]How to interface Python with Qlikview for data visualization?

I am using Scikit-Learn and Pandas libraries of Python for Data Analysis. 我正在使用Scikit-Learn和Pandas Python数据分析库。 How to interface Python with data visualization tools such as Qlikview? 如何使用Qlikview等数据可视化工具来连接Python?

There's no straightforward route to calling Python from QlikView. 从QlikView调用Python没有直接的途径。 I have used this: 我用过这个:

  1. Create a Python program that outputs CSV (or any file format that QlikView can read) 创建一个输出CSV(或QlikView可以读取的任何文件格式)的Python程序
  2. Invoke your Python program from the QlikView script: EXEC python3 my_program.py > my_output.csv 从QlikView脚本调用Python程序: EXEC python3 my_program.py > my_output.csv
  3. Read the output into QlikView: LOAD * FROM my_output.csv (...) 将输出读入QlikView: LOAD * FROM my_output.csv (...)

Note that the EXEC command requires the privilege "Can Execute External Programs" on the Settings tab of the script editor. 请注意, EXEC命令需要脚本编辑器的“设置”选项卡上的“可以执行外部程序”权限。

此链接向您展示如何集成Qlikview和Python https://community.qlik.com/docs/DOC-14011

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM