Closed lsetiawan closed 6 years ago
The only odm2api
query that returns a pandas Dataframe is the one for ResultValues. I forget, but what do other queries returns as far as case for properties -- CamelCase, right? If they're all CamelCase:
odm2api
(though it may break current usage)My 3 cents. Thanks.
If all other queries do in fact return CamelCase, please open an odm2api
github issue to point out this inconsistency and express a future need to change the resultvalues query.
Thanks @emiliom. That answers my question. It seems like currently getResultValues is the only functions that outputs to Pandas DataFrame, and have this all lowercase names. I'll open up an Issue in odm2api
.
PR #77 (and related discussions) addressed this issue. All results are now returned as CamelCase. Closing.
Currently, result values keys are all lower case since this is how it's displayed within the pandas dataframe.
Example:
Do we want this to be this way or the keys should be
CamelCase
like any other model? If so, I either have to figure out the camel case conversion/mapping or this should be implemented within ODM2PythonAPI.