Mastering the API

Logging

Writing output of Table.show() to log file

tags:

logging, show, print

description:

Change the handling of strings in the Table.show() method by defining a custom handler.

code:
>>> ht.show(handler=lambda x: logging.info(x))  
dependencies:

Table.show(), Expression.show()