As of 12th March 2024, the only libraries whose latest version requires Python version higher than 3.8 are: numpy, pandas and matplotlib. They all require Python 3.9. This cheatsheet covers pandas library version 2.0 or higher which was released on 3rd April 2023.
As of 12th March 2024, the only libraries whose latest version requires Python version higher than 3.8 are: numpy, pandas and matplotlib. They all require Python 3.9. This cheatsheet covers pandas library version 2.0 or higher which was released on 3rd April 2023.
</details><br>
</details><br>
<detailsopen><summary><strong>What is the best way to use it?</strong></summary><br>
I keep the text file open on separate desktop at all times. It is also in a different text editor than the one I usually use, so it's easier to switch to with <code>Ctrl+↹</code> / <code>⌘↹</code>. Cheatsheet consists of minimal text and short examples so things are easy to find with <code>Ctrl+F</code> / <code>⌘F</code>. If you're on the webpage, searching for <code>'#<name>'</code> will only search for the titles.<br><br>
I also keep the Python console open at all times to test little snippets of code, to check out the available functions of a module using code completion and above all, to use <code>help(<module/object/function/type/str>)</code> command. If something is still unclear, then I search the Python docs by googling <code>'python docs <module/function>'</code>.
<detailsopen><summary><strong>How to use it?</strong></summary><br>
This cheatsheet consists of minimal text and short examples so things are easy to find with <code>Ctrl+F</code> / <code>⌘F</code>. If you're on the webpage, searching for <code>'#<name>'</code> will only search for the titles. To get a link to a specific section click the grey hashtag next to the section's title before copying the address. To search for titles in the text editor use <code>^<name></code> with enabled regular expressions option.<br><br>
I also keep the Python console open at all times to test little snippets of code, to check out the available functions of a module using code completion and above all, to use <code>help(<module/object/function/type/str>)</code> command. If something is still unclear, then I search the Python docs by googling <code>'python docs <module/function>'</code>.<br><br>
Recently I started using the ptpython REPL (Python console). It supports multiline editing, syntax validation, IDE-like autocompletion and syntax highlighting. It can be installed with <code>pip3 install ptpython</code>.
</details><br>
</details><br>
<detailsopen><summary><strong>What does the '<type>' signify?</strong></summary><br>
<detailsopen><summary><strong>What does the '<type>' signify?</strong></summary><br>