- Hands-On Data Science with Anaconda
- Dr. Yuxing Yan James Yan
- 339字
- 2021-06-25 21:08:43
Using Jupyter without pre-installation
In Chapter 2, Anaconda Installation, we will discuss how to install Jupyter via Anaconda installation. However, we could launch Jupyter occasionally without pre-installation by going to the web page at https://jupyter.org/try:
- The welcome screen will be presented with various options for trying out different languages.
- For example, by clicking the Try Jupyter with Julia image, we would see the following screen:

- To save space, the screenshot shows only the first part of the demo. Any readers could try the previous two steps to view the whole demo. In addition, if we click the Try Jupyter with R image, the following screen would show:

- After selecting Try Jupyter with Python, you will be presented with the welcome screen for the same.
- Next, we will show you how to execute a few simple commands in R, Python, and Julia. For example, we could use R to use the platform to run a few simple command lines. In the following example, we enter pv=100, r=0.1,and n=5:

- After clicking the Run button on the menu bar, we assign those values to the three variables. Then we can estimate the future value of this present value, as illustrated here:

- Similarly, we could try to use Python, as shown here:

In the preceding example, we import the Python package called scipy and give it a short name, sp. Although other short names could be used to represent the scipy package, it is a convention to use sp. Then, we use the sqrt() function included in the Python package.
For Julia, we could try the following code (shown in the following screenshot). Again, after going to File|New on the menu, we choose Julia 0.6.0. As of May 09, 2018, 0.6.0 is the current version for Julia. Note that your current version for Julia could be different:

In the code, we define a function called sphere_vol with just one input value of r (in radians). The answer is 64.45 for an input value of 2.5.
- Dreamweaver CS3+Flash CS3+Fireworks CS3創意網站構建實例詳解
- Introduction to DevOps with Kubernetes
- 基于LPC3250的嵌入式Linux系統開發
- 網上生活必備
- Learning Apache Cassandra(Second Edition)
- 西門子S7-200 SMART PLC實例指導學與用
- Windows環境下32位匯編語言程序設計
- 基于ARM 32位高速嵌入式微控制器
- Visual Basic.NET程序設計
- 從零開始學SQL Server
- Linux Shell編程從初學到精通
- IBM? SmartCloud? Essentials
- 會聲會影X4中文版從入門到精通
- Flash CS3動畫制作融會貫通
- 工業機器人基礎