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])
    )

КОМЕНТАРІ • 14

  • @mkgm001
    @mkgm001 Рік тому +1

    simple and clear
    Thanks

  • @keithconroy2699
    @keithconroy2699 Рік тому +1

    Awesome

  • @napaankur
    @napaankur 2 роки тому

    muhaaa ! what a video

  • @KhairatMuhammad
    @KhairatMuhammad 8 місяців тому

    i am finding trouble in executing python script in tableau repository, your pan code is absolutely blurr, not readable, nothing is explained about code

  • @vdn5716
    @vdn5716 3 роки тому +1

    Hi sir thanks ...if possible pls also make R intergn woth Tableau

  • @aplis11
    @aplis11 3 роки тому

    This video is really interesting. Can you make a video describing the syntax of scripts?

    • @kamranahmed105
      @kamranahmed105  3 роки тому

      You mean python code for linear regression?

    • @aplis11
      @aplis11 3 роки тому

      @@kamranahmed105 Python code for time series forecasting.
      How python code in jupyterLab is different from python code in tableau.

    • @kamranahmed105
      @kamranahmed105  3 роки тому

      @@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.

    • @kamranahmed105
      @kamranahmed105  3 роки тому

      @@aplis11 tableau.github.io/TabPy/docs/TableauConfiguration.html

  • @mani0536
    @mani0536 3 роки тому +1

    Thanks for the video ... But publishing into online server is not working

    • @kamranahmed105
      @kamranahmed105  3 роки тому

      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.

    • @mani0536
      @mani0536 3 роки тому +1

      @@kamranahmed105 Thank you