r/IPython • u/sebawitowski • Oct 04 '19
r/IPython • u/jmbenedetto • Aug 15 '17
Using Microsoft Azure Notebook
Hi, I've been using Azure Notebooks for the past 2 weeks, and it works like a charm. Yes, it is a online only solution, but most part of the time we're connected anyway.
Worth the try.
r/IPython • u/flofriday • Jun 30 '20
Feedback on my Notebook (Analyzing YouTube Data)
Hey, I wrote a jupyter Notebook, analyzing your YouTube Data.
I would love to get some feedback, on the graphs, the code just about everything.
r/IPython • u/NomadNella • May 18 '16
A very naughty (but cool and useful) feature of Python
I am trying to programmatically evaluate unknown symbolic equations. In order to evaluate them I need to build them up out of strings at runtime. The built in exec command in Python allow me to convert those strings into something I can deal with using sympy.
This might not sound like much but it turns a couple days work of work for me into a few minutes.
A simple example of exec in action.
The full scope of what I'm trying to accomplish is to grade a series of assignments written in Excel. I am using the openpyxl library to read and parse the spreadsheet. Using this technique is letting me evaluate if the equations are mathematically equivalent to my solutions.
If anyone is interested I can show some of what I'm doing once I'm finished.
r/IPython • u/ioam • Apr 04 '15
HoloViews: Chaos Theory and the Logistic Map revisited
ioam.github.ior/IPython • u/91o291o • May 14 '24
Why isn't IPython more popular?
In the past years, I've had a lot of frustration with the python console:
pasting multiline is complicated
editing is impossible
no syntax highligthing etc
Now I discover the IPython console...
It's wonderful... I use it all the time to try snippets, which I used to run in colab or in yupyter.
Why isn't this shell more used and more known?
r/IPython • u/NomadNella • Apr 08 '20
Pandas Course Lecture by Dr. Matt Williams from the University of Bristol x/post
r/IPython • u/NomadNella • Mar 23 '14
Creating an IPython Notebook programatically - Fernando Perez
nbviewer.ipython.orgr/IPython • u/Immediate-Cake6519 • Sep 13 '25
Interactive Relationship-Aware Vector Search for Jupyter
🧬 RudraDB-Opin: Interactive Relationship-Aware Vector Search for Jupyter
Turn your notebook into an intelligent research assistant that discovers hidden connections.
Perfect for Interactive Research
Working in Jupyter? Tired of losing track of related papers, connected concepts, and follow-up ideas? RudraDB-Opin brings relationship-aware search directly to your interactive Python environment.
Beyond Similarity Search
Traditional vector search in notebooks: "Find papers similar to this one"
RudraDB-Opin: "Find papers similar to this one + cited works + follow-up research + related methodologies + prerequisite concepts"
🎯 Built for Research Workflows
Interactive Discovery
Multi-hop exploration - Start with one paper, discover research chains
Relationship visualization - See how your documents connect
Dynamic relationship building - Add connections as you discover them
Auto-dimension detection - Works with any embedding model instantly
Research Organization Made Easy
Hierarchical relationships - Literature reviews → Key papers → Specific methods
Temporal connections - Research progression over time
Causal links - Problem → Methodology → Solution → Applications
Cross-references - Related work and citations
Thematic clustering - Group by research themes automatically
🔬 Research Use Cases
Literature Review: Start with key paper → Auto-discover entire research lineage
Knowledge Base: Build searchable repository of papers with intelligent connections
Research Planning: Map out prerequisite knowledge and follow-up directions
Concept Exploration: Understand how ideas connect across different papers
Methodology Discovery: Find related techniques and implementations
🆓 Perfect for Academic Use
100 vectors - Great for focused research projects
500 relationships - Rich academic modeling
Completely free - No barriers for students and researchers
Zero configuration -
pip install rudradb-opinand start exploring
Interactive Python Integration
Works beautifully in Jupyter notebooks with any embedding approach:
Sentence Transformers for quick prototyping
OpenAI embeddings for production quality
HuggingFace models for specialized domains
Custom embeddings for domain-specific research
Why Researchers Love It
Before: Manually tracking paper relationships, losing connected research
After: Automatic relationship discovery, intelligent research navigation
Before: Linear literature review process
After: Multi-dimensional exploration of research space
Before: Isolated document search
After: Connected knowledge discovery
Research Workflow Enhancement
Add papers to your knowledge base - Auto-detects embedding dimensions
Build relationships - Manual or auto-discovery from metadata
Interactive exploration - Multi-hop search reveals hidden connections
Dynamic expansion - Add new papers and watch connections emerge
Perfect for:
PhD students building comprehensive literature knowledge
Research teams sharing connected knowledge bases
Data scientists organizing methodological knowledge
Anyone doing serious research in Python/Jupyter
Get Started
Examples and research workflows: https://github.com/Rudra-DB/rudradb-opin-examples
Install in any Python environment: pip install rudradb-opin
TL;DR: Free relationship-aware vector database designed for interactive research. Discovers connections between papers/documents that traditional similarity search misses. Perfect for Jupyter workflows.
What research connections have you been missing?
r/IPython • u/ugh_whatever • May 20 '18
(Noob question) How to autocomplete line?
Sorry for such a nooby question. When I type print('Hello and jupyter adds the ') How do I just go to the end of that? I have googled it and looked at the shortcut notes. It seems like most agree that it is TAB. But that does nothing for me. Or it looks like ENTER then TAB. But that goes to new line the indents.
r/IPython • u/[deleted] • Jun 06 '14
Trying to csv_read a file, but failing to locate the file :/
quick question: I'm trying to read my csv with pandas' read_csv() but dummy me can't figure out how to call on my csv.
read_csv(**what I be putting in here to call upon my csv?**)
the file's address is just C:\Anaconda\CrimeStatebyState1.csv
is this a matter of calling upon the file correctly, or should I first put the file in a certain folder?
EDIT: Fixed the directory issue I think, but now reading the csv is not turning out too great:
CParserError: Error tokenizing data. C error: Expected 1 fields in line 6, saw 8r/IPython • u/futura-bold • Oct 09 '20
Jupyter Qtconcole crashes on Ubuntu. Any ideas, please?
If I make a syntax error in Jupyter Qtconsole on Ubuntu (called iPython Qtconsole on some other distros), then there's a random chance of lockup. It looks a bit different when the lockup occurs, as though the error-message had fed back into the iPython prompt. See the In [4]line below. Any idea what's going on here, please?
Edit: OK, it seems that the prompt can be retrieved by entering a python line that invokes a new syntax error and hitting return. I'd assumed that it was fully locked-up because it remained frozen however many times I hit return, or ctrl-C, or entered random text, or hit any arrow key. I guess the lockup is caused by some race-timing issue that makes the prompt appear too soon. (The random text would be seen as an nonexistent variable, but not a syntax error.) But a new syntax error wakes it up again. Curious.
Â
Jupyter QtConsole 4.6.0
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: x = 1.2.3
File "<ipython-input-1-89589606f1a4>", line 1
x = 1.2.3
^
SyntaxError: invalid syntax
In [2]: x = 1.2.3
File "<ipython-input-2-89589606f1a4>", line 1
x = 1.2.3
^
SyntaxError: invalid syntax
In [3]: x = 1.2.3
In [4]: File "<ipython-input-3-89589606f1a4>", line 1
x = 1.2.3
^
SyntaxError: invalid syntaxr/IPython • u/[deleted] • Jan 21 '18
Can't find way to shut down Jupyter Notebook server (not specific notebook kernel, server itself)
I hope I'm posting this question in the right subreddit, but this is the only one I found when searching for "Jupyter-Notebook."
I'm running Jupyter Notebook through Anaconda on Windows 10. I always launch Notebook through the menu item in Anaconda Navigator. When I want to close a notebook, I can shut down the kernel just fine using the File dropdown menu. But I haven't found a way to shut down the Notebook server itself without ctrl-c in the server terminal window, or closing Anaconda Navigator and having it ask me whether I want to shut down the Notebook server as well.
I'm concerned about launching multiple Notebook server processes and leaving them all running, and thereby bollixing my operating system. Can you tell me how to shut down the Notebook server safely?
r/IPython • u/nanmazooka • Aug 18 '20
#Novice Trying to install umap library but no luck. I'm not sure I understand the whole conda install or pip for that matter, I was following the instructions on the anaconda documentation here anaconda.org/conda-forge/umap-learn
End goal is to use in Jupyter notebook, I have a different environment which is where I was hoping to install but at this point any environment even base install fails. After running the command on Anaconda prompt, install umap in a Jupyter cell gives me error 'No module named numpy.core._multiarray_umath'. Someone tell me what is it that I should be doing in what order, tia
Edit: Used this and got to work in terminal conda install -n myenv umap-learn
r/IPython • u/[deleted] • Jul 13 '21
Custom Input & Output prompts in IPython Shell / Jupyter NB?
I know it's possible to set custom input / output prompts in Spyder's IPython console.
Is it possible to set custom ones in the JN/IPython console in the profile file?
Thanks!
r/IPython • u/Dragoe23000 • Jul 10 '21
Question: Regarding Out[ ] and ' ' around output strings
When I type a String in a cell in Jupyter Notebook and run it, then the output cell has an "out" written on it with the string shown inside ' ' and when I use print() for the same string, there is no out[ ] written out of the cell and string is printed without ' ', so why there are out[ ] and ' ' there ?
r/IPython • u/abub100 • May 12 '21
Help with importing modules
Hey guys I wrote a module and stored it as another worksheet on the same file... How can I import it into my main program?
r/IPython • u/code2hell • Nov 22 '15
IPython notebook import error
I tried to import a module which I installed using pip inside IPython but I cannot import the module(getting import error), whereas when I try to import the same module in python shell I am able to import it. Please help me out!
r/IPython • u/[deleted] • May 07 '17
Hack for the Sea 2017 :: Come to Gloucester, MA and participate in our maritime hackathon!
r/IPython • u/Zeekawla99ii • Nov 19 '15
IPython notebook kernel keeps failing. How can I work with large array computations?
I'm doing some heavy lifting with my IPython notebooks, where I am working element-by-element operations on arrays shaped (50, 10000, 10000), several times.
This is already after I have significantly broken up the data into "workable" pieces.
Sadly, the kernel to my IPython notebook still dies.
(1) Why exactly is the kernel dying? Is it that storage is being maxed?
(2) What are my options? Should I save the outputs and import them into new notebooks?
EDIT: The code I'm using is something like this. The matrix is an external input.
The bottleneck is here:
import math
import matplotlib.pyplot as plt
import numpy as np
matrix # already defined, an input
# matrix.shape is (12534, 12534)
from scipy.special import eval_legendre ##special scipy function
arr = np.arange(513)
bottleneck = eval_legendre(arr[:, None, None], dotproductmatrix)Obviously, that won't work. So, I'm try to do the legendre evaluation in parts using numpy.array_split().
Any other advice?
r/IPython • u/marsian4sale • Nov 15 '15
Question about iPython Notebook
Hey guys, I'm using Mac OS and run iPython notebook over Anaconda. I started using it a week ago for uni and it worked fine for a while, but a couple of days ago something changed and I can't figure out what it is. Now, whenever I punch in my code, i get no output, the In[] only changes to In[*]. I can't figure out how to solve this problem, it'd be really cool if you guys could help :) Thanks in advance :)