Skip to content

Commit

Permalink
add to reference
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Aug 13, 2024
1 parent 086d45a commit f14f7ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/api-reference/dataframe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
handler: python
options:
members:
- __arrow_c_stream__
- __getitem__
- clone
- collect_schema
Expand Down
2 changes: 2 additions & 0 deletions docs/api-reference/series.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
handler: python
options:
members:
- __arrow_c_stream__
- __getitem__
- abs
- alias
- all
Expand Down
6 changes: 3 additions & 3 deletions utils/check_api_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
documented = [
remove_prefix(i, " - ")
for i in content.splitlines()
if i.startswith(" - ")
if i.startswith(" - ") and not i.startswith(" - _")
]
if missing := set(top_level_functions).difference(documented):
print("DataFrame: not documented") # noqa: T201
print(missing) # noqa: T201
ret = 1
if extra := set(documented).difference(top_level_functions).difference({"__getitem__"}):
if extra := set(documented).difference(top_level_functions):
print("DataFrame: outdated") # noqa: T201
print(extra) # noqa: T201
ret = 1
Expand Down Expand Up @@ -87,7 +87,7 @@
documented = [
remove_prefix(i, " - ")
for i in content.splitlines()
if i.startswith(" - ")
if i.startswith(" - ") and not i.startswith(" - _")
]
if (
missing := set(top_level_functions)
Expand Down

0 comments on commit f14f7ea

Please sign in to comment.