Skip to content

Commit 0cb39be

Browse files
committed
Properly insert series back into dataframe
This fixes it adding that extra column.
1 parent d1f11bd commit 0cb39be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysimplesql/pysimplesql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@ def save_record(
16931693
current_row[self.pk_column] = pk
16941694

16951695
# then update the current row data
1696-
self.rows[self.current_index] = current_row
1696+
self.rows.iloc[self.current_index] = current_row
16971697

16981698
# If child changes parent, move index back and requery/requery_dependents
16991699
if (

0 commit comments

Comments
 (0)