Open Alteryx .yxdb file in Python?

寵の児 提交于 2019-12-12 18:50:04

问题


Is there a way to import .yxdb (Alteryx database files) into Pandas/Python, without using Alteryx as a go-between?


回答1:


The short answer is no, not at this time.

Longer answer: the raw C++ for .yxdb support is available on github, as it was open sourced in order to adhere to R licensing when Alteryx hooked into R. See this link where Ned Harding explains it all in his blog. So basically, everything is there for someone to build Python support by utilizing the open source C++ ... but nobody has done so just yet.




回答2:


Not python specific, a YXDB to SQLite DB command line based on the C++ library open sourced by Alteryx.

Limitations:

  • Not a Python module: use subprocess to invoke the command, then pandas/sqlite3 to read from the SQLite database file.
  • Read YXDB into SQLite only: write to YXDB not implemented (altough the alteryx library would allow it)

Disclaimer: I'm the author of the fork.



来源:https://stackoverflow.com/questions/41750487/open-alteryx-yxdb-file-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!