Never think of leaving YT. Very few can teach with so much efficiency. Even if someone has zero background he/she can understand what you've explained.
Thanks so much for the warm words! I'm not leaving TH-cam -- just working on a book proposal. As soon as that's done, lots more videos are on their way.
Thank you - I am 50 years old and I am taking Python and machine learning to expand my business career and move into future positions. I am having so much fun learning and you just made my day!!!
I'm delighted to hear it! I'm also 50, have been using Python for 30 years, and am still learning more about it every day. Python is a great skill to know for your carer -- keep it up!
huge thank you!!! i’m documenting code for the first time so i can hand it off to another team member and your video is exactly what i was looking for! you are very clear, succinct, and thorough
Thank you professor, I'm actually working on jupyter notebook and my supervisor told me to write my hole rapport by using jupyter notebook, so you did a great tutorial by showing us the basic things to how to start doing that!
Thank you Reuven! I am new to coding and was running into a FileNotFoundError and was feeling discouraged. I needed to learn how to format markdowns and came across your video. Great explanations and examples. I was able to duplicate, so it's a win for this morning.
Nice! You can also write beautiful math using the dollar sign between the equation. Ex: $ 3*x + 4 $ Use two dollar signs to center the equation. $$ 3*x + 4 $$
That's for LaTeX, right? I haven't ever used that, not being a math kind of guy, but it is very powerful, for sure! (And thanks for reminding me why $ messes with the formatting in Markdown...)
Thank you so much. Is it please possible to know how to export the markdown file ? I've already tried to do it but i instead get the code (without headlines, links or images )...
OMG, I thought that 'f' was a synthax error that was ignored by the python interpreter, but no, that is actually essential for the 'Hello, world' output o.O
Thanks so much for your kind words! My "secret" is that I teach nearly every day, 4-8 hours per day. Over time, you make lots of mistakes, and try to learn from them. I often make the analogy to stand-up comedians, who try their jokes again and again and again, until they become smooth and effective (i.e., funny). I teach the same courses many times, and thus learn (often the hard way!) what explanations do and don't work.
In is a list, and Out is a dict. They're global variables, which means that they're always available when you're in Jupyter. So you can just refer to them as In[n] or Out[n], where n is the index/key of the input/output you want to mention.
Glad you enjoyed it! The idea of "cells" that can contain either code or Markdown is special to Jupyter. So if you're using PyCharm's paid (professional) edition, then you can fire up a notebook and use Markdown there. But in a regular ol' PyCharm (or Python) file, you can't.
Hi! If I write a code cell, then a markdown cell and after this another code cell, is it possible to run both the code cell at the same time? (I also use Jupiter), thanks!
@@ReuvenLerner thanks a lot! And is it possible to write some python code in the same line and not like you did at min 6:45 where you write the code one line below? thank you!!
@@matteopiras483 In a Markdown cell, you need to indicate that something should be formatted as Python code. And then it's just text, not executable Python. Each cell is either Markdown or Python, but not both.
@@ReuvenLerner sorry, I mean when you wrote ```python code ``` Then it display the code in the markdown cell BUT it shows it below. Isn't it possible to see the code in the same line, like "hi that's the code ```python code```"? Thanks:)
Happy it's helpful! So far as I know, cells can either contain executable code or Markdown, but not both. So you'll have to choose which you want. That said, you can have Markdown cells just above and below your code cells, which is what I do.
What a great question! I didn't know, so I looked it up, and ... I have bad news: Markdown doesn't support color. So officially, and sticking only with Markdown, you don't have any options. However, if you're willing to get your hands dirty a bit, you can use "font" tags in HTML to set colors. See fix.code-error.com/how-to-change-color-in-markdown-cells-ipython-jupyter-notebook/ for a simple example.
@@ReuvenLerner Yeah I saw that answer before. But the thing is, I couldn't use the css styling ( ) for Jupyter. Using every-time is tiring. Besides, one cannot use # inside . I was wondering if there is any other way to pre-define the setting of headings and sub-headings. Thanks for your effort. :) Great summary video.
Markdown is an easy way to write HTML, not equations. And I don't know whether Word supports Markdown, but I'm guessing that it doesn't. You can look into LaTeX (which I have mostly forgotten) for equations in Jupyter.
Jupyter is just like any other Web page. So if you want to make things bigger or smaller, you can increase/decrease your browser's magnification level. I do this all the time with command-plus and command-minus on my Mac; other systems will be slightly different.
@@ReuvenLerner no no I want to know that like in HTML we can mention the width so can we do that here I know we can use HTML in jupyter but can we define the width ! [ ] (" " ) in this command??
@@namratasharma5081 From what I can tell, the answer is "no" -- Markdown is easy to write and read, and produces HTML, but it doesn't let you mess with the styles and other attributes. But here's the reference that I use, which I definitely haven't memorized: www.markdownguide.org/
@@harithm9219 I don't think you can. Maybe if you start to insert raw HTML and/or CSS, you can get that sort of thing to happen. But Markdown is supposed to be simple, and only provide a subset of everything HTML can do. I just skimmed through the Markdown docs (www.markdownguide.org/basic-syntax/) and didn't see anything, but maybe I'm missing something.
If you want to execute some Python code in a Jupyter cell and have it output as HTML... I'm not sure if that's possible, I'm afraid. The HTML output from Markdown is for us to type. I might be wrong, and will try to look into it, but I don't think so. (If someone reading this knows otherwise, let me know!)
@@ReuvenLerner Thanks for your reply, Sir, displaying python output in html is possible, I got the results too Since my output was a excel table, I got the output displayed jumbled 😞 in the html screen. Any suggestions to slove this? Kindly help ❤
@@vidyarajeshwarig.k8125 Python can produce HTML, for sure. But I don't know how Python code inside of a Jupyter notebook can produce HTML that's then displayed in the notebook.
Where I come from, calling someone a "hacker" is the biggest compliment you can give them - it means they're a virtuoso of programming, able to express themselves fluidly with code. Sadly, the term is now often used to mean "bad guys with code." I encourage everyone to learn and be fluent... but to use the technology for good, not evil!
This short video covers most of everything you need to know about Markdown in Jupyter notebook.
Thanks a lot !!!
I know Im quite off topic but does anyone know of a good website to watch new series online?
@Arjun Tyler Try FlixZone. Just search on google for it =)
Never think of leaving YT. Very few can teach with so much efficiency. Even if someone has zero background he/she can understand what you've explained.
Thanks so much for the warm words!
I'm not leaving TH-cam -- just working on a book proposal. As soon as that's done, lots more videos are on their way.
I agree. He is fantastic
Thank you - I am 50 years old and I am taking Python and machine learning to expand my business career and move into future positions. I am having so much fun learning and you just made my day!!!
I'm delighted to hear it! I'm also 50, have been using Python for 30 years, and am still learning more about it every day. Python is a great skill to know for your carer -- keep it up!
@@ReuvenLerner Me too, My age is 56. I'm studying Python for over 3 years in order to make use of my chemical engineering work.
The best 9 minutes I had EVER in learning any Markdowns. Awesome guide Mr. Lerner!
Amazing to hear; thanks!
huge thank you!!! i’m documenting code for the first time so i can hand it off to another team member and your video is exactly what i was looking for! you are very clear, succinct, and thorough
Thank you professor, I'm actually working on jupyter notebook and my supervisor told me to write my hole rapport by using jupyter notebook, so you did a great tutorial by showing us the basic things to how to start doing that!
This is fantastic and straightforward. Thank you very much!
My pleasure; delighted to hear it helped!
Thank you Reuven! I am new to coding and was running into a FileNotFoundError and was feeling discouraged. I needed to learn how to format markdowns and came across your video. Great explanations and examples. I was able to duplicate, so it's a win for this morning.
Thank you! You are so well spoken and have a great energy about you; I appreciate you!
Great video, explaining the difference between markdown and code
Awesome explanation in very short duration.
Haha, love how passionate you are about Python! :D Thanks for the video, this is exactly what I need for documenting my data science project.
Excellent, I'm glad that it helped! And yeah, I really do enjoy my work...
Thanks so much for this sharing. It's just clear and short which let me know the most parts that I will use a lot within a short time!!
Excellent! Thanks for letting me know.
THANK YOU SO MUCH I WAS SO CONFUSED BC I WASN'T PRESSING SPACE AFTER THE "#" THANK YOUUUUUUUUUUU
I'm delighted to know it helped!
OMG!! You type like a robot. Very impressive. And thanks this is very helpful.
Nice! You can also write beautiful math using the dollar sign between the equation. Ex: $ 3*x + 4 $
Use two dollar signs to center the equation. $$ 3*x + 4 $$
That's for LaTeX, right? I haven't ever used that, not being a math kind of guy, but it is very powerful, for sure! (And thanks for reminding me why $ messes with the formatting in Markdown...)
@@ReuvenLerner yes, LaTeX :)
Very concise and to the point.Thanks
Just what im looking for!
Thanks a lot, greetings from Argentina
Thank you so much. Is it please possible to know how to export the markdown file ? I've already tried to do it but i instead get the code (without headlines, links or images )...
This is very clear and super helpful! Thank you!
thank you mate, I am currently learning Python in Jupyter notbook
My pleasure -- notebooks are great, and keep up the learning of Python!
OMG, I thought that 'f' was a synthax error that was ignored by the python interpreter, but no, that is actually essential for the 'Hello, world' output o.O
It was Helpful. Thanks a lot man!!!
Thank you for this!
Good work.
Thank you so much
My pleasure! Thanks for letting me know.
Thanks for this
Glad it helped!
Excellent teaching skills Reuven. How did you develop this amazing teaching and programming skills?
Thanks so much for your kind words!
My "secret" is that I teach nearly every day, 4-8 hours per day. Over time, you make lots of mistakes, and try to learn from them. I often make the analogy to stand-up comedians, who try their jokes again and again and again, until they become smooth and effective (i.e., funny). I teach the same courses many times, and thus learn (often the hard way!) what explanations do and don't work.
thank you mr reuven great video!!
Glad it helped!
How do you get in and out to show in the cell?
In is a list, and Out is a dict. They're global variables, which means that they're always available when you're in Jupyter. So you can just refer to them as In[n] or Out[n], where n is the index/key of the input/output you want to mention.
Its awesomely helpful! I'm wondering if theres something similar in Pycharm though... Thx
Glad you enjoyed it! The idea of "cells" that can contain either code or Markdown is special to Jupyter. So if you're using PyCharm's paid (professional) edition, then you can fire up a notebook and use Markdown there. But in a regular ol' PyCharm (or Python) file, you can't.
This is Great sir. Thank you very much!!!
Glad it was helpful!
Awesome encouraging video thanks!
Glad you liked it!
That's very helpful.Thanks a lot
Really good you are sir..
Thanks for the kind words!
Hi! If I write a code cell, then a markdown cell and after this another code cell, is it possible to run both the code cell at the same time? (I also use Jupiter), thanks!
Yup, try the "run all below" option in the "cell" menu!
@@ReuvenLerner thanks a lot! And is it possible to write some python code in the same line and not like you did at min 6:45 where you write the code one line below? thank you!!
@@matteopiras483 In a Markdown cell, you need to indicate that something should be formatted as Python code. And then it's just text, not executable Python. Each cell is either Markdown or Python, but not both.
@@ReuvenLerner sorry, I mean when you wrote
```python
code
```
Then it display the code in the markdown cell BUT it shows it below. Isn't it possible to see the code in the same line, like
"hi that's the code ```python code```"?
Thanks:)
@@matteopiras483 Not as far as I know, but someone who knows Markdown better than I do might know of a hack to pull that off!
Thank You! It helped me a lot.
very nice video
Thank you. It is very Usefull!
I'm delighted to hear it!
Thank you. Very helpful... And also, can we use even functions of python in a markdown cell?
Happy it's helpful!
So far as I know, cells can either contain executable code or Markdown, but not both. So you'll have to choose which you want. That said, you can have Markdown cells just above and below your code cells, which is what I do.
How to change the color of the headings and sub-headings?
What a great question! I didn't know, so I looked it up, and ... I have bad news: Markdown doesn't support color. So officially, and sticking only with Markdown, you don't have any options.
However, if you're willing to get your hands dirty a bit, you can use "font" tags in HTML to set colors. See fix.code-error.com/how-to-change-color-in-markdown-cells-ipython-jupyter-notebook/ for a simple example.
@@ReuvenLerner Yeah I saw that answer before. But the thing is, I couldn't use the css styling ( ) for Jupyter. Using every-time is tiring. Besides, one cannot use # inside . I was wondering if there is any other way to pre-define the setting of headings and sub-headings. Thanks for your effort. :)
Great summary video.
Thanks for the video...could you please tell me how to do the same with hotkeys...i mean to switch to markdown and back to code.
How about this: th-cam.com/video/FW2BF6jbHBk/w-d-xo.html
@@ReuvenLerner Guess what? I'm watching it right now...before you sent the link...thanks.
Really helpful sir. thankyou.
Thank you sir!
How to use markdown to write complex math equations
Can I put markdown into Microsoft Words
Markdown is an easy way to write HTML, not equations. And I don't know whether Word supports Markdown, but I'm guessing that it doesn't. You can look into LaTeX (which I have mostly forgotten) for equations in Jupyter.
Amazing work,, keep it coming :)
Very helpful!
Awesome, thanks
Brilliant! Thank you!!
Hey, I really want to know that how can we adjust the size of the image here in the jupyter notebook??? please reply!!
Jupyter is just like any other Web page. So if you want to make things bigger or smaller, you can increase/decrease your browser's magnification level. I do this all the time with command-plus and command-minus on my Mac; other systems will be slightly different.
@@ReuvenLerner no no I want to know that like in HTML we can mention the width so can we do that here I know we can use HTML in jupyter but can we define the width ! [ ] (" " ) in this command??
@@namratasharma5081 From what I can tell, the answer is "no" -- Markdown is easy to write and read, and produces HTML, but it doesn't let you mess with the styles and other attributes. But here's the reference that I use, which I definitely haven't memorized: www.markdownguide.org/
@@ReuvenLerner Okay thank you soo much for replying and helping me 😊
great job!!! thanks a lot!
Hi, tq for the video. Can you explain how to align text in markdown?
What do you mean by "align text"?
@@ReuvenLerner align the text to center, right instead of left
@@harithm9219 I don't think you can. Maybe if you start to insert raw HTML and/or CSS, you can get that sort of thing to happen. But Markdown is supposed to be simple, and only provide a subset of everything HTML can do. I just skimmed through the Markdown docs (www.markdownguide.org/basic-syntax/) and didn't see anything, but maybe I'm missing something.
@@ReuvenLerner I see. Ok thank you 👍
"Don't use this function at any of these places, it would be a little weird"
Wait, I shouldn't say HELLO at parties, weddings, or dance festivals?
Saying it is fine! (Assuming that there's no pandemic, etc.) But calling a function at such places might make you seem a bit creepy... :-)
@@ReuvenLerner This is a fantastic tutorial by the way. Some of the best explained on TH-cam
Thanks 🙏
Thanks
thank you , i like it.
Nicely done. Thanks.
Thank you and bravo
Glad it helped!
is it in or Ln for line 1?
The inputs are stored in a list called In (capital I, lowercase n). I'm not sure if that's what you're asking, though...
great sir.
@@AshrafulAlam-ms4gf glad you enjoyed it!
tysm
My pleasure!
Hi sir, how to display the output of python code in html? Please help
If you want to execute some Python code in a Jupyter cell and have it output as HTML... I'm not sure if that's possible, I'm afraid. The HTML output from Markdown is for us to type. I might be wrong, and will try to look into it, but I don't think so. (If someone reading this knows otherwise, let me know!)
@@ReuvenLerner Thanks for your reply,
Sir, displaying python output in html is possible, I got the results too
Since my output was a excel table, I got the output displayed jumbled 😞 in the html screen. Any suggestions to slove this? Kindly help ❤
@@vidyarajeshwarig.k8125 Python can produce HTML, for sure. But I don't know how Python code inside of a Jupyter notebook can produce HTML that's then displayed in the notebook.
Thank you!!!!!!!!!!!
Glad it helped!
Kept using # with words without space. I thought something is wrong with my pc.
how do you type so fast😀
Lots of practice -- it's all thanks to my parents, who forced me to learn to touch type when I was in high school. It's totally worth learning!
nice
Thanks -- glad you enjoyed it!
Thank u
My pleasure!
How many of you thinking about become hacker?
Where I come from, calling someone a "hacker" is the biggest compliment you can give them - it means they're a virtuoso of programming, able to express themselves fluidly with code. Sadly, the term is now often used to mean "bad guys with code."
I encourage everyone to learn and be fluent... but to use the technology for good, not evil!
it is painful to watch you type with backspaces and corrections
Sorry it's not your style.