\brief Return whether the CSR indices are equal
| 299 | |
| 300 | /// \brief Return whether the CSR indices are equal |
| 301 | bool Equals(const SparseIndexType& other) const { |
| 302 | return indptr()->Equals(*other.indptr()) && indices()->Equals(*other.indices()); |
| 303 | } |
| 304 | |
| 305 | inline Status ValidateShape(const std::vector<int64_t>& shape) const override { |
| 306 | ARROW_RETURN_NOT_OK(SparseIndex::ValidateShape(shape)); |