dss-extensions / dss-extensions/OpenDSSDirect.py

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

Aperta
#104 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
116
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.