I am using a function for removing duplicated text, but I get an error type KeyError: ['text'] when I call the function using my datasets. I am wondering if anyone can help provide any guidance as to where I am going wrong or recommendation. Please see the attached screenshots for the sample code, function call and error.
Any advice will be greatly appreciated!
Thanks.