Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skipmissing and mapslices #462

Open
Balinus opened this issue Oct 25, 2024 · 2 comments
Open

skipmissing and mapslices #462

Balinus opened this issue Oct 25, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@Balinus
Copy link
Contributor

Balinus commented Oct 25, 2024

Hello!

Is there an alternative syntax to use skipmissing using mapslices. Right now, the only syntax I have found in the documentation is

mapslices(mean ∘ skipmissing, a, dims="Ti")

Each time I need to use skipmissing, I have to go in the documentation to copy-paste the operator, because I don't know the shortcut for this symbol 😄

@lazarusA
Copy link
Collaborator

lazarusA commented Oct 25, 2024

\circ [tab]

😄

mapslices(x -> mean(skipmissing(x)), a, dims="Ti")

@lazarusA lazarusA added the documentation Improvements or additions to documentation label Oct 25, 2024
@Balinus
Copy link
Contributor Author

Balinus commented Oct 28, 2024

Thanks! 😄

(the \circ works well on the REPL, but not on VS Code).

edit - For VS Code, installing Fast Unicode Math Characters extension solved my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants