This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** @OnlyCurrentDoc */ | |
| function getGroup(sheet, rowIndex) { | |
| var groupDepth = sheet.getRowGroupDepth(rowIndex); | |
| if (groupDepth) return sheet.getRowGroup(rowIndex, groupDepth) | |
| else return null | |
| } | |
| function remove_all_groups() { | |
| var spreadsheet = SpreadsheetApp.getActive(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas | |
| df = pandas.read_csv('stat.tsv',sep='\t') | |
| df.dtypes | |
| xf = df[df['status']=='passed'] | |
| len(df) | |
| len(xf) | |
| kf = df[df['status']!='passed'] | |
| kf.to_clipboard() | |
| import arrow | |
| xf = xf.sort(['login','ts']) |