eds_scikit
Top-level package for eds_scikit.
koalas_options
koalas_options() -> None
Set necessary options to optimise Koalas
Source code in eds_scikit/__init__.py
58 59 60 61 62 63 64 65 66 67 68 |
|
improve_performances
improve_performances(to_add_conf: List[Tuple[str, str]] = [], quiet_spark: bool = True) -> Tuple[SparkSession, SparkContext, SparkSession.sql]
(Re)defines various Spark variable with some configuration changes to improve performances by enabling Arrow This has to be done - Before launching a SparkCOntext - Before importing Koalas Those two points are being taken care on this function. If a SparkSession already exists, it will copy its configuration before creating a new one
RETURNS | DESCRIPTION |
---|---|
Tuple of
|
|
- A SparkSession
|
|
- The associated SparkContext
|
|
- The associated
|
Source code in eds_scikit/__init__.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
|