Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion greenplumpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
from greenplumpython.func import create_function # type: ignore
from greenplumpython.func import aggregate_function, function
from greenplumpython.op import operator
from greenplumpython.table import Table, table, to_table
from greenplumpython.table import Table, table, to_table, from_dataframe
from greenplumpython.type import get_type
10 changes: 10 additions & 0 deletions greenplumpython/col.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ def name(self) -> str:
"""
return self._name

@property
def type(self) -> Type:
"""
Returns :class:`Type` type

Returns:
str: column type
"""
return self._type

@property
def table(self) -> Optional["Table"]:
"""
Expand Down
Loading