zavtech / morpheus-core

The foundational library of the Morpheus data science framework
Apache License 2.0
238 stars 22 forks source link

Adds isEmpty method to DataFrame and DataFrameAxis interfaces #94

Closed manoelcampos closed 6 years ago

manoelcampos commented 6 years ago

Such interfaces have methods to count the number of elements, but to check if the object is empty one has to always use something like rowCount() == 0, colCount() == 0 or count() == 0.

An isEmpty() method will provide a standard, usual and convenient way to check if the object is empty.