I wonder how could I pass python pandas groupby
result to html formatted such as printed in console. Pic below. to_html
does not work because It says that
Series object has no attribute to_html()
The one on the left is from console the one from the right is from my html view.