Skip to content

Commit

Permalink
rename entrypoints (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Aug 2, 2023
1 parent d6ac338 commit 2779efa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/purpose_and_scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,11 @@ the level of (non-)conformance. For details on how to do this, see

Libraries which implement the Standard in a separate namespace
are required to provide the following methods:
- ``__dataframe_standard__``: used for converting a non-compliant dataframe to a compliant one;
- ``__column_standard__``: used for converting a non-compliant column to a compliant one.
- ``__dataframe_consortium_standard__``: used for converting a non-compliant dataframe to a compliant one;
- ``__column_consortium_standard__``: used for converting a non-compliant column to a compliant one.

For example, pandas would have ``pandas.DataFrame.__dataframe_standard__`` and
``pandas.Series.__column_standard__``.
For example, pandas would have ``pandas.DataFrame.__dataframe_consortium_standard__`` and
``pandas.Series.__column_consortium_standard__``.

The signatures should be (note: docstring is optional):
```python
Expand Down

0 comments on commit 2779efa

Please sign in to comment.