Relative Content

Tag Archive for pythonjupyter-notebook

Find and Replace function missing in Jupyter Notebook

I recently had to install jupyter notebook on a new virtual machine. On my old VM, I was able to click the edit menu and scroll all the way down to find a function labeled “find and replace”. This function was very useful because it allowed me to isolate the find and replace function to a single cell. The menu looked like this:Find & Replace – Original

Using short (native) tracebacks in Jupyter Notebooks

Currently Jupyter Notebook, as run in Visual Studio Code, uses its verbose traceback output, outputting code samples where the exception propagated. This is the opposite of Python native traceback that only gives you the file and line number.

How to display all rows horizontally in VScode Jupyter Notebooks?

I have a problem with Jupyter Notebooks. When I try to print out a dataframe. The output is displayed only a few first columns then It has “newline character”, then the rest of columns will be displayed below. How can I show all columns horizontally without interruption?
Many thanks.

How to display all rows horizontally in VScode Jupiter notebook

I have a problem with jupiter notebook. When I try to print out a dataframe. The output is displayed only a few first columns then It has “newline character”. Then the rest of columns will be displayed below. How can I show all columns horizontally without interuption.
Many thanks

EMNIST not importing

So I was trying to import the emnist database but i’m not able to call the extract_training_samples. It keeps saying that the file is not a zip file. Im following the documentation given: https://pypi.org/project/emnist/ but it’s still giving me an error. Anyone know how I can fix it? I don’t want to use keras or other libraries that have mnist because all of my code was written specifically to use the database like this and i would have to edit my whole notebook.

Jupyter notebook lost syntax highlithing

After creating environments (ubuntu VM) Jupyter Notebook lost highlighting of code syntax for some reason. Highlighting is now unavailable for all environments. How to fix that? Below you can see my language syntax highlighting is grayed out and below how my code looks right now.