![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
data science
whiteshipe
这个作者很懒,什么都没留下…
展开
-
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 评论