>>> import numpy as np
>>> from pandas import *
>>> df = DataFrame({'foo1' : np.random.randn(2),
'foo2' : np.random.randn(2)})
>>> df.to_html('filename.html')
from : https://stackoverflow.com/questions/32430009/python-pandas-data-frame-save-as-html-page/32430049
No comments:
Post a Comment