Chapter 6: Exploring Spatial Data
Terms:
Dynamic (property): terminologies for attributes that are defined at runtime, after creating the objects or instances.
List comprehension: an easy and compact syntax for creating a list from a string or another list. It is a very concise way to create a new list by performing an operation on each item in the existing list. List comprehension is considerably faster than processing a list using the for loop.
System path
Wildcard: a symbol used to replace or represent one or more characters. Wildcards are used in computer programs, languages, search engines, and operating systems to simplify search criteria.
Review Questions:
- What are the key differences and similarities between the describe () and da.describe () functions?
- The Describe function returns a dictionary with multiple properties, such as data type, fields, indexes, and many others. The dictionary’s keys are dynamic, meaning that depending on what data type is described, different properties will be available for use.
- Explain the difference between system and catalog paths, and how they affect exploring data in a folder.
- The main difference between an absolute and a relative path is that an absolute path specifies the location from the root directory whereas relative path is related to the current directory.
- What is list comprehension, and when would you consider usng it.
- List Comprehension is an easy and compact syntax for creating a list from a string or another list. It is a very concise way to create a new list by performing an operation on each item in the existing list. List comprehension is considerably faster than processing a list using the for loop.