@@ -32,8 +32,8 @@ def __column_namespace__(self) -> Namespace:
32
32
attribute. It may contain other public names as well, but it is
33
33
recommended to only include those names that are part of the
34
34
specification.
35
-
36
35
"""
36
+ ...
37
37
38
38
@property
39
39
def column (self ) -> Any :
@@ -52,6 +52,7 @@ def __len__(self) -> int:
52
52
"""
53
53
Return the number of rows.
54
54
"""
55
+ ...
55
56
56
57
def __iter__ (self ) -> NoReturn :
57
58
"""
@@ -66,10 +67,11 @@ def __iter__(self) -> NoReturn:
66
67
raise NotImplementedError ("'__iter__' is intentionally not implemented." )
67
68
68
69
@property
69
- def dtype (self ) -> Any :
70
+ def dtype (self ) -> DType :
70
71
"""
71
72
Return data type of column.
72
73
"""
74
+ ...
73
75
74
76
def get_rows (self , indices : Self ) -> Self :
75
77
"""
@@ -213,6 +215,7 @@ def __eq__(self, other: Self | Scalar) -> Self: # type: ignore[override]
213
215
-------
214
216
Column
215
217
"""
218
+ ...
216
219
217
220
def __ne__ (self , other : Self | Scalar ) -> Self : # type: ignore[override]
218
221
"""
@@ -231,6 +234,7 @@ def __ne__(self, other: Self | Scalar) -> Self: # type: ignore[override]
231
234
-------
232
235
Column
233
236
"""
237
+ ...
234
238
235
239
def __ge__ (self , other : Self | Scalar ) -> Self :
236
240
"""
@@ -247,6 +251,7 @@ def __ge__(self, other: Self | Scalar) -> Self:
247
251
-------
248
252
Column
249
253
"""
254
+ ...
250
255
251
256
def __gt__ (self , other : Self | Scalar ) -> Self :
252
257
"""
@@ -263,6 +268,7 @@ def __gt__(self, other: Self | Scalar) -> Self:
263
268
-------
264
269
Column
265
270
"""
271
+ ...
266
272
267
273
def __le__ (self , other : Self | Scalar ) -> Self :
268
274
"""
@@ -279,6 +285,7 @@ def __le__(self, other: Self | Scalar) -> Self:
279
285
-------
280
286
Column
281
287
"""
288
+ ...
282
289
283
290
def __lt__ (self , other : Self | Scalar ) -> Self :
284
291
"""
@@ -295,6 +302,7 @@ def __lt__(self, other: Self | Scalar) -> Self:
295
302
-------
296
303
Column
297
304
"""
305
+ ...
298
306
299
307
def __and__ (self , other : Self | bool ) -> Self :
300
308
"""
@@ -316,6 +324,7 @@ def __and__(self, other: Self | bool) -> Self:
316
324
ValueError
317
325
If `self` or `other` is not boolean.
318
326
"""
327
+ ...
319
328
320
329
def __or__ (self , other : Self | bool ) -> Self :
321
330
"""
@@ -337,6 +346,7 @@ def __or__(self, other: Self | bool) -> Self:
337
346
ValueError
338
347
If `self` or `other` is not boolean.
339
348
"""
349
+ ...
340
350
341
351
def __add__ (self , other : Self | Scalar ) -> Self :
342
352
"""
@@ -353,6 +363,7 @@ def __add__(self, other: Self | Scalar) -> Self:
353
363
-------
354
364
Column
355
365
"""
366
+ ...
356
367
357
368
def __sub__ (self , other : Self | Scalar ) -> Self :
358
369
"""
@@ -369,6 +380,7 @@ def __sub__(self, other: Self | Scalar) -> Self:
369
380
-------
370
381
Column
371
382
"""
383
+ ...
372
384
373
385
def __mul__ (self , other : Self | Scalar ) -> Self :
374
386
"""
@@ -385,6 +397,7 @@ def __mul__(self, other: Self | Scalar) -> Self:
385
397
-------
386
398
Column
387
399
"""
400
+ ...
388
401
389
402
def __truediv__ (self , other : Self | Scalar ) -> Self :
390
403
"""
@@ -401,6 +414,7 @@ def __truediv__(self, other: Self | Scalar) -> Self:
401
414
-------
402
415
Column
403
416
"""
417
+ ...
404
418
405
419
def __floordiv__ (self , other : Self | Scalar ) -> Self :
406
420
"""
@@ -417,6 +431,7 @@ def __floordiv__(self, other: Self | Scalar) -> Self:
417
431
-------
418
432
Column
419
433
"""
434
+ ...
420
435
421
436
def __pow__ (self , other : Self | Scalar ) -> Self :
422
437
"""
@@ -437,6 +452,7 @@ def __pow__(self, other: Self | Scalar) -> Self:
437
452
-------
438
453
Column
439
454
"""
455
+ ...
440
456
441
457
def __mod__ (self , other : Self | Scalar ) -> Self :
442
458
"""
@@ -453,6 +469,7 @@ def __mod__(self, other: Self | Scalar) -> Self:
453
469
-------
454
470
Column
455
471
"""
472
+ ...
456
473
457
474
def __divmod__ (self , other : Self | Scalar ) -> tuple [Column , Column ]:
458
475
"""
@@ -469,6 +486,7 @@ def __divmod__(self, other: Self | Scalar) -> tuple[Column, Column]:
469
486
-------
470
487
Column
471
488
"""
489
+ ...
472
490
473
491
def __radd__ (self , other : Self | Scalar ) -> Self :
474
492
...
@@ -498,6 +516,7 @@ def __invert__(self) -> Self:
498
516
ValueError
499
517
If any of the Column's columns is not boolean.
500
518
"""
519
+ ...
501
520
502
521
def any (self , * , skip_nulls : bool = True ) -> bool | NullType :
503
522
"""
@@ -508,6 +527,7 @@ def any(self, *, skip_nulls: bool = True) -> bool | NullType:
508
527
ValueError
509
528
If column is not boolean.
510
529
"""
530
+ ...
511
531
512
532
def all (self , * , skip_nulls : bool = True ) -> bool | NullType :
513
533
"""
@@ -518,31 +538,36 @@ def all(self, *, skip_nulls: bool = True) -> bool | NullType:
518
538
ValueError
519
539
If column is not boolean.
520
540
"""
541
+ ...
521
542
522
543
def min (self , * , skip_nulls : bool = True ) -> Scalar | NullType :
523
544
"""
524
545
Reduction returns a scalar. Any data type that supports comparisons
525
546
must be supported. The returned value has the same dtype as the column.
526
547
"""
548
+ ...
527
549
528
550
def max (self , * , skip_nulls : bool = True ) -> Scalar | NullType :
529
551
"""
530
552
Reduction returns a scalar. Any data type that supports comparisons
531
553
must be supported. The returned value has the same dtype as the column.
532
554
"""
555
+ ...
533
556
534
557
def sum (self , * , skip_nulls : bool = True ) -> Scalar | NullType :
535
558
"""
536
559
Reduction returns a scalar. Must be supported for numerical and
537
560
datetime data types. The returned value has the same dtype as the
538
561
column.
539
562
"""
563
+ ...
540
564
541
565
def prod (self , * , skip_nulls : bool = True ) -> Scalar | NullType :
542
566
"""
543
567
Reduction returns a scalar. Must be supported for numerical data types.
544
568
The returned value has the same dtype as the column.
545
569
"""
570
+ ...
546
571
547
572
def median (self , * , skip_nulls : bool = True ) -> Scalar | NullType :
548
573
"""
@@ -551,6 +576,7 @@ def median(self, *, skip_nulls: bool = True) -> Scalar | NullType:
551
576
datetime (with the appropriate timedelta format string) for datetime
552
577
dtypes.
553
578
"""
579
+ ...
554
580
555
581
def mean (self , * , skip_nulls : bool = True ) -> Scalar | NullType :
556
582
"""
@@ -559,6 +585,7 @@ def mean(self, *, skip_nulls: bool = True) -> Scalar | NullType:
559
585
datetime (with the appropriate timedelta format string) for datetime
560
586
dtypes.
561
587
"""
588
+ ...
562
589
563
590
def std (self , * , correction : int | float = 1 , skip_nulls : bool = True ) -> Scalar | NullType :
564
591
"""
@@ -585,6 +612,7 @@ def std(self, *, correction: int | float = 1, skip_nulls: bool = True) -> Scalar
585
612
skip_nulls
586
613
Whether to skip null values.
587
614
"""
615
+ ...
588
616
589
617
def var (self , * , correction : int | float = 1 , skip_nulls : bool = True ) -> Scalar | NullType :
590
618
"""
@@ -602,32 +630,37 @@ def var(self, *, correction: int | float = 1, skip_nulls: bool = True) -> Scalar
602
630
skip_nulls
603
631
Whether to skip null values.
604
632
"""
633
+ ...
605
634
606
635
def cumulative_max (self ) -> Self :
607
636
"""
608
637
Reduction returns a Column. Any data type that supports comparisons
609
638
must be supported. The returned value has the same dtype as the column.
610
639
"""
640
+ ...
611
641
612
642
def cumulative_min (self ) -> Self :
613
643
"""
614
644
Reduction returns a Column. Any data type that supports comparisons
615
645
must be supported. The returned value has the same dtype as the column.
616
646
"""
647
+ ...
617
648
618
649
def cumulative_sum (self ) -> Self :
619
650
"""
620
651
Reduction returns a Column. Must be supported for numerical and
621
652
datetime data types. The returned value has the same dtype as the
622
653
column.
623
654
"""
655
+ ...
624
656
625
657
def cumulative_prod (self ) -> Self :
626
658
"""
627
659
Reduction returns a Column. Must be supported for numerical and
628
660
datetime data types. The returned value has the same dtype as the
629
661
column.
630
662
"""
663
+ ...
631
664
632
665
def is_null (self ) -> Self :
633
666
"""
@@ -647,6 +680,7 @@ def is_null(self) -> Self:
647
680
May optionally include 'NaT' values (if present in an implementation),
648
681
but note that the Standard makes no guarantees about them.
649
682
"""
683
+ ...
650
684
651
685
def is_nan (self ) -> Self :
652
686
"""
@@ -666,6 +700,7 @@ def is_nan(self) -> Self:
666
700
Does *not* include 'missing' or 'null' entries.
667
701
In particular, does not check for `np.timedelta64('NaT')`.
668
702
"""
703
+ ...
669
704
670
705
def is_in (self , values : Self ) -> Self :
671
706
"""
@@ -684,6 +719,7 @@ def is_in(self, values: Self) -> Self:
684
719
-------
685
720
Column
686
721
"""
722
+ ...
687
723
688
724
def unique_indices (self , * , skip_nulls : bool = True ) -> Self :
689
725
"""
@@ -766,6 +802,7 @@ def to_array(self) -> Any:
766
802
understanding that consuming libraries would then use the
767
803
``array-api-compat`` package to convert it to a Standard-compliant array.
768
804
"""
805
+ ...
769
806
770
807
def rename (self , name : str ) -> Self :
771
808
"""
0 commit comments