pydantic cheatsheet
Here’s a comprehensive Pydantic cheatsheet that covers the most important features and use cases. This should serve as a quick reference for your futu ...
matplotlib_basic_drawing_quick_lookup_table
This notebook is a summary of python plots. The purpose is to able to quickly get examples for plots in the future usage.The source is coming from mut ...
chatgpt_reddit_ai_sidehustle
好的,我将收集过去两年内在r/sidehustle版块中点赞和评论最多的30种AI相关线上副业方案,并根据用户在Reddit上的评论和帖子内容,对其执行难度和收益进行评估。我会使用1-10的评分标准,并按月收入进行排行。完成后,我会给你一个清晰的数据列表。
AI-Related Online Sid ...
numpy_basic_command_quick_lookup_table
此notebook素材来自kesci.com两个练习系列.
Numpy快速上手指南 —- 基础篇
数据大小定义
axes: 轴
rank: 秩
例如:[[ 1., 0., 0.], [ 0., 1., 2.]] 的axes维度为2, 第一个维度rank2, 第二个维度rank3
python1 ...
pandas_frame_creation_and_insertion
Pandas Frame CreationCreate Pandas Frame Using DictionaryUsing Normal Dictionary Data StructureNote that using the normal dictionary will not be able ...
python logging best practice
You:
IF i implement a package, how can I handle logger? do I do logging.xxx or logger.xxx?I have a script to call that package, which has a main logg ...
python version management
Python Version Managementhttps://chatgpt.com/g/g-2DQzU5UZl-code-copilot/c/66ecf091-aa50-8011-bb50-250258dbabff
This is chatgpt suggestion to manage py ...
yaml_load
yaml_loadLoad yaml to a nested dict structure, and then parse to a class.below is the code:
python12345678910class Struct(object): def __init__(sel ...
python luigi cheatsheet
Python Luigi Cheatsheet
Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles:
Dependency Management: Ensures tas ...
vscode_python_setup
VSCode Python Setup with Modular Structure and External PackagesThis document details how to set up a Python project in Visual Studio Code (VSCode), u ...