6.2. Utility libraries#

6.2.1. Array to latex library#

array_to_latex is an awesome library that converts NumPy arrays and Pandas DataFrames to LaTeX code. Using the library, you can print the code, store it as a string in a variable or even cooler, copy it to your clipboard!

Link: https://github.com/josephcslater/array_to_latex

6.2.2. Pretty printing with rich#

Python REPL is one of the ugliest things you will see in programming. Give it more style with colorful pretty-printing with rich👇