build_data_evol_ct
build_data_evol_ct(data_source: DataFrame, col_new_ct: str, to_concat: bool, col_ct: str = 'salaire_super_brut')
Creates variables of interest concerning the evolution of the cost of labor.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data_source |
DataFrame
|
The source data. |
required |
col_new_ct |
str
|
The column of the new cost of labor. |
required |
to_concat |
bool
|
Whether to concatenate the result to the source data. |
required |
col_ct |
str
|
The column of the cost of labor. Defaults to 'salaire_super_brut'. |
'salaire_super_brut'
|
Returns:
Type | Description |
---|---|
DataFrame
|
The data with the cost of labor evolution variables. |
Source code in bozio_wasmer_simulations/description/datasets.py
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 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
|