O'Reilly logo
  • Ulf Morys thinks this is interesting:

SpotCrudePrices_2013[['West Texas Intermediate','U.K. Brent']]


Cover of Mastering pandas


Would be interesting to see if the column index values were also added to a newly created variable. In the previous example, “Dubai” did not appear as column name in the newly created variable “dubaiPrices”.