Panda: read CSV datetime index plot: Revision history

From OnnoCenterWiki
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

8 August 2019

  • curprev 06:3806:38, 8 August 2019 Onnowpurbo talk contribs 611 bytes +611 Created page with " import pandas as pd import glob csv_file = '/home/onno/TensorFlow/TEMP-train.csv' df = pd.read_csv(csv_file, names=['Time', 'Value']) df['Time'] = pd.to_datetime(df['..."