![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python学习
_sober_
这个作者很懒,什么都没留下…
展开
-
常用代码记录
1.判断是否为nan值import mathprint(math.isnan(a)2.pandas查找iloc对应的loc值(在这个代码中,可以既查找对应的loc,又可以查找对应的iloc)df.loc[df.iloc[-1].name,'tp']原创 2021-01-29 17:03:26 · 436 阅读 · 0 评论 -
torchtext的安装
在学习《动手深度学习》的过程中,安装torchtext出了问题。前面的尝试的错误有:1.使用pip直接安装pip install torchtext结果出现以下的错误Traceback (most recent call last): File "C:\Users\Administrator\Anaconda3\lib\site-packages\pip\_vendor\urlli...原创 2020-02-13 17:15:52 · 13013 阅读 · 17 评论