Skip to content

Crypto module and Encryption method not working

Basically, my question is divided into two problems, first of all, I am having this problem when I try running this code [code below] and get an error, like this: The second problem is when I enter text, i.e: “My data is here” I got the encrypted text as : “GIdd+zxj8m0nMeh7wmZJ+Q==” bu…

New column comparing dates in PySpark

I am struggling to create a new column based off a simple condition comparing two dates. I have tried the following: Which yields a syntax error. I have also updated as follows: But this yields a Python error that the Column is not callable. How would I create a new column that dynamically adjusts based on wh…

Web-scraper process

I’ve been trying to replace some text in my output but i’ve had no luck. I want the output to look something like this The url_list variable returns: This is what I have tried: but I still get it with 500w on the end. And since I want to get every link in a single line without the [”] I