free-programming-books/more/free-programming-cheatsheets-AIML.md
2024-10-04 01:24:05 +05:30

4.7 KiB

ML-Machine-Learning

Pandas Logo

GitHub Repo 🍭 ML 🍭 🐥 Pandas 🐥 numPy
WebSite => 🍭 ML 🍭 🐥 Pandas 🐥 numPy

ml

ml

Jupyter Notebook // JupyterLab // .ipynb

Command Mode Shortcuts (press Esc to activate)

  • A: Insert cell above
  • B: Insert cell below
  • D, D (press D twice): Delete selected cell
  • Y: Change cell to code mode
  • M: Change cell to markdown mode
  • Shift + Arrow: Select multiple cells
  • Shift + M: Merge selected cells
  • Ctrl + Enter: Run selected cell
  • Shift + Enter: Run cell and select below
  • Alt + Enter: Run cell and insert new cell below

Edit Mode Shortcuts (press Enter to activate)

  • Ctrl + /: Comment/uncomment selected lines
  • Tab: Code completion or indent
  • Shift + Tab: Tooltip (for function arguments)
  • Ctrl + Shift + -: Split cell at cursor
  • Ctrl + Shift + P: Command palette (access to all commands)

Navigation Shortcuts (in both modes)

  • Up Arrow / Down Arrow: Move up/down one cell
  • Ctrl + Home: Go to first cell
  • Ctrl + End: Go to last cell
  • Ctrl + G: Go to specific cell by number
  • Shift + L: Toggle line numbers

Other Useful Shortcuts

  • Esc + F: Find and replace
  • Esc + O: Toggle cell output
  • Esc + H: Show keyboard shortcuts help dialog
  • Esc + I, I: Interrupt kernel
  • Esc + 0, 0: Restart kernel
  • Ctrl + Shift + Enter:Run All Cells

Pandas

Downlod Pythin

Run Command Prompt as Administrator:

  • Right-click on the Command Prompt icon in the Start menu.
  • Select "Run as administrator".
  • Confirm the User Account Control prompt if prompted.
!pip install pandas
!pip install jupyter
# If you want to install matplotlib as well, uncomment the line below
# !pip install matplotlib

!jupyter notebook --version

jupyter notebook

Screenshot (38)

Screenshot (39)

import numpy as np
import matplotlib.pyplot as plt

# Data for plotting
t = np.arange(0.0, 2.0, 0.01)
s = 1 + np.sin(2 * np.pi * t)

fig, ax = plt.subplots()
ax.plot(t, s)

ax.set(xlabel='time (s)', ylabel='voltage (mV)',
       title='About as simple as it gets, folks')
ax.grid()

plt.show()

png

more about pamdas

numPy

documentation

pip install numpy
python.exe -m pip install --upgrade pip

pip install jupyter
python 10h => 🍭 SourceCode 🍭 🐥 Notes 10h 🐥 complete Notes
7296

body {
            zoom: 100%; /* Default zoom level */
        }

<script>
        function isPC() {
            return !/Mobi|Android/i.test(navigator.userAgent);
        }

        function setZoom() {
            if (isPC()) {
                document.body.style.zoom = "150%";
            }
        }

        window.onload = setZoom;
    </script>



7522

<div style="text-align: right;">
        <img src="pandas/img/Python-Pandas-logo.png" alt="Pandas Logo" width="300" />
        <div style="font-size: 10px; margin-top: -10px; margin-bottom: 15px;">by Akashdip Mahapatra</div>
    </div>