Substring Filtering in Altair #2547
Unanswered
foufoulides
asked this question in
Q&A
Replies: 2 comments 8 replies
-
Try writing Sorry if it was my question/answer on stack overflow that led you down the wrong path! Will update it! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Can you please copy and paste code as text into your question rather than pasting a screenshot of code? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I need help with substring filtering in
transform_filter()
in an Altair chart.indexof()
function in expressionindexof(string, substring)>-1
(because it returns -1, when the substring is not found in the string) would do it, if I create a list of strings where each string is the concatenation of the locations in each comparable location group, with a dash separator.Thank you in advance,
Chris
Code copied from comment below
Beta Was this translation helpful? Give feedback.
All reactions