diff --git a/src/data.py b/src/data.py index d777f87..732bae9 100644 --- a/src/data.py +++ b/src/data.py @@ -12,8 +12,7 @@ def _read(file, month, year): try: data = pd.read_html(file, decimal=',', thousands='.') - data = data[0] - data = data[: -1] + data = data[-1] data = data.to_numpy() except Exception as excep: if str(excep) == "No tables found":