title: AttributeError: 'NoneType' object has no attribute 'lower' in python
body: <p>I am trying to predict locality from the given address. I have saved model and loading by using python </p>
  
  <pre><code>locality_address= df_fatch_ID_Address['Col_1_add'].values.tolist()
  
  print (locality_address)
  </code></pre>
  
  <p>after printing <code>locality_address</code> getting below type address but while running <code>result_locality</code> getting error.</p>
  
  <p>Input Data:</p>
  
  <pre><code>Kastur Park
  Green Homes, Kanti Nagar
  Tata Shubh Griha, Vasind
  </code></pre>
  
  <p>I am getting error <code>AttributeError: 'NoneType' object has no attribute 'lower'</code> after running below like.</p>
  
  <pre><code>result_locality = model_locality.predict(locality_address)
  print (result_locality)      
  </code></pre>