jvns / pandas-cookbook

Recipes for using Python's pandas library
6.68k stars 2.32k forks source link

Quick Tour is only compatible with Python 2.7 #38

Closed CaliLuke closed 9 years ago

CaliLuke commented 9 years ago

I think it's about time to start either calling out the version you're expecting users to have or update the examples to work with Python 3.x

The very first example doesn't work with Python 3.x

print "Hi! This is a cell. Press the ▶ button above to run it"

should be

print("Hi! This is a cell. Press the ▶ button above to run it")
jvns commented 9 years ago

Updated the README to say that it's using Python 2.7.