I saw (I think) on stackexchange that this was a known bug.


On Thu, Oct 3, 2013 at 11:09 PM, Ryan <notifications@github.com> wrote:

> In Applications/Leontief/Leontief_C.tex:
>
> > +>>> data = np.genfromtxt("missing_data.txt", delimiter=';',
> > +                         missing_values = ['???'],
> > +                         filling_values = {1:2.2, 2:-3.0, 3:4.9})
> > +>>> data
> > +array([[ 1. ,  2.2, -3. ,  4.9],
> > +       [ 0. ,  2.1, -3. ,  5.1],
> > +       [ 0.4,  2.3, -2.8,  4.8],
> > +       [ 0.3,  2.2, -3.1,  5. ]])
> > +\end{lstlisting}
> > +
> > +We now have a NumPy array containing our filled-in data, and we can continue with whatever computations we desire. Notice
> > +that we still needed to specify the delimiter character. The \li{missing_values} argument is a list of strings that
> > +designate missing values, and the \li{filling_values} argument is a dictionary that maps the index of a column to the
> > +value used to replace all the missing values in that column.
> > +% The value of a \li{None} key in this dictionary will be used as a default fill value, except where you specify.
> > +% Except the above statement doesn't seem to be true!!!
>
> I can't seem to get it to work either, contrary to what the documentation
> says.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/byuimpact/numerical_computing/pull/337/files#r6760837>
> .
>



-- 
Abe Frandsen