a84938a83a0bc2bfc9fb6e377424d1547be0a054,lingpy/basic/spreadsheet.py,Spreadsheet,output,#Spreadsheet#,205
Before Change
for key in defaults:
if key not in keywords:
keywords[key] = defaults[key]
After Change
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__":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: freelunchtheorem/Conditional_Density_Estimation
Commit Name: c11520dbcc6c1c3889bc76a2b76f6adf5e99c54d
Time: 2019-05-02
Author: simonboehm@mailbox.org
File Name: cde/density_estimator/BaseNNEstimator.py
Class Name: BaseNNEstimator
Method Name: fit_by_cv
Project Name: pgmpy/pgmpy
Commit Name: e7ee9e79af1b9b1c35bb2a578b482b8f2cde3f08
Time: 2014-11-03
Author: ankurankan@gmail.com
File Name: pgmpy/Inference/base.py
Class Name: Inference
Method Name: __init__