To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit b7fb2211 authored by aweichbrodt's avatar aweichbrodt
Browse files

Initial commit.

This diff is collapsed.
import pandas as pd
import as px
from IPython.display import display
Script applies to Feutron climate chamber
Depending on what kind of sensors are selected for data registration the number of columbs and their respective namming will varry.
Check available data columns.
File header looks as follows:
filename = ''
def columns_available(filename):
'''Displays column names and some rows of data.'''
df = pd.read_csv(filename, skiprows=[0,1,3,4], sep=';', nrows=5)
def plot_data(column_names):
'''Plots data of selected columns.'''
df = pd.read_csv(filename, skiprows=[0,1,3,4], sep=';')
datetime_column = df[df.columns[0]] + df[df.columns[1]]
df['datetime'] = pd.to_datetime(datetime_column, format='%d.%m.%Y %H:%M:%S' )
# For simplicity and convenience Plotly Express is used for plotting the data.
fig = px.line(df, x='datetime', y=column_names)
# The output is opened in a Webrowser and can be easily explored.
# --> Define here the columns to be plotted <--
columns_to_plot = ['R.H.', 'Temperatur']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment