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 [2022/12/12 15:24] – Added the global variables section jypeter | other:python:misc_by_jyp [2023/04/27 11:47] – [Data representation] Improved jypeter | ||
---|---|---|---|
Line 32: | Line 32: | ||
< | < | ||
+ | ===== Data representation ===== | ||
+ | A few notes for a future section or page about about data representation (bits and bytes) on disk and in memory, vs data format | ||
+ | |||
+ | * Binary data representation of some numbers: | ||
+ | * [[https:// | ||
+ | * Range: | ||
+ | * 4-byte integers ('' | ||
+ | * 8-byte integers ('' | ||
+ | * Note: using [[https:// | ||
+ | * [[https:// | ||
+ | * Range: | ||
+ | * 4-byte float ('' | ||
+ | * See also [[https:// | ||
+ | * 8-byte float ('' | ||
+ | * Special values: | ||
+ | * [[https:// | ||
+ | * Infinity ('' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | * Array addressing | ||
+ | |||
+ | * disk and ram usage: how to check the usage (available ram and disk), best practice on multi-user systems (how much allowed?) | ||
+ | * '' | ||
+ | |||
+ | * understanding and reverse-engineering //binary// format | ||
+ | * '' | ||
+ | |||
+ | * binary vs text format: ascii, utf, raw | ||
+ | * text related functions in python: '' | ||
+ | * lists conversion with '' | ||
+ | |||
+ | * Misc : '' | ||
===== Checking if a file/ | ===== Checking if a file/ | ||
Line 453: | Line 486: | ||
>>> | >>> | ||
array([3. , 4.5, 8. ])</ | array([3. , 4.5, 8. ])</ | ||
+ | |||
+ | |||
+ | ===== matplotlib related stuff ===== | ||
+ | |||
+ | ==== Working with time axes (and ticks) ==== | ||
+ | |||
+ | If you have problems setting the limits of a time axis, choosing the ticks' locations, or specifying the style of the labels, you should check the: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
other/python/misc_by_jyp.txt · Last modified: 2024/11/04 15:01 by jypeter