<commit_before>#!/usr/bin/env python

import numpy as np
from scipy.io import loadmat
from datetime import datetime
import glob
import os

hours_proc = []

def extract_mat(indir)
    for filename in sorted(glob.glob(os.path.join(indir, '*.mat'))):
        f = loadmat(filename)
        d = f['hdfdata']['Reference_Par_hyperspectral_data']
        par = d[0.0][:,2]
        dates = d[0,0][:,0]
        hours = np.int64(d[0,0][:,0])
        for hour in hours:
            hours_proc.append(datetime.strptime(str(i), "%H%M%S%f"))
<commit_msg>testing datetime.<commit_after>#!/usr/bin/env python

import numpy as np
from scipy.io import loadmat
from datetime import datetime
import glob
import os

hours_proc = []

def extract_mat(indir)
    for filename in sorted(glob.glob(os.path.join(indir, '*.mat'))):
        f = loadmat(filename)
        d = f['hdfdata']['Reference_Par_hyperspectral_data']
        par = d[0.0][:,2]
        dates = d[0,0][:,0]
        hours = np.int64(d[0,0][:,0])
        for hour in hours:
            if #quantity of numbers is == 3, must be added a microsecond unity (+ '0')
            hours_proc.append(datetime.strptime(str(i), "%H%M%S%f"))

{'fraction_non_alphanumeric': 0.15226689478186484, 'fraction_numerical': 0.020530367835757058, 'mean_word_length': 3.090909090909091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3353320', 'n_tokens_mistral': 428, 'n_tokens_neox': 417, 'n_words': 98}