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