this post was submitted on 10 Dec 2023
10 points (100.0% liked)

Aotearoa / New Zealand

1657 readers
4 users here now

Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general

Rules:

FAQ ~ NZ Community List ~ Join Matrix chatroom

 

Banner image by Bernard Spragg

Got an idea for next month's banner?

founded 1 year ago
MODERATORS
 

Welcome to today’s daily kōrero!

Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it!

Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc.

So, how’s it going?

you are viewing a single comment's thread
view the rest of the comments
[–] NoRamyunForYou 3 points 11 months ago (12 children)

I do a lot of analytical work in my wider Team, and wanted to start adding Python to the arsenal, and have now just got access to Pycharm.

Wondering if there was anyone in a similar space (Data/Analytics), and was keen to hear some of the reasons you use Python, and how its incorporated into your workflow?

[–] catsdoingcatstuff 3 points 11 months ago (7 children)

I'm a data engineer working mostly in Python and sql embedded in a data analytics team. Our main use cases are for ingestion pipelines (API sources, glue scripts, batch jobs in airflow and aws), and some work in pandas that doesn't fit into our dbt sql models. I think it's also nice for data exploration and sharing via jupyter/colab notebooks.

What are you thinking of using it for?

[–] NoRamyunForYou 3 points 11 months ago (6 children)

There's a few different reasons that I've though about for now:

  • A lot of the data that we are working with is quite large, and it's sometimes a struggle to work with it in Google Sheets / Excel (Unfortunately our workplace uses both for some reason)

  • I have some weekly reports that I've somehow ended up generating (Getting data via SQL, massaging the data, and presenting via a dashboard or sharing a spreadsheet.

  • For creating a repeatable set of calculations when someone asks for something (which I'm sort of doing via Powerquery or Google Apps Script)

  • I'm quite big on visualizations, so I want to give Matplotlib a go.

  • And I do of coding (Javascript & C++(Arduino)), and have always wanted to add Python to my list of skills, especially in recent times, as I begin to delve more into Data.

[–] catsdoingcatstuff 3 points 11 months ago (1 children)

Those sound like perfect scenarios! One of the first projects that got me hooked on python was processing large csv files instead of opening them in excel and running visual basic on them.

If you haven't already, you should check out duck db for working with your larger data sets, too. It's pretty neat. https://duckdb.org/

[–] NoRamyunForYou 1 points 11 months ago (1 children)

I've had a brief look into duckdb, and not too sure if I'm interpreting it's use case correctly, but does it basically allow you to use SQL within your Python to query your large datasets that you have locally?

[–] catsdoingcatstuff 2 points 11 months ago (1 children)

That's right. You can read in structured files and query them locally without having to load into a database. It's nice in the case where you would rather write analytics sql, or want to convert between sql and pandas. It's very quick to load and run files. It can connect to databases, too.

[–] NoRamyunForYou 2 points 11 months ago (1 children)

Oooh that sounds pretty promising - I've been struggling with how to handle quite large datasets when they don't live within a Database.

Thank you for enlightening me! :) - I might have to send you some messages or the like later if I have any questions if that's okay with you?

[–] catsdoingcatstuff 2 points 11 months ago (1 children)
[–] NoRamyunForYou 1 points 11 months ago
load more comments (4 replies)
load more comments (4 replies)
load more comments (8 replies)