Skip to content

Fix delRow replay to use delete_row for RangeIndex consistency#237

Open
RachanaB5 wants to merge 1 commit intoc2siorg:mainfrom
RachanaB5:fix/delrow-replay-uses-delete-row
Open

Fix delRow replay to use delete_row for RangeIndex consistency#237
RachanaB5 wants to merge 1 commit intoc2siorg:mainfrom
RachanaB5:fix/delrow-replay-uses-delete-row

Conversation

@RachanaB5
Copy link
Copy Markdown

@RachanaB5 RachanaB5 commented Mar 28, 2026

Fixes #236

Changes Made

  • Modified apply_logged_transformation in
    app/services/transformation_service.py
  • Changed df.drop(index) to
    delete_row(df, index) to match live behavior
  • Added reset_index(drop=True) for consistency

Tests

All 4 existing tests pass ✅

Replay delRow through delete_row so index matches the live transform path.
Apply ruff format to transformation tests.

Made-with: Cursor
@RachanaB5 RachanaB5 force-pushed the fix/delrow-replay-uses-delete-row branch from adfbd80 to 46a293a Compare March 28, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] delRow checkpoint replay uses df.drop without reset_index, diverging from live delete_row

1 participant