|
|
Subscribe / Log in / New account

New operators for Python dicts?

New operators for Python dicts?

Posted Mar 5, 2015 17:37 UTC (Thu) by dashesy (guest, #74652)
Parent article: New operators for Python dicts?

Or maybe better leave dicts alone and start using Pandas for fancy data manipulations, joins, merge, ...


to post comments

What about parallel case of sets?

Posted Mar 7, 2015 1:20 UTC (Sat) by droundy (subscriber, #4559) [Link]

Given that dicts are so much closer to sets than lists, I was puzzled that the article didn't discuss the comparison with python's set syntax.

In particular, sets use | and |= where + and += are being proposed for dicts.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds