Skip to content

Commit 3c7f4a5

Browse files
committed
Resolve reference to null value doc build issue, add __all__ dict
1 parent 1b98168 commit 3c7f4a5

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

spec/API_specification/dataframe_api/__init__.py

+10
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
from ._types import DType
1313

1414

15+
__all__ = [
16+
"__dataframe_api_version",
17+
"column_from_sequence",
18+
"concat",
19+
"dataframe_from_dict",
20+
"isnull",
21+
"null",
22+
]
23+
24+
1525
__dataframe_api_version__: str = "YYYY.MM"
1626
"""
1727
String representing the version of the DataFrame API specification to which

spec/API_specification/dataframe_api/column_object.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def unique_indices(self, *, skip_nulls: bool = True) -> Column[int]:
457457
"""
458458
...
459459

460-
def fill_nan(self, value: float | null, /):
460+
def fill_nan(self, value: float | 'null', /):
461461
"""
462462
Fill floating point ``nan`` values with the given fill value.
463463

spec/API_specification/dataframe_api/dataframe_object.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def isnan(self) -> DataFrame:
707707
"""
708708
...
709709

710-
def fill_nan(self, value: float | null, /):
710+
def fill_nan(self, value: float | 'null', /):
711711
"""
712712
Fill ``nan`` values with the given fill value.
713713

0 commit comments

Comments
 (0)