text_plain_output_1.png image_output_1.png
from glob import os

import csv
import matplotlib.pyplot as plt
import statistics as st
import re
import collections
from glob import os
import pandas as pd
arr = os.listdir('../input/spectra-files/')
arr = sorted(arr, key=lambda x: int(os.path.splitext(x)[0]))
print(arr)