-
Traffic Manager, Front Door, and Cross-Region LB
Front Door for web apps needing intelligent path-based routing or WAF Cross-Region LB for regional TCP/UDP workloads or when app logic is outside HTTP Traffic Manager only if you want to stay DNS-only and don’t need smart HTTP routing
-
Availability Zone or Availability Set
If you want zone-level redundancy: ➤ If you want rack-level redundancy (within the same zone or region):
-
Switching Directory in Azure
Each Azure subscription is associated with a single directory (although a directory can be associated with multiple subscriptions) When you switch directories in Azure, you’re changing which Azure AD directory you’re working with. This can happen in several scenarios, such as: To switch directories, you would typically go into the Azure portal, click on your…
-
The fundamentals of pandas
Pandas has two primary data structures: Series and DataFrame. Create a DataFrame To use pandas in your notebook, first import it. Similar to NumPy, pandas has its own standard alias, pd, that’s used by data professionals around the world. Once you’ve imported pandas into your working environment, create a dataframe. Here are some of the…
-
Reference guide: Arrays
A NumPy array is a central data structure in the NumPy library, which is a fundamental package for scientific computing in Python. It is a grid of values, all of the same type, and is indexed by a tuple of non-negative integers. NumPy arrays are highly efficient for numerical operations and are optimized for performance, especially when…
-
Libraries, packages, and modules
A library is a corpus of reusable code modules and their accompanying documentation. Libraries are bundled into packages that you install, which can then be imported into your coding environment as needed. You’ll typically encounter the terms “library” and “package” used interchangeably. Modules are similar to libraries, in that they are groups of related classes…
-
Reference guide: Sets
A set is a collection of unique data elements, without duplicates. # creates a set with the elements 5, 10, 10, and 20.my_set = {5, 10, 10, 20} empty_set = set() # create an empty setSets can only contain hashable (immutable) types like numbers, strings, and tuples. You cannot add lists or dictionaries to a…
-
Reference guide: Dictionaries
There are two main ways to create dictionaries in Python: When instantiating a dictionary using braces, separate each element with a colon. For example, the following code creates a dictionary containing continents as keys and their smallest countries as values: To create an empty dictionary, use empty braces or the dict() function: The dict() function…