\documentclass{article}

%\usepackage[math=fp]{datatool}
\usepackage[math=pgfmath]{datatool}

\DTLloaddb{scores}{sample-student-records.csv} % this data file may be found in http://www.ctan.org/tex-archive/macros/latex/contrib/datatool/samples

\begin{document}

\DTLmeanforcolumn{scores}{Assignment 1}{\averagescore}% 
%\DTLsdforkeys{scores}{Assignment 1}{\stdev}

\begin{tabular}{cc}
left & right
\end{tabular}

\end{document}
