当前位置:网站首页>Add time series index to two-dimensional table
Add time series index to two-dimensional table
2022-07-29 06:19:00 【Programming sail】
One , Reading data
import pandas as pd
open_datas=pd.read_csv('./data328/open328.csv',header=None)
open_datas.head()
( You can see that the index is numeric )
Two , Create time series
import pandas as pd
open_datas=pd.read_csv('./data328/open328.csv',header=None)
open_datas.head()

3、 ... and , Replace index
open_datas.index=date_
print(open_datas.head())

Be accomplished !
边栏推荐
- 八大排序-----------快速排序
- From entry to soul: how to use tb6600 single chip microcomputer to control stepping motor with high precision (42/57)
- Based on stc51: schematic diagram and source code of four axis flight control open source project (entry-level DIY)
- SQLyog 安装和配置教程
- 2022 spring move - core technology FPGA post technical aspects (one side experience)
- 爬取表情包
- 【软件工程之美 - 专栏笔记】14 | 项目管理工具:一切管理问题,都应思考能否通过工具解决
- IDEA安装scala
- Hal library learning notes - 9 DMA
- 噪声传感器工作原理是什么?
猜你喜欢
随机推荐
STM32 printf问题总结 semihosting microLIB理解
物联网倾斜监测解决方案
Multithreading and concurrency
【RoboMaster】A板接收JY-ME01角度传感器数据--modebus协议&CRC软件校验
倾角传感器精度校准检测
JUC并发知识点
抽象类以及接口
单链表面试题
数学建模心得
【软件工程之美 - 专栏笔记】30 | 用好源代码管理工具,让你的协作更高效
LeetCode #167.两数之和 II - 输入有序数组
SimpleFOC调参1-力矩控制
STM32 串口乱码
PHY6252是一款超低功耗物联网蓝牙无线通信芯片
CS5340国产替代DP5340多比特音频 A/D 转换器
CV520国产替代Ci521 13.56MHz 非接触式读写器芯片
Rowkey设计
低成本2.4GHz 无线收发芯片--Ci24R1
LeetCode #19.删除链表的倒数第N个结点
链表--------------------尾插法









