0
点赞
收藏
分享

微信扫一扫

MYSQL的字典表设计

import pandas as pd

# 读取 Excel 文件
file_path = './reading_file_test.xlsx'  # 请替换为你的 Excel 文件路径
df = pd.read_excel(file_path)

# 打印所有列名以确认
print("Columns in the Excel file:", df.columns)

# 读取指定列(例如 ISO 列)
iso_values = df['iso']  # 替换为你的列名
zoomratio_values = df['zoomratio']

# 打印 ISO 列的值
print("ISO values:")
print(iso_values)

print("zoomratio values:")
print(zoomratio_values)
举报

相关推荐

0 条评论