Chaper 2 - Running the IPython Shell
tkanngiesser opened this issue · comments
Tino Kanngiesser commented
The first two lines are Python code statements; the second statement creates a variable named data that refers to a newly created Python dictionary. The last line prints the value of data in the console.
CORRECTION: data is a list not dictionary
In [5]: import numpy as np
In [6]: data = [np.random.standard_normal() for i in range(7)]
In [7]: data
renga17 commented
Hi
Please unsubscribe me from your mailing list.
Thanks
Renga
…On Fri, Aug 26, 2022, 8:52 PM Tino Kanngiesser ***@***.***> wrote:
The first two lines are Python code statements; the second statement
creates a variable named data that refers to a newly created Python
dictionary. The last line prints the value of data in the console.
CORRECTION: data is a list not dictionary
In [5]: import numpy as np
In [6]: data = [np.random.standard_normal() for i in range(7)]
In [7]: data
—
Reply to this email directly, view it on GitHub
<#161>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIMJZ5UJRZWVCHYDPUK5D3V3DOLVANCNFSM57XDQIDA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>