title: How to return one column dataframe or single row dataframe as a dataframe or a series?
body: <p>Give df,</p>
  <pre><code>df = pd.DataFrame({'col1':np.arange(6), 'col2':[*'abcdef']})
  
     col1 col2
  0     0    a
  1     1    b
  2     2    c
  3     3    d
  4     4    e
  5     5    f
  </code></pre>
  <p>Then when selecting a single column, using:</p>
  <pre><code>df['col1']
  # returns a pd.Series
  
  0    0
  1    1
  2    2
  3    3
  4    4
  5    5
  Name: col1, dtype: int32
  </code></pre>
  <p>Likewise when selecting a single row,</p>
  <pre><code>df.loc[0]
  # returns a pd.Series
  
  col1    0
  col2    a
  Name: 0, dtype: object
  </code></pre>
  <p>How can we force a single column or single row selection to return pd.DataFrame?</p>