def tags_from_contexts(token_contexts):
    return {token: np.array([context['tag'] for context in contexts]) for token, contexts in token_contexts.items()}
Insert a new row into a table.
dataset/ETHPy150Open qe-team/marmot/marmot/experiment/experiment_utils.py/tags_from_contexts--crossover with--dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/lib/db.py/DB.insert