Fix pandas DataFrame indexing in project selection
Use df.iloc[row, col] instead of df[row][col] for proper pandas access. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -180,8 +180,8 @@ def create_projects_page(
|
||||
|
||||
row = evt.index[0]
|
||||
if row < len(df):
|
||||
project_id = df[row][0]
|
||||
project_name = df[row][1]
|
||||
project_id = df.iloc[row, 0]
|
||||
project_name = df.iloc[row, 1]
|
||||
return project_id, f"### {project_name}"
|
||||
|
||||
return None, "### Select a project"
|
||||
|
||||
Reference in New Issue
Block a user