Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- Downloads
- Latex Maths Text in Excel
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Cubic Splines
- Filling Blanks with Go To-Special (and local help rant)
- Daily Download 4: Continuous Beam Analysis
- Retrieving unique values from a range or array ...
- Daily Download 3: ULS design of reinforced concrete sections
- Frame Analysis with Excel - 3, Continuous beam or frame
Recent Comments
Tag Archives: UDFs
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
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
py_xlCBA update
Following the previous post the py_xlCBA spreadsheet and associated code have been updated. The updated files, including open-source code, can be downloaded from: py_xlCBA.zip Note that the link in the previous post was downloading the wrong file, and has just … Continue reading