Skip to content

Commit 7793bb0

Browse files
committed
Improved example [skip ci]
1 parent f9d2073 commit 7793bb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/loading/example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
copy.set_types(['vector'])
2626

2727
for i, embedding in enumerate(embeddings):
28+
copy.write_row([embedding])
29+
2830
# show progress
2931
if i % 10000 == 0:
3032
print('.', end='', flush=True)
3133

32-
copy.write_row([embedding])
33-
3434
print('\nSuccess!')
3535

3636
# create any indexes *after* loading initial data (skipping for this example)

0 commit comments

Comments
 (0)