Skip to content

Commit 4283aca

Browse files
DOCSP-44431 - Add null type (#29)
Co-authored-by: Jordan Smith <[email protected]>
1 parent 90b1ad3 commit 4283aca

File tree

1 file changed

+30
-12
lines changed

1 file changed

+30
-12
lines changed

source/data-types.txt

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,47 @@ Support for additional types will be added in subsequent releases.
3535
* - BSON Type
3636
- Type Identifiers
3737
* - String
38-
- ``py.str``, an instance of ``pyarrow.string``
38+
- - ``py.str``
39+
- Instance of ``pyarrow.string``
3940
* - Embedded document
40-
- ``py.dict``, and instance of ``pyarrow.struct``
41+
- - ``py.dict``
42+
- Instance of ``pyarrow.struct``
4143
* - Embedded array
42-
- An instance of ``pyarrow.list_``
44+
- - Instance of ``pyarrow.list_``
4345
* - ObjectId
44-
- ``py.bytes``, ``bson.ObjectId``, an instance of ``pymongoarrow.types.ObjectIdType``, an instance of ``pymongoarrow.pandas_types.PandasObjectId``
46+
- - ``py.bytes``
47+
- ``bson.ObjectId``
48+
- Instance of ``pymongoarrow.types.ObjectIdType``
49+
- Instance of ``pymongoarrow.pandas_types.PandasObjectId``
4550
* - Decimal128
46-
- ``bson.Decimal128``, an instance of ``pymongoarrow.types.Decimal128Type``, an instance of ``pymongoarrow.pandas_types.PandasDecimal128``
51+
- - ``bson.Decimal128``
52+
- Instance of ``pymongoarrow.types.Decimal128Type``
53+
- Instance of ``pymongoarrow.pandas_types.PandasDecimal128``
4754
* - Boolean
48-
- An instance of ``~pyarrow.bool_``, ``~py.bool``
55+
- - ``~py.bool``
56+
- Instance of ``~pyarrow.bool_``
4957
* - 64-bit binary floating point
50-
- ``py.float``, an instance of ``pyarrow.float64``
58+
- - ``py.float``
59+
- Instance of ``pyarrow.float64``
5160
* - 32-bit integer
52-
- An instance of ``pyarrow.int32``
61+
- - Instance of ``pyarrow.int32``
5362
* - 64-bit integer
54-
- ``~py.int``, ``bson.int64.Int64``, an instance of ``pyarrow.int64``
63+
- - ``~py.int``
64+
- ``bson.int64.Int64``
65+
- Instance of ``pyarrow.int64``
5566
* - UTC datetime
56-
- An instance of ``~pyarrow.timestamp`` with ``ms`` resolution, ``py.datetime.datetime``
67+
- - ``py.datetime.datetime``
68+
- Instance of ``~pyarrow.timestamp`` with ``ms`` resolution
5769
* - Binary data
58-
- ``bson.Binary``, an instance of ``pymongoarrow.types.BinaryType``, an instance of ``pymongoarrow.pandas_types.PandasBinary``.
70+
- - ``bson.Binary``
71+
- Instance of ``pymongoarrow.types.BinaryType``
72+
- Instance of ``pymongoarrow.pandas_types.PandasBinary``
5973
* - JavaScript code
60-
- ``bson.Code``, an instance of ``pymongoarrow.types.CodeType``, an instance of ``pymongoarrow.pandas_types.PandasCode``
74+
- - ``bson.Code``
75+
- Instance of ``pymongoarrow.types.CodeType``
76+
- Instance of ``pymongoarrow.pandas_types.PandasCode``
77+
* - null
78+
- - Instance of ``pyarrow.null``
6179

6280
.. note::
6381

0 commit comments

Comments
 (0)