March 24, 2024, 4:35 p.m. | /u/Asleep-Dress-3578

Data Science www.reddit.com

I work in a team of data scientists on time series forecasting pipelines, and I have the feeling that my colleagues overuse OOP paradigms. Let us say we have two dataframes, and we have a function which calculates some deltas between them:

def calculate_delta(df1: pd.DataFrame, df2: pd.DataFrame) -> pd.DataFrame:
delta = # some calculations
return delta

delta = calculate_delta(df1, df2)

What my coleagues usually do with this, that they wrap this function in a class, something like:

class DeltaCalculatorProcessor:
def …

colleagues data dataframe dataframes data processing datascience data scientists delta forecasting function functions oop pipelines processing scientists series team them time series time series forecasting work

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US