Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- Cubic Splines
- DigitGraph Spreadsheet and WebPlot Digitiser
- About Newton Excel Bach
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Numerical Integration With Tanh-Sinh Quadrature v 5.0
- Deflections and Moments in Rectangular Plates
- Using RC Design Functions 4 - Umom and new MaxAx function
- XLDennis, the MSDN Library, and VBA rant
- Frame Analysis with Excel - 3, Continuous beam or frame
Recent Comments
Tag Archives: PyXLL
Passing 3D arrays to Excel with Python and pyxll
The previous post looked at options for displaying 1D or 2D arrays in Excel. This post will look at passing 3D arrays from Python to Excel as a cache object, using pyxll, and how to extract selected data from the … Continue reading
Posted in Arrays, Excel, Link to Python, Newton, PyXLL, UDFs
Tagged array functions, dynamic arrays, Excel, PyXLL, pyxll cache object, UDFs
Leave a comment
Dynamic array update and the @ operator
Many of the user defined functions (UDF’s) presented in this blog return an array rather than a single value. Options for displaying arrays in Excel have changed significantly in recent years and this post looks at the most efficient ways … Continue reading
Posted in Arrays, Excel, Link to Python, PyXLL, UDFs, VBA
Tagged @ operator, array functions, CSE array functions, dynamic arrays, Excel, Implicit Intersection Operator, PyXLL, UDFs, VBA
1 Comment
Monte Carlo simulation with Excel and Python
The pyxll blog has a post from last year on Monte Carlo Simulations in Excel with Python, with examples and full code going from the simplest implementation to more refined code allowing all the calculations to be set up on … Continue reading
Scipy-statistics with all distributions
Following the previous post the Scipy statistics functions have been updated to include all the distributions, including the discrete distributions. The input to the distribution functions has also been updated to allow arrays to be transferred either as Excel ranges … Continue reading
Posted in Arrays, Excel, Link to Python, Maths, Newton, NumPy and SciPy, PyXLL, UDFs
Tagged Alternative data types, Distribution functions, Excel, Numpy, Python, PyXLL, pyxll get_type_converter, pyxll Union, SciPy, Scipy stats, statistics, UDFs
Leave a comment
Transferring different data types to/from Python with pyxll
When a user defined function (UDF) is created in Excel with Python and pyxll the data type of each argument can be specified, either in the @xl_func decorator, or with a separate @xl_arg decorator for each argument. I prefer the … Continue reading
Posted in Arrays, Excel, Link to Python, Newton, NumPy and SciPy, PyXLL, UDFs
Tagged Alternative data types, Excel, Numpy, Python, PyXLL, pyxll get_type_converter, pyxll Union, SciPy, Scipy stats, UDFs
1 Comment