Mattias Fornander US
01/08/2025, 8:38 PMStefan Krawczyk
01/08/2025, 9:17 PMStefan Krawczyk
01/08/2025, 9:25 PM# omitting types for brevity
def my_func(x, y, z):
# some logic
return output_x_y_z
# downstream
def some_other_func(output_x_y_z):
# depends on the particular parameterization of x, y, z.
return ...
but you want to parameterize even more:
# omitting types for brevity
def my_func(x, y, z, int_value):
# some logic
return output_x_y_z_int_value
# downstream
def some_other_func(output_x_y_z_int_value):
# depends on the particular parameterization of x, y, z + int value
return ...
Is that right? And the challenge you’re running into is, (a) naming to handle what you call each thing, (b) handling logic downstream of the parameterization, e.g. what does it depend on?
To help me, could you sketch a diagram of how it should work, or provide some pseudo code (maybe even code what you’re trying to move away from?)? also how will things be executed, will someone want to create a dataframe with all those parameterizations? or?Stefan Krawczyk
01/08/2025, 9:41 PMMattias Fornander US
01/08/2025, 10:19 PM