title: Python - TypeError: Object of type 'int64' is not JSON serializable
body: <p>I have a data frame that stores store name and daily sales count. I am trying to insert this to Salesforce using the Python script below.</p>
  <p>However, I get the following error:</p>
  <pre><code>TypeError: Object of type 'int64' is not JSON serializable
  </code></pre>
  <p>Below, there is the view of the data frame.</p>
  <pre><code>Storename,Count
  Store A,10
  Store B,12
  Store C,5
  </code></pre>
  <p>I use the following code to insert it to Salesforce.</p>
  <pre><code>update_list = []
  for i in range(len(store)):
      update_data = {
          'name': store['entity_name'].iloc[i],
          'count__c': store['count'].iloc[i] 
      }
      update_list.append(update_data)
  
  sf_data_cursor = sf_datapull.salesforce_login()
  sf_data_cursor.bulk.Account.update(update_list)
  </code></pre>
  <p>I get the error when the last line above gets executed.</p>
  <p>How do I fix this?</p>