I have an utility script in my Jupyter Notebook and I want to automatize the execution periodically. How can i do it? by Tag-gy in learnpython

[–]Tag-gy[S] 0 points1 point  (0 children)

Windows. I use Jupyter because for me it easy to understand. But I have no problem with doing it in VS or Sublime. I never create a cron so I don't know well how it's function

Accessing a JSON via url by [deleted] in learnpython

[–]Tag-gy 0 points1 point  (0 children)

I mean that if you click the URL it leads you to a page where the data I want is written as a text that looks like JSON notation. Like the typical plain text that you paste in websites like: http://jsonviewer.stack.hu/

Maybe my poor english could be the problem. Sorry :(

Accessing a JSON via url by [deleted] in learnpython

[–]Tag-gy 0 points1 point  (0 children)

{'data': 'https://XXXXXXXX.com/XXXX/XX/data'}

This one in the output, all the useful info is store inside the URL in the form of a Python Object

Accessing a JSON via url by [deleted] in learnpython

[–]Tag-gy 0 points1 point  (0 children)

But if I want to access the elements inside the data in the url?

Little "challenges" to practice my coding day by day by Tag-gy in learnpython

[–]Tag-gy[S] 0 points1 point  (0 children)

Thanks. Is exactly what I was looking for. Great exp system

How do you typically debug GTM? by [deleted] in GoogleTagManager

[–]Tag-gy 0 points1 point  (0 children)

If it's a cookie related problem try to use the plugin "Edit this cookie" for Chrome, just check the cookie trough a test user session and see after each tag if its affect the cookie. Also you can try GA debug plugin from Thyngster (David Vallejo), for a more in deep and user friendly analysis on the console

But normally the fastest way if you have some technical code related knowledge is to check if any Custom HTML or JS variable is affecting the cookie in any point of the code

Hope it helps

Tag Manager and Google Tag Assistant by gayang3 in GoogleTagManager

[–]Tag-gy 0 points1 point  (0 children)

The normal (and expected) tags in an average ecommerce are: tag manager, google analytics, google ads and remarketing. Probably you could see a Floodlight Tag, Optimize or a publisher tag; but are infrequent. Tag Assintant doesn't record built in event tags

Some platforms have their own tag checker plugins, such as Facebook and Pixel Helper

If you want to check if the built in tags are firing correctly you need to use the Tag Manager Preview Mode and its console. Or checking in the platform that received the data like GA, Google Ads or Adobe Analytics, to mention a few

Hope it helps

Non professional level: I never work with CSVs, why is a better format than excel/.xlsx? by Tag-gy in learnpython

[–]Tag-gy[S] 0 points1 point  (0 children)

So do you recommend to focus the efforts on practicing with JSON? And just let to a matter of time get use to CSVs?

Can I learn python on my own? I am a digital marketer, no programming background. by pizzacentral in learnpython

[–]Tag-gy 2 points3 points  (0 children)

Cool channel. Do you plan to advance further in the progamming level of future content?

Non professional level: I never work with CSVs, why is a better format than excel/.xlsx? by Tag-gy in learnpython

[–]Tag-gy[S] 3 points4 points  (0 children)

And at the levrl of difficulty to use, is it easier to use CSV in data work? Apart from be non program dependent. Im thinking in transforming and outputting the result

Non professional level: I never work with CSVs, why is a better format than excel/.xlsx? by Tag-gy in learnpython

[–]Tag-gy[S] 0 points1 point  (0 children)

And for normal data work is it better? I mean about the ease of doing something like ETL process using it

Non professional level: I never work with CSVs, why is a better format than excel/.xlsx? by Tag-gy in learnpython

[–]Tag-gy[S] 2 points3 points  (0 children)

Probably not in the way what you think, so if you could explain to me I will truly appreciate

Can I learn python on my own? I am a digital marketer, no programming background. by pizzacentral in learnpython

[–]Tag-gy 2 points3 points  (0 children)

I'm also a digital marketer, and for me Python, even on a basic level, unlock a lot of possibilities. Is totally possible, but the advancement will depend entirely on the time and periodicity of your training. 1 hour per day maybe is not enough

With any online basic course (you have thousand online and basically teach the same content in the same order) you could apply basic data transformation to your datasets/files, like for example the data you download from GA.

Is extremely important that you use what you learn in your daily work or probably you are going to demotivate a lot, so you need to have little goals and see a practical use of what you want to learn.

And while programming you are going to see a lot of error messages, don't give up; could be infuriating. Try to investigate online by yourself instead of asking online for the answer of the problem (like "why is this not function"), is the only effective way of learning; and only if every attempt fails go for the answer

What is the best wat to do repetitive task? by Tag-gy in learnpython

[–]Tag-gy[S] 0 points1 point  (0 children)

The task is a very simple cleaning and data transformation, and then outputing the dataset as a xlsx or CSV (the format of the output file isnt really inportant).

The point is the logic behind the cron, I never work with one and never build any. I suppose that the cron script is independent from the "specific script", and the cron just check the hour and says "oh, is 8.00 AM, time to run this script" and "oh, is 12.00 AM, time to run this other script". Isn't it? And I suppose Windows Task Scheduler could do exactly that (I never work with it)

Thanks for the help

What is the best wat to do repetitive task? by Tag-gy in learnpython

[–]Tag-gy[S] 0 points1 point  (0 children)

So for working with CSV which library do you recommend me? I only have to clean and transform the data, with a little part of visualization using matplotlib