Using Markdown in Jupyter

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 132

  • @nguyenson1177
    @nguyenson1177 4 ปีที่แล้ว +14

    This short video covers most of everything you need to know about Markdown in Jupyter notebook.
    Thanks a lot !!!

    • @arjuntyler1317
      @arjuntyler1317 3 ปีที่แล้ว

      I know Im quite off topic but does anyone know of a good website to watch new series online?

    • @daxvictor7526
      @daxvictor7526 3 ปีที่แล้ว

      @Arjun Tyler Try FlixZone. Just search on google for it =)

  • @warhammer_music
    @warhammer_music 3 ปีที่แล้ว +20

    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.

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว +2

      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.

    • @nelsondelarosa5490
      @nelsondelarosa5490 ปีที่แล้ว +1

      I agree. He is fantastic

  • @MrDavidaslv
    @MrDavidaslv 3 ปีที่แล้ว +5

    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!!!

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว +1

      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!

    • @sungdongkwon6986
      @sungdongkwon6986 ปีที่แล้ว +1

      @@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.

  • @charlesfu8627
    @charlesfu8627 2 ปีที่แล้ว +2

    The best 9 minutes I had EVER in learning any Markdowns. Awesome guide Mr. Lerner!

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว

      Amazing to hear; thanks!

  • @hannahtracy9292
    @hannahtracy9292 4 ปีที่แล้ว +5

    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

  • @azzouguenachour909
    @azzouguenachour909 3 ปีที่แล้ว +1

    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!

  • @tsetsanakhobotlo4823
    @tsetsanakhobotlo4823 8 หลายเดือนก่อน +1

    This is fantastic and straightforward. Thank you very much!

    • @ReuvenLerner
      @ReuvenLerner  8 หลายเดือนก่อน +1

      My pleasure; delighted to hear it helped!

  • @jeffreyholland8538
    @jeffreyholland8538 3 ปีที่แล้ว +1

    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.

  • @ranger133XX
    @ranger133XX 3 ปีที่แล้ว +1

    Thank you! You are so well spoken and have a great energy about you; I appreciate you!

  • @user-hu7ov6fi9y
    @user-hu7ov6fi9y 3 ปีที่แล้ว +1

    Great video, explaining the difference between markdown and code

  • @vibhourjain
    @vibhourjain 2 ปีที่แล้ว +1

    Awesome explanation in very short duration.

  • @dogs4ever1000
    @dogs4ever1000 ปีที่แล้ว +1

    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.

    • @ReuvenLerner
      @ReuvenLerner  ปีที่แล้ว

      Excellent, I'm glad that it helped! And yeah, I really do enjoy my work...

  • @leonzhu6982
    @leonzhu6982 2 ปีที่แล้ว +1

    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!!

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว

      Excellent! Thanks for letting me know.

  • @johancuellar9101
    @johancuellar9101 2 ปีที่แล้ว +1

    THANK YOU SO MUCH I WAS SO CONFUSED BC I WASN'T PRESSING SPACE AFTER THE "#" THANK YOUUUUUUUUUUU

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว

      I'm delighted to know it helped!

  • @sanjuktasamom3923
    @sanjuktasamom3923 3 ปีที่แล้ว +1

    OMG!! You type like a robot. Very impressive. And thanks this is very helpful.

  • @simenandreasknudsen9272
    @simenandreasknudsen9272 ปีที่แล้ว

    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 $$

    • @ReuvenLerner
      @ReuvenLerner  ปีที่แล้ว

      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...)

    • @simenandreasknudsen9272
      @simenandreasknudsen9272 ปีที่แล้ว

      @@ReuvenLerner yes, LaTeX :)

  • @cloudwithfarooq8083
    @cloudwithfarooq8083 4 ปีที่แล้ว +1

    Very concise and to the point.Thanks

  • @IgnacioLedesmaPlus
    @IgnacioLedesmaPlus 3 ปีที่แล้ว

    Just what im looking for!
    Thanks a lot, greetings from Argentina

  • @hazi09
    @hazi09 10 หลายเดือนก่อน +1

    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 )...

  • @janesun8885
    @janesun8885 4 ปีที่แล้ว +1

    This is very clear and super helpful! Thank you!

  • @bisyrim1030
    @bisyrim1030 11 หลายเดือนก่อน +1

    thank you mate, I am currently learning Python in Jupyter notbook

    • @ReuvenLerner
      @ReuvenLerner  11 หลายเดือนก่อน

      My pleasure -- notebooks are great, and keep up the learning of Python!

  • @homejonny9326
    @homejonny9326 3 ปีที่แล้ว +1

    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

  • @rajatsiddamal
    @rajatsiddamal 4 ปีที่แล้ว +2

    It was Helpful. Thanks a lot man!!!

  • @Vintagetube310
    @Vintagetube310 2 ปีที่แล้ว +1

    Thank you for this!

  • @johngates2602
    @johngates2602 2 ปีที่แล้ว +1

    Good work.

  • @motivational_gamer
    @motivational_gamer 5 หลายเดือนก่อน +1

    Thank you so much

    • @ReuvenLerner
      @ReuvenLerner  5 หลายเดือนก่อน

      My pleasure! Thanks for letting me know.

  • @ThereIsPowerInTheBloodOfJesus7
    @ThereIsPowerInTheBloodOfJesus7 ปีที่แล้ว +1

    Thanks for this

  • @teklehaimanotaman3150
    @teklehaimanotaman3150 3 ปีที่แล้ว +1

    Excellent teaching skills Reuven. How did you develop this amazing teaching and programming skills?

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว +1

      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.

  • @tim-duncan2137
    @tim-duncan2137 11 หลายเดือนก่อน +1

    thank you mr reuven great video!!

    • @ReuvenLerner
      @ReuvenLerner  11 หลายเดือนก่อน

      Glad it helped!

  • @birdvsbird6280
    @birdvsbird6280 8 หลายเดือนก่อน +1

    How do you get in and out to show in the cell?

    • @ReuvenLerner
      @ReuvenLerner  8 หลายเดือนก่อน

      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.

  • @daklina
    @daklina 7 หลายเดือนก่อน +1

    Its awesomely helpful! I'm wondering if theres something similar in Pycharm though... Thx

    • @ReuvenLerner
      @ReuvenLerner  7 หลายเดือนก่อน

      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.

  • @tokhenz
    @tokhenz ปีที่แล้ว +1

    This is Great sir. Thank you very much!!!

  • @thegiantpaperpanda
    @thegiantpaperpanda ปีที่แล้ว +1

    Awesome encouraging video thanks!

  • @jayanth6492
    @jayanth6492 4 ปีที่แล้ว +1

    That's very helpful.Thanks a lot

  • @MsVishnu1234
    @MsVishnu1234 2 ปีที่แล้ว +1

    Really good you are sir..

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว

      Thanks for the kind words!

  • @matteopiras483
    @matteopiras483 ปีที่แล้ว +1

    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
      @ReuvenLerner  ปีที่แล้ว

      Yup, try the "run all below" option in the "cell" menu!

    • @matteopiras483
      @matteopiras483 ปีที่แล้ว +1

      @@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!!

    • @ReuvenLerner
      @ReuvenLerner  ปีที่แล้ว

      @@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.

    • @matteopiras483
      @matteopiras483 ปีที่แล้ว +1

      @@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:)

    • @ReuvenLerner
      @ReuvenLerner  ปีที่แล้ว

      @@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!

  • @kennethvaldeztamon7600
    @kennethvaldeztamon7600 4 ปีที่แล้ว +1

    Thank You! It helped me a lot.

  • @amit12000
    @amit12000 2 ปีที่แล้ว +1

    very nice video

  • @vishvamurthy8089
    @vishvamurthy8089 3 ปีที่แล้ว +1

    Thank you. It is very Usefull!

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว +1

      I'm delighted to hear it!

  • @vcstudios2974
    @vcstudios2974 2 ปีที่แล้ว +1

    Thank you. Very helpful... And also, can we use even functions of python in a markdown cell?

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว

      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.

  • @reemashrestha9718
    @reemashrestha9718 3 ปีที่แล้ว +1

    How to change the color of the headings and sub-headings?

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว +1

      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.

    • @reemashrestha9718
      @reemashrestha9718 3 ปีที่แล้ว +1

      @@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.

  • @salahkebi05
    @salahkebi05 2 ปีที่แล้ว +1

    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.

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว +1

      How about this: th-cam.com/video/FW2BF6jbHBk/w-d-xo.html

    • @salahkebi05
      @salahkebi05 2 ปีที่แล้ว +1

      @@ReuvenLerner Guess what? I'm watching it right now...before you sent the link...thanks.

  • @bhuvanesharulraj6264
    @bhuvanesharulraj6264 4 ปีที่แล้ว +1

    Really helpful sir. thankyou.

  • @gangadharpandey3455
    @gangadharpandey3455 2 ปีที่แล้ว +1

    Thank you sir!

  • @chenwu9788
    @chenwu9788 2 ปีที่แล้ว +1

    How to use markdown to write complex math equations
    Can I put markdown into Microsoft Words

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว

      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.

  • @talal-az
    @talal-az 3 ปีที่แล้ว +1

    Amazing work,, keep it coming :)

  • @RonaldModesitt
    @RonaldModesitt 3 ปีที่แล้ว +1

    Very helpful!

  • @jessicabrock3220
    @jessicabrock3220 3 ปีที่แล้ว +1

    Awesome, thanks

  • @vivianezago
    @vivianezago 4 ปีที่แล้ว +1

    Brilliant! Thank you!!

  • @namratasharma5081
    @namratasharma5081 3 ปีที่แล้ว +1

    Hey, I really want to know that how can we adjust the size of the image here in the jupyter notebook??? please reply!!

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว

      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.

    • @namratasharma5081
      @namratasharma5081 3 ปีที่แล้ว +1

      @@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??

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว +1

      @@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/

    • @namratasharma5081
      @namratasharma5081 3 ปีที่แล้ว +1

      @@ReuvenLerner Okay thank you soo much for replying and helping me 😊

  • @julia3798
    @julia3798 4 ปีที่แล้ว +1

    great job!!! thanks a lot!

  • @harithm9219
    @harithm9219 3 ปีที่แล้ว +1

    Hi, tq for the video. Can you explain how to align text in markdown?

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว

      What do you mean by "align text"?

    • @harithm9219
      @harithm9219 3 ปีที่แล้ว +1

      @@ReuvenLerner align the text to center, right instead of left

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว

      @@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.

    • @harithm9219
      @harithm9219 3 ปีที่แล้ว +1

      @@ReuvenLerner I see. Ok thank you 👍

  • @simulatrix
    @simulatrix 4 ปีที่แล้ว +2

    "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?

    • @ReuvenLerner
      @ReuvenLerner  4 ปีที่แล้ว +1

      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... :-)

    • @simulatrix
      @simulatrix 4 ปีที่แล้ว +1

      @@ReuvenLerner This is a fantastic tutorial by the way. Some of the best explained on TH-cam

  • @apitelrgramapitry7609
    @apitelrgramapitry7609 2 ปีที่แล้ว +1

    Thanks 🙏

  • @gustavoadolfofeliztavarez5015
    @gustavoadolfofeliztavarez5015 3 ปีที่แล้ว +1

    Thanks

  • @yeechang7
    @yeechang7 3 ปีที่แล้ว +1

    thank you , i like it.

  • @NOLAMarathon2010
    @NOLAMarathon2010 3 ปีที่แล้ว

    Nicely done. Thanks.

  • @rbrtsparkman
    @rbrtsparkman ปีที่แล้ว +1

    Thank you and bravo

  • @jessemutiga6055
    @jessemutiga6055 2 ปีที่แล้ว +1

    is it in or Ln for line 1?

    • @ReuvenLerner
      @ReuvenLerner  2 ปีที่แล้ว

      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...

  • @AshrafulAlam-ms4gf
    @AshrafulAlam-ms4gf 4 หลายเดือนก่อน +1

    great sir.

    • @ReuvenLerner
      @ReuvenLerner  4 หลายเดือนก่อน

      @@AshrafulAlam-ms4gf glad you enjoyed it!

  • @narangfamily7668
    @narangfamily7668 ปีที่แล้ว +1

    tysm

  • @vidyarajeshwarig.k8125
    @vidyarajeshwarig.k8125 3 ปีที่แล้ว

    Hi sir, how to display the output of python code in html? Please help

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว

      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!)

    • @vidyarajeshwarig.k8125
      @vidyarajeshwarig.k8125 3 ปีที่แล้ว

      @@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 ❤

    • @ReuvenLerner
      @ReuvenLerner  3 ปีที่แล้ว

      @@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.

  • @kmh9817
    @kmh9817 7 หลายเดือนก่อน +1

    Thank you!!!!!!!!!!!

    • @ReuvenLerner
      @ReuvenLerner  7 หลายเดือนก่อน

      Glad it helped!

    • @kmh9817
      @kmh9817 7 หลายเดือนก่อน

      Kept using # with words without space. I thought something is wrong with my pc.

  • @zedcodinacademibychinvia9481
    @zedcodinacademibychinvia9481 ปีที่แล้ว +1

    how do you type so fast😀

    • @ReuvenLerner
      @ReuvenLerner  ปีที่แล้ว

      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!

  • @tachl7et538
    @tachl7et538 ปีที่แล้ว +1

    nice

    • @ReuvenLerner
      @ReuvenLerner  ปีที่แล้ว

      Thanks -- glad you enjoyed it!

  • @Nancivlog
    @Nancivlog 3 ปีที่แล้ว

    Thank u

  • @gauravkumargupta996
    @gauravkumargupta996 4 ปีที่แล้ว

    How many of you thinking about become hacker?

    • @ReuvenLerner
      @ReuvenLerner  4 ปีที่แล้ว

      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!

  • @ChenBen-y6n
    @ChenBen-y6n ปีที่แล้ว +1

    it is painful to watch you type with backspaces and corrections

    • @ReuvenLerner
      @ReuvenLerner  ปีที่แล้ว +1

      Sorry it's not your style.