Advertisement

pandas和numpy的使用记录

阅读量:

前言

刚进入实习阶段便萌生了撰写博客的念头。初次尝试Python后端开发,意识到若不掌握pd和np相关技能,开发效率将明显降低,因此在此进行记录。一如既往,仅整理实际使用过的函数及遇到的问题。

pandas

简介

pandas的核心功能聚焦于表格数据的处理,其最为关键的数据结构包含以下两种:

  • Series 类似于一维数组结构
在这里插入图片描述

Series结构中包含行标签,但不包含列标签

  • Dataframe可视为一种二维数组形式

![A DataFrame is a 2-dimensional data structure that can store data of different types including characters, integers, floating point values, categorical data and more in columns. ](https://ad.itadn.com/c/weblog/blog-img/images/2025-06-01/bIZ5NVmpqA

全部评论 (0)

还没有任何评论哟~