Re:Anti-Patterns in Python Programming
by gipp on Wednesday July 09, 2014 @10:15AM
(#8009703)
That's a pandas dataframe (idiomatically denoted df), not a list. It has funky slicing properties, and he's selecting columns of the dataframe in a perfectly valid way.
(That sentence I wrote about using hashable types need not apply, sorry!)
If you ran that code, you would get this error: