How can I easily place these two tables that I have beside each other?
\begin{table}[H]
\small
\begin{tabu} to \textwidth { X[l] | X[c] X[c] X[c] X[c] X[c] }
% \hline
& \multicolumn{5}{c}{Precision} \\
% \cline{5-6}
& 0 & 1 & 2 & 3 & 4\\
\hline
A & 0.143 & 0.143 & & & \\
B & 1.518 & 1.518 \\
C & 0.018 & 0.142 \\
D & 0.029 & 0.180 \\
\hline
\# tr samples & 53k, 187k & 53k, 187k & 53k, 187k \\
\# te samples & 8k, 26k & \\
% \hline
\end{tabu}
\medskip
\caption{}
\label{tab:runtime}
\end{table}
\begin{table}[H]
\small
\begin{tabu} to \textwidth { X[l] | X[c] X[c] X[c] X[c] X[c] }
% \hline
& \multicolumn{5}{c}{Precision} \\
% \cline{5-6}
& 0 & 1 & 2 & 3 & 4\\
\hline
A & 0.143 & 0.143 & & & \\
B & 1.518 & 1.518 \\
C & 0.018 & 0.142 \\
D & 0.029 & 0.180 \\
E & 0.029 & 0.180 \\
F & 0.029 & 0.180 \\
% \hline
\end{tabu}
\medskip
\caption{}
\label{tab:runtime}
\end{table}
EDIT: I tried putting them under the same \begin{table} and \end{table} but they are still not side by side.
\begin{table}[H]
\small
\begin{tabu} to 0.5\textwidth { X[l] | X[c] X[c] X[c] X[c] X[c] }
% \hline
& \multicolumn{5}{c}{Precision with label shifted by t seconds} \\
% \cline{5-6}
& 0 & 1 & 2 & 3 & 4\\
\hline
A & 0.143 & 0.143 & & & \\
B & 1.518 & 1.518 \\
C & 0.018 & 0.142 \\
D & 0.029 & 0.180 \\
\hline
\# tr samples & 53k, 187k & 53k, 187k & 53k, 187k \\
\# te samples & 8k, 26k & \\
% \hline
\end{tabu}
\medskip
\caption{Models trained and tested on the complete sequence as described in figure 3a.}
\label{tab:runtime}
\small
\begin{tabu} to 0.5\textwidth { X[l] | X[c] X[c] X[c] X[c] X[c] }
% \hline
& \multicolumn{5}{c}{Precision with label shifted by t seconds} \\
% \cline{5-6}
& 0 & 1 & 2 & 3 & 4\\
\hline
A & 0.143 & 0.143 & & & \\
B & 1.518 & 1.518 \\
C & 0.018 & 0.142 \\
D & 0.029 & 0.180 \\
E & 0.029 & 0.180 \\
F & 0.029 & 0.180 \\
% \hline
\end{tabu}
\medskip
\caption{Models trained on the complete sequence (fig 3a) and tested on the truncated sequence (fig 3b).}
\label{tab:runtime}
\end{table}
I have removed all white spaces but it is still not working
\begin{table}[H]
\small
\begin{tabu} to \textwidth { X[l] | X[c] X[c] X[c] X[c] X[c] }
& \multicolumn{5}{c}{Precision} \\
& 0 & 1 & 2 & 3 & 4\\
\hline
A & 0.143 & 0.143 & & & \\
B & 1.518 & 1.518 \\
C & 0.018 & 0.142 \\
D & 0.029 & 0.180 \\
\hline
\# tr samples & 53k, 187k & 53k, 187k & 53k, 187k \\
\# te samples & 8k, 26k & \\
\end{tabu}
\caption{}
\label{tab:runtime}
\small\begin{tabu} to \textwidth { X[l] | X[c] X[c] X[c] X[c] X[c] }
& \multicolumn{5}{c}{Precision with label shifted by t seconds} \\
& 0 & 1 & 2 & 3 & 4\\
\hline
A & 0.143 & 0.143 & & & \\
B & 1.518 & 1.518 \\
C & 0.018 & 0.142 \\
D & 0.029 & 0.180 \\
E & 0.029 & 0.180 \\
F & 0.029 & 0.180 \\
\end{tabu}
\caption{}
\label{tab:runtime}
\end{table}


\begin{table}...\end{table}. – Phelype Oleinik May 29 '19 at 13:37tabu... – Phelype Oleinik May 29 '19 at 13:44\begin{tabu} to \textwidthmakes a full width table so you can not fit two (also the\captionforces a paragraph, you probably want two minipages each with a tabu and a caption) – David Carlisle May 29 '19 at 13:54