Skip to content

Instantly share code, notes, and snippets.

Linusp /
Created January 29, 2017 04:04 — forked from drj42/
This is a cheat sheet for Emacs org-mode... in org-mode format!
Linusp /
Created January 28, 2017 14:03 — forked from bsweger/
Useful Pandas Snippets
# List unique values in a DataFrame column
# Convert Series datatype to numeric, getting rid of any non-numeric values
df['col'] = df['col'].astype(str).convert_objects(convert_numeric=True)
# Grab DataFrame rows where column has certain values
valuelist = ['value1', 'value2', 'value3']
df = df[df.column.isin(valuelist)]
Linusp / 词性标记.md
Created December 21, 2015 07:46 — forked from luw2007/词性标记.md
词性标记: 包含 ICTPOS3.0词性标记集、ICTCLAS 汉语词性标注集、jieba 字典中出现的词性、simhash 中可以忽略的部分词性


  • 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
  • 虚词:副词、介词、连词、助词、拟声词、叹词。


n 名词

nr 人名