Pandas printing in jupyter

boffi at pentangle.appreciation.net boffi at pentangle.appreciation.net
Sat Jan 13 17:10:21 EST 2018


boffi at questa.la.so writes:

> def prmat(mat):
>     return (r'\begin{bmatrix}' +
>             r'\\'.join('&'.join('%f'%x for x in row) for row in mat) +
>             r'\end{bmatrix}'
add a closing parenthesis here ^



More information about the Python-list mailing list