摘要:
显示中文乱码问题 import matplotlib.pyplot as plt # mac中 plt.rcParams['font.sans-serif']='Heiti TC' # windows中 plt.rcParams['font.family'] = ['sans-serif'] plt 阅读全文
摘要:
1. 自带的ssh文件夹在 ~/.ssh下面,可以在终端输入"open ~/.ssh" 进入该文件夹 2. 在finder/访达按 shift+command+G 可以进入平时看不到(任意)的文件夹 3. ~是个人目录也即是/Users/你的用户名,而./是当前目录 阅读全文
摘要:
如何在mac中打开QtDesigner https://www.likecs.com/show-204068540.html 白夜黑羽qt教程 https://www.byhy.net/tut/py/gui/qt_01/ Qt for Python Example https://doc.qt.io 阅读全文
摘要:
访问第i行数据 df.iloc[i] 访问列名为a的列数据 df[a] 获取所有列名 df.columns df.columns.values list(df.columns.values) 填充空值 df.fillna(value, method) 统计 df.count() 字符串转换成日期 d 阅读全文
摘要:
astropy文档 https://docs.astropy.org/en/stable/index.html 什么是fits https://fits.gsfc.nasa.gov fits-header里的常见字段 https://heasarc.gsfc.nasa.gov/docs/fcg/st 阅读全文
摘要:
用sudo执行install.sh安装时总是遇到mkdir xxx Operation not permitted的问题 请参见:https://blog.mimvp.com/article/45578.html 在Mac的访达中打开隐藏的目录 请参见:https://blog.csdn.net/q 阅读全文
摘要:
fatal: unable to access ‘https://github.com/.../.git/‘: 参见:https://blog.csdn.net/xyaicwj/article/details/125256149 阅读全文
摘要:
原因: 因为我昨天更新了mac系统,可以看到xcode已经丢失了? 解决方法 那就重新装一遍xcode的命令行工具 xcode-select --install 阅读全文
摘要:
先把远程仓库克隆到本地 git clone url cd 进入仓库目录 cd repo_path 修改增删仓库里的文件后,add、commit、push git add . git commit -m '提交信息' git push origin main //提交到主分支 阅读全文
摘要:
查看环境变量 set 查看当前目录下的文件夹和文件 dir 阅读全文