当前位置:网站首页>正大杯黑客马拉松数据解析竞赛
正大杯黑客马拉松数据解析竞赛
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
边栏推荐
- Rust Getting Started Guide (rustup, cargo)
- A wave of operation to solve the error problem of Laya scene editor
- 编码器高速脉冲计数器Modbus RTU模块IBF150
- Vm501 development kit development version single vibrating wire sensor acquisition module geotechnical engineering monitoring
- js 数组(总结)
- Remote serial port server (adapter) UART to 1-wire application
- Have you seen the management area decoupling architecture? Can help customers solve big problems
- Pyqt5 rapid development and practice 5.1 tables and trees
- Note: the value is rounded up to ten, hundred, thousand, ten thousand
- Thermistor PT100, NTC to 0-10v/4-20ma converter
猜你喜欢

太阳能路灯的根本结构及作业原理

Shell编程规范与变量

Open light input / relay output rs485/232 remote data acquisition IO module ibf70

以太网转RS485串口计数器WiFI模块 LED灯光控制器IBF165

One channel encoder, two channels Di speed measurement, RS485 serial port connected to one channel do alarm module ibf151

DNS domain name resolution protocol

远距离串口服务器( 适配器)UART/I2C/1-Wire/SPI PS304常见问题及注意事项

振弦采集模块测量振弦传感器的流程步骤?

js 链表 02

How to quickly access the unified authentication system
随机推荐
Proportional solenoid valve control valve 4-20mA to 0-165ma/330ma signal isolation amplifier
Have you seen the management area decoupling architecture? Can help customers solve big problems
A wave of operation to solve the error problem of Laya scene editor
2021 Kent interview question 3
ffmpeg获取首帧
How to turn on and off flight mode through ADB
电压转电流/电流转电压模块
Summary of for loop in JS
Framework customization series (10) -- systemui customization status bar statusbar and navigation bar tutorial
光学雨量计应用降雨量检测
Solve the problem that the right-click menu "edit with idle" of the 『 py 』 file is invalid or missing
占空比开关量输出高速脉冲计数器RTUModbus模块IBF63
2路DI高速脉冲计数器1路编码器转Modbus TCP有线无线模块IBF161
兆骑科创创新创业大赛人才引进平台,双创赛事高层次人才引进
DNS domain name resolution protocol
VM501开发套件开发版单振弦式传感器采集模块岩土工程监测
Connection and application of portable borehole inclinometer data acquisition instrument and inclinometer probe
一次失败的破解经历
PyQt5快速开发与实战 5.2 容器:装载更多的控件
1路编码器2路DI转速测量RS485串口连接1路DO报警模块IBF151