def _update_ctx(self, attrs):
for row_label, v in attrs.iterrows():<EOL><INDENT>for col_label, col in v.iteritems():<EOL><INDENT>i = self.index.get_indexer([row_label])[<NUM_LIT:0>]<EOL>j = self.columns.get_indexer([col_label])[<NUM_LIT:0>]<EOL>for pair in col.rstrip("<STR_LIT:;>").split("<STR_LIT:;>"):<EOL><INDENT>self.ctx[(i, j)].append(pair)<EOL><DEDENT><DEDENT><DEDENT>
Update the state of the Styler.

Collects a mapping of {index_label: ['<property>: <value>']}.

attrs : Series or DataFrame
should contain strings of '<property>: <value>;<prop2>: <val2>'
Whitespace shouldn't matter and the final trailing ';' shouldn't
matter.