I have a simple for loop that creates two rows of three buttons in a window

```
for c in range(3):
    for r in range(2):
        tk.Button(width=10, height=2).grid(column=c, row=r, pady=6, padx=2)

```

I've been trying to label each individual button with text taken from each row in a pandas dataframe like so

```
import tkinter as tk
import pandas as pd
window = tk.Tk()
window.geometry('255x200')
data = {'name': ['Name1', 'Name2', 'Name3', 'Name4', 'Name5', 'Name6'],
        'Value': ['Value1', 'Value2', 'Value3', 'Value4', 'Value5', 'Value6']}
df = pd.DataFrame(data)
index = df.index
rows = len(index)
namelist = df.iloc[1:rows,0]
for c in range(3):
    for r in range(2):
        for t in namelist:
            tk.Button(width=10, height=2, text=t).grid(column=c, row=r, pady=6, padx=2)
window.mainloop()

```

the issue this causes is that every button is labeled with the latest entry in the 'Name' column. is there a way to properly label these buttons using this for loop?