below code is working fine and its generating the 3 output when I am building the data sets in Palantir foundry but my problem is that u can see the 1st and 2nd line of code there I have hardcoded the data so that list I want to take it from datasets and create the list and use that list in below function so it will generate 3 output. but I tried many thing but still not able find the solution .if someone can help in this '''
gen_o =[A32,A33,A35]
program_id=[N,L,P]
def generat_each_dataSet(v_output,v_program_id):
@transform_df(
output("............path " + v_output)
df =input()
df1=input()
)
def compute(df,df1):
... here transformation code is written......
.... in transformation i am filtering the df based on program id
df = df.join(df1).select()
return df
return compute
def loop_for_each_datasets():
transform=[]
incnt=0
for v_output in gen_o
f= generat_each_dataset(gen_o[incnt],program[incnt])
incnt =incnt + 1
transform.append(f)
return transform
loop_for_each_datasets()
'''