I am trying to vertically center the subtables in the cells of column 2:
As you can see, the subtable with a1, a2 is vertically top centered. Analogous situation regarding the cell bellow.
I would like to keep the structure of table of each cell of column2.
I have tried the following code, but I do not know how to progress:
\documentclass{article}
\usepackage{multirow}
\usepackage{longtable}
\begin{document}
\begin{longtable}{|c|c|c|}
\caption{Your table caption} \label{tab:my_label} \\
\hline
header 1 & header 2 & header 3 \\
\hline
\endhead
\multirow{3}{*}{row1} & a1 & b1 \\
& a2 & b2 \\
& & b3 \\
\hline
\multirow{3}{*}{row2} & a3 & b4 \\
& a4 & b5 \\
& & b6 \\
\hline
\end{longtable}
\end{document}
Thanks in advance.