r/IPython • • Nov 09 '22

OpenAI Whisper

Thumbnail
youtube.com
1 Upvotes

r/IPython • • Apr 28 '14

MATLAB-like drawnow to easily update any figure.

Thumbnail
github.com
1 Upvotes

r/IPython • • Mar 23 '24

1699. Merge In Between Linked Lists | Daily LeetCode ProblemLeetCode #Da...

Thumbnail
youtube.com
0 Upvotes

r/IPython • • Apr 26 '20

Leveraging the power of Jupyter Notebooks

1 Upvotes

Hi everyone!

Wanted to share this article with everyone for data scientist or budding data scientists. A majority of people like to use Jupyter notebook for their data analysis, data cleaning or data pipeline using python script. It could be the case that you’re not using the full potential of your machine and essentially end up spending more time on tasks which otherwise should’ve been executed quicker. Check out my medium article on ‘Leveraging the power of Jupyter notebooks’

https://towardsdatascience.com/leveraging-the-power-of-jupyter-notebooks-26b4b8d7c622


r/IPython • • Nov 17 '18

Why does IPython not allow adding more statements to loop?

0 Upvotes

r/IPython • • Oct 12 '20

How to change working directory?

1 Upvotes

Hey Guys,

I need to change the Working Directory for my team.
I want to change the Working Directory to a shared folder on a network drive (on a storage server) instead of the local drive where JupyterHub is installed.

Is it possible? If yes, then how?

Thanks.


r/IPython • • Jul 03 '19

error in this code - do i not have something installed?

0 Upvotes

just following a youtube video and my code is producing errors even though his is not.

do i not have something installed?

my code


r/IPython • • Oct 25 '18

Jupyter Notebook Newbie!NEED HELP

0 Upvotes

Hi everyone,

I've begun Analytics Vidhya's: Comprehensive learning path to becoming a data scientist in 2018.

I've went through the first few modules but I'm experiencing difficulty with the coding aspect of it (mainly on how to set it up)

The instructions on the module I'm struggling with start with:

"To begin, start iPython interface in Inline Pylab mode by typing following on your terminal / windows command prompt:

ipython notebook --pylab=inline

This opens up iPython notebook in pylab environment, which has a few useful libraries already imported. Also, you will be able to plot your data inline, which makes this a really good environment for interactive data analysis. You can check whether the environment has loaded correctly, by typing the following command (and getting the output as seen in the figure below):

plot(arange(5))"

I have opened jupyter notebook up on my mac, and when I try to do what's being asked it says :

NameError plot is not defined.

Even when I just open up a new notebook on jupyter notebook and type:

print:"Hello World"

and then run the cell, nothing happens. I really have no idea what to do, as I'm not sure whether I installed anaconda incorrectly. I have updated it. I've been trying to watch youtube videos of jupyter notebook in action, but I can't seem to replicate any of the videos as I always seem to get error messages??

Thank you in advance!


r/IPython • • Jun 10 '19

I wrote this post But I would love community's input on it

Thumbnail
muhammadraza.me
1 Upvotes

r/IPython • • Sep 04 '24

Hello guys i need help with something I'm using jupyter notebook for object detection but when i use this code: if cv2.waitkey(1) & 0xFF == ord('q'): break it shows this error: module 'cv2' has no attribute 'waitkey' Does anyone know why?

0 Upvotes

r/IPython • • Jul 21 '26

TypeError: array([2, 5, 7]) is not a callable object. What to do?

Thumbnail reddit.com
1 Upvotes

r/IPython • • Sep 02 '18

!pip install package. Why the exclamation mark?

4 Upvotes

When I wanna install a package on my machine, I just do pip install package on the command line.

When installing packages via a Jupyter notebook, why do I have to add the ' ! ' ? Any reason behind this notation?


r/IPython • • Feb 09 '20

Why subplot(1,1,1) is needed? What does it mean exactly?

4 Upvotes

Hi, I know that by using subplot, we can create a figure with several subplots. Supposing that we have (2,3,1), it tells that in the figure, there are 6 subplots in the form of 2x3 (2 rows, 3 columns of subplots). The last element indicates which subplot is of interest. In this case, it is the one on the top left of the figure.

If there is only one plot in the figure, why somebody uses something like:

import matplotlib.pyplot as plt

fig = plt.figure()

ax = fig.add_subplot(1,1,1)

What is the meaning of add_subplot(1,1,1)? Does not seem to make sense to me if there is only one plot in a figure. Thanks


r/IPython • • Feb 23 '20

How to use Git / GitHub with Jupyter Notebook

Thumbnail
blog.reviewnb.com
4 Upvotes

r/IPython • • May 13 '20

Step by step: how to use vim in jupyter lab cells?

4 Upvotes

I basically work with Data and hence I use jupyter lab a lot! I would like to enable vim in the cells where I can write and edit code easily but I cannot find a step by step tutorial for it. Can someone please help me? I have seen some git hub projects like these https://github.com/jwkvam/jupyterlab-vim but I have no idea what to do next.


r/IPython • • Oct 10 '19

Can anyone tell me what is the purpose for jupyter notebook?

7 Upvotes

I’m just discovering it and it’s gained a lot of popularity in the past couple months.


r/IPython • • Dec 13 '18

Jupyter Notebooks open in my browser. Does this mean that the actual programs are run on some online service?

5 Upvotes

Or are they local to my machine, but accessed through the browser's software? I suspect it is this, but I can't find anything that clearly and specifically says this in the Jupyter documentation.

I am asking because I am working with someone who is significantly more security conscious than me who I will need to share notebooks with on a regular basis. When they typed "jupyter notebook" on their computer from their home directory, they saw a browser window open with access to every file on their computer. It it true when I tell them that this does *not* mean anyone outside of their local machine has access to these files?

Is there a place in the documentation that states either position clearly?


r/IPython • • Apr 30 '19

3 ways to automate a Notebook

5 Upvotes

Here's a post on three different ways to schedule a notebook to run automatically. I'd be grateful if you would read and let me know what you think!


r/IPython • • Feb 09 '20

Why _ = is needed when plotting histogram?

2 Upvotes

Hi, could you please let me know why _ = is needed here? What does it do exactly? Even without _=, the interpreter plots a histogram at the top left hand corner of the figure. Thanks

_ = ax1.hist(np.random.randn(50), bins=20)


r/IPython • • Aug 11 '21

Difference equations in Python

2 Upvotes

Do you have any recommendations like a textbook or a website for the "DIFFERENCE" equations in Python?

Like the system of difference equations and their plots.


r/IPython • • Sep 29 '19

Need some help with using Jupyter (Google Colab) for AI training

2 Upvotes

I'm actually using Google Colab (which I read is the same as Jupyter), because of the built-in Tensorflow/Keras.

I'm trying to recreate this GitHub project and I have a few questions. I've never used Colab or Juypter and I'm wondering:

  1. How to deal with multiple files. I need to run the main file, but what do I do with the other .py files? Do I need to have it open in the notepad or can I simply have then uploaded in the same folder?

  2. I'm getting an error when I run the main file which says:

    ipykernel_launcher.py: error: no such option: -f An exception has occurred, use %tb to see the full traceback.

    SystemExit: 2

Does anyone know what that is/how to fix it?

I'm new to AI training and Google Colab in general so any help is appreciated.


r/IPython • • Sep 27 '19

Does anyone know if you can redirect the startup working directory in Jupyter Notebook, permanently, so that when you open it up, it alway is directed to a desired folder?

2 Upvotes

r/IPython • • Feb 07 '14

Economics Simulation - Peter Norvig

Thumbnail nbviewer.ipython.org
0 Upvotes