mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-11 04:12:07 +08:00
real can table column header
old-commit-hash: ab8c4f03968671abcc77e1f8145643fb3a0a8cc7
This commit is contained in:
@@ -35,5 +35,6 @@ if __name__ == "__main__":
|
||||
rows.append(r)
|
||||
|
||||
df = pd.DataFrame(data=rows)
|
||||
df.columns = [str(n) for n in range(7, -1, -1)] + [' ']
|
||||
table = df.to_markdown(tablefmt='grid')
|
||||
print(f"\n\n{hex(addr)} ({addr}) on bus {args.bus}\n{table}")
|
||||
|
||||
Reference in New Issue
Block a user