Open dcmoura opened 3 years ago
Add methods to NullSafeDict to help working with dicts:
NullSafeDict
dict.with(k, v)
dict.drop(k1, k2, k3)
dict.withKeyRename(old_key, new_key)
Add method to allow using dicts on CSVs, etc:
row
row()
_values
row->acolumn
Add methods to
NullSafeDict
to help working with dicts:dict.with(k, v)
: returns dict with new/updated pairdict.drop(k1, k2, k3)
: return dicts without keys (does not fail if keys not found)dict.withKeyRename(old_key, new_key)
: return dict with key renamedAdd method to allow using dicts on CSVs, etc:
row
/row()
: constructs a dict over_values
(and caches row to allow multiple calls). e.g.row->acolumn