other:python:misc_by_jyp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:python:misc_by_jyp [2021/10/26 13:42] – [Sorting] Added content jypeter | other:python:misc_by_jyp [2022/02/21 13:47] – [Sorting] Added link to numpy routines jypeter | ||
---|---|---|---|
Line 165: | Line 165: | ||
Check the [[https:// | Check the [[https:// | ||
+ | |||
+ | ==== Using sets ==== | ||
+ | |||
+ | [[https:// | ||
==== Printing a readable version of long lists or dictionaries ==== | ==== Printing a readable version of long lists or dictionaries ==== | ||
Line 202: | Line 206: | ||
==== Sorting ==== | ==== Sorting ==== | ||
+ | * When dealing with **numerical values**, you should use the [[https:// | ||
* [[https:// | * [[https:// | ||
* Example: sorting the keys and the values of a dictionary, and then using the '' | * Example: sorting the keys and the values of a dictionary, and then using the '' |
other/python/misc_by_jyp.txt · Last modified: 2024/11/04 15:01 by jypeter