Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-ops/Cargo.toml
6939 views
1
[package]
2
name = "polars-ops"
3
version = { workspace = true }
4
authors = { workspace = true }
5
edition = { workspace = true }
6
homepage = { workspace = true }
7
license = { workspace = true }
8
repository = { workspace = true }
9
description = "More operations on Polars data structures"
10
11
[dependencies]
12
polars-compute = { workspace = true }
13
polars-core = { workspace = true, features = ["algorithm_group_by", "zip_with"] }
14
polars-error = { workspace = true }
15
polars-json = { workspace = true, optional = true }
16
polars-schema = { workspace = true }
17
polars-utils = { workspace = true }
18
19
aho-corasick = { workspace = true, optional = true }
20
argminmax = { version = "0.6.3", default-features = false, features = ["float"] }
21
arrow = { workspace = true }
22
base64 = { workspace = true, optional = true }
23
bytemuck = { workspace = true }
24
chrono = { workspace = true, optional = true }
25
chrono-tz = { workspace = true, optional = true }
26
either = { workspace = true }
27
hashbrown = { workspace = true }
28
hex = { workspace = true, optional = true }
29
indexmap = { workspace = true }
30
libm = { workspace = true }
31
memchr = { workspace = true }
32
num-traits = { workspace = true }
33
rand = { workspace = true, optional = true, features = ["small_rng", "std"] }
34
rand_distr = { workspace = true, optional = true }
35
rayon = { workspace = true }
36
regex = { workspace = true }
37
regex-syntax = { workspace = true }
38
schemars = { workspace = true, optional = true }
39
serde = { workspace = true, optional = true }
40
serde_json = { workspace = true, optional = true }
41
strum_macros = { workspace = true }
42
unicode-normalization = { workspace = true, optional = true }
43
unicode-reverse = { workspace = true, optional = true }
44
45
[dependencies.jsonpath_lib]
46
package = "jsonpath_lib_polars_vendor"
47
optional = true
48
version = "0.0.1"
49
50
[dev-dependencies]
51
rand = { workspace = true, features = ["small_rng"] }
52
53
[build-dependencies]
54
version_check = { workspace = true }
55
56
[features]
57
simd = ["argminmax/nightly_simd"]
58
nightly = ["polars-utils/nightly"]
59
dtype-categorical = ["polars-core/dtype-categorical"]
60
dtype-date = ["polars-core/dtype-date", "polars-core/temporal"]
61
dtype-datetime = ["polars-core/dtype-datetime", "polars-core/temporal"]
62
dtype-time = ["polars-core/dtype-time", "polars-core/temporal"]
63
dtype-duration = ["polars-core/dtype-duration", "polars-core/temporal"]
64
dtype-struct = ["polars-core/dtype-struct", "polars-core/temporal"]
65
dtype-u8 = ["polars-core/dtype-u8"]
66
dtype-u16 = ["polars-core/dtype-u16"]
67
dtype-i8 = ["polars-core/dtype-i8"]
68
dtype-i128 = ["polars-core/dtype-i128"]
69
dtype-i16 = ["polars-core/dtype-i16"]
70
dtype-array = ["polars-core/dtype-array"]
71
dtype-decimal = ["polars-core/dtype-decimal", "dtype-i128"]
72
object = ["polars-core/object"]
73
propagate_nans = []
74
performant = ["polars-core/performant", "fused"]
75
big_idx = ["polars-core/bigidx"]
76
round_series = []
77
is_first_distinct = []
78
is_last_distinct = []
79
is_unique = []
80
unique_counts = []
81
is_between = []
82
is_close = []
83
approx_unique = []
84
business = ["dtype-date", "chrono"]
85
fused = []
86
cutqcut = ["dtype-categorical", "dtype-struct"]
87
rle = ["dtype-struct"]
88
timezones = ["chrono", "chrono-tz", "polars-core/temporal", "polars-core/timezones", "polars-core/dtype-datetime"]
89
random = ["rand", "rand_distr"]
90
rank = ["rand"]
91
find_many = ["aho-corasick"]
92
serde = ["dep:serde", "polars-core/serde", "polars-utils/serde", "polars-schema/serde", "polars-compute/serde"]
93
dsl-schema = [
94
"dep:schemars",
95
"polars-core/dsl-schema",
96
"polars-utils/dsl-schema",
97
"polars-schema/dsl-schema",
98
"polars-compute/dsl-schema",
99
]
100
101
# extra utilities for BinaryChunked
102
binary_encoding = ["base64", "hex"]
103
string_encoding = ["base64", "hex"]
104
105
# ops
106
bitwise = ["polars-core/bitwise"]
107
to_dummies = []
108
interpolate = []
109
interpolate_by = []
110
list_to_struct = ["polars-core/dtype-struct"]
111
array_to_struct = ["polars-core/dtype-array", "polars-core/dtype-struct"]
112
list_count = []
113
diff = []
114
pct_change = ["diff"]
115
strings = ["polars-core/strings"]
116
string_pad = ["polars-core/strings"]
117
string_normalize = ["polars-core/strings", "unicode-normalization"]
118
string_reverse = ["polars-core/strings", "unicode-reverse"]
119
string_to_integer = ["polars-core/strings"]
120
extract_jsonpath = ["serde_json", "jsonpath_lib", "polars-json"]
121
log = []
122
hash = []
123
reinterpret = ["polars-core/reinterpret"]
124
rolling_window = ["polars-core/rolling_window"]
125
rolling_window_by = ["polars-core/rolling_window_by"]
126
moment = []
127
mode = []
128
index_of = []
129
search_sorted = []
130
merge_sorted = []
131
top_k = []
132
pivot = ["polars-core/reinterpret", "polars-core/dtype-struct"]
133
cross_join = []
134
chunked_ids = []
135
asof_join = []
136
iejoin = []
137
semi_anti_join = []
138
array_any_all = ["dtype-array"]
139
array_count = ["dtype-array"]
140
list_filter = []
141
list_gather = []
142
list_sets = []
143
list_any_all = []
144
list_drop_nulls = []
145
list_sample = ["polars-core/random"]
146
extract_groups = ["dtype-struct", "polars-core/regex"]
147
is_in = ["polars-core/reinterpret"]
148
hist = ["dtype-categorical", "dtype-struct"]
149
repeat_by = []
150
peaks = []
151
cum_agg = []
152
ewma = []
153
ewma_by = []
154
abs = []
155
cov = []
156
gather = []
157
replace = ["is_in"]
158
allow_unused = []
159
160
[lints]
161
workspace = true
162
163