title: Trouble specifying column names when making dataframe from aggregate function
body: <p>When I make a dataframe with:</p>
  
  <pre><code>freq = pd.DataFrame(combined.groupby(['Latitude', 'Longitude','from_station_name']).agg('count')['trip_id'])
  </code></pre>
  
  <p>It works just fine, but when I attempt:</p>
  
  <pre><code>freq = pd.DataFrame(combined.groupby(['Latitude', 'Longitude','from_station_name']).agg('count')['trip_id'], columns = ['lat','long','station','trips'])
  </code></pre>
  
  <p>I just see the headers when I look at the dataframe. I can make the dataframe and then use:</p>
  
  <pre><code>freq.columns = ['lat','long','station','trips']
  </code></pre>
  
  <p>But was wondering how to do this in one step. I've tried specifying "data =" for the aggregate function. Tried double enclosing the brackets for the column names, removing the brackets for the column names. Any advice is appreciated. </p>