Skip to content

Commit d6d98a3

Browse files
committed
Grammar
1 parent 020bb39 commit d6d98a3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ log.basicConfig(
22702270
<Logger>.propagate = <bool> # Cuts off ancestors' handlers if False.
22712271
```
22722272
* **Parent logger can be specified by naming the child logger `'<parent>.<name>'`.**
2273-
* **If logger doesn't have a set level it inherits it from the first ancestor that does.**
2273+
* **If logger doesn't have a set level, it inherits it from the first ancestor that does.**
22742274
* **Formatter also accepts: pathname, filename, funcName, lineno, thread and process.**
22752275
* **RotatingFileHandler creates and deletes files based on 'maxBytes', 'backupCount' args.**
22762276
* **An object with `'filter(<LogRecord>)'` method (or the method itself) can be added to loggers and handlers via addFilter(). Message is dropped if filter() returns a false value.**
@@ -3362,7 +3362,7 @@ b 3 4
33623362

33633363
```python
33643364
<dict> = <DF>.to_dict('d/l/s/…') # Returns columns as dicts, lists or series.
3365-
<str> = <DF>.to_json/html/csv/latex() # Saves output to file if path is passed.
3365+
<str> = <DF>.to_json/html/csv/latex() # Saves output to a file if path is passed.
33663366
<DF>.to_pickle/excel(<path>) # Run `$ pip3 install "pandas[excel]" odfpy`.
33673367
<DF>.to_sql('<table_name>', <connection>) # Also `if_exists='fail/replace/append'`.
33683368
```

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
18581858
</code></pre>
18591859
<ul>
18601860
<li><strong>Parent logger can be specified by naming the child logger <code class="python hljs"><span class="hljs-string">'&lt;parent&gt;.&lt;name&gt;'</span></code>.</strong></li>
1861-
<li><strong>If logger doesn't have a set level it inherits it from the first ancestor that does.</strong></li>
1861+
<li><strong>If logger doesn't have a set level, it inherits it from the first ancestor that does.</strong></li>
18621862
<li><strong>Formatter also accepts: pathname, filename, funcName, lineno, thread and process.</strong></li>
18631863
<li><strong>RotatingFileHandler creates and deletes files based on 'maxBytes', 'backupCount' args.</strong></li>
18641864
<li><strong>An object with <code class="python hljs"><span class="hljs-string">'filter(&lt;LogRecord&gt;)'</span></code> method (or the method itself) can be added to loggers and handlers via addFilter(). Message is dropped if filter() returns a false value.</strong></li>
@@ -2736,7 +2736,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
27362736
</code></pre></div>
27372737

27382738
<pre><code class="python language-python hljs">&lt;dict&gt; = &lt;DF&gt;.to_dict(<span class="hljs-string">'d/l/s/…'</span>) <span class="hljs-comment"># Returns columns as dicts, lists or series.</span>
2739-
&lt;str&gt; = &lt;DF&gt;.to_json/html/csv/latex() <span class="hljs-comment"># Saves output to file if path is passed.</span>
2739+
&lt;str&gt; = &lt;DF&gt;.to_json/html/csv/latex() <span class="hljs-comment"># Saves output to a file if path is passed.</span>
27402740
&lt;DF&gt;.to_pickle/excel(&lt;path&gt;) <span class="hljs-comment"># Run `$ pip3 install "pandas[excel]" odfpy`.</span>
27412741
&lt;DF&gt;.to_sql(<span class="hljs-string">'&lt;table_name&gt;'</span>, &lt;connection&gt;) <span class="hljs-comment"># Also `if_exists='fail/replace/append'`.</span>
27422742
</code></pre>

0 commit comments

Comments
 (0)