title: How to insert map type into cassandra using cassandra-driver for python
body: <p>Since, cassandra supports map type. I want to insert a python dict into cassandra. I tried this:</p>
  
  <pre><code>cql = "Insert into table_name (my_key, name, my_dict) values (%s, %s, %s)" % (my_key, name, my_dict)
  
  session.execute(cql)
  </code></pre>
  
  <p>This obviously didn't work.</p>
  
  <p>I already have a map type column in my column family.
  How do I go about it?</p>
  
  <p>Error:
  TypeError: not all arguments converted during string formatting</p>