I have a data frame that contain lot of columns and lines, like this for example
Column1 Column2
5 T1
1 T2
1 T3
1 T1
2 T1
1 T1
2 T1
1 T1
I want to extract just lines that have the value 1 in column 1 and Value T1 in Column 2
So the result I want is
Column1 Column2
1 T1
1 T1
1 T1
Can you tell me please how I can do that
subset
function. Please google "filter data frame by column value" - much like writingfor
loops in basic programming languages, it is a basic operation that does not warrant creating new posts on forums. $\endgroup$