use crate::column::Column;
use crate::error::{CudfError, Result};
impl Column {
pub fn str_repeat(&self, count: i32) -> Result<Column> {
let result = cudf_cxx::strings::repeat::ffi::str_repeat(&self.inner, count)
.map_err(CudfError::from_cxx)?;
Ok(Column { inner: result })
}
pub fn str_repeat_per_row(&self, counts: &Column) -> Result<Column> {
let result = cudf_cxx::strings::repeat::ffi::str_repeat_per_row(&self.inner, &counts.inner)
.map_err(CudfError::from_cxx)?;
Ok(Column { inner: result })
}
}