nasa/OnAIR

Could starting frames use 'nan' instead of '-'

Aperta

#154 aperta il 11 set 2024

 (1 commento) (0 reazioni) (0 assegnatari)Python (28 fork)auto 404
conventionhelp wantedquestion

Metriche repository

Star
 (105 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

A starting frame of data is filled with '-' in place of all values. As data comes in they are replaced with the value for that specific data point; however, this means we are mixing strings and floats in our data frame. We could instead use float('nan') as our initial values. Would that be appropriate without causing errors?

Guida contributor