![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 93
whiteshipe
这个作者很懒,什么都没留下…
展开
-
三天搞定python基础-day2
三天搞定python基础系列第一天内容请进传送门:三天搞定python基础-day1三天搞定python基础-day2(需要指出,这版三天搞定python系列有点偏向科学计算,机器学习大数据这块,从第二天第三天内容就可以看出来)大纲:几个python的常用模块的简单应用NumPy:多维数组的有效操作。 高效的数学函数。Matplotlib:可视化:2D和(最近)3D图SciPy:大型库实现各种数值...原创 2018-03-23 01:00:15 · 1115 阅读 · 0 评论 -
三天搞定python基础-day1
本文内容来源于Yupeng Jiang(伦敦大学数学系)课件,本人认为非常经典,原文为纯英文,网上也已经有翻译的版本,但是自认为还是有些凌乱,看起来不是很舒服,故再次整理发布于此。其一,是作为自己巩固复习之用;其二,资源共享课程大纲:第1天:Python背景 ;基础(环境,数据类型 ,运算符,数据结构 ,条件语句,循环语句,方法 ,I/O)第2天:用Numpy,Scipy,Matplotlib和其...原创 2018-03-19 23:56:32 · 1477 阅读 · 0 评论 -
pandas系列之-DataFrame(1)
import numpy as np import pandas as pd from numpy.random import randn np.random.seed(101)df = pd.DataFrame(randn(5,4),index='A B C D E'.split(),columns='W X Y Z'.split())df ...原创 2019-02-25 16:26:07 · 234 阅读 · 0 评论 -
pandas系列之-DataFrame(2)
GroupbyThe groupby method allows you to group rows of data together and call aggregate functionsimport pandas as pd# Create dataframedata = {'Company':['GOOG','GOOG','MSFT','MSFT','FB','FB'],...原创 2019-02-25 20:44:48 · 205 阅读 · 0 评论 -
pandas系列之-DataFrame(3)
Merging, Joining, and ConcatenatingThere are 3 main ways of combining DataFrames together: Merging, Joining and Concatenating. In this lecture we will discuss these 3 methods with examples.Example ...原创 2019-02-25 20:48:55 · 242 阅读 · 0 评论 -
pandas系列之-DataFrame(4)
OperationsThere are lots of operations with pandas that will be really useful to you, but don’t fall into any distinct category. Let’s show them here in this lecture:import pandas as pddf = pd.Data...原创 2019-02-25 20:50:59 · 304 阅读 · 0 评论 -
pandas系列之-DataFrame(5)
Data Input and Outputimport numpy as npimport pandas as pdCSVCSV Inputdf = pd.read_csv('example')df a b c d 0 0 1 ...原创 2019-02-25 20:59:25 · 501 阅读 · 0 评论