\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{align\PYGZus{}array} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{array}\PYG{p}{([}\PYG{n+nb}{list}\PYG{p}{(}\PYG{n}{rec}\PYG{p}{)} \PYG{k}{for} \PYG{n}{rec} \PYG{o+ow}{in} \PYG{n}{alignment}\PYG{p}{],} \PYG{n}{np}\PYG{o}{.}\PYG{n}{character}\PYG{p}{,} \PYG{n}{order}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}F\PYGZdq{}}\PYG{p}{)}
\end{Verbatim}
