From 144bf3d51f53dbfbb95a5492236337a0263e2886 Mon Sep 17 00:00:00 2001 From: Roshni Biswas Date: Wed, 9 Oct 2019 23:38:51 -0400 Subject: [PATCH 1/4] pandas.api.extensions.ExtensionArray._from_sequence: Parameter copy type updated to bool instead of boolean --- pandas/core/arrays/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 0778b6726d104..6d5e3ed80ed2e 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -177,7 +177,7 @@ def _from_sequence(cls, scalars, dtype=None, copy=False): dtype : dtype, optional Construct for this particular dtype. This should be a Dtype compatible with the ExtensionArray. - copy : boolean, default False + copy : bool, default False If True, copy the underlying data. Returns From e55342c3759a290d3fe90c57bcf997310105acf1 Mon Sep 17 00:00:00 2001 From: Roshni Biswas Date: Wed, 9 Oct 2019 23:39:34 -0400 Subject: [PATCH 2/4] pandas.api.extensions.ExtensionArray._from_sequence_of_strings: Parameter copy type updated to bool instead of boolean --- pandas/core/arrays/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 6d5e3ed80ed2e..389eafd2391c0 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -200,7 +200,7 @@ def _from_sequence_of_strings(cls, strings, dtype=None, copy=False): dtype : dtype, optional Construct for this particular dtype. This should be a Dtype compatible with the ExtensionArray. - copy : boolean, default False + copy : bool, default False If True, copy the underlying data. Returns From a29d03ff2196297d722e4b17026fbb808b871757 Mon Sep 17 00:00:00 2001 From: Roshni Biswas Date: Wed, 9 Oct 2019 23:41:03 -0400 Subject: [PATCH 3/4] pandas.api.extensions.ExtensionArray.take: Parameter indices type updated to sequence of ints instead of integers --- pandas/core/arrays/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 389eafd2391c0..368d8fa3e67aa 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -769,7 +769,7 @@ def take( Parameters ---------- - indices : sequence of integers + indices : sequence of ints Indices to be taken. allow_fill : bool, default False How to handle negative values in `indices`. From 5604ad66c110134386c716340cb92a68ad8bf46e Mon Sep 17 00:00:00 2001 From: Roshni Biswas Date: Thu, 10 Oct 2019 09:37:22 -0400 Subject: [PATCH 4/4] ints->int --- pandas/core/arrays/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index 368d8fa3e67aa..7a16c3f6a35b6 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -769,7 +769,7 @@ def take( Parameters ---------- - indices : sequence of ints + indices : sequence of int Indices to be taken. allow_fill : bool, default False How to handle negative values in `indices`.