Pandas 笔记

Combine all the columns into one column:

df.apply(lambda x: ' +++ '.join(map(str, x)), axis=1)

Show full length value in columns:

pd.set_option('display.max_colwidth', -1)

iloc, loc.

loc is label based. iloc is position based. You could update values with loc. But not iloc.