Converting a JSON into pnadas dataframe and a variable using function
I have a JSON file in the below format and I want to convert it into a pandas dataframe using a function. The fuction should return the dataframe and the sensorID. sensor_data_df, sensorID = ImporterFunction( json_str ) • Input 1:…