pandas Meta: Documentation Guidelines print statements


Example

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

a
# Out: 1

is always better than

print(a)
# 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)