- 博客(1)
- 收藏
- 关注
原创 香港酒店数据分析
香港酒店数据分析 数据预处理 import pandas as pd import numpy as np #读取excel df=pd.read_excel('./香港酒店数据.xlsx') print(df.head()) # 重新设置数据的索引 #从1开始索引 df.index = range(1, len(df) + 1) # print(df.head()) # 重新设置列的名称 df = df.rename(columns={'字段1': '名字', '字段2': '类型', '
2021-11-29 19:09:11
3552
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人