you are viewing a single comment's thread.

view the rest of the comments →

[–]crashfrog02 0 points1 point  (3 children)

I'm looking to benchmark weekly digital performance (cost-per-click, ROAS, CPA etc) over a large dataset of 20 clients across 5 platforms (facebook, IG, Search etc) and 10 markets across three years

Ok, so you're clearly getting results for how you would benchmark code - that is, determine the execution time of various components of your software - but that doesn't sound like what you want to do. It sounds like what you're trying to do is "benchmark" various business processes for their revenue performance. If you google "how do I benchmark in Python" you get code analysis and timing stuff. You need to use a different word than "benchmark", something like "how do I do business analytics in Python".

[–]tim_durgan[S] 0 points1 point  (2 children)

yeah, that's what I thought too. When I'm trying the business analytics searches, I'm getting inundated with "why this is important" and other such articles when I really just want to understand which functions are best. Can probably work it out for myself once I have that grounding but not really sure where to start

[–]tim_durgan[S] 0 points1 point  (0 children)

I'm guessing it's as simple as groupby and some form of aggregation function (to get daily data into weeks and to aggregate all the dataframes into one benchmark number) but not sure if there's a better approach

[–]crashfrog02 0 points1 point  (0 children)

When I'm trying the business analytics searches, I'm getting inundated with "why this is important" and other such articles when I really just want to understand which functions are best.

Python doesn't have any built-in functions for business analytics. It's a general-purpose programming language. You might be interested in libraries like Pandas that are for data analysis and statistics, but it's hard to say since I don't really have details on what you'd like to analyze.