@@ -11,28 +11,30 @@ class Series private (private[polars] val ptr: Long) {
11
11
12
12
object Series {
13
13
14
- /** Initialize new series by name and values of type [[Int ]].
14
+ /** Initialize new series by name and values of type [[scala. Int ]].
15
15
*
16
16
* @param name
17
17
* Name of Series
18
18
* @param values
19
19
* Values of Series as a scala or java array
20
20
*
21
21
* @return
22
- * Series of type [[Int ]]. If `values` is empty, empty series is returned retaining type.
22
+ * Series of type [[scala.Int ]]. If `values` is empty, empty series is returned retaining
23
+ * type.
23
24
*/
24
25
def ofInt (name : String , values : Array [Int ]): Series =
25
26
Series .withPtr(series.new_int_series(name, values))
26
27
27
- /** Initialize new series by name and values of type [[Int ]].
28
+ /** Initialize new series by name and values of type [[scala. Int ]].
28
29
*
29
30
* @param name
30
31
* Name of Series
31
32
* @param values
32
33
* Values of Series as a scala iterable
33
34
*
34
35
* @return
35
- * Series of type [[Int ]]. If `values` is empty, empty series is returned retaining type.
36
+ * Series of type [[scala.Int ]]. If `values` is empty, empty series is returned retaining
37
+ * type.
36
38
*/
37
39
def ofInt (name : String , values : Iterable [Int ]): Series = Series .ofInt(name, values.toArray)
38
40
@@ -64,28 +66,30 @@ object Series {
64
66
def ofInt (name : String , values : java.lang.Iterable [java.lang.Integer ]): Series =
65
67
Series .ofInt(name, values.asScala.toArray)
66
68
67
- /** Initialize new series by name and values of type [[Long ]].
69
+ /** Initialize new series by name and values of type [[scala. Long ]].
68
70
*
69
71
* @param name
70
72
* Name of Series
71
73
* @param values
72
74
* Values of Series as a scala or java array
73
75
*
74
76
* @return
75
- * Series of type [[Long ]]. If `values` is empty, empty series is returned retaining type.
77
+ * Series of type [[scala.Long ]]. If `values` is empty, empty series is returned retaining
78
+ * type.
76
79
*/
77
80
def ofLong (name : String , values : Array [Long ]): Series =
78
81
Series .withPtr(series.new_long_series(name, values))
79
82
80
- /** Initialize new series by name and values of type [[Long ]].
83
+ /** Initialize new series by name and values of type [[scala. Long ]].
81
84
*
82
85
* @param name
83
86
* Name of Series
84
87
* @param values
85
88
* Values of Series as a scala iterable
86
89
*
87
90
* @return
88
- * Series of type [[Long ]]. If `values` is empty, empty series is returned retaining type.
91
+ * Series of type [[scala.Long ]]. If `values` is empty, empty series is returned retaining
92
+ * type.
89
93
*/
90
94
def ofLong (name : String , values : Iterable [Long ]): Series = Series .ofLong(name, values.toArray)
91
95
@@ -117,28 +121,30 @@ object Series {
117
121
def ofLong (name : String , values : java.lang.Iterable [java.lang.Long ]): Series =
118
122
Series .ofLong(name, values.asScala.toArray)
119
123
120
- /** Initialize new series by name and values of type [[Float ]].
124
+ /** Initialize new series by name and values of type [[scala. Float ]].
121
125
*
122
126
* @param name
123
127
* Name of Series
124
128
* @param values
125
129
* Values of Series as a scala or java array
126
130
*
127
131
* @return
128
- * Series of type [[Float ]]. If `values` is empty, empty series is returned retaining type.
132
+ * Series of type [[scala.Float ]]. If `values` is empty, empty series is returned retaining
133
+ * type.
129
134
*/
130
135
def ofFloat (name : String , values : Array [Float ]): Series =
131
136
Series .withPtr(series.new_float_series(name, values))
132
137
133
- /** Initialize new series by name and values of type [[Float ]].
138
+ /** Initialize new series by name and values of type [[scala. Float ]].
134
139
*
135
140
* @param name
136
141
* Name of Series
137
142
* @param values
138
143
* Values of Series as a scala iterable
139
144
*
140
145
* @return
141
- * Series of type [[Float ]]. If `values` is empty, empty series is returned retaining type.
146
+ * Series of type [[scala.Float ]]. If `values` is empty, empty series is returned retaining
147
+ * type.
142
148
*/
143
149
def ofFloat (name : String , values : Iterable [Float ]): Series =
144
150
Series .ofFloat(name, values.toArray)
@@ -171,28 +177,30 @@ object Series {
171
177
def ofFloat (name : String , values : java.lang.Iterable [java.lang.Float ]): Series =
172
178
Series .ofFloat(name, values.asScala.toArray)
173
179
174
- /** Initialize new series by name and values of type [[Double ]].
180
+ /** Initialize new series by name and values of type [[scala. Double ]].
175
181
*
176
182
* @param name
177
183
* Name of Series
178
184
* @param values
179
185
* Values of Series as a scala or java array
180
186
*
181
187
* @return
182
- * Series of type [[Double ]]. If `values` is empty, empty series is returned retaining type.
188
+ * Series of type [[scala.Double ]]. If `values` is empty, empty series is returned retaining
189
+ * type.
183
190
*/
184
191
def ofDouble (name : String , values : Array [Double ]): Series =
185
192
Series .withPtr(series.new_double_series(name, values))
186
193
187
- /** Initialize new series by name and values of type [[Double ]].
194
+ /** Initialize new series by name and values of type [[scala. Double ]].
188
195
*
189
196
* @param name
190
197
* Name of Series
191
198
* @param values
192
199
* Values of Series as a scala iterable
193
200
*
194
201
* @return
195
- * Series of type [[Double ]]. If `values` is empty, empty series is returned retaining type.
202
+ * Series of type [[scala.Double ]]. If `values` is empty, empty series is returned retaining
203
+ * type.
196
204
*/
197
205
def ofDouble (name : String , values : Iterable [Double ]): Series =
198
206
Series .ofDouble(name, values.toArray)
@@ -225,28 +233,30 @@ object Series {
225
233
def ofDouble (name : String , values : java.lang.Iterable [java.lang.Double ]): Series =
226
234
Series .ofDouble(name, values.asScala.toArray)
227
235
228
- /** Initialize new series by name and values of type [[Boolean ]].
236
+ /** Initialize new series by name and values of type [[scala. Boolean ]].
229
237
*
230
238
* @param name
231
239
* Name of Series
232
240
* @param values
233
241
* Values of Series as a scala or java array
234
242
*
235
243
* @return
236
- * Series of type [[Boolean ]]. If `values` is empty, empty series is returned retaining type.
244
+ * Series of type [[scala.Boolean ]]. If `values` is empty, empty series is returned retaining
245
+ * type.
237
246
*/
238
247
def ofBoolean (name : String , values : Array [Boolean ]): Series =
239
248
Series .withPtr(series.new_boolean_series(name, values))
240
249
241
- /** Initialize new series by name and values of type [[Boolean ]].
250
+ /** Initialize new series by name and values of type [[scala. Boolean ]].
242
251
*
243
252
* @param name
244
253
* Name of Series
245
254
* @param values
246
255
* Values of Series as a scala iterable
247
256
*
248
257
* @return
249
- * Series of type [[Boolean ]]. If `values` is empty, empty series is returned retaining type.
258
+ * Series of type [[scala.Boolean ]]. If `values` is empty, empty series is returned retaining
259
+ * type.
250
260
*/
251
261
def ofBoolean (name : String , values : Iterable [Boolean ]): Series =
252
262
Series .ofBoolean(name, values.toArray)
@@ -279,28 +289,30 @@ object Series {
279
289
def ofBoolean (name : String , values : java.lang.Iterable [java.lang.Boolean ]): Series =
280
290
Series .ofBoolean(name, values.asScala.toArray)
281
291
282
- /** Initialize new series by name and values of type [[String ]].
292
+ /** Initialize new series by name and values of type [[java.lang. String ]].
283
293
*
284
294
* @param name
285
295
* Name of Series
286
296
* @param values
287
297
* Values of Series as a scala or java array
288
298
*
289
299
* @return
290
- * Series of type [[String ]]. If `values` is empty, empty series is returned retaining type.
300
+ * Series of type [[java.lang.String ]]. If `values` is empty, empty series is returned
301
+ * retaining type.
291
302
*/
292
303
def ofString (name : String , values : Array [String ]): Series =
293
304
Series .withPtr(series.new_str_series(name, values))
294
305
295
- /** Initialize new series by name and values of type [[String ]].
306
+ /** Initialize new series by name and values of type [[java.lang. String ]].
296
307
*
297
308
* @param name
298
309
* Name of Series
299
310
* @param values
300
311
* Values of Series as a scala iterable
301
312
*
302
313
* @return
303
- * Series of type [[String ]]. If `values` is empty, empty series is returned retaining type.
314
+ * Series of type [[java.lang.String ]]. If `values` is empty, empty series is returned
315
+ * retaining type.
304
316
*/
305
317
def ofString (name : String , values : Iterable [String ]): Series =
306
318
Series .ofString(name, values.toArray)
@@ -452,17 +464,17 @@ object Series {
452
464
def ofSeries (name : String , values : java.lang.Iterable [Series ]): Series =
453
465
Series .ofSeries(name, values.asScala.toArray)
454
466
455
- /** Initialize new nested series by name and values of provided type [[ T ]] .
467
+ /** Initialize new nested series by name and values of provided type.
456
468
*
457
469
* @param name
458
470
* Name of Series
459
471
* @param values
460
472
* Values of Series as a scala or java array
461
473
*
462
474
* @return
463
- * Nested Series of provided type [[ T ]] . If `values` is empty, empty series is returned
464
- * retaining type. Nested collections in `values` must not be empty or this will result in
465
- * [[ArrayIndexOutOfBoundsException ]].
475
+ * Nested Series of provided type. If `values` is empty, empty series is returned retaining
476
+ * type. Nested collections in `values` must not be empty or this will result in
477
+ * [[java.lang. ArrayIndexOutOfBoundsException ]].
466
478
*/
467
479
def ofList [T ](name : String , values : Array [Array [T ]]): Series =
468
480
Series .ofList(name, values.map(_.toSeq).toSeq)
@@ -477,7 +489,7 @@ object Series {
477
489
* @return
478
490
* Nested Series of provided type. If `values` is empty, empty series is returned retaining
479
491
* type. Nested collections in `values` must not be empty or this will result in
480
- * [[ArrayIndexOutOfBoundsException ]].
492
+ * [[java.lang. ArrayIndexOutOfBoundsException ]].
481
493
*/
482
494
def ofList (name : String , values : java.lang.Iterable [java.lang.Iterable [_]]): Series =
483
495
JSeries .ofList(name, values)
@@ -492,7 +504,7 @@ object Series {
492
504
* @return
493
505
* Nested Series of provided type. If `values` is empty, empty series is returned retaining
494
506
* type. Nested collections in `values` must not be empty or this will result in
495
- * [[ArrayIndexOutOfBoundsException ]].
507
+ * [[java.lang. ArrayIndexOutOfBoundsException ]].
496
508
*/
497
509
def ofList (name : String , values : Iterable [Iterable [_]]): Series =
498
510
Series .ofList(name, values.map(_.asJava.asInstanceOf [java.lang.Iterable [_]]).asJava)
0 commit comments