On 2023-12-25 19:53, Alan Gauld via Python-list wrote:
On 25/12/2023 05:34, geetanajali homes via Python-list wrote:
import numpy as np
import pandas as pd
import random
import matplotlib.pyplot as plt
%matplotlib inline
I get an error on the last line. I am running this code in Idle Pytho
On Tue, 26 Dec 2023 at 07:27, Chris Grace via Python-list
wrote:
> I'd also recommend a newer version of python. Python 3.4 reached end of
> life almost 5 years ago.
Uhh, putting this in perspective... until a spammer revived the thread
just now, it was asked, answered, and finished with, all bac
"%matplotlib inline" is a magic command that changes how plots render when
working with IPython. Read more here: https://stackoverflow.com/a/43028034
The article you linked assumes you are working in an IPython shell, not
IDLE. This is common in the data science world.
You may already have IPytho
On 25/12/2023 05:34, geetanajali homes via Python-list wrote:
>> import numpy as np
>> import pandas as pd
>> import random
>> import matplotlib.pyplot as plt
>> %matplotlib inline
>>
>> I get an error on the last line. I am running this code in Idle Python
>> 3.4.4 Shell...
Python names c
On Friday 29 January 2016 at 12:34:47 UTC+5:30, Mike S wrote:
> I have installed Python 3.4.4 on XPSP3 and am trying to work my way
> through this tutorial.
>
> A Complete Tutorial on Ridge and Lasso Regression in Python
> http://www.analyticsvidhya.com/blog/2016/01/complete-tutorial-ridge-lass
I have installed Python 3.4.4 on XPSP3 and am trying to work my way
through this tutorial.
A Complete Tutorial on Ridge and Lasso Regression in Python
http://www.analyticsvidhya.com/blog/2016/01/complete-tutorial-ridge-lasso-regression-python/
In Step 2 "Why Penalize the Magnitude of Coefficien
On 1/28/2016 11:57 PM, Steven D'Aprano wrote:
On Fri, 29 Jan 2016 06:04 pm, Mike S wrote:
%matplotlib inline
I get an error on the last line. I am running this code in Idle Python
3.4.4 Shell...
Python 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32
bit (Intel)] on win32
Typ
On Fri, 29 Jan 2016 06:04 pm, Mike S wrote:
> %matplotlib inline
>
> I get an error on the last line. I am running this code in Idle Python
> 3.4.4 Shell...
>
> Python 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32
> bit (Intel)] on win32
> Type "copyright", "credits" or "lice
On Fri, Jan 29, 2016 at 6:04 PM, Mike S via Python-list
wrote:
>
> I get an error on the last line. I am running this code in Idle Python 3.4.4
> Shell...
>
> Python 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit
> (Intel)] on win32
> Type "copyright", "credits" or "license(