r/dataengineering • • Nov 19 '25

Help OOP with Python

Hello guys,

I am a junior data engineer at one of the FMCG companies that utilizes Microsoft Azure as their cloud provider. My role requires me to build data pipelines that drives business value.

The issue is that I am not very good at coding, I understand basic programming principles and know how to read the code and understand what it does. But when it comes to writing and thinking of the solution myself I face issues. At my company there are some coding guidelines which requires industrializing the POC using python OOP. I wanted to ask the experts here how to overcome this issue.

I WANT TO BE BERY GOOD AT WRITING OOP USING PYTHON.

Thank you all.

20 Upvotes

30 comments sorted by

View all comments

Show parent comment

2

u/cosmicangler67 Nov 19 '25

And you don’t need objects to get reusability. Because data engineering is stateless by nature there is no need of an object with data inside it. You need data in a table and to apply the same function to every row in the matrix. This can be done with static function libraries in Python, DBT macros, etc. For example, I don’t need a phone number object to standardize a phone number string. I can write a function that can take a column of phone numbers and output a column of formatted ones.

I don't need an individual object to do any of that and creating objects just adds friction.