Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Dec 7, 2024
1 parent bbc7228 commit 3b0c739
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions polars_xdt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
from ._internal import __version__

__all__ = [
"__version__",
"arg_previous_greater",
"ceil",
"day_name",
"date_range",
"day_name",
"format_localized",
"from_local_datetime",
"is_workday",
"month_delta",
"month_name",
"to_julian_date",
"to_local_datetime",
"month_delta",
"arg_previous_greater",
"__version__",
]
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ lint.select = [
]
lint.ignore = [
'A003',
'ANN101',
'ANN401',
'ARG002', # todo: enable
'ARG003', # todo: enable
Expand Down
1 change: 0 additions & 1 deletion src/arg_previous_greater.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use polars::prelude::*;


pub(crate) fn impl_arg_previous_greater<T>(ca: &ChunkedArray<T>) -> IdxCa
where
T: PolarsNumericType,
Expand Down
3 changes: 1 addition & 2 deletions src/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,10 @@ fn to_julian_date(inputs: &[Series]) -> PolarsResult<Series> {
impl_to_julian_date(s)
}


fn list_idx_dtype(input_fields: &[Field]) -> PolarsResult<Field> {
let field = Field::new(
input_fields[0].name.clone(),
DataType::List(Box::new(IDX_DTYPE))
DataType::List(Box::new(IDX_DTYPE)),
);
Ok(field.clone())
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mod month_delta;
mod timezone;
mod to_julian;

use pyo3::types::{PyModule};
use pyo3::types::PyModule;
use pyo3::{pymodule, Bound, PyResult};
use pyo3_polars::PolarsAllocator;

Expand Down

0 comments on commit 3b0c739

Please sign in to comment.