Skip to content

Commit b5b9675

Browse files
committed
conf
1 parent 09713d2 commit b5b9675

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/pyspark/pandas/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,8 +1367,6 @@ def value_counts(
13671367
('falcon', 'length')],
13681368
)
13691369
1370-
>>> spark.conf.set('spark.sql.execution.pandas.structHandlingMode', 'row')
1371-
13721370
>>> s.index.value_counts().sort_index()
13731371
(cow, length) 1
13741372
(cow, weight) 2
@@ -1747,6 +1745,7 @@ def _test() -> None:
17471745
spark = (
17481746
SparkSession.builder.master("local[4]").appName("pyspark.pandas.base tests").getOrCreate()
17491747
)
1748+
spark.conf.set('spark.sql.execution.pandas.structHandlingMode', 'row')
17501749
(failure_count, test_count) = doctest.testmod(
17511750
pyspark.pandas.base,
17521751
globs=globs,

0 commit comments

Comments
 (0)