title: What is the difference between single bracket df["column"] and double bracket df[["column"]]
body: <p>One is a <code>pandas.core.series.Series</code> and another is a dataframe <code>pandas.core.frame.DataFrame</code>. </p>
  
  <p>I have seen codes using them both. Is there a guideline on when to use which? </p>