Forum Discussion

vilenm's avatar
vilenm
Helper II
4 years ago

Python script to remove stop words from email body in Power BI

Hi

 

I am still new to python however, I would want to use AI text analytics function for the body of emails however, I am looking to replace values in body column with python especially stopwords which would require liabrary.

 

How would one achieve this syntatically : 

import nltk

ds = dataset

ds =ds.loc[body].replace(stopwords)