unmix_func
An example function to provide a list of lists
Args:
- x:
a 1-dimensional list object
Returns:
a list of lists (suitable for PyXLL)
Raises:
“empty” if function fails
- jupytext:
{"formats": "md:myst", "text_representation": {"extension": ".md", "format_name": "myst"}}
- kernelspec:
{"display_name": "Python 3", "language": "python", "name": "python3"}
from random import random
@xl_func("object x: var")
def unmix_func(x):
"""Return a list of lists
Args:
x: a 1-dimensional list object
Returns:
a list of lists (suitable for PyXLL)
Raises:
"empty" if function fails
"""
try:
return [[e] for e in x]
except:
return 'empty'
This is an example of inline text featuring a sparkline wave, , emphasized text.
This is an example of inline text featuring a sparkline wave, , italics text.
Model Results
In the 50,000 experiments of 10 coin tosses each, exactly 5 heads occurred times.

16
List 0 0.192206 1 0.197810 2 0.283948 3 0.611066 4 0.512147 5 0.786452 6 0.874998 7 0.292821 8 0.637193 9 0.552829
name |
insert |
item |
||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
exact number of tosses |
1 |
|||||||||||||||||||||||
table of result |
2 |
|||||||||||||||||||||||
a simple variable |
|
3 |
||||||||||||||||||||||
an entire dataframe |
|
4 |
Link to my non-Sphinx Plotly HTML file
1 NOT BAD
2 GOOD
To get to my standalone, non-generated Plotly HTML file, just (click here BEST)
3 EXCELLENT
Embedded .png image
