Skip to content

Commit 020bb39

Browse files
committed
Logging, Pandas
1 parent 0975955 commit 020bb39

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
@@ -2272,7 +2272,7 @@ log.basicConfig(
22722272
* **Parent logger can be specified by naming the child logger `'<parent>.<name>'`.**
22732273
* **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.**
2275-
* **RotatingFileHandler creates and deletes files based on 'maxBytes' and 'backupCount' args.**
2275+
* **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.**
22772277

22782278
#### Creates a logger that writes all messages to file and sends them to the root's handler that prints warnings or higher:
@@ -3386,7 +3386,7 @@ c 7 8 6
33863386
```python
33873387
<GB> = <DF>.groupby(col_key/s) # Splits DF into groups based on passed column.
33883388
<DF> = <GB>.apply(<func>) # Maps each group. Func can return DF, Sr or el.
3389-
<DF> = <GB>.get_group(<num>) # Selects a group by grouping column's value.
3389+
<DF> = <GB>.get_group(<el>) # Selects a group by grouping column's value.
33903390
<Sr> = <GB>.size() # A Sr of group sizes. Same keys as get_group().
33913391
<GB> = <GB>[col_key] # Single column GB. All operations return a Sr.
33923392
```

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
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>
18611861
<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>
1863-
<li><strong>RotatingFileHandler creates and deletes files based on 'maxBytes' and 'backupCount' args.</strong></li>
1863+
<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>
18651865
</ul>
18661866
<div><h4 id="createsaloggerthatwritesallmessagestofileandsendsthemtotherootshandlerthatprintswarningsorhigher">Creates a logger that writes all messages to file and sends them to the root's handler that prints warnings or higher:</h4><pre><code class="python language-python hljs"><span class="hljs-meta">&gt;&gt;&gt; </span>logger = log.getLogger(<span class="hljs-string">'my_module'</span>)
@@ -2756,7 +2756,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
27562756

27572757
<pre><code class="python language-python hljs">&lt;GB&gt; = &lt;DF&gt;.groupby(col_key/s) <span class="hljs-comment"># Splits DF into groups based on passed column.</span>
27582758
&lt;DF&gt; = &lt;GB&gt;.apply(&lt;func&gt;) <span class="hljs-comment"># Maps each group. Func can return DF, Sr or el.</span>
2759-
&lt;DF&gt; = &lt;GB&gt;.get_group(&lt;num&gt;) <span class="hljs-comment"># Selects a group by grouping column's value.</span>
2759+
&lt;DF&gt; = &lt;GB&gt;.get_group(&lt;el&gt;) <span class="hljs-comment"># Selects a group by grouping column's value.</span>
27602760
&lt;Sr&gt; = &lt;GB&gt;.size() <span class="hljs-comment"># A Sr of group sizes. Same keys as get_group().</span>
27612761
&lt;GB&gt; = &lt;GB&gt;[col_key] <span class="hljs-comment"># Single column GB. All operations return a Sr.</span>
27622762
</code></pre>

0 commit comments

Comments
 (0)