Initial commit - Stand 26.04.2026
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import pandas as pd
|
||||
|
||||
# Excel-Datei lesen - Tabelle2
|
||||
df = pd.read_excel('C:\\Users\\renet\\.openclaw\\workspace\\buchhaltungs-app\\Schulden Kerstin.xlsx', sheet_name='Tabelle2', header=0)
|
||||
|
||||
print("Erste 30 Zeilen der Excel-Tabelle:")
|
||||
print("="*80)
|
||||
for idx, row in df.head(30).iterrows():
|
||||
datum = row.iloc[0]
|
||||
beschreibung = row.iloc[1]
|
||||
betrag = row.iloc[2]
|
||||
|
||||
print(f"Zeile {idx}: Datum='{datum}' (Typ: {type(datum)}), Betrag='{betrag}', Beschreibung='{beschreibung}'")
|
||||
|
||||
print("\n" + "="*80)
|
||||
print("Rohdaten (erste 30 Zeilen):")
|
||||
print(df.head(30).to_string())
|
||||
Reference in New Issue
Block a user