Skip to content

Commit c3c89cd

Browse files
committed
Merge remote-tracking branch 'upstream/main' into col
2 parents 467ba16 + b1d4f93 commit c3c89cd

File tree

1 file changed

+18
-1
lines changed
  • spec/API_specification/dataframe_api

1 file changed

+18
-1
lines changed

spec/API_specification/dataframe_api/typing.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,27 @@
3232
UInt8,
3333
Date,
3434
Datetime,
35+
Duration,
3536
String,
3637
)
3738

38-
DType = Union[Bool, Float64, Float32, Int64, Int32, Int16, Int8, UInt64, UInt32, UInt16, UInt8]
39+
DType = Union[
40+
Bool,
41+
Float64,
42+
Float32,
43+
Int64,
44+
Int32,
45+
Int16,
46+
Int8,
47+
UInt64,
48+
UInt32,
49+
UInt16,
50+
UInt8,
51+
String,
52+
Date,
53+
Datetime,
54+
Duration,
55+
]
3956

4057
# Type alias: Mypy needs Any, but for readability we need to make clear this
4158
# is a Python scalar (i.e., an instance of `bool`, `int`, `float`, `str`, etc.)

0 commit comments

Comments
 (0)