Glossary: pandas Beyond the Basics
np.where
Also written: numpy where
A NumPy function that gives one value where a condition is true and another where it is false, for every row at once. It labels rows by a single rule.
Glossary: pandas Beyond the Basics
Also written: numpy where
A NumPy function that gives one value where a condition is true and another where it is false, for every row at once. It labels rows by a single rule.