Telecharger Cours

Python for Data Analysis - CIn UFPE

To select all rows having a value exceeding 3 or -3, you can use the any method on a boolean DataFrame: In [175]: data[(np.abs(data) > 3).any(1)]. Out[175]:. 0.



Download