Make a summary of this including tools and what they are used for: Click New asset to…
- User
Make a summary of this including tools and what they are used for: Click New asset to add or create a new notebook. Under Tool type, select Code editors and then, select Jupyter notebook editor to create a new notebook. On the New Notebook page, you can create a blank notebook, upload a notebook file from your file system, or upload a notebook file from a URL. In this video, we will create a blank notebook. First, provide a notebook name and description.
You need to specify the runtime environment for the language you want to use (for example, Python, R, or Scala). Then click Create to create a notebook.
After you create a notebook, you will upload the data. Make sure the data you load, and the code commands you use to analyze that data, both match the kernel/runtime language you selected when you created your notebook. To upload the data, click Find and Add Data. In the Data pane, browse for the files or drag them onto the pane. You must stay on the page until the upload is complete. You have the option to cancel an ongoing upload process if need be. Now, the data is available to work on. Click Insert to code and select pandas DataFrame. It's a best practice to insert a cell at the top of the Jupyter notebook using the Insert Cell Above option from the Insert tab. Now, a cell is added. Now, change the cell type to markdown, so this cell will not be treated as code. In the markdown cell, describe what the notebook does and run it. Now you're ready to run the notebook. The inserted code loads the data set into a data frame. Run the code cell to display the first five rows of the data set. From the File tab, select the Save Version option to save the latest changes in the notebook. Click the project name to return to the project home page.
Back on the project home page, under the Assets tab, select the Source Code tab in the left navigation pane, you’ll find the notebook on which you have recently worked. Click to open it. The notebook will open in a read-only mode. To edit it, click the pencil icon in the Notebook action bar.
When the view notebook info icon is selected, under the General tab, you can change the name and description of your notebook, and see the last editor, last modified date, and the creation date. On the Environment tab, you can see the environment template used to open the notebook, change the template, view the environment details, and check the runtime status. You can create a URL to share the notebook on social media or with people outside of Watson Studio. The URL shows a read-only view of the notebook. Anyone who has the URL can view or download the notebook. Click the Share icon in the notebook action bar to see sharing options in a pop-up window.
If you want to share a read-only version of the notebook, in the dialog box: Enable the option Share with anyone who has a link. You can select how much of the content you'd like to share by selecting Only text and output or All content excluding sensitive code cells in the sharing options. You can then share the notebook either through a link or on social media. The Jobs feature provides an efficient way to run, schedule, and monitor jobs in a Watson Studio project. Click the Create a job icon from the notebook action bar and click Create a job. In the Define details page, enter the job name and description, and then click Next. In the Configure page, enter all the required details, and then click Next. You can add a one-time or repeat schedule on the Schedule page. If you define a start day and time without selecting Repeat, the job will run exactly once on the specified day and time. Select the start day and time, and then click Next.
- Assistant
Summary:
This video tutorial provides instructions on how to add or create a new notebook using Watson Studio. To add a new notebook, click on "New asset" and select "Code editors". Then, choose the "Jupyter notebook editor" to create a new notebook. You can create a blank notebook, upload a notebook file from your file system, or upload a notebook file from a URL. For this tutorial, a blank notebook is created, and a notebook name and description are provided.
- User
Make a summary of this including tools and what they are used for: You have learned how to create a Jupyter Notebook, now you will manage the environment. Go to the Data Science Project home page and click the Manage tab, and then in the left pane click Environments. If your Notebook is executing, you will be able to see the active runtime environment. Note that you can execute your notebook to see the active runtime if it is not visible. To see the available runtime environments, click Templates. In the Template name list, you can explore available runtime environment templates. Select any template as your active runtime environment. Let’s select the RStudio environment. On selecting the template, you will see the Summary of the template, and its Software configuration details. To create a new template, go back to the Templates page and click New template. Enter the environment name, its description, and configuration. Then click Create to create the environment. A Summary and Software configuration details of the new template will be displayed. To change the current runtime to the newly created template runtime, click the Assets tab, and then select the new notebook you created. If you see the lock icon, unlock it and select the notebook again. Next select the three dots on the right and click Change environment. Select the new template environment you created and click Change. In the pop-up, select the kernel from the drop-down option and click Set Kernel. On the top right corner, you will see the new runtime. Now you can drag and drop any CSV file to upload and then, click Insert to code to include the code into the notebook. To execute the notebook, click Run, and you will see that the output is now using the new runtime environment.
- Assistant
- User
Make a summary of this including tools and what they are used for: To integrate Watson Studio to GitHub, click Manage, then on the left panel, under Project, click Service & Integrations. Next, in IBM services, select Third-party integrations, and then click Connect integration. In Connect Integration, to establish the connection, select GitHub and click Next. Click the personal access token hyperlink to create the new access token. Log in to your GitHub account by entering your Username and Password. Then click Sign in. To create a new personal access token, provide the description of the token. To define the access for personal tokens, under Select scopes, select repo. Next, ensure gist is selected and click Generate token. In the Personal access tokens page, copy the generated access token by clicking the copy icon. Now, go back to the Connect Integration area and add the generated token. Next, you must find the repository URL for the location you want to push the notebook. To get the repository URL from GitHub, ensure you are in the master branch of the repository you want to use. Click Code and copy the URL using the copy icon. Go back to the Connect Integration area and enter the repository URL where you want to push the notebook. Then click Connect. Once the repository is added, you get a successfully connected message. Now you can go back to the Assets tab and select the notebook you want to push to GitHub. Once the notebook is open, on the top right, select the down arrow and click Publish on GitHub. On the Publish on GitHub page, select All content except hidden code cells. Then click Publish. A successful publish message will pop up with the name of the notebook file and repository. In GitHub, you can see the notebook, Data Science notebook.ipynb, which confirms that you published your notebook from Watson Studio.
- Assistant