fs-lawrisk/tools/inspect_columns_corrected.py

14 lines
323 B
Python

import pandas as pd
import os
file_path = "审批服务部门_修正.xlsx"
if not os.path.exists(file_path):
print(f"File not found: {file_path}")
else:
try:
df = pd.read_excel(file_path)
print("Columns:", df.columns.tolist())
except Exception as e:
print(f"Error reading excel: {e}")