Revert frame.py to c70882a [Fix #5505]
Refactor rows to be index and cols to columns [Fix #5505]
Refactor test_pivot.py (rows->index, cols->columns) [Fix #5505]
Add unit test for warnings [Fix #5505]