nasa/OnAIR

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

Open

#154 opened on Sep 11, 2024

 (1 comment) (0 reactions) (0 assignees)Python (28 forks)auto 404
conventionhelp wantedquestion

Repository metrics

Stars
 (105 stars)
PR merge metrics
 (PR metrics pending)

Description

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?

Contributor guide