Dataiku Developer Certification Practice Questions - Dataiku Developer Certification (Dataiku Academy Developer Certificate) Exam

Question Number 3


When writing rows individually with dataiku.Dataset(...).get_writer(), why is it strongly recommended to use the Python "with" statement?
✔ Correct Answer:
It guarantees the writer is closed so all buffered rows are flushed; otherwise data may not be fully written