\brief Return whether the CSR indices are equal
| 293 | |
| 294 | /// \brief Return whether the CSR indices are equal |
| 295 | bool Equals(const SparseIndexType& other) const { |
| 296 | return indptr()->Equals(*other.indptr()) && indices()->Equals(*other.indices()); |
| 297 | } |
| 298 | |
| 299 | inline Status ValidateShape(const std::vector<int64_t>& shape) const override { |
| 300 | ARROW_RETURN_NOT_OK(SparseIndex::ValidateShape(shape)); |