MyToolBelt
Get MyToolBeltSupport
  • 👋Welcome to the MyToolBelt add-in
  • 💡FUNDAMENTALS
    • Download MyToolBelt
    • Getting Started
    • Support
    • Release Notes
    • Feature Request
  • ✨Features
    • Tickmarks
    • Custom Icons
    • AI Companion
    • Tabel of Contents
    • Adding pictures in comments
    • Tools for formatting your spreadsheet
      • Colored Box Highlights
      • Change color shades
      • Other formatting features
    • Python Integration
      • Convert an Excel ranges into Pandas DataFrames
      • Convert an Excel range into a Jupyter Notebooks
      • Create xlwings Python file
      • Run Python Files
  • 📚Guides
    • Feature Walkthrough
    • How to uninstall the add-in
    • How to update the add-in
    • How to remove a device from your license
  • 🛠️TROUBLESHOOTING
    • Add-In Not Visible in Excel Ribbon
    • Macros Disabled or Buttons Not Working
  • ⁉️FAQ
    • Can I upgrade to the PRO version after starting with the free version?
    • Is the AI feature included in the price?
    • How is my data handled when using the AI features?
    • Will MyToolBelt receive updates in the future?
    • How many computers can I use the PRO version on?
Powered by GitBook
On this page

Was this helpful?

  1. Features
  2. Python Integration

Convert an Excel range into a Jupyter Notebooks

Last updated 6 months ago

Was this helpful?

Use this feature to create a Jupyter notebook from your selected cell range. When you click the button, a notebook is generated in your workbook’s directory, containing the code to load the selected Excel range directly into a Pandas DataFrame. The code specifies the workbook path, sheet name, columns, and rows, as well as how many rows to skip or include.

There are also additional settings available (see image below):

  • Copy Python Code: Copy the generated Python code to your clipboard instead of creating a Jupyter notebook. Useful if you already have a Python file or Jupyter notebook.

  • Use Absolute Path: Choose to use an absolute file path instead of a relative one.

  • Ignore Row Parsing: This option is helpful if you expect new data to be added to your Excel file, as it will automatically expand to include the last row/cell.

  • Change DataFrame Name: Set a custom name for your DataFrame variable (default is "df").

DEMO VIDEO:

✨
Python Settings