title: AttributeError: 'NoneType' object has no attribute 'split' while seperating on the basis of space
body: <p>I am trying to separate the below column using the following code but getting the following error:</p>
  <pre><code>AttributeError: 'NoneType' object has no attribute 'split'
  </code></pre>
  <p>Code:</p>
  <pre><code>df_no_dup[&quot;tag_count&quot;] = df_no_dup[&quot;Tags&quot;].apply(lambda text: len(text.split(' ')))
  </code></pre>
  <p><a href="https://i.stack.imgur.com/YsFsf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YsFsf.png" alt="enter image description here" /></a></p>