1
0
Fork 0

Adding upstream version 0.12.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 10:57:24 +01:00
parent d887bee5ca
commit 148efc9122
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
69 changed files with 12923 additions and 0 deletions

27
stubs/pyarrow/types.pyi Normal file
View file

@ -0,0 +1,27 @@
from __future__ import annotations
from . import DataType, Date32Type, Date64Type, TimestampType
def is_null(t: DataType) -> bool: ...
def is_struct(t: DataType) -> bool: ...
def is_boolean(t: DataType) -> bool: ...
def is_integer(t: DataType) -> bool: ...
def is_floating(t: DataType) -> bool: ...
def is_decimal(t: DataType) -> bool: ...
def is_temporal(t: DataType) -> bool: ...
def is_date(t: DataType) -> bool: ...
def is_date32(t: DataType) -> bool:
if isinstance(t, Date32Type):
return True
return False
def is_date64(t: DataType) -> bool:
if isinstance(t, Date64Type):
return True
return False
def is_time(t: DataType) -> bool: ...
def is_timestamp(t: DataType) -> bool:
if isinstance(t, TimestampType):
return True
return False