jupyter-notebook

Is there a shortcut for deleting a line in Jupyter's edit mode?

早过忘川 提交于 2020-12-09 08:24:42
问题 In Jupyter's edit mode, is there a shortcut for deleting a line of text? Something like Ctrl + L in Visual Studio? 回答1: Shift + Delete or Ctrl + D or both, depending on version. Ctrl + D is listed under Help → Keyboard Shortcuts in the notebook menu, but Shift + Delete seems to work despite being undocumented. 回答2: As for Jupyter notebook servion version 6.0.2 the command Ctrl + D works for me. This shortcut is listed in the shortcut documentation, that can be found under Help → Keyboard

export azure ml studio designer project as jupyter notebook?

瘦欲@ 提交于 2020-12-06 12:41:27
问题 I hope I am not missing something obvious here. I am using the new azure ml studio designer. I am able to use to create datasets, train models and use them just fine. azure ml studio allows creation of Jupyter notebooks (also) and use them to do machine learning. I am able to do that too. So, now, I am wondering, can I build my ML pipeline/experiment in ML studio designer, and once it is in good shape, export it as a python and jupyter notebook? then, use it in the same designer provided

ModuleNotFoundError in Jupyter Lab for package pycwt

﹥>﹥吖頭↗ 提交于 2020-12-06 06:44:54
问题 I have a conda environment where I have installed the wavelet package pycwt using: conda install -n myenv -c conda-forge pycwt as prescribed in the Anaconda cloud. On my terminal, the command import pycwt works just fine. When I open a notebook on Jupyter Lab (within the virtual environment), running import pycwt yields --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-3-501c582ee37d> in <module> --

ModuleNotFoundError in Jupyter Lab for package pycwt

≡放荡痞女 提交于 2020-12-06 06:44:09
问题 I have a conda environment where I have installed the wavelet package pycwt using: conda install -n myenv -c conda-forge pycwt as prescribed in the Anaconda cloud. On my terminal, the command import pycwt works just fine. When I open a notebook on Jupyter Lab (within the virtual environment), running import pycwt yields --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-3-501c582ee37d> in <module> --

how to read data from google drive using Colaboratory (google)

懵懂的女人 提交于 2020-12-06 04:43:33
问题 I'm new to Colaboratory and would like setup a small project which is stored on my google drive. On my google drive, I create a folder 'TheProject', where I created two folders: 'code' and 'data'. I the folder 'code' I created a new colab notebook and I have several data sets in 'data' folder. QUESTION How to read data into colab notebook from a folder on the google drive? For example: data = pd.read_excel('SOME_PATH/TheProject/data/my_data.xlsx') where SOME_PATH should indicate how to get to

how to read data from google drive using Colaboratory (google)

和自甴很熟 提交于 2020-12-06 04:43:18
问题 I'm new to Colaboratory and would like setup a small project which is stored on my google drive. On my google drive, I create a folder 'TheProject', where I created two folders: 'code' and 'data'. I the folder 'code' I created a new colab notebook and I have several data sets in 'data' folder. QUESTION How to read data into colab notebook from a folder on the google drive? For example: data = pd.read_excel('SOME_PATH/TheProject/data/my_data.xlsx') where SOME_PATH should indicate how to get to

jupyter notebook shows error message for matplotlib Bad key “text.kerning_factor”

╄→尐↘猪︶ㄣ 提交于 2020-12-05 05:26:40
问题 import pandas as pd import numpy as np import matplotlib.pyplot as plt Bad key "text.kerning_factor" on line 4 in /home/samyak/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test_patch.mplstyle. You probably need to get an updated matplotlibrc file from https://github.com/matplotlib/matplotlib/blob/v3.1.3/matplotlibrc.template or from the matplotlib source distribution 回答1: It seems to be the case that one of style config files is for matplotlib 3.1 despite that 3

Is there a way to disable saving to checkpoints for Jupyter Notebooks?

可紊 提交于 2020-12-02 06:54:43
问题 I am working in an environment where writing to the disk space with a folder name like .ipynb_checkpoints is disallowed. Unfortunately, this is Jupyter Notebook's default path for Save and Checkpoint . Is there a way to configure Jupyter Notebook to not use the checkpoint feature or allow a different folder name? 回答1: Not exactly an answer to your question, but perhaps close enough. The path of the checkpoints folder is configurable so you could rename it to something allowed such as "_ipynb

Is there a way to disable saving to checkpoints for Jupyter Notebooks?

吃可爱长大的小学妹 提交于 2020-12-02 06:54:26
问题 I am working in an environment where writing to the disk space with a folder name like .ipynb_checkpoints is disallowed. Unfortunately, this is Jupyter Notebook's default path for Save and Checkpoint . Is there a way to configure Jupyter Notebook to not use the checkpoint feature or allow a different folder name? 回答1: Not exactly an answer to your question, but perhaps close enough. The path of the checkpoints folder is configurable so you could rename it to something allowed such as "_ipynb

How to run jupyter lab in a conda environment on a google compute engine (Deep Learning VM)?

烂漫一生 提交于 2020-12-01 11:01:04
问题 I made a conda environment in my Deep Learning VM. When I ssh to it (clicking SSH button of my instance in the VM instances page) and type source activate <environment_name> it gets activated correctly in the shell. I successfully connect to jupyter lab from my local machine as explained from the docs How can I use jupyter in a specific conda environment on this VM ? The accepted way to run jupyter in a specific conda environment seems to be Activate a conda environment in your terminal using