mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-05-17 22:20:22 -04:00
💾
This commit is contained in:
parent
183d7d8841
commit
b2d792cea0
2 changed files with 12 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
# author: steinkirch
|
||||
|
||||
import pandas as pd
|
||||
from utils.os import exit_with_error
|
||||
from utils.os import exit_with_error, log_error
|
||||
|
||||
|
||||
def open_csv(filepath) -> dict:
|
||||
|
@ -27,5 +27,6 @@ def save_csv(destination, data, index=False) -> None:
|
|||
|
||||
def plot_bar(y, x) -> None:
|
||||
"""Simplest plot for two sets."""
|
||||
|
||||
df = pd.DataFrame(y, index=x)
|
||||
df.plot.bar(rot=0, subplots=True)
|
Loading…
Add table
Add a link
Reference in a new issue