Exploring & Manipulating Data in Python
We continued expanding our knowledge of Python this week by incorporating two new functions: Describe() and ListFeatureClasses(). These allow us to explore data, which can then be manipulated using cursors and dictionaries. We were tasked with a multi-step project to: (1) copy a global database into a new database, (2) print the cities classified as county seats and the corresponding population, (3) and create a dictionary containing this information. A flowchart, as seen below, helps elucidate each step of the process.
The output of the script can be seen below. Adding messages before and after each task aids in readability.
Comments
Post a Comment