I’m using this script to get 4 html files:
#!/usr/bin/python import pandas as pd import sys import json sys.stdout = open('output.html','wt') df = pd.read_csv('users.csv') print(df.to_html())
For other file
#!/usr/bin/python import pandas as pd import sys import json sys.stdout = open('output1.html','wt') df = pd.read_csv('groups.csv') print(df.to_html())
same for 3rd and fourth
These generates 4 tables.
Is it possible to modify code above to get these tables in one html file ?
users.csv content of output.html users2.csv content of output1.html ....................... same for file 3 and 4
Sorry for doc file, space between 2 tables doesn’t have to be so large, just couldn’t reduce it
The goal is to send it as HTML email body, i can send it separately but can’t figure out how to create a space between tables and to add some description for every table, so don’t know is it possible to combine it in one big HTML file and to add space between tables and some text