
python
文章平均质量分 87
Geek猫
这个作者很懒,什么都没留下…
展开
-
Python anaconda环境搭建
Anaconda官网Anaconda下载地址两个工具: 终端界面:Anaconda Prompt Web界面:Jupyter Notebook命令: conda list 显示当前安装的库安装 tensorflow 库方法: pip install tensorflowNotebook下操作: 在主界面上有一个New按钮,新建python...原创 2018-03-27 12:58:34 · 254 阅读 · 0 评论 -
Python 基本语法
打印 整型和字符串print(3) # 打印整型 print('hello world') # 打印字符串运行结果3 hello world变量var = 10 strVar = "hello world" bVar = True print(type(var)) print(type(strVar)) print(type(bVar))运行结果<class 'int'> &...原创 2018-03-27 22:27:21 · 6215 阅读 · 0 评论 -
Python numpy 的用法
使用 numpy 打开 .txt 文件 numpy.genfromtxtimport numpy world_alcohol = numpy.genfromtxt("test.txt", delimiter=",", dtype=str) print(type(world_alcohol)) print(world_alcohol) #print(help(numpy.genfromtxt)) ...原创 2018-06-04 19:50:09 · 508 阅读 · 0 评论 -
Python pandas 的用法
数据类型object - 字符串int - 整形float - 浮点型datatime - 时间类型bool - 布尔型...原创 2018-06-07 13:55:31 · 1639 阅读 · 0 评论