SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest way, use the apply function
apply
def print_row(row): print row['c1'], row['c2'] df.apply(lambda row: print_row(row), axis=1)