Skip to content

Commit b04035c

Browse files
committed
Fixing doc/source/development/extending.rst format
1 parent a15bc15 commit b04035c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/source/development/extending.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,11 @@ To let original data structures have additional properties, you should let ``pan
402402

403403
1. Define ``_internal_names`` and ``_internal_names_set`` for temporary properties which WILL NOT be passed to manipulation results.
404404
2. Define ``_metadata`` for normal properties which will be passed to manipulation results.
405-
If used, a ``Series`` subclass must also be defined with the same ``_metadata`` property and the first parameter of the constructors must be the data.
405+
406+
If ``_metadata`` is used, a ``Series`` subclass must also be defined with the same ``_metadata`` property and the first parameter of the constructors must be the data.
406407
Avoid the following names for your normal properties: ``data``, ``index``, ``columns``, ``dtype``, ``copy``, ``name``, ``_name`` and ``fastpath``.
407408

408-
Below is an example to define two original properties, "internal_cache" as a temporary property and "added_property" as a normal property
409+
Below is an example to define two original properties, "internal_cache" as a temporary property and "added_property" as a normal property.
409410

410411
.. code-block:: python
411412

0 commit comments

Comments
 (0)