LoginSignup
4
10

More than 5 years have passed since last update.

Tabpy接続(Tableau+Python)をした日

Last updated at Posted at 2019-01-23

簡単な計算から統計処理、機械学習プログラムまでをTableauでビジュアライズする法

公式からanacondaインストーラをダウンロード

仮想環境を爆誕させる

$ conda create -n Tableau-Python-Server python=3.X anaconda

*Xは適宜

仮想環境を有効化する

$ source activate Tableau-Python-Server

Tabpyパッケージを入れる

$ conda install -c pkgs/free tabpy-server

ここ↓に入ってた

anaconda3/envs/Tableau-Python-Server/lib/python3.6/site-packages/tabpy_server/

中にあるファイルstartup.sh(winの方はstartup.bat)を実行

$ sh startup.sh
Web service listening on port 9004

になってたらOK。

Tableau側の設定

・Tableau起動
・ヘルプ→設定とパフォーマンス→外部サービス接続の管理 を選択
・ポート:9004に設定

・[テスト接続]をクリック
スクリーンショット 2019-01-23 14.42.54.png

success!

参考

TabPy入門【環境構築】
alexloth.com
外部サービスに式を渡す(公式ヘルプ)
The endpoint you're trying to query did not respond. Please make sure the endpoint exists and the correct set of arguments are provided.
Building advanced analytics applications with TabPy
TableauとPythonの連携環境(TabPy)構築

4
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
10