Box and Whisker Plots - Python for Integrated Circuits - - An Online Book - |
||||||||
Python for Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
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 | ||||||||
================================================================================= Box and Whisker Plots from .csv files in a folder. i) Find the .csv files in the folder of "MyFolder";
ii) Use the portion of file name between the last "-" and the file extention ".", of each file in the "MyFolder" folder, as x-axis;
iii) Use the sum of each file in the column of "XYZ" in each file as y-axis. On the other hand, it combines the "XYZ" column of all files into one single file (CombinedFile.csv) with the corresponding "x_label" as its column name (header) in the combined file. Code: ============================================ Box and Whisker Plots from DataFrame dataset (Code): Output:
============================================
|
||||||||
================================================================================= | ||||||||
|
||||||||