chore(script): Refactor file top imports
This commit is contained in:
parent
c3b0d8cfd6
commit
708fa90d29
1 changed files with 7 additions and 13 deletions
|
@ -24,14 +24,6 @@ zotero:
|
|||
```{python}
|
||||
#| echo: false
|
||||
from pathlib import Path
|
||||
|
||||
from bibtexparser.model import Field
|
||||
DATA_DIR=Path("./02-data")
|
||||
RAW_DATA=DATA_DIR.joinpath("raw")
|
||||
WORKING_DATA=DATA_DIR.joinpath("intermediate")
|
||||
PROCESSED_DATA=DATA_DIR.joinpath("processed")
|
||||
SUPPLEMENTARY_DATA=DATA_DIR.joinpath("supplementary")
|
||||
|
||||
## standard imports
|
||||
from IPython.core.display import Markdown as md
|
||||
import numpy as np
|
||||
|
@ -39,14 +31,16 @@ import pandas as pd
|
|||
from matplotlib import pyplot as plt
|
||||
import seaborn as sns
|
||||
from tabulate import tabulate
|
||||
import bibtexparser
|
||||
from bibtexparser.model import Field
|
||||
|
||||
sns.set_style("whitegrid")
|
||||
```
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
# load and parse overall bibtex sample
|
||||
import bibtexparser
|
||||
DATA_DIR=Path("./02-data")
|
||||
RAW_DATA=DATA_DIR.joinpath("raw")
|
||||
WORKING_DATA=DATA_DIR.joinpath("intermediate")
|
||||
PROCESSED_DATA=DATA_DIR.joinpath("processed")
|
||||
SUPPLEMENTARY_DATA=DATA_DIR.joinpath("supplementary")
|
||||
|
||||
bib_string=""
|
||||
for partial_bib in RAW_DATA.glob("**/*.bib"):
|
||||
|
|
Loading…
Reference in a new issue