Note
Click here to download the full example code
Running Tests, Ignore This FileΒΆ
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | from typing import Counter
import pandas as pd
import os
from datetime import datetime
filepath = r"D:\FILES\Desktop\Dissertation ICL\OUCRU\01NVa_Dengue\Adults\01NVa-003-2009\PPG"
files = os.listdir(filepath)
first = os.path.join(filepath, files[0])
#second = os.path.join(filepath, files[1])
f = pd.read_csv(first)
#s = pd.read_csv(second)
print(f)
#print(s['COUNTER'])
#print(s['COUNTER'].iloc[0] - f['COUNTER'].iloc[-1])
#print(files[0])
#test = files[0][:-13]
#test = test.replace('T','')
#print(test)
#datetime_conversion_check = datetime.strptime(test, '%Y%m%d%H%M%S')
#print(datetime_conversion_check)
|
Total running time of the script: ( 0 minutes 0.000 seconds)