You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/08/11 06:09:12 UTC

[GitHub] [iotdb] HTHou commented on a diff in pull request #6863: [IOTDB-3801] Update doc about python numpy tablet

HTHou commented on code in PR #6863:
URL: https://github.com/apache/iotdb/pull/6863#discussion_r943122938


##########
docs/zh/UserGuide/API/Programming-Python-Native-API.md:
##########
@@ -161,9 +161,10 @@ session.insert_tablet(tablet_)
 
 **注意**
 1. Tablet 中的每一列时间戳和值记录为一个 ndarray
-2. ndarray 推荐使用如下面例子中的特定的 dtype,如果不使用,不会影响正确性。
+2. ndarray 推荐使用如下面例子中特定的 numpy.dtype,如果指定也不会影响正确性。

Review Comment:
   ```suggestion
   2. Numpy Tablet 只支持大端类型数据,ndarray 构建时如果不指定数据类型会使用小端,因此推荐在构建 ndarray 时指定下面例子中类型使用大端。如果不指定,IoTDB Python客户端也会进行大小端转换,不影响使用正确性。
   ```



-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org