|
487 | 487 | "id": "75bf8c27-104d-438e-bbd1-f273eac41eb6", |
488 | 488 | "metadata": {}, |
489 | 489 | "source": [ |
490 | | - "#### Convert results to dataFrame\n", |
| 490 | + "#### Convert results to DataFrame\n", |
491 | 491 | "The results collected from the previous step are converted into a Pandas DataFrame.\n", |
492 | 492 | "This allows for easier processing and analysis of land cover statistics per urban agglomeration." |
493 | 493 | ] |
|
559 | 559 | "id": "384147a9-eb8f-444d-b98e-ddc55ce18bcb", |
560 | 560 | "metadata": {}, |
561 | 561 | "source": [ |
562 | | - "#### Reindex dataFrames to include all land cover classes\n", |
| 562 | + "#### Reindex DataFrames to include all land cover classes\n", |
563 | 563 | "The histograms might not include all possible land cover classes, especially if certain classes are absent in some areas.\n", |
564 | 564 | "Here, we ensure that all classes are present by reindexing the DataFrames and filling missing values with zero.\n", |
565 | 565 | "Columns are renamed for clarity." |
|
586 | 586 | "id": "a2e1e0f8-9ca7-4004-859b-bc13e4f49c14", |
587 | 587 | "metadata": {}, |
588 | 588 | "source": [ |
589 | | - "#### Combine histogram data with original dataFrame\n", |
| 589 | + "#### Combine histogram data with original DataFrame\n", |
590 | 590 | "Now that the histograms are properly formatted, we merge them with the original DataFrame.\n", |
591 | 591 | "Only `agglosID` and `geometry` from the original DataFrame are retained along with the processed histogram data." |
592 | 592 | ] |
|
636 | 636 | "id": "0e3416a5-60c6-4563-87c3-a3be677bf41e", |
637 | 637 | "metadata": {}, |
638 | 638 | "source": [ |
639 | | - "#### Organize and format the final dataFrame\n", |
| 639 | + "#### Organize and format the final DataFrame\n", |
640 | 640 | "To ensure clarity, we explicitly order the fraction columns for both years.\n", |
641 | 641 | "The final DataFrame includes `agglosID`, `geometry`, and all fraction values, rounded to two decimal places." |
642 | 642 | ] |
|
1166 | 1166 | "name": "python", |
1167 | 1167 | "nbconvert_exporter": "python", |
1168 | 1168 | "pygments_lexer": "ipython3", |
1169 | | - "version": "3.10.12" |
| 1169 | + "version": "3.12.3" |
1170 | 1170 | } |
1171 | 1171 | }, |
1172 | 1172 | "nbformat": 4, |
|
0 commit comments