I have been trying to create a table using the following code but the table is going out of the page (horizontally):
\begin{table} [!htbp]
\centering
\begin{tabular}{lccccc}
\toprule
Variable & No. of Observations & Mean & Std. Deviation & Minimum & Maximum\\
\midrule
Unpaid Household Work & 343,59 & 665.55 & 359.82 & 0 & 2820\\
Unpaid Care Work & 343,678 & 128.49 & 211.72 & 0 & 1650\\
Unpaid Domestic Work & 343,706 & 538.43 & 243.05 & 0 & 2130\\
Dependency Ratio & 335,726 & 0.19 & 0.41 & 0 & 18\\
Sex Ratio & 324,363 & 1.43 & 0.99 & 0 & 7.41\\
Monthly Consumption Expenditure (INR) & 344,926 & 12975.12 & 7955.47 & 700 & 131833\\
\bottomrule
\end{tabular}
\caption{Summary Statistics of All Continuous Variables.}
\end{table}


p{2cm}might already help – samcarter_is_at_topanswers.xyz Mar 14 '24 at 18:52