starting markov things

This commit is contained in:
2024-10-29 15:38:53 -04:00
parent e8749deb8d
commit 6ad7ce6fdd
6 changed files with 303 additions and 70 deletions

View File

@@ -35,8 +35,7 @@ def csv2Table(inFile):
reader = csv.reader(f)
rows = list(reader)
out = "\\begin{table}[h!]\n\\centering\n"
out += "\\begin{tabular}[t]{|" + " c | p{1.3cm} | c | c | p{6cm} |}\n"
out = "\\begin{longtable}{|" + " c | p{1.3cm} | c | c | p{6cm} |}\n"
out += "\\hline\n"
for row in rows:
@@ -45,7 +44,7 @@ def csv2Table(inFile):
out += " & ".join(row) + " \\\\\n"
out += "\\hline\n"
out += "\\end{tabular}\n\\end{table}\n"
out += "\\end{longtable}\n"
return out
def findIn(arr, target):