Skip to content

Commit 1b9bcc2

Browse files
committed
changes
1 parent 709f531 commit 1b9bcc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mylib/transform_load.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def load(dataset="data/baskin_icecream.csv"):
4343
)
4444
# insert
4545

46-
for _, row in df.iterrows():
46+
for _, row in baskin_data.iterrows():
4747
convert = (_,) + tuple(row)
4848
c.execute(f"INSERT INTO BaskinRobbinsDB VALUES {convert}")
4949
c.close()

0 commit comments

Comments
 (0)