Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Nov 8, 2023
1 parent 9e13924 commit f197672
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions spec/API_specification/dataframe_api/column_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from .scalar_object import Scalar
from .typing import DType, Namespace, NullType

from .typing import DType, Namespace, NullType, Scalar


__all__ = ["Column"]

Expand Down
2 changes: 1 addition & 1 deletion spec/API_specification/dataframe_api/scalar_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class Scalar(Protocol):
"""Scalar object
"""Scalar object.
Not meant to be instantiated directly, but rather created via
`:meth:Column.get_value` or one of the column reductions such
Expand Down
4 changes: 2 additions & 2 deletions spec/API_specification/dataframe_api/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
from dataframe_api.groupby_object import Aggregation as AggregationT
from dataframe_api.groupby_object import GroupBy

from .scalar_object import Scalar

if TYPE_CHECKING:
from collections.abc import Sequence

Expand All @@ -34,7 +36,6 @@
UInt32,
UInt64,
)
from .scalar_object import Scalar

DType = Union[
Bool,
Expand Down Expand Up @@ -181,5 +182,4 @@ def __column_consortium_standard__(
"Scalar",
"SupportsColumnAPI",
"SupportsDataFrameAPI",
"Scalar",
]

0 comments on commit f197672

Please sign in to comment.