python
-
Python - Pandas Fundamentals Revisitedpython 2022. 8. 26. 17:19
Pandas is a library that allows us to manipulate tabular data(think of Excel spreadsheets) with a python data type called DataFrame. It allows us to wrangle column and row data without relying on SQL. Below are some examples of how we can apply column operations in DataFrames import pandas as pd inventory = pd.read_csv('inventory.csv') # integer location based indexing ... can be considered as l..
-
Python - unittest Frameworkpython 2022. 8. 8. 09:59
Python's unittest module provides us with a test runner. A test runner is a component that collects and executes tests and then provides results to the user. The framework also provides many other tools for test grouping, setup, teardown, skipping, and other features that we’ll soon learn about. The assertEqual() method takes two values as arguments and checks that they are equal. If they are no..