I have a problem with plotting my load profiles for my Bachelor thesis.
I've got a csv file, which is separated by tabs, like this:
PV-Energie (AC) abzgl. Standby-Verbrauch,-0,01747-0,01747-0,01747-0,01747-0,01747-0,01747-0,01747-0,055120,141872,21987,72389,75141,4933,48427,9173,5819-0,05512-0,01747-0,01747-0,01747-0,01747-0,01747-0,01747-0,01747-0,01747Is it possible to choose "tab" as a separator?
Here is my code:
from oemof import solphimport pandas as pdimport matplotlib.pyplot as pltfrom oemof.tools import economicsimport numpy as npfrom oemof.tools import loggerlogger.define_logging()logger.info('Programm gestartet')filename = 'PV.csv'df = pd.read_csv(filename)logger.info('Datei wurde eingelesen')ax = df.plot.area(subplots=True, figsize=(10,7))ax[0].set_ylabel("Leistung in kW")ax[0].set_xlabel("Zeit in h")plt.title('power demand')plt.tight_layout()plt.show()logger.info('Programm beendet')I would like to find a solution for my problem.