9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24</span></span></code></pre></div>
<p>We see that there are totally <code>25</code> unique values in the data. Both <em>0</em> and <em>24</em> hours seem to be present. Let’s go ahead and replace <em>24</em> with <em>0</em>.</p>
<div id="replace-those-rows-where-hour-24-with-the-value-0" class="section level4">
<h4>– Replace those rows where <code>hour == 24</code> with the value <code>0</code></h4>
<div class="sourceCode" id="cb8"><pre class="sourceCode r"><