当前位置:网站首页>正大杯黑客马拉松数据解析竞赛
正大杯黑客马拉松数据解析竞赛
2022-07-28 15:05:00 【ZhangJiQun&MXP】
正大杯黑客马拉松数据解析竞赛

基础包导入
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings('ignore')
csv文件操作
#读入csv文件
data=pd.read_csv('自己的路径加文件名.csv',encoding='GBK')
#保存csv文件
data.to_csv('自己的路径加文件名.csv',index=0)
显示所有行列
pd.set_option('display.width',None)
pd.set_option('display.max_columns',None)
# 显示所有列
pd.set_option('display.max_rows',None)
# 设置数据的显示长度,默认为50
pd.set_option('max_colwidth',200)
# 禁止自动换行(设置为Flase不自动换行,True反之)
pd.set_option('expand_frame_repr', False)
查看基本情况
print(data.info()) #查看大概情况
print(data.de
边栏推荐
- Play dead prototype chain
- 带你来浅聊一下!单商户功能模块汇总
- Multipurpose mixed signal 8ai/4di/do to serial port rs485/232modbus acquisition module ibf30
- Docker implements redis cluster mode hash slot partition for 100 million level data storage
- 12V pulse speed measurement to 24V level signal conversion transmitter
- 光学雨量计对比翻斗式雨量计的优势
- 虚拟机之NAT模式下设置静态IP
- js 链表 01
- Ethernet to RS485 serial port counter WiFi module LED light controller ibf165
- 2021 Kent interview question 3
猜你喜欢

Two special functions (arrow function and method)

虚拟机之NAT模式下设置静态IP

12V脉冲转速测量转24V电平信号转换变送器

光学雨量计对比翻斗式雨量计的优势

Thermistor PT100, NTC to 0-10v/4-20ma converter

LabVIEW LINX Toolkit控制Arduino设备(拓展篇—1)

2021 亚鸿笔试题2

Application of optical rain gauge to rainfall detection

2021 亚鸿笔试题

High precision absolute angle sensor application high speed angle monitoring
随机推荐
R语言使用GGally包的ggpairs函数可视化分组多变量的两两关系图、设置alpha参数改变图像透明度、对角线上连续变量密度图、离散变量条形图、两两关系图中包含散点图、直方图、箱图以及相关性数值
What is the concept of game testing? What are the test methods and processes?
MicTR01 Tester 开发套件(振弦采集读数仪)使用说明
两种特殊函数(箭头函数和方法)
玩死原型链
JS linked list 02
Multifunctional mixed signal AI acquisition / switching value di/do acquisition to rs485/232/modbus module
Basic structure and operation principle of solar street lamp
Installation points and precautions of split angle probe
28.55亿元!青岛芯恩增资完成:兴橙集电成第一大股东,持股57.10%
A wave of operation to solve the error problem of Laya scene editor
Software architecture and design (IV) -- data flow architecture
js 队列
Docker implements redis cluster mode hash slot partition for 100 million level data storage
A tour of grp:05 - GRP server streaming service end stream
Knowledge points qwer
光学雨量计对比翻斗式雨量计的优势
2021 肯特面试题3
Software architecture and design (V) -- data centric architecture
A tour of gRPC:05 - gRPC server straming 服务端流