tips:python:start
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| tips:python:start [2024/11/19 01:26] – [配列色々] yuuho | tips:python:start [2025/03/19 21:56] (現在) – [Python] yuuho | ||
|---|---|---|---|
| 行 7: | 行 7: | ||
| === 配下ページ === | === 配下ページ === | ||
| - | * 環境構築 | + | * [[.: |
| * [[.: | * [[.: | ||
| * [[.: | * [[.: | ||
| 行 16: | 行 16: | ||
| * [[.: | * [[.: | ||
| * [[.: | * [[.: | ||
| + | * [[.: | ||
| + | |||
| + | |||
| + | ===== 保存関係 ===== | ||
| + | |||
| + | pickle | ||
| + | <code python> | ||
| + | with Path(' | ||
| + | pickle.dump(save_obj, | ||
| + | | ||
| + | with Path(' | ||
| + | save_obj = pickle.load(f) | ||
| + | </ | ||
| + | |||
| + | npz | ||
| + | <code python> | ||
| + | np.savez( Path(' | ||
| + | |||
| + | with np.load(Path(' | ||
| + | load_dict = {k:v for k,v in load_dict.items()} | ||
| + | </ | ||
| ===== Jupyter ===== | ===== Jupyter ===== | ||
| 行 615: | 行 636: | ||
| return ' | return ' | ||
| </ | </ | ||
| + | |||
| + | ===== デバッグテクニック ===== | ||
| + | |||
tips/python/start.1731979610.txt.gz · 最終更新: 2024/11/19 01:26 by yuuho
