You're welcome. A tip for the next bug: Google is pretty good at finding a
discussion of the error if you paste the whole phrase as your search terms.
In this case, I searched for "ValueError for numerical factors num_columns
must be an int" and found the relevant Google Group thread.
PS. I replie
On Tue, May 31, 2016 at 5:45 PM Vadim Katsemba wrote:
> I typed in lm = smf.ols(formula='LATITUDE~DIAMETER',data=dataf).fit(), and
> I ended up getting this error: ValueError: For numerical factors,
> num_columns must be an int.
>
You may be using an old version of Patsy, the module that allows
On 31/05/16 16:30, Vadim Katsemba wrote:
> Hello there, I am having trouble running the Ordinary Least Squares (OLS)
> regression on Spyder.
I had no idea what Spyder was but a Google search says its an IDE
somewhat akin to matlab or IPython... It also has a discussion group:
http://groups.googl
Hello there, I am having trouble running the Ordinary Least Squares (OLS)
regression on Spyder. I typed in lm =
smf.ols(formula='LATITUDE~DIAMETER',data=dataf).fit(), and I ended up
getting this error: ValueError: For numerical factors, num_columns must be
an int. How am I supposed to run the OLS,