Page 107 - FULL REPORT 30012024
P. 107
population patterns, which are more pertinent for wider
demographic analysis. The dataset's initial condition, seen in Figure
4.24, showcases a wide array of columns. In contrast, Figure 4.25
illustrates the dataset after undergoing cleaning, revealing a more
efficient column layout.
Figure 4.24 The population dataset before data cleaning.
Figure 4.25 The population dataset after data cleaning.
In the subsequent Python code, implemented in Visual Studio Code,
the Pandas library was employed to load the cleaned datasets. Figure
4.26 shows the snippet Python code for the data cleaning of the
datasets.
90