[Tutor] Jupyternotebook set up
Olsen, Avalow Y
Yuanyuan.A.Olsen at HealthPartners.Com
Mon Jan 27 20:10:58 EST 2020
Hi All,
I am using Jupyter Notebook for Python programing through Anaconda.
Anaconda Navigator version = 1.9.7
Jupyter Notebook version= 6.0.2
When running the following code, presumably there are 6 entries with the value "Not available" in the frequency. Since the output is a long list, the "Not available" value is omitted in the outcome pane by .. as shown below.
cars.horsepower.value_counts()
150.0 22
90.0 19
110.0 19
100.0 16
88.0 14
..
230.0 1
107.0 1
158.0 1
137.0 1
167.0 1
Name: horsepower, Length: 85, dtype: int64
Here is the proof that "Not available " exists in the horsepower variable
cars.horsepower.value_counts().loc["Not available "]
6
There are 6 entries with the value "Not available"
My question is how to setup Jupyter Notebook in order to let the whole list of values be shown like below?
150.0 22
90.0 19
110.0 19
100.0 16
88.0 14
105.0 12
95.0 10
85.0 9
70.0 8
145.0 7
Not available 6
84.0 5
..
230.0 1
107.0 1
158.0 1
137.0 1
167.0 1
Thank you in advance!
Ava
________________________________
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.
If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. Disclaimer R001.0
More information about the Tutor
mailing list