- 查看发出的评论: https://github.com/search?q=commenter%3Abrainor
- 查看发出的issue: https://github.com/search?q=author%3Abrainor&type=Issues
- Markdown折叠
<details open> <summary>这是显示内容</summary> 这是折叠的内容 1. I like you.
- I love you.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# @Filename: bilibili_video_merge.sh | |
# @Author: wjsaya(http://www.wjsaya.top) | |
# @Date: 2019-06-25 10:18:36 | |
# @Last Modified by: Li Zheng ([email protected]) | |
# @Last Modified time: 2022-07-06 | |
function do_merge() { | |
# do_merge args1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import perfplot | |
def numpy_where(df): | |
return df.assign(is_rich=np.where(df['salary'] >= 50, 'yes', 'no')) | |
def list_comp(df): | |
return df.assign(is_rich=['yes' if x >= 50 else 'no' for x in df['salary']]) | |
def loc(df): |