Commit 5bbe37467954056c8366f063322df3af64d76ab0
- Diff rendering mode:
- inline
- side by side
datamatrix/datamatrix.py
(5 / 1)
|   | |||
| 444 | 444 | if oldColumn not in self: | |
| 445 | 445 | raise KeyError, unicode("Unknown column") | |
| 446 | 446 | ||
| 447 | # Bail out gracefully if the names are equal | ||
| 448 | if oldColumn == newColumn: | ||
| 449 | return | ||
| 450 | |||
| 447 | 451 | for index, column in enumerate(self.columns): | |
| 448 | 452 | ||
| 449 | 453 | if oldColumn == column: | |
| … | … | ||
| 486 | 486 | ||
| 487 | 487 | final_matrix = args.pop(0) | |
| 488 | 488 | ||
| 489 | for item in args: | ||
| 489 | for index, item in enumerate(args): | ||
| 490 | 490 | assert isinstance(item, DataMatrix), "Not a valid DataMatrix isntance" | |
| 491 | 491 | final_matrix = _cbind(final_matrix, item) | |
| 492 | 492 |

