Skip to content

Commit

Permalink
Update famafrench.py
Browse files Browse the repository at this point in the history
  • Loading branch information
christianjauregui committed Apr 21, 2020
1 parent d1589bb commit 329a66c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions famafrench/famafrench.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,18 @@
from pandas.tseries.offsets import *
from importlib import reload
from tqdm import tqdm
from dotenv import load_dotenv
from famafrench import wrdsconnect as wrds

nyse_cal = mcal.get_calendar('NYSE')
np.seterr(divide='raise') # warn/error if taking np.log() if non-positive number.
pd.options.mode.chained_assignment = 'raise'
pd.options.mode.use_inf_as_na = True

# Reloads the .env file in your home directory.
from dotenv import load_dotenv
load_dotenv()
from famafrench import wrdsconnect as wrds
reload(wrds)

# import 'utils' module w/ auxilary functions
from famafrench import utils

Expand Down

0 comments on commit 329a66c

Please sign in to comment.