pandas Meta: Documentation Guidelines print statements


Most of the time printing should be avoided as it can be a distraction (Out should be preferred).
That is:

# Out: 1

is always better than

# prints: 1

Prefer supporting python 2 and 3:

print(x)    # yes! (works same in python 2 and 3)
print x     # no! (python 2 only)
print(x, y) # no! (works differently in python 2 and 3)