USING PYTHON LIBRARIES IN TABLEAU
Вставка
- Опубліковано 2 сер 2020
- TABLEAU DATA SCIENCE
USING PYTHON LIBRARIES IN TABLEAU
Make Sure your Tab Pay Server is Live. Following is the Installation Directory.
C:\Python\Python36\Lib\site-packages\tabpy_server
Following is the link for:
PYTHON INTEGRATION WITH TABLEAU
• PYTHON INTEGRATION WIT...
Calculated Field for Linear Regression.
SCRIPT_REAL(
'
from sklearn import datasets
import numpy as np
sklearn.linear_model.LinearRegression
from sklearn import linear_model
clf = linear_model.LinearRegression()
X = np.transpose(np.array([_arg1]))
y =np.array(_arg2)
clf.fit(X,y)
predict = clf.predict(X)
return predict.tolist()
',
sum([Sales])
,sum([Profit])
)
simple and clear
Thanks
Awesome
muhaaa ! what a video
i am finding trouble in executing python script in tableau repository, your pan code is absolutely blurr, not readable, nothing is explained about code
Hi sir thanks ...if possible pls also make R intergn woth Tableau
sure, i will share soon
This video is really interesting. Can you make a video describing the syntax of scripts?
You mean python code for linear regression?
@@kamranahmed105 Python code for time series forecasting.
How python code in jupyterLab is different from python code in tableau.
@@aplis11 www.tableau.com/about/blog/2016/11/leverage-power-python-tableau-tabpy-62077#:~:text=TabPy%20is%20a%20new%20API,libraries%20right%20from%20your%20visualizations.
@@aplis11 tableau.github.io/TabPy/docs/TableauConfiguration.html
Thanks for the video ... But publishing into online server is not working
Tableau required to connect to python server to make it work. I don't think that you can connect Tableau online with your python server. Try open a support case with Tableau. They might help you.
@@kamranahmed105 Thank you