Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter (now, X) handles. Here is an example: “For example, let’s write a simple data pipeline that imports three CSVs, traffic_crashes.csv
, traffic_crash_vehicle.csv
, and traffic_crash_people.csv
, as input data.”
A block of code is set as follows:
# Merge the three dataframes into a single dataframemerge_01_df = pd.merge(df, df2, on='CRASH_RECORD_ID') all_data_df = pd.merge(merge_01_df, df3, on='CRASH_RECORD_ID')
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
aws lambda create-function -s3-key-function ReverseStringFunction \ --zip-file fileb:// s3_key_function.zip --handler lambda_function. lambda_handler \ --runtime python3.8 --role <YOUR IAM ARN ROLE>
Any command-line input or output is written as follows:
psql -U postgres
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Select System info from the Administration panel.”
Tips or important notes
Appear like this.