giorgospago
commited on
Add completion message to code example
Browse filesThe purpose of this addition is to provide clarity to the user executing the code, indicating that the operation has finished successfully.
README.md
CHANGED
@@ -117,5 +117,7 @@ for item in dataset['train']:
|
|
117 |
# Insert any remaining documents
|
118 |
if len(insert_data) > 0:
|
119 |
collection.insert_many(insert_data)
|
120 |
-
print("
|
|
|
|
|
121 |
```
|
|
|
117 |
# Insert any remaining documents
|
118 |
if len(insert_data) > 0:
|
119 |
collection.insert_many(insert_data)
|
120 |
+
print("{} records ingested".format(len(insert_data)))
|
121 |
+
|
122 |
+
print("All records ingested successfully!")
|
123 |
```
|