m-teng/k-teng/utility/data.py

9 lines
159 B
Python
Raw Normal View History

2023-04-13 11:09:40 +02:00
import pandas as pd
import numpy as np
def buffer2dataframe(buffer):
df = pd.DataFrame(buffer)
df.colums = ["Time [s]", "Voltage [V]"]
return df