Placing the rows in tables

I have code for creating a table but I came up with a problem:

\documentclass[11pt, a4paper, twoside]{Thesis} % Paper size, default font size and one-sided paper
\graphicspath{{./Pictures/}} % Specifies the directory where pictures are stored
\usepackage[square, numbers,rotating, comma, fancyhdr,here,longtable ,sort&compress,caption, booktabs,pifont,epsfig,subfig ,enumitem,array,subcaption, cleveref,subfigure ,tabularx, textcomp, placeins,graphicx, url, blindtext,verbose{placeins}]
\begin{document}

\begin{table}[htp]
\caption{The correlation between wireless sensor nodes [25--28--29--31--32] }
\label{tab: cor}
\centering
\footnotesize\setlength{\tabcolsep}{2.5pt}
\begin{tabular}{l@{\hspace{6pt}} *{5}{c}}
\toprule
\bfseries Node Name & \multicolumn{5}{c}{\bfseries Node name} \\
\cmidrule(l){3-5}
& 25 & 28 & 29 & 31 & 32                 \\
\midrule
\bfseries Node 25
& 1.00 &    0.96    & 0.92  & 0.97 &    0.97    \\
\bfseries Node 28
& 0.96& 1.00 &  0.93 &  0.97 &  0.96             \\
\bfseries Node 29
& 0.92 &    0.93 &  1.00 &  0.92 &  0.94                           \\
\bfseries Node 31
& 0.97 &    0.97 &  0.92 &  1.00 &  0.96    \\
\bfseries Node 32                                      \\
& 0.97 &    0.96 &  0.94 &  0.96 &  1.00                  \\
\bottomrule
\end{tabular}
\end{table}

\end{document}


The problem is highlited where the row doesn't placed in a proper place.

-
Your code shows "\\" after Node 32. Delete it and everything will go back to its place. –  Ignasi Feb 6 at 9:52
@Ignasi, No, it doesn't help –  Hamed Footohi Feb 6 at 9:55

After "Node 32", you appear to have an additional new line command \\ that will be causing LaTeX to insert an extra line into your table.

Also, you appear to have a spurious \end command just floating around near the bottom of your code, which caused errors when I attempted to compile.

Minimum working example:

\documentclass[11pt, a4paper, twoside]{article} % Paper size, default font size and one-sided paper
\usepackage{booktabs}
\begin{document}

\begin{table}[htp]
\caption{The correlation between wireless sensor nodes [25--28--29--31--32] }
\label{tab: cor}
\centering
\footnotesize\setlength{\tabcolsep}{2.5pt}
\begin{tabular}{l@{\hspace{6pt}} *{5}{c}}
\toprule
\bfseries Node Name & \multicolumn{5}{c}{\bfseries Node name} \\
\cmidrule(l){3-5}
& 25 & 28 & 29 & 31 & 32\\
\midrule
\bfseries Node 25
& 1.00 &    0.96    & 0.92  & 0.97 &    0.97\\
\bfseries Node 28
& 0.96& 1.00 &  0.93 &  0.97 &  0.9\\
\bfseries Node 29
& 0.92 &    0.93 &  1.00 &  0.92 &  0.9\\
\bfseries Node 31
& 0.97 &    0.97 &  0.92 &  1.00 &  0.96\\
\bfseries Node 32
& 0.97 &    0.96 &  0.94 &  0.96 &  1.00\\
\bottomrule