
python
fxnfk
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
matplotlib画图
官网:http://matplotlib.org/index.html matplotlib是一个用于创建出版智联图表的桌面绘图包(主要是2D方面)。 matplotlib API函数(如plot和close)都位于matplotlib.pyplot模块中,其通常的引入约定是: import matplotlib.pyplot as plt Figure和Subplot matplotl原创 2017-06-08 17:17:48 · 650 阅读 · 0 评论 -
pandas用法
pandas是基于numpy构建的,处理表格、字典等数据结构。 from pandas import Series, DataFrame import pandas as pd 1 pandas的数据结构 1.1 Series 一维数组。它由一组数据(各种numpy数据类型)以及一组与之相关的数据标签(即索引)组成。 obj = Series([4, 7, -5, 3])原创 2017-06-02 11:13:15 · 468 阅读 · 0 评论 -
Python学习笔记
在线学习: http://www.runoob.com/python/python-tutorial.html scipy官方文档: https://docs.scipy.org/doc/numpy/index.html1 Jupyter notebook环境为Ubuntu 64-bit,安装了Anaconda。在终端输入jupyter notebook打开交互界面。 右上角的new可以原创 2017-05-03 15:49:28 · 1166 阅读 · 0 评论 -
numpy用法
http://www.numpy.org/ numpy reference: https://docs.scipy.org/doc/numpy/reference/ numpy quickstart tutorial: https://docs.scipy.org/doc/numpy/user/quickstart.html 1 创建ndarray import numpy as原创 2017-07-25 17:24:33 · 582 阅读 · 0 评论 -
linux通过源码安装python,以及遇到的问题
安装 在linux服务器上,没有root权限,只有自己home的权限/home/xxx,而且python2已经安装好了,我需要的是python3,直接通过yum是安装不了的,因为没有root权限。所以通过源码安装,指定安装路径,然后配置PATH,把python的bin路径加入环境变量。 下载python3源码; tar -zxf ... cd .. ./configure --perfix=安装位...原创 2019-01-23 14:40:30 · 437 阅读 · 0 评论