python
Cathy Yi
这个作者很懒,什么都没留下…
展开
-
Tensorflow安装在导入模块时会出现ImportError: DLL load failed: 找不到指定的模块的问题
失败经验:1.安装keras成功,在pycharm中运行的时候提示需要tensorflow的版本要2.2.0以上2.tensorflow安装成功后运行出现ImportError: DLL load failed: 找不到指定的模块的问题3.试了很久,也失败了很多次,后面结合网友说的,终于成功安装了tensorflow和keras。下面是我的成功经验,供大家参考一下。成功经验:下载anaconda3Python版本:Tensorflow(python3.6.2)Tensorflow版本:2.0.原创 2020-07-10 16:36:14 · 1846 阅读 · 1 评论 -
安装pywinauto成功,在pycharm导入模块失败的解决办法
1.我是直接从网上下载pywinauto 0.6.8,然后放到anaconda3文件夹下,因为我pycharm交互环境用的是anaconda的python版本。然后打开cmd,定位到刚刚下载并解压的文件夹下,我这里是cd /d C:\Users\Lenovo\anaconda3\dist\pywinauto-0.6.8,然后可以使用dir查看该文件夹下的目录,会发现有一个setup.py,然后使用python setup.py install进行安装,如果在安装过程中有提示安装six和comtypes,可原创 2020-06-29 15:31:03 · 3153 阅读 · 2 评论 -
Pandas设置值
dates= pd.date_range('20130101',periods=6)df=pd.DataFrame(np.arange(24).reshape(6,4),index=dates,columns=['A','B','C','D']) A B C D2013-01-01 0 1 2 32013-01-02 4 5 6 72013-01-03 8 9 10 112013-01-04 12 13 14 1原创 2020-05-13 19:37:24 · 155 阅读 · 0 评论 -
Pandas选择数据
dates= pd.date_range('20130101',periods=6)print(dates)DatetimeIndex([‘2013-01-01’, ‘2013-01-02’, ‘2013-01-03’, ‘2013-01-04’,‘2013-01-05’, ‘2013-01-06’],dtype=‘datetime64[ns]’, freq=‘D’)df=pd.DataFrame(np.arange(24).reshape(6,4),index=dates,columns=[原创 2020-05-13 17:45:49 · 131 阅读 · 0 评论