Skip to content

Commit 3fe6b68

Browse files
committed
More changes, some autodoc warnings gone now
1 parent 71a10c4 commit 3fe6b68

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

spec/API_specification/dataframe_api/dataframe_object.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
__all__ = ["DataFrame"]
99

10+
1011
class Scalar:
1112
"A class to represent Python scalars"
1213

spec/API_specification/dataframe_object.rst

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _array-object:
1+
.. _dataframe-object:
22

33
Dataframe object
44
================
@@ -22,16 +22,6 @@ Arithmetic Operators
2222
A conforming implementation of the array API standard must provide and support
2323
an array object supporting the following Python arithmetic operators.
2424

25-
- ``+x``: :meth:`.DataFrame.__pos__`
26-
27-
- `operator.pos(x) <https://docs.python.org/3/library/operator.html#operator.pos>`_
28-
- `operator.__pos__(x) <https://docs.python.org/3/library/operator.html#operator.__pos__>`_
29-
30-
- `-x`: :meth:`.DataFrame.__neg__`
31-
32-
- `operator.neg(x) <https://docs.python.org/3/library/operator.html#operator.neg>`_
33-
- `operator.__neg__(x) <https://docs.python.org/3/library/operator.html#operator.__neg__>`_
34-
3525
- `x1 + x2`: :meth:`.DataFrame.__add__`
3626

3727
- `operator.add(x1, x2) <https://docs.python.org/3/library/operator.html#operator.add>`_
@@ -136,11 +126,15 @@ Arithmetic Operators
136126

137127
Attributes
138128
----------
129+
130+
TODO
131+
139132
..
140133
NOTE: please keep the attributes in alphabetical order
141134
142135

143-
.. autosummary::
136+
..
137+
autosummary::
144138
:toctree: generated
145139
:template: property.rst
146140
@@ -158,26 +152,16 @@ Methods
158152
:toctree: generated
159153
:template: property.rst
160154

161-
DataFrame.__abs__
162155
DataFrame.__add__
163-
DataFrame.__dataframe_namespace__
164-
DataFrame.__complex__
165156
DataFrame.__eq__
166-
DataFrame.__float__
167157
DataFrame.__floordiv__
168158
DataFrame.__ge__
169-
DataFrame.__getitem__
170159
DataFrame.__gt__
171-
DataFrame.__int__
172160
DataFrame.__le__
173161
DataFrame.__lt__
162+
DataFrame.__ne__
174163
DataFrame.__mod__
175164
DataFrame.__mul__
176-
DataFrame.__ne__
177-
DataFrame.__neg__
178-
DataFrame.__or__
179-
DataFrame.__pos__
180165
DataFrame.__pow__
181-
DataFrame.__setitem__
182166
DataFrame.__sub__
183167
DataFrame.__truediv__

0 commit comments

Comments
 (0)