HTHou commented on code in PR #11231:
URL: https://github.com/apache/iotdb/pull/11231#discussion_r1356016299
##########
iotdb-client/client-py/iotdb/utils/Field.py:
##########
@@ -134,22 +133,19 @@ def get_object_value(self, data_type):
"""
:param data_type: TSDataType
"""
- if self.__data_type is None:
+ if self.__data_type is None or self.value is None or self.value is
pd.NA:
Review Comment:
Not the `np.NaN`.
pd.NA will appear when the dataframe has some null value. For example, there
is a dataset looks like this.
<img width="501" alt="image"
src="https://github.com/apache/iotdb/assets/25913899/ebff7807-2ddc-4df0-9e91-c45ccdc6d778">
In Python client, pd.NA may need to process.
<img width="1060" alt="image"
src="https://github.com/apache/iotdb/assets/25913899/1563bb84-0605-40cc-a1e5-e5f6288b0353">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]