Created
March 1, 2017 16:03
-
-
Save qharlie/694f566e2f7e2da96f7de9987d36d516 to your computer and use it in GitHub Desktop.
This file contains 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 as pd | |
import sys | |
loc = int(sys.argv[1])-1 if len(sys.argv) > 1 else -1 | |
df = pd.read_csv("Arxiv Paper Analysis Worksheet (Responses) - Form Responses 1.csv") | |
class Keys: | |
NAME="Paper Name" | |
SUMMARY="High level summary" | |
STATE="Does it claim a State of the Art result?" | |
EXCITEMENT="Are you excited about this research paper?" | |
RATING="Put a rating between 1 and 5 for the paper." | |
TECHNIQUES="What techniques are used in the paper?" | |
NOTES="Any other notes" | |
LINK="Paper Url" | |
if loc > 0: | |
paper = df.iloc[loc] | |
print("""Paper Name: \t\t\t{}\nState of the Art: \t\t{}\nExcitement Level: \t\t{}\nRating: \t\t\t{}\n\nSummary\n{}\n\nTechniques: \t\t\t{}\nNotes: \t\t\t{}\nLINK\t\t\t{}""".format(paper[Keys.NAME],paper[Keys.STATE],paper[Keys.EXCITEMENT],paper[Keys.RATING],paper[Keys.SUMMARY], paper[Keys.TECHNIQUES],paper[Keys.NOTES],paper[Keys.LINK])) | |
else: | |
for index,paper in df.iterrows(): | |
print("""ID: [{}] , STARS({})\t\tName: {}\n\t\t\t""".format(str(index+1).zfill(2),paper[Keys.RATING],paper[Keys.NAME])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment