gll89的个人博客分享 http://blog.sciencenet.cn/u/gll89

博文

[转载]Basic Concepts of Series and DataFrame in Pandas

已有 1377 次阅读 2019-4-2 22:03 |个人分类:Python|系统分类:科研笔记| pandas |文章来源:转载

From: https://data36.com/pandas-tutorial-1-basics-reading-data-files-dataframes-data-selection/

https://www.geeksforgeeks.org/python-union-two-lists/  

  1. two types of data structures in pandas: Series and DataFrames

    (1)  Series: a pandas Series is a one dimensional data structure (“a one dimensional ndarray”) that can store values — and for every value it holds a unique index, too.

pandas tutorial 2 - pandas series example

Pandas Series example

    (2) DataFrame: a pandas DataFrame is a two (or more) dimensional data structure – basically a table with rows and columns. The columns have names and the rows have indexes.

pandas tutorial 3 - pandas dataframe example

Pandas DataFrame example





https://blog.sciencenet.cn/blog-1969089-1171130.html

上一篇:[转载]whatever vs. however
下一篇:Keyboard shortcuts for the Jupyter Notebook
收藏 IP: 218.0.4.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-3-29 07:03

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部