OpenDSSDirect.py icon indicating copy to clipboard operation
OpenDSSDirect.py copied to clipboard

Try to convert dss.Properties.Value() return to numbers

Open daniel-thom opened this issue 2 years ago • 6 comments

Feature Request

The return of dss.Properties.Value() is always a string. That leaves it to the higher-level application to attempt to convert the strings to a float or int. A secondary effect is that dss.utils.class_to_dataframe() also returns numeric data as strings.

Can OpenDSSDirect perform the conversion automatically so that users don't have to do it? I'm sure that you don't want to break the existing API. And perhaps you would prefer to push this to users.

daniel-thom avatar Jan 06 '22 23:01 daniel-thom