convert cosmos db jason into data frame in azure ml studio

Copper Contributor

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 

 

 

0 Replies