teucer

Results 37 comments of teucer

- **ipynb -> codebraid**: codebraid uses a special syntax e.g. `{.python .cb.run copy=part1+part2 session=copied show=code+stdout:raw example=true}`. One could use a pandox filter to do the conversion. The cell level meta...

The jupyter renderer is based on marked. It is somewhat "hard coded" and would be difficult to change. The issue is that MyST is not fully compatible with gfm. When...

Yes and no. It seems that there are 2 implementations now: one here and one in jupytext. And they both depend on sphinx. It would be ideal to have only...

One example would be the labels for equations, e.g.: ```markdown This is the best equation {eq}`eqn:best` ``` ideally you would like it to be rendered as a link, right now...

Regarding the comment about myst-parser, wouldn't it more advantageous to have a reference implementation with minimal dependencies that could be leveraged by anyone incl. jupytext? One of the reasons for...

@wch Could you please give a concrete implementation for > Another route you could take is to do self$fun

@wch this seems to be similar to first version. How is it different? I think it would advantageous to be able to memoise only once for the whole class (like...

Extracting factors/variables would be very useful for our use case. As said for prediction purposes we need to know them. Obviously they would be context dependent, but should be doable...

We want to be able to say `model_matrix(rhs)`. But this would add back the intercept for 2nd and 3rd cases. Maybe model_matrix should handle it: 1. y~x 2. ~x 3....

The issue is that in the current version ```python >>> model_matrix(f.rhs, pandas.DataFrame({"x": [1,2,3]})) # -> FormulaInvalidError >>> model_matrix("x", pandas.DataFrame({"x": [1,2,3]})) Intercept x 0 1.0 1 1 1.0 2 2 1.0...