is_triangle
that takes a row of the DataFrame as input.is_triangle
function to each row of the DataFrame using the apply
method with axis=1
to operate row-wise.apply
method to a new column in the DataFrame named 'triangle'.erDiagram Triangle { int x int y int z x_y_z PK }