
小技巧系列
小白狐狸
一只懒狐狸,做梦都想着“奇点”来临后的美好世界,为此奋斗。
展开
-
Mac Xcode编译器伪装输入EOF
用的Mac Xcode,里面EOF只能用Ctrl + d 不同系统的好像不一样,其他的分别是: 编译器/系统 指令 Visual Studio 2017 ctrl+c windows ctrl+z linux/unix ctrl+c或ctrl+d;...原创 2018-07-17 21:15:54 · 1170 阅读 · 0 评论 -
将ipynb转md文件(asciidoc, custom, html, latex, markdown, notebook, pdf, python, rst, script, slides)
命令行:jupyter nbconvert --to markdown fileaddress也可以转其他文件:asciidoc, custom, html, latex, markdown, notebook, pdf, python, rst, script, slides原创 2019-03-03 14:46:36 · 723 阅读 · 0 评论 -
优快云上插入公式
找到一个超好用的在线公式编辑器:https://www.codecogs.com/latex/eqneditor.php像按键盘一样编辑公式,最后转化为LaTex!原创 2019-03-12 13:53:18 · 297 阅读 · 0 评论 -
一些有关数据的小技巧
1. 随机抽样import pandas as pdDataFrame.sample(n=None, frac=None, replace=False, weights=None, random_state=None, axis=None)# n: 抽取的行数。# frac: 抽取的比列。# replace抽样后的数据是否代替原DataFrame()2. 不同dataframe中的数...原创 2019-07-08 11:05:06 · 197 阅读 · 0 评论 -
如何改变PyCharm的内存使用
编辑方式:1.On the Help menu, click Edit Custom VM Options.2.Set the -Xmx option to a higher value and restart IntelliJ IDEA.-Xmx2048x #2048是内存也有可能出现页面警告,按照警告的引导改就好了参考文献:https://www.jetbrains.com/he...原创 2019-07-10 14:09:11 · 8077 阅读 · 0 评论