r/Python • • Aug 07 '14

Python for business analytics reporting

Hi all,

We have a database with a bunch of data we'd like reporting on. The plan is to generate about 40 graphs/day. I'm not here to ask how to format a graph or something like that, but rather I'm trying to understand high level what is the best option for tackling this. I am debating if to use Excel or Python for this. Excel will be easy to make graphs but a little bit harder to automate end to end and will be harder to set up alerts (e.g. if value increase 10% day over day, send an alert). Overall, I'm familiar with Excel options but wanted to understand what the community thought would be the best options for tackling business reporting with Python. Some specific questions:

  • What graphing library would I use? I've used matplotlib but I'm wondering if there is a package better suited for creating nice looking relatively simple business charts.
  • What can I use to combine and distribute the results? Is there a library that helps me combine everything into a nicely distributed PDF (or some other format)?
  • Do you have any additional thoughts/concerns/callouts for trying to achieve this goal?

I'm not determined to use Excel or Python, it just seems like it would be easiest. If someone has a different suggestion, I'd be very open to using it.

I very much appreciate the help.

Edit: Great to see so much feedback. Some additional notes:

  • Our data is stored in Redshift, which is a AWS data warehouse based on a heavily modified version of postgres.
  • I use Excel for Mac. I've thought many times about switching to PC but our entire company runs on mac, so I'm worried that when I do create Excel programs that others will use, we'll have compatibility issues. I bring this up because I think its a knock for Excel since VBA is not ideal on PC.
  • I have access to EC2 and any other AWS service.
79 Upvotes

59 comments sorted by

View all comments

Show parent comment

6

u/low_altitude_sherpa Aug 08 '14

I hate microsoft as much as the next guy, but, this post is the best so far.

Personally, I'd go for a python solution because when the project grows, or they ask to add something unusual, or publish to the company intranet as html which is running apache, etc. I THINK it will be easier and more robust to do that in python.

that said, if i needed to bang this out and move on, but wanted to know that it would work reliably, i'd look at excel. if i had excel on my desktop. which i don't. so. ;-)