petl-developers / petl

Python Extract Transform and Load Tables of Data
MIT License
1.22k stars 190 forks source link

fix asindices function used in sortheader to support duplicate values… #611

Closed arturponinski closed 2 years ago

arturponinski commented 2 years ago

… passed to spec

This PR has the objective of supporting duplicate column names in sortheader Closes: https://github.com/petl-developers/petl/issues/392

Changes

  1. Change asindices to support passing of duplicate values when sorting non-unique column headers

Checklist

Use this checklist for assuring the quality of pull requests that include new code and or make changes to existing code.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1813637635


Totals Coverage Status
Change from base Build 1813620437: 0.1%
Covered Lines: 12481
Relevant Lines: 13570

💛 - Coveralls