I'm having a problem with my python code, I'm running a function but that function requires some arguments and the number of arguments I give is different every time, this number is going to depend on how big my array is, I thought about a for loop but it doesn't work inside the function.
data['x'] = 1
data['z'] = 2
somefunction(for y in data: data_y=data[y])