I have created tables, which as far as I know have worked fine before. But now I changed some things, added a row and changed the values, and after this one of the columns are not aligned with the text. What could be the reason for this?
\begin{table}[htbp!]
\small
\caption{Descriptive Statistics for Electricty Prices}
\label{table:3:1}
\begin{tabular*}{\textwidth}{
@{\extracolsep{\fill}}
l
*{8}{S[table-format=2.2]}
@{}
}
\toprule
{zone} & {count} & {mean} & {std} & {min} & {max} & {skewness} & {kurtosis} \\
\midrule
1 & 24840 & 32.02 & 34.22 & -1.97 & 506.50 & 3.82 & 25.60 \\
2 & 24840 & 33.06 & 36.16 & -1.97 & 506.50 & 3.87 & 24.73 \\
3 & 24840 & 65.49 & 84.39 & -1.97 & 799.97 & 3.06 & 12.86 \\
4 & 24840 & 80.17 & 97.07 & -1.97 & 799.97 & 2.67 & 9.15 \\
\bottomrule
\end{tabular*}
\smallskip
\footnotesize
Each zone refers to the respective electricty price zone in Sweden, see figure \ref{fig:3:1}. The kurtosis is calculated as the excess kurtosis, i.e. a normal distribution would take the value zero.
\end{table}
\documentclass
, includes all relevant\usepackage
commands, ends with\end{document}
and compiles without errors, even if it does not produce your desired output.