Skip to content

build Tableau Data Extract (.tde) from Pandas DataFrame using Tableau SDK

License

Notifications You must be signed in to change notification settings

xyzlat/python-tableau-tde

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-tableau-tde

Build Tableau Data Extract (.tde) from Pandas DataFrame using Tableau SDK

requirements

  1. Python 2.7 (Python 3 not supported by Tableau SDK)
  2. Tableau SDK

sample.py

import pytde
import pandas as pd

df = pd.read_csv("dataset.csv")
pytde.to_tde(df,"extract.tde")

New

  1. Python3.5 works OK, with Tableau-SDK-PYTHON-64Bit-10-3-13.tar
  2. Use zip in inner loop, speed up 6 times.
  3. Use apply to to take place of outter loop(iterrows), speed up 1.5 time.

About

build Tableau Data Extract (.tde) from Pandas DataFrame using Tableau SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%