* **By default, decimal characters, alphanumerics and whitespaces from all alphabets are matched unless `'flags=re.ASCII'` argument is used.**
* **It restricts special sequence matches to `'[\x00-\x7f]'` (the first 128 characters) and also prevents `'\s'` from accepting `'[\x1c-\x1f]'` (the so-called separator characters).**
* **It restricts special sequence matches to `'[\x00-\x7f]'` (the first 128 characters) and also prevents `'\s'` from accepting `'[\x1c-\x1f]'` (file, table, row, and field separators).**
* **Use a capital letter for negation (all non-ASCII characters will be matched when used in combination with ASCII flag).**
@ -627,7 +627,7 @@ import zoneinfo, dateutil.tz
<Ta/DTa> = <T/DT>.replace(tzinfo=<tzinfo>) # Changes object's timezone without conversion.
```
* **Timezones returned by tzlocal(), ZoneInfo() and implicit local timezone of naive objects have offsets that vary through time due to DST and historical changes of the base offset.**
* **To get zoneinfo module to work on Windows run `'> pip3 install tzdata'`.**
* **To get ZoneInfo() to work on Windows run `'> pip3 install tzdata'`.**
<li><strong>By default, decimal characters, alphanumerics and whitespaces from all alphabets are matched unless <codeclass="python hljs"><spanclass="hljs-string">'flags=re.ASCII'</span></code> argument is used.</strong></li>
<li><strong>It restricts special sequence matches to <codeclass="python hljs"><spanclass="hljs-string">'[\x00-\x7f]'</span></code> (the first 128 characters) and also prevents <codeclass="python hljs"><spanclass="hljs-string">'\s'</span></code> from accepting <codeclass="python hljs"><spanclass="hljs-string">'[\x1c-\x1f]'</span></code> (the so-called separator characters).</strong></li>
<li><strong>It restricts special sequence matches to <codeclass="python hljs"><spanclass="hljs-string">'[\x00-\x7f]'</span></code> (the first 128 characters) and also prevents <codeclass="python hljs"><spanclass="hljs-string">'\s'</span></code> from accepting <codeclass="python hljs"><spanclass="hljs-string">'[\x1c-\x1f]'</span></code> (file, table, row, and field separators).</strong></li>
<li><strong>Use a capital letter for negation (all non-ASCII characters will be matched when used in combination with ASCII flag).</strong></li>
</ul>
<div><h2id="format"><ahref="#format"name="format">#</a>Format</h2><pre><codeclass="python hljs"><str> = <spanclass="hljs-string">f'<spanclass="hljs-subst">{<el_1>}</span>, <spanclass="hljs-subst">{<el_2>}</span>'</span><spanclass="hljs-comment"># Curly brackets can also contain expressions.</span>
<li><strong>Timezones returned by tzlocal(), ZoneInfo() and implicit local timezone of naive objects have offsets that vary through time due to DST and historical changes of the base offset.</strong></li>
<li><strong>To get zoneinfo module to work on Windows run <codeclass="python hljs"><spanclass="hljs-string">'> pip3 install tzdata'</span></code>.</strong></li>
<li><strong>To get ZoneInfo() to work on Windows run <codeclass="python hljs"><spanclass="hljs-string">'> pip3 install tzdata'</span></code>.</strong></li>
</ul>
<div><h3id="encode">Encode</h3><pre><codeclass="python language-python apache hljs"><D/T/DT> = D/T/DT.fromisoformat(<str>) <spanclass="hljs-comment"># Object from ISO string. Raises ValueError.</span>
<DT> = DT.strptime(<str>, <spanclass="hljs-string">'<format>'</span>) <spanclass="hljs-comment"># Datetime from str, according to format.</span>
<li><strong><codeclass="python hljs"><spanclass="hljs-string">'ix_([1, 2], [3, 4])'</span></code> returns <codeclass="python hljs"><spanclass="hljs-string">'[[1], [2]]'</span></code> and <codeclass="python hljs"><spanclass="hljs-string">'[[3, 4]]'</span></code>. Due to broadcasting rules, this is the same as using <codeclass="python hljs"><spanclass="hljs-string">'[[1, 1], [2, 2]]'</span></code> and <codeclass="python hljs"><spanclass="hljs-string">'[[3, 4], [3, 4]]'</span></code>.</strong></li>
<li><strong>Any value that is broadcastable to the indexed shape can be assigned to the selection.</strong></li>
</ul>
<div><h3id="broadcasting">Broadcasting</h3><p><strong>Set of rules by which NumPy functions operate on arrays of different sizes and/or dimensions.</strong></p><pre><codeclass="python language-python hljs">left = [ <spanclass="hljs-number">0.1</span> , <spanclass="hljs-number">0.6</span> , <spanclass="hljs-number">0.8</span> ] <spanclass="hljs-comment"># Shape: (3,)</span>
<div><h3id="broadcasting">Broadcasting</h3><p><strong>A set of rules by which NumPy functions operate on arrays of different shapes.</strong></p><pre><codeclass="python language-python hljs">left = [ <spanclass="hljs-number">0.1</span> , <spanclass="hljs-number">0.6</span> , <spanclass="hljs-number">0.8</span> ] <spanclass="hljs-comment"># Shape: (3,)</span>
right = [[<spanclass="hljs-number">0.1</span>], [<spanclass="hljs-number">0.6</span>], [<spanclass="hljs-number">0.8</span>]] <spanclass="hljs-comment"># Shape: (3, 1)</span>
@ -2923,11 +2923,12 @@ $ deactivate <span class="hljs-comment"># Deactivates the active
<div><h2id="index"><ahref="#index"name="index">#</a>Index</h2><ul><li><strong>Only available in the <ahref="https://transactions.sendowl.com/products/78175486/4422834F/view">PDF</a>.</strong></li>
<li><strong>Ctrl+F / ⌘F is usually sufficient.</strong></li>
<li><strong>Searching <codeclass="python hljs"><spanclass="hljs-string">'#<title>'</span></code> will limit the search to the titles.</strong></li>
<li><strong>Click on the <codeclass="python hljs"><spanclass="hljs-string">'#'</span></code> symbol to get a link to specific section.</strong></li>
'<li><strong>Only available in the <a href="https://transactions.sendowl.com/products/78175486/4422834F/view">PDF</a>.</strong></li>\n'+
'<li><strong>Ctrl+F / ⌘F is usually sufficient.</strong></li>\n'+
'<li><strong>Searching <code class="python hljs"><span class="hljs-string">\'#<title>\'</span></code> will limit the search to the titles.</strong></li>\n';
'<li><strong>Searching <code class="python hljs"><span class="hljs-string">\'#<title>\'</span></code> will limit the search to the titles.</strong></li>\n'+
'<li><strong>Click on the <code class="python hljs"><span class="hljs-string">\'#\'</span></code> symbol to get a link to specific section.</strong></li>\n';