Skip to content

Commit 1c2964f

Browse files
committed
Built site for gh-pages
1 parent 9466602 commit 1c2964f

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
080f2edb
1+
a7f7976f

assessments/Group_Work.pdf

0 Bytes
Binary file not shown.

lectures/6.1-Logic.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,9 @@ <h2>Nulls: None vs.&nbsp;NaN</h2>
414414
<p>Beware of using logic with things that are <em>not</em> what they appear:</p>
415415
<ul>
416416
<li><code>None</code> is Python’s way of saying that something has <strong>no value at all</strong> (not <code>0</code> or <code>""</code>… but <em>None</em>). It is a <strong>class</strong>.</li>
417-
<li>NaN (Not a Number) is a special numeric data type provided by the <code>numpy</code> package to deal with things like -ve and +ve infinity and similar ‘issues’.</li>
417+
<li>NaN (Not a Number) is a special numeric data type provided by the <code>numpy</code> package to deal with things that aren’t numbers. -ve and +ve infinity are handled by a similarly special <code>np.inf</code>.</li>
418418
</ul>
419-
<p><code>np.nan</code> should be used whenever you are dealing with <em>data</em> (<em>e.g.</em> see Pandas!).</p>
419+
<p><code>np.nan</code> should be used whenever you are dealing with errors/nulls in <em>data</em> (<em>e.g.</em> see Pandas!).</p>
420420
</section>
421421
<section id="none-vs.-nan" class="slide level2">
422422
<h2>None vs.&nbsp;NaN</h2>

search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6421,7 +6421,7 @@
64216421
"href": "lectures/6.1-Logic.html#nulls-none-vs.-nan",
64226422
"title": "Logic",
64236423
"section": "Nulls: None vs. NaN",
6424-
"text": "Nulls: None vs. NaN\nBeware of using logic with things that are not what they appear:\n\nNone is Python’s way of saying that something has no value at all (not 0 or \"\"… but None). It is a class.\nNaN (Not a Number) is a special numeric data type provided by the numpy package to deal with things like -ve and +ve infinity and similar ‘issues’.\n\nnp.nan should be used whenever you are dealing with data (e.g. see Pandas!)."
6424+
"text": "Nulls: None vs. NaN\nBeware of using logic with things that are not what they appear:\n\nNone is Python’s way of saying that something has no value at all (not 0 or \"\"… but None). It is a class.\nNaN (Not a Number) is a special numeric data type provided by the numpy package to deal with things that aren’t numbers. -ve and +ve infinity are handled by a similarly special np.inf.\n\nnp.nan should be used whenever you are dealing with errors/nulls in data (e.g. see Pandas!)."
64256425
},
64266426
{
64276427
"objectID": "lectures/6.1-Logic.html#none-vs.-nan",

0 commit comments

Comments
 (0)