Skip to content

Commit dfb1cbd

Browse files
working on the pandas doc guide
1 parent deeacba commit dfb1cbd

File tree

6 files changed

+29
-1
lines changed

6 files changed

+29
-1
lines changed
1.15 KB
Binary file not shown.
283 Bytes
Binary file not shown.

docs/pandas-doc/build/_sources/contents.rst.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ For complex types, define the subtypes:
284284
- tuple of (str, int, int)
285285
- set of str
286286

287+
In case there are just a set of values allowed, list them in curly brackets
288+
and separated by commas (followed by a space):
289+
290+
- {0, 10, 25}
291+
- {'simple', 'advanced'}
292+
287293
If the type is defined in a Python module, the module must be specified:
288294

289295
- datetime.date
@@ -306,3 +312,6 @@ last two types, that need to be separated by the word 'or':
306312
- int or float
307313
- float, decimal.Decimal or None
308314
- str or list of str
315+
316+
Section 4: Returns or Yield
317+
~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/pandas-doc/build/contents.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ <h4>Parameter types<a class="headerlink" href="#parameter-types" title="Permalin
290290
<li>tuple of (str, int, int)</li>
291291
<li>set of str</li>
292292
</ul>
293+
<p>In case there are just a set of values allowed, list them in curly brackets
294+
and separated by commas (followed by a space):</p>
295+
<ul class="simple">
296+
<li>{0, 10, 25}</li>
297+
<li>{‘simple’, ‘advanced’}</li>
298+
</ul>
293299
<p>If the type is defined in a Python module, the module must be specified:</p>
294300
<ul class="simple">
295301
<li>datetime.date</li>
@@ -315,6 +321,9 @@ <h4>Parameter types<a class="headerlink" href="#parameter-types" title="Permalin
315321
</ul>
316322
</div>
317323
</div>
324+
<div class="section" id="section-4-returns-or-yield">
325+
<h3>Section 4: Returns or Yield<a class="headerlink" href="#section-4-returns-or-yield" title="Permalink to this headline"></a></h3>
326+
</div>
318327
</div>
319328
</div>
320329

@@ -339,6 +348,7 @@ <h3><a href="#">Table Of Contents</a></h3>
339348
<li><a class="reference internal" href="#parameter-types">Parameter types</a></li>
340349
</ul>
341350
</li>
351+
<li><a class="reference internal" href="#section-4-returns-or-yield">Section 4: Returns or Yield</a></li>
342352
</ul>
343353
</li>
344354
</ul>

docs/pandas-doc/build/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pandas-doc/source/contents.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ For complex types, define the subtypes:
284284
- tuple of (str, int, int)
285285
- set of str
286286

287+
In case there are just a set of values allowed, list them in curly brackets
288+
and separated by commas (followed by a space):
289+
290+
- {0, 10, 25}
291+
- {'simple', 'advanced'}
292+
287293
If the type is defined in a Python module, the module must be specified:
288294

289295
- datetime.date
@@ -306,3 +312,6 @@ last two types, that need to be separated by the word 'or':
306312
- int or float
307313
- float, decimal.Decimal or None
308314
- str or list of str
315+
316+
Section 4: Returns or Yield
317+
~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)