r/IPython • u/Zoomzoomies13579 • Mar 25 '22
r/IPython • u/rahul_ahuja • Oct 05 '20
Study group for Introduction to Statistical Learning (with R) by Gareth James
Introduction to Statistical Learning (with applications in R) by Gareth James
Study group Discord link: https://discord.gg/6qZxuHk
r/IPython • u/XanXtao • Jul 17 '20
New to IPYTHON can I use my own tools?
Hello,
I am new to IPYTHON but would like a little advice. I am doing a Machine learning course which is using Jupyter Notebooks.
While I think it is OK I would much prefer to use the tools I am currently using. Would it be possible to use Neovim or Spacemacs (Both of which I use) to work with my .ipynb files and achieve similar functionality?
What do you think?
r/IPython • u/kakibb • Jun 27 '16
What is wrong?
on terminal, it works good, but on ipython notebook it doesn't work.
sumoProcess = subprocess.Popen([sumoBinary, "-c", "data/cross.sumocfg", "--tripinfo-output","tripinfo.xml", "--remote-port", str(PORT)], stdout=sys.stdout, stderr=sys.stderr)
UnsupportedOperationTraceback (most recent call last)
<ipython-input-15-80cdeae4d531> in <module>()
----> 1 sumoProcess = subprocess.Popen([sumoBinary, "-c", "data/cross.sumocfg", "--tripinfo-output","tripinfo.xml", "--remote-port", str(PORT)], stdout=sys.stdout, stderr=sys.stderr)
/usr/lib/python2.7/subprocess.pyc in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags)
700 (p2cread, p2cwrite,
701 c2pread, c2pwrite,
--> 702 errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
703
704 try:
/usr/lib/python2.7/subprocess.pyc in _get_handles(self, stdin, stdout, stderr)
1126 else:
1127 # Assuming file-like object
-> 1128 c2pwrite = stdout.fileno()
1129
1130 if stderr is None:
/usr/local/lib/python2.7/dist-packages/ipykernel/iostream.pyc in fileno(self)
304
305 def fileno(self):
--> 306 raise UnsupportedOperation("IOStream has no fileno.")
307
308 def write(self, string):
UnsupportedOperation: IOStream has no fileno.Python 2.7.6
r/IPython • u/[deleted] • Oct 29 '18
[Beginner question] How to remove these "run cell" icons from every cell?
r/IPython • u/taemebal • May 05 '20
Hey I'm new to coding, can someone help me figure out how to just have my code keep repeating?
import time
starttime=time.time()
print ("tick")
mouse.position = (88, 54)
mouse.click(Button.left, 1)
time.sleep(10.0 - ((time.time() - starttime) % 60.0))
mouse.position = (898, 698)
mouse.click(Button.left, 1)
time.sleep(20.0 - ((time.time() - starttime) % 60.0))
mouse.position = (610, 461)
mouse.click(Button.left, 1)
time.sleep(200.0 - ((time.time() - starttime) % 60.0))
r/IPython • u/kiwi0fruit • Jul 06 '18
Jupyter notebooks as PDF, MS Word and others killer
r/IPython • u/snazrul • Jan 28 '16
My YouTube channel on Python tutorials (specialized in Data Science and GUI Development)
r/IPython • u/largelcd • Feb 15 '20
How does rank work?
Hi, I have a question about how rank works.
According to the documentation, "By default, equal values are assigned a rank that is the average of the ranks of those values." Sounds like chicken and the egg issue. How do, say two equal values, be assigned a rank that is the average of the ranks of these two values before they even got ranked? Considering Example 1. Could you please tell me how do those 6.5 and 4.5 values be calculated?
# Example 1
In [222]: num = pd.Series([7, -5 , 7, 4 ,2, 0, 4])
In [223]: num.rank()
Out[223]:
0 6.5
1 1.0
2 6.5
3 4.5
4 3.0
5 2.0
6 4.5
dtype: float64
r/IPython • u/FatherGoatHaveMercy • May 11 '19
this guy has a really good tutorial on youtube for beginners (like me)
for those just joining and want to learn, https://www.youtube.com/watch?v=Z1Yd7upQsXY&list=PLBZBJbE_rGRWeh5mIBhD-hhDwSEDxogDg 15 videos great content
r/IPython • u/ricwo • Sep 05 '21
Coding with plain language for data scientists
Hi, I’m one of the creators of Cogram. We’re trying to help data scientists code more intuitively using plain language. Here’s my cofounder using our Jupyter Notebook extension on a data science task, where he’s visualising the data and running a fit in two minutes: https://youtu.be/00higZ9xzOs
We’re looking for beta users right now. If you’re interested, you can sign up here to get notified about early access: https://cogram.ai. Any feedback or questions welcome!
r/IPython • u/kiwiheretic • Feb 08 '21
Ipython in the cloud?
Does anyone know of any ipython online websites that support sympy, scipy and matplotlib that can be used from tablet? I have found basic learn python websites but nothing advanced enough to what I want. Would even consider subscription service. Thanks.
r/IPython • u/WyattMWest • Jan 22 '25
Jypter Tries Opening in Photoshop instead of Browser
I am taking a Python class at my college, and as part of the class, we installed Anaconda and the Jypter Notebook to write our code in. Whenever I try to open Jypter Notebook, it opens up Photoshop on my laptop.
The TA for my class had me uninstall Photoshop, and it got Jypter Notebook to run. However, I need to keep Photoshop on my laptop for my internship, so I would prefer not to have to uninstall and re-install it.
Do y'all know a potential work around for this?
I appreciate any advice, thank you all.
Edit:
I just realized that i misspelled Juypter, my bad
r/IPython • u/ripogipo • May 17 '20
What does -h along with a command mean?
`!df -h`
What does the `-h` mean? I found that without `-h` the numbers are not rounded (I don't know the word to explain it).
with `-h`: `217G`
without `-h`: `227216692`
Normally argument `-h` is `--help`.
I was unable to even google this. How do I search it & what is it? Where is this output coming from? Bash or Python or ipython?
r/IPython • u/f1shstyxx • Jul 07 '24
My jupyter notebook doesn't have the "In" (function?)?
I have a 64-bit PC with Windows 10. I installed the latest Anaconda download. And when I try running Jupyter notebook, I don't have the "In" function to the left of the cell that allows me to execute code

Took this screenshot from a video

I tried asking ChatGPT why my Jupyter notebook doesn't have the "In" function, but none of its suggestions are fixing the problem
r/IPython • u/imseeingdouble • Sep 26 '20
update
noob question. just began getting into ipython. How does one update to a newer version from the terminal? Been looking around but couldn't find anything
r/IPython • u/largelcd • Feb 07 '20
Why iPython displays String Form
Hi, after typing b = [1, 2, 3] and then b?, iPython gives:
Type: list
String Form: [1, 2, 3]
Why [1, 2, 3] is called String Form given that it is a list?
r/IPython • u/ScoobyDoo_234567890 • Feb 26 '23
How To: Remove the Rows of one table from another
So pretty basic idea, I have two individual tables of data: the first one is my main table that has all values of my data and the second one is a much smaller table that is the first but with conditions imposed on it (same columns ofc just less rows). Now I need a third table that has all of the first minus all of the second. Is there any way possible that I could print out a third table that basically subtracts the rows of the second table from the first table?
r/IPython • u/[deleted] • Dec 03 '15
Has anyone else experienced problems with Jupyter since updating to Python 3.5?
r/IPython • u/1235813_Help • Jun 24 '13
KMeans in sklearn.
Those of you in Andrew Ng's Machine learning class may recognize this picture of a bird. I didn't write it but when I saw the color reduction, I thought I should post a link.
r/IPython • u/NomadNella • Jan 10 '14
