We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 709f531 commit 1b9bcc2Copy full SHA for 1b9bcc2
mylib/transform_load.py
@@ -43,7 +43,7 @@ def load(dataset="data/baskin_icecream.csv"):
43
)
44
# insert
45
46
- for _, row in df.iterrows():
+ for _, row in baskin_data.iterrows():
47
convert = (_,) + tuple(row)
48
c.execute(f"INSERT INTO BaskinRobbinsDB VALUES {convert}")
49
c.close()
0 commit comments