当前位置:网站首页>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 !
边栏推荐
- LoRa开启物联网新时代-ASR6500S、ASR6501/6502、ASR6505、ASR6601
- Huawei cloud 14 days Hongmeng device development -day1 environment construction
- Open source based on STM32: MHD Bluetooth speaker (including source code +pcb)
- 2022暑初二信息竞赛学习成果分享2
- 基于stm32的四针OLED显示
- 【软件工程之美 - 专栏笔记】20 | 如何应对让人头疼的需求变更问题?
- #6898 变幻的矩阵 题解
- 传统模型预测控制轨迹跟踪——圆形轨迹(功能包已经更新)
- 顺序表和链表
- 滑动窗口 Leetcode 76.最小覆盖子串(困难) 76.76. MinimumWindow Substring (Hard)
猜你喜欢
随机推荐
智慧能源管理系统解决方案
LeetCode #344.反转字符串
Based on STM32: couple interactive doll (design scheme + source code +3d drawing +ad circuit)
NRF52832-QFAA 蓝牙无线芯片
2022暑初二信息竞赛学习成果分享2
【软件工程之美 - 专栏笔记】17 | 需求分析到底要分析什么?怎么分析?
Huawei cloud 14 day Hongmeng device development -day7wifi function development
位运算学习笔记
Ml9 self study notes
ArduinoIDE + STM32Link烧录调试
Based on stc51: schematic diagram and source code of four axis flight control open source project (entry-level DIY)
抽象封装继承多态
DP1332E多协议高度集成非接触式读写芯片
基于51单片机的直流电机调速系统(L298的使用)
#7110 数字走向2 题解
Power electronics: single inverter design (matlab program +ad schematic diagram)
LeetCode #189.轮转数组
基于51单片机ADC0808的proteus仿真
STM32 MDK(Keil5) Contents mismatch错误总结
八大排序-----------------堆排序









