Created
July 27, 2022 11:05
-
-
Save cntrump/16af5d01814951a3ab7b0d3f52efbf44 to your computer and use it in GitHub Desktop.
CSV to HTML table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import pandas as pd | |
csv = pd.read_csv("codes.csv", engine = 'c') | |
csv.to_html("codes.html", index = False, justify='left') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install
pandas
: