Message from Python discussions

December 2018

— Looks like you're passing invalid arguments to summary_col function, you'd better take a look to the documentation, maybe you can find something about it

Message permanent page

— 

I thought about that but I've tried different code samples from the net and every one of them gives the same error

— Https://lectures.quantecon.org/py/ols.html

— I just have copied almost everything from here

— Hi everyone.i am a beginning learner of python.i just write 2 versions of very simple codes for the same stupid purpose. one is operatable.the other is not.i cannot figure out why.anybody here can help me?

Message permanent page

— A lot of people will be willing to help you
But they would need to look at the code...

— It looks like it's the official documentation:
https://www.statsmodels.org/stable/iolib.html#module-statsmodels.iolib
maybe it can help you

Message permanent page

— The right version below:
a=raw_input("please give you number.")
b=float(a)
c=int(b)
d=c+int((b-c)*2)
print d

Message permanent page

— Wrong version below

a=raw_input("please give you number.")
b=float(a)
c=int(a)
d=c+int((b-c)*2)
print d

Message permanent page

— Why raw input? use python3 please

— Thank you

— Don't use Python2