Skip to content

Instantly share code, notes, and snippets.

@gary136
Last active November 21, 2019 13:51
Show Gist options
  • Save gary136/d3302cb79d0c7258f8949381e1770b82 to your computer and use it in GitHub Desktop.
Save gary136/d3302cb79d0c7258f8949381e1770b82 to your computer and use it in GitHub Desktop.
word_filter.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 284,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" word dic\n",
"6000 floors https://dictionary.cambridge.org/zht/詞典/英語/floors\n",
"6001 whew https://dictionary.cambridge.org/zht/詞典/英語/whew\n",
"6002 ling https://dictionary.cambridge.org/zht/詞典/英語/ling\n",
"6003 scaring https://dictionary.cambridge.org/zht/詞典/英語/scaring\n",
"6004 hallelujah https://dictionary.cambridge.org/zht/詞典/英語/hallelujah\n",
"6005 quicker https://dictionary.cambridge.org/zht/詞典/英語/quicker\n",
"6006 strongly https://dictionary.cambridge.org/zht/詞典/英語/strongly\n",
"6007 distress https://dictionary.cambridge.org/zht/詞典/英語/distress\n",
"6008 strongest https://dictionary.cambridge.org/zht/詞典/英語/strongest\n",
"6009 señor https://dictionary.cambridge.org/zht/詞典/英語/señor\n",
"6010 rally https://dictionary.cambridge.org/zht/詞典/英語/rally\n",
"6011 fountain https://dictionary.cambridge.org/zht/詞典/英語/fountain\n",
"6012 fluid https://dictionary.cambridge.org/zht/詞典/英語/fluid\n",
"6013 melody https://dictionary.cambridge.org/zht/詞典/英語/melody\n",
"6014 rio https://dictionary.cambridge.org/zht/詞典/英語/rio\n"
]
}
],
"source": [
"print(df[6000:6015])"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment