title: Convert timestamp list to datetime list
body: <p>Within my program I filter for dates. I receive them as a list of timestamps:</p>
  
  <pre><code>timestamp = [1545730073]
  </code></pre>
  
  <p>The type of this list is:</p>
  
  <pre><code>print(type(timestamp))
  
  Out: &lt;class 'int'&gt;
  </code></pre>
  
  <p>To convert this list into a list of datetime / datetime64, I tried several versions of the following code:</p>
  
  <pre><code>dt_object = datetime.datetime.fromtimestamp(timestamp)
  print(dt_object)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>dt_object = [datetime.datetime.fromtimestamp(item) for item in timestamp]
  print(dt_object)
  </code></pre>
  
  <p>I need this type to extract the date later by the following function:</p>
  
  <pre><code>import datetime
  
  dt_object = dt_object.date()
  print(dt_object)
  </code></pre>
  
  <p>The output of this would and should be finally <code>Out: 2018-12-25</code>.</p>
  
  <p>Do you guys have a recommendation to tweak my code to accomplish this task? </p>