Python Automation and Machine Learning for EM and ICs

An Online Book, Second Edition by Dr. Yougui Liao (2019)

Python Automation and Machine Learning for EM and ICs - An Online Book

Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

Lists and list() in Python

Both lists and tuples can contain multiple values, which makes it easier to handle large amounts of data.

Basic 1. Augmented assignment operators. code:
         Output the rows if the cell value is in a specific range
Basic 1. Output:         
         Output the rows if the cell value is in a specific range

Basic 2. Index in a list. code:
         Output the rows if the cell value is in a specific range
Basic 2. Output:         
         Output the rows if the cell value is in a specific range

=======================================================

General: code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

General: code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

Output the rows if the cell value is in a specific range: code:
         Output the rows if the cell value is in a specific range
Input:         
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

=======================================================

Simple lists: code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

Looping through a list from left to right: code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

Looping through a list by assigning the list to a variable, and then use the variable name in the for loop. code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

Looping through a list by assigning the list to a variable, and then use the variable name in the for loop. However, mark it Terminated and ignore the rest of the items in the list when see "End". code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

Mixed list and replace an item in the list. code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

Methods of copy. code:
         Output the rows if the cell value is in a specific range
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

=======================================================

Print all iterms in a list in a seperate line. code:
         Output the rows if the cell value is in a specific range
Output:         
         Output the rows if the cell value is in a specific range

code1, code2: loop, code3: loop, code4: loop. mixed list and replace an item in the list. copy method. print all iterms in a list in a seperate line. data structures. General. code.