Julia Programming Language
Boolean false filter in update selection query
General Usage
question
,
dataframes
danielw2904
September 7, 2020, 3:24pm
5
For the negation you can use
df[(df.country .== "A") .& (df.bool .!= true), :value] = 1
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Boolean Indexing in dataframes
Data
question
,
dataframes
3
630
December 14, 2023
Indexing a DataFrame with a boolean DataFrame
Data
dataframes
3
1234
June 21, 2022
Compound dataframe filtering with negated boolean expression
General Usage
question
,
dataframes
5
633
July 29, 2022
How to drop NA values with Query.jl?
Data
data
,
query
2
1007
November 21, 2017
Multiple conditions on a dataframe
General Usage
2
3065
June 20, 2017