Skip to content

Tag: python

Calling an inner function in Python

I have this final main.py that combines every function I wrote separately, but I can’t make it work, it actually returns the Success at the end but it actually does nothing nor in my local folders or MongoDB. The function is this one: My goal is that, when I call gw2_etl(), it runs every process inside …

Pandas – Create a DF with all the values from 2 columns

I have a DF similar to the below. What I want to do is to take the SKUs from SKU1 and SKU2 and create a separate DF with all possible SKU values. It seems simple but I’m having some trouble. DF SKU1 SKU2 66FS 6dhs b87w ssftv yy5hf y346d Desired Output All_SKUs 66FS b87w yy5hf 6dhs ssftv y346d Answer If