You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! Great work here! Read the source and noticed pop wasn't implemented as a python dictionary's pop method. Any idea of a work around here? Essentially trying to rename a key, given a pre-existing path
The text was updated successfully, but these errors were encountered:
@jmgamboa It exists, and behaves just like a regular dict pop. It does not accept paths, but you can always get the nested pathdict, and use the pop method there, eg pd["u1", "friends"].pop("u2")
Hey! Great work here! Read the source and noticed pop wasn't implemented as a python dictionary's pop method. Any idea of a work around here? Essentially trying to rename a key, given a pre-existing path
The text was updated successfully, but these errors were encountered: