Get Started with Python in Excel
Create a Loop over iterables
Get unique values
Show the Python Card
Python cell
View
Type =PY( or Ctrl+Alt+Shift+P
Lists, sets, series, DataFrames, E.g. From a series or from a list
Click [PY] or use Ctrl+Shift+F5
dictionaries, etc.
Control flow with conditional Group and summarize
Switch Python Output One-line pivot
logic
your data
mode
tables
Use standard if blocks or ternary Use Pandas DataFrame.groupby
Use drop-down or Ctrl+Alt+Shift+M
Use DataFrame.pivot or
operators
DataFrame.pivot_table
Show information about the Assign values to Define custom Get data with the
environment variable
functions
xl function
List the available libraries or details Use a single =
def functions and lambdas
Easily create Pandas DataFrames
about a specific library
Apply functions to a Python cells
DataFrame
x
In a Python in E cel workbook, Python For more information on
1 2
cells calculate in sheet order from left to
Python in Excel
right, then on each sheet in row-ma orj
order.
3 4 Visit Microsoft support and for more
information on the Anaconda package
Anaconda.
The cell calculations run across a row, and
repository visit
then across each following row down the
Row-by-row or column-by-column
worksheet
©2024 Anaconda Inc.
Task Recommended Libraries
Additional Python in Excel Resources:
Statistics statsmodels, spicy
Anaconda’s Get Started with Python in Excel Course
LinkedIn’s Python in Excel for Financial Professionals
Machine Learning scikit-learn, imbalanced-learn Microsoft’s Introduction to Python in Excel
NLP nltk, gensim Anaconda Learning Courses
Regression stasmodels, scikit-learn
Time Series Analysis statsmodels, pandas
For more resources, check out our Resource Guide
Regular Expressions regex, re(built-in)
Data Manipulation pandas, numpy
Image Processing Image pillow (PIL)
Data Visualization seaborn, matplotlib
Microsoft Support
Microsoft AppSource
Anaconda.com
Resource Guide
Create insightful visualizations with no code
Organize and share your Python code snippet
Discover Next Level Python in Excel Capabilities with Anaconda Toolbox for Excel
Anaconda Toolbox enables anyone, regardless of their Python experience level, to quickly generate code and visualizations in Microsoft Excel while
learning Python along the way. By using Anaconda Toolbox, Python in Excel users can take full advantage of all the capabilities Microsoft Excel and
Python have to offer. Plus, you can share data and collaborate with Python experts in Anaconda.cloud notebooks.
You can download the free add-in by visiting Microsoft AppSource.
©2024 Anaconda Inc.