I would like to select next row when the condition is true.
In SQL, I would use:
FROM [dbo].[table1] where Num IN (select Num + 1 from table1$ where Status='start')
I would like to select next row when the condition is true.
In SQL, I would use:
FROM [dbo].[table1] where Num IN (select Num + 1 from table1$ where Status='start')
To select rows where Status
is equal to start
:
selected_rows = df[df['Status'] == 'start]