Forum Discussion

calipdis2's avatar
calipdis2
Copper Contributor
Apr 02, 2019

convert cosmos db jason into data frame in azure ml studio

Hi

 

I tried doing this with a Python code but it failed, it return the same input, is there something wrong with the code? is there another way to do it?

 

"import pandas as pd

def azureml_main(dataframe1 = None, dataframe2 = None):

df = pd.DataFrame.from_dict(dataframe1, orient='columns')

return df,"

 

Thanks 

 

 

No RepliesBe the first to reply

Resources