title: How to delete a MongoDB collection in PyMongo
body: <p>How to check in PyMongo if collection exists and if exists empty (remove all from collection)?
  I have tried like </p>
  
  <pre><code>collection.remove()
  </code></pre>
  
  <p>or</p>
  
  <pre><code>collection.remove({})
  </code></pre>
  
  <p>but it doesn't delete collection. How to do that ?</p>