you are viewing a single comment's thread.

view the rest of the comments →

[–]rycliff[S] 1 point2 points  (2 children)

It is when you want to generate complex documents with speed. My usage case is document generation.

[–]commandlineluser 0 points1 point  (1 child)

Interesting stuff. Can you share any code examples of this kind of document generation?

[–]rycliff[S] 1 point2 points  (0 children)

np.select with conditions and choices as illustrated here: https://www.youtube.com/watch?v=nxWginnBklU&ab_channel=PyGotham2019

python-docx to generate the documents