Skip to content

Instantly share code, notes, and snippets.

View killxin's full-sized avatar

rhjiang killxin

View GitHub Profile
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.read_excel('/Users/rhjiang/IdeaProjects/nlp2model/out/res2.xlsx', sheet_name='Sheet1')
print("Column headings:")
print(df.columns)
tcons = []
tcode = []
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import org.apache.poi.EncryptedDocumentException;