1

I put the part "sklearn.model_selection.train_test_split" and it appeared outside the page boundary. The table is bigger than the page boundary as well.

How to make the table and the text be inside the boundary?

enter image description here

asiddiq
  • 11

1 Answers1

1

For fixing the text issue:

As I got the word familiar related to machine learning I have a suggestion for you to move the word to the next line using \\

some text \\ sklearn.model_selection.train_test_split

Another way is to use

sklearn.model\_selection.train\_test\_split}

For fixing the table problem:

Use fixed length table column by p{5cm} (where 5cm is the length of column) so that you can control the width of the table.

\begin{table}[!htbp]
    \centering
    \begin{tabular}{p{5cm} | p{5cm}}
    Column 1 & Column 2\\ \hline
    Column 1 & Column 2\\ \hline
    \end{tabular}
\end{table}

If you provide your code/MWE I can make this more useful.

mmr
  • 2,249
  • 5
  • 22