How do I get the curve data without headers- for Python Scripts
The data comes across as a json object but was wondering how to receive the data straight as a numpy array?
Hi @vinaya.shetty0 ,
From the JSON result returned from RDMS, it can be tranformed to numpy array with the Pandas DataFrame constructor as below
import pandas as pd pd.DataFrame(d).values
The .values part on the end converts the result to a NumPy array, which is what you asked for. Some people would just work directly with the DataFrame instead.
.values