Forum Discussion

carlpaul153's avatar
carlpaul153
Icon for Helper I rankHelper I
5 years ago
Solved

Is it possible to use this Python library in Power BI?

I want to use the wordfreq library (https://pypi.org/project/wordfreq/). I have a column with phrases and I want to add a new column that contains the tokens ordered from most frequent to least frequent. Could you tell me what should I put in the "Run Python Script" box? I don't know how to import this library.

  • Hello @carlpaul153 ,

    Currently, the following Python packages (non-Intel MKL) are supported for use in Power BI reports:

    • matplotlib
    • numpy
    • Pandas
    • scikit-learn
    • scipy
    • Seaborn
    • statsmodels

    Best regards
    Liang
    If this post helps, then consider Accept it as the solution to help other members find it faster.

2 Replies

  • CNENFRNL's avatar
    CNENFRNL
    Icon for Community Champion rankCommunity Champion

    Hi, carlpaul153 , you are not alone; there were already quite a few similar threads. Just refer to them in this Recommendations pane in the right side of this page.

  • V-lianl-msft's avatar
    V-lianl-msft
    Icon for Community Support rankCommunity Support

    Hello @carlpaul153 ,

    Currently, the following Python packages (non-Intel MKL) are supported for use in Power BI reports:

    • matplotlib
    • numpy
    • Pandas
    • scikit-learn
    • scipy
    • Seaborn
    • statsmodels

    Best regards
    Liang
    If this post helps, then consider Accept it as the solution to help other members find it faster.