PyXLL The Python Excel Add-In
  • Product
    • Features
    • Get Started
    • Request Demo
    • Download
  • Pricing
  • Resources
    • Documentation
    • Blog
    • Videos
    • FAQ
    • Learn Python
    • Customer Portal
    • About Us
  • Support
    • Documentation
    • Videos
    • FAQ
    • Contact Us
  • Contact Us
Table of Contents
  • PyXLL Documentation
  • Introduction to PyXLL
  • User Guide
    • Installing PyXLL
    • Configuring PyXLL
    • Worksheet Functions
      • Introduction
      • Argument and Return Types
      • Cached Objects
      • Array Functions
      • NumPy Array Types
      • Pandas Types
      • Polars DataFrames
      • Asynchronous Functions
      • Function Documentation
      • Variable and Keyword Arguments
      • Recalculating On Open
      • Recalculating On Reload
      • Interrupting Functions
    • Macro Functions
    • Real Time Data
    • Cell Formatting
    • Charts and Plotting
    • Custom Task Panes
    • ActiveX Controls
    • Using Pandas in Excel
    • Customizing the Ribbon
    • Context Menu Functions
    • Working with Tables
    • Python as a VBA Replacement
    • Menu Functions
    • Reloading and Rebinding
    • Error Handling
    • Deploying your add-in
    • Workbook Metadata
  • Video Guides and Tutorials
  • API Reference
  • What’s new in PyXLL 5
  • Changelog
Close

Worksheet Functions¶

  • Introduction
    • Writing an Excel Worksheet Function in Python
    • Configuring PyXLL with your Python Module
    • Calling your Python Function from Excel
    • Different Argument and Return Types
  • Argument and Return Types
    • Specifying the Argument and Return Types
      • @xl_func Function Signature
      • Python Type Hints
      • @xl_arg and @xl_return Decorators
      • Type Parameters
    • Standard Types
      • Array Types
      • The ‘var’ Type
      • Numpy Types
      • Pandas Types
      • Polars Types
      • Dictionary Types
      • Dataclass Types
      • Union Types
      • Optional Types
      • Function Type
      • Error Types
    • Using Python Objects Directly
    • Custom Types
    • Manual Type Conversion
  • Cached Objects
    • Example
    • Accessing Cached Objects in Macros
    • Populating the Cache On Loading
    • Saving Objects in the Workbook
    • Custom Object Handles
    • Mixing Primitive Values and Objects
    • Clearing the Cache on Reloading
  • Array Functions
    • Array Functions in Python
    • Array Types
    • Ctrl+Shift+Enter (CSE) Array Functions
    • Auto Resizing Array Functions
    • Dynamic Array Functions
  • NumPy Array Types
  • Pandas Types
    • Type Annotations
    • Type Parameters
  • Polars DataFrames
    • Type Annotations
    • Type Parameters
  • Asynchronous Functions
    • Asynchronous Worksheet Functions
    • The asyncio Event Loop
    • Before Python 3.5
  • Function Documentation
  • Variable and Keyword Arguments
    • Variable Arguments (*args)
    • Keyword Arguments (**kwargs)
  • Recalculating On Open
    • Use-Cases
    • Example
    • Default Behaviour
    • Disabling Completely
  • Recalculating On Reload
    • Example
    • Default Behaviour
    • Disabling Completely
  • Interrupting Functions
« Default Decorator Parameters
Introduction »
  • Home
  • Product
  • Features
  • Documentation
  • Download
  • Pricing
  • Support
  • Documentation
  • Videos
  • FAQ
  • Learn Python
  • Contact Us
  • About
  • About Us
  • Legal
  • Blog
© Copyright PyXLL Ltd