Skip to content

Commit ed2b719

Browse files
committed
Initial commit MigrationInTheTimes
0 parents  commit ed2b719

14 files changed

+1614
-0
lines changed

.gitignore

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
2+
output/
3+
releases/
4+
README.pdf
5+
6+
# Created by https://www.gitignore.io/api/r,python
7+
# Edit at https://www.gitignore.io/?templates=r,python
8+
9+
### Python ###
10+
# Byte-compiled / optimized / DLL files
11+
__pycache__/
12+
*.py[cod]
13+
*$py.class
14+
15+
# C extensions
16+
*.so
17+
18+
# Distribution / packaging
19+
.Python
20+
build/
21+
develop-eggs/
22+
dist/
23+
downloads/
24+
eggs/
25+
.eggs/
26+
lib/
27+
lib64/
28+
parts/
29+
sdist/
30+
var/
31+
wheels/
32+
pip-wheel-metadata/
33+
share/python-wheels/
34+
*.egg-info/
35+
.installed.cfg
36+
*.egg
37+
MANIFEST
38+
39+
# PyInstaller
40+
# Usually these files are written by a python script from a template
41+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
42+
*.manifest
43+
*.spec
44+
45+
# Installer logs
46+
pip-log.txt
47+
pip-delete-this-directory.txt
48+
49+
# Unit test / coverage reports
50+
htmlcov/
51+
.tox/
52+
.nox/
53+
.coverage
54+
.coverage.*
55+
.cache
56+
nosetests.xml
57+
coverage.xml
58+
*.cover
59+
.hypothesis/
60+
.pytest_cache/
61+
62+
# Translations
63+
*.mo
64+
*.pot
65+
66+
# Scrapy stuff:
67+
.scrapy
68+
69+
# Sphinx documentation
70+
docs/_build/
71+
72+
# PyBuilder
73+
target/
74+
75+
# pyenv
76+
.python-version
77+
78+
# pipenv
79+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
80+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
81+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
82+
# install all needed dependencies.
83+
#Pipfile.lock
84+
85+
# celery beat schedule file
86+
celerybeat-schedule
87+
88+
# SageMath parsed files
89+
*.sage.py
90+
91+
# Spyder project settings
92+
.spyderproject
93+
.spyproject
94+
95+
# Rope project settings
96+
.ropeproject
97+
98+
# Mr Developer
99+
.mr.developer.cfg
100+
.project
101+
.pydevproject
102+
103+
# mkdocs documentation
104+
/site
105+
106+
# mypy
107+
.mypy_cache/
108+
.dmypy.json
109+
dmypy.json
110+
111+
# Pyre type checker
112+
.pyre/
113+
114+
### R ###
115+
# History files
116+
.Rhistory
117+
.Rapp.history
118+
119+
# Session Data files
120+
.RData
121+
122+
# User-specific files
123+
.Ruserdata
124+
125+
# Example code in package build process
126+
*-Ex.R
127+
128+
# Output files from R CMD build
129+
/*.tar.gz
130+
131+
# Output files from R CMD check
132+
/*.Rcheck/
133+
134+
# RStudio files
135+
.Rproj.user/
136+
137+
# produced vignettes
138+
vignettes/*.html
139+
vignettes/*.pdf
140+
141+
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
142+
.httr-oauth
143+
144+
# knitr and R markdown default cache directories
145+
*_cache/
146+
/cache/
147+
148+
# Temporary files created by R markdown
149+
*.utf8.md
150+
*.knit.md
151+
152+
### R.Bookdown Stack ###
153+
# R package: bookdown caching files
154+
/*_files/
155+
156+
# End of https://www.gitignore.io/api/r,python
157+
.Rproj.user

DEVELOPMENT.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Developer tricks
2+
3+
Deduplicate the terms for word selection.
4+
5+
``` python
6+
import pandas as pd
7+
8+
df = pd. \
9+
read_csv("word_selection.txt", header=None). \
10+
drop_duplicates().reset_index(drop=True). \
11+
to_csv("word_selection.txt", index=False, header=False)
12+
```

0 commit comments

Comments
 (0)