You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Measurement includes many fields and some of them are bool fields. Not every row has a value in every field. I expect that when reading and converting into a dataframe object, the missing entries of the bool columns are occupied as NaN
Actual behavior
However, the missing entries are set as None, which means that my column is no longer of the data type bool, but of the data type string, which leads to errors during further processing.
See here:
<style>
</style>
_time
Temp
Error
Control
2022-05-13 09:25:21.243512+00:00
80.3
None
None
2022-05-13 09:25:21.296167+00:00
NaN
False
None
2022-05-13 09:25:21.306052+00:00 26
NaN
None
True
Datatypes:
Temp float64
Error object
Control object
Additional info
No response
The text was updated successfully, but these errors were encountered:
flyingdodo11
changed the title
Missing entrys in bool column are replaced with "None"
Missing entrys in bool column are replaced with "None" (DataFrame)
Jan 5, 2023
I have prepared a fixed version within #584. Development version of the client will be available after #584 acceptance, stable version in regular release cycle.
Specifications
Code sample to reproduce problem
Expected behavior
My Measurement includes many fields and some of them are bool fields. Not every row has a value in every field. I expect that when reading and converting into a dataframe object, the missing entries of the bool columns are occupied as NaN
Actual behavior
However, the missing entries are set as None, which means that my column is no longer of the data type bool, but of the data type string, which leads to errors during further processing.
See here:
<style> </style>Datatypes:
Temp float64
Error object
Control object
Additional info
No response
The text was updated successfully, but these errors were encountered: