a84938a83a0bc2bfc9fb6e377424d1547be0a054,lingpy/basic/spreadsheet.py,Spreadsheet,output,#Spreadsheet#,205
Before Change
for key in defaults:
if key not in keywords:
keywords[key] = defaults[key]
if __name__=="__main__":
// s = Spreadsheet("/Users/stiv/Dropbox/Projects/dogon/Moran_Dogon.comp.vocab.UNICODE.csv")
s = Spreadsheet("/Users/stiv/Dropbox/Projects/lingpy/test/spreadsheet_complex.tsv", concepts=2, languages=[3,5,6])
s.pprint()
After Change
filename = "lingpy-{0}".format(str(date.today()))
output = open(filename+".csv", "w")
output.write("CONCEPT"+"\t"+"COUNTERPART"+"\t"+"COUNTERPART_DOCULECT"+"\n")
for i in range(self.header+1, len(self.matrix)):
for j in range(1, len(self.matrix[i])):
output.write(self.matrix[i][0]+"\t"+self.matrix[i][j]+"\t"+self.matrix[self.header][j]+"\n")
output.write("//\n")
if __name__=="__main__":
// s = Spreadsheet("/Users/stiv/Dropbox/Projects/dogon/Moran_Dogon.comp.vocab.UNICODE.csv")
// s = Spreadsheet("/Users/stiv/Dropbox/Projects/lingpy/test/spreadsheet_complex.tsv", concepts=2, languages=[3,5,6])
// s = Spreadsheet("/Users/stiv/Dropbox/Projects/lingpy/test/spreadsheet_complex.tsv")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: lingpy/lingpy
Commit Name: a84938a83a0bc2bfc9fb6e377424d1547be0a054
Time: 2013-04-20
Author: bambooforest@gmail.com
File Name: lingpy/basic/spreadsheet.py
Class Name: Spreadsheet
Method Name: output
Project Name: snorkel-team/snorkel
Commit Name: 21678f424e8a7b0734e2dcc31d0a2ee2e10af097
Time: 2016-09-04
Author: ajratner@gmail.com
File Name: snorkel/annotations.py
Class Name: AnnotationManager
Method Name: load
Project Name: biotite-dev/biotite
Commit Name: 4f3a3ea6c3d02b1bd0f4ec5e688666f125e32be8
Time: 2020-11-27
Author: tom.mueller@beachouse.de
File Name: src/biotite/structure/dotbracket.py
Class Name:
Method Name: base_pairs_from_dot_bracket