V0.2.0
This commit is contained in:
parent
cd7cb25f00
commit
d9eb020414
|
@ -1,7 +1,7 @@
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
__version__ = "0.1.9b"
|
__version__ = "0.2.0"
|
||||||
__author__ = "Terence Lau"
|
__author__ = "Terence Lau"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1097,7 +1097,7 @@ def Leading_Indicators_OECD(startdate = "1950-01", enddate = "2021-05"):
|
||||||
def US_EPU_Monthly():
|
def US_EPU_Monthly():
|
||||||
df = pd.read_excel("https://www.policyuncertainty.com/media/US_Policy_Uncertainty_Data.xlsx")[:-1]
|
df = pd.read_excel("https://www.policyuncertainty.com/media/US_Policy_Uncertainty_Data.xlsx")[:-1]
|
||||||
df['Date']=pd.to_datetime(df['Year'].apply(str).str.cat(df['Month'].apply(int).apply(str),sep='-'), format='%Y-%m')
|
df['Date']=pd.to_datetime(df['Year'].apply(str).str.cat(df['Month'].apply(int).apply(str),sep='-'), format='%Y-%m')
|
||||||
df = df[["Date", "US_Three_Component_Index", "US_EPU"]]
|
df = df[["Date", "Three_Component_Index", "News_Based_Policy_Uncert_Index"]]
|
||||||
return df
|
return df
|
||||||
|
|
||||||
def US_EPU_Daily():
|
def US_EPU_Daily():
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
setup(
|
setup(
|
||||||
name = "CEDApy",
|
name = "CEDApy",
|
||||||
version = "0.1.9b",
|
version = "0.2.0",
|
||||||
keywords = "quantitative economic data",
|
keywords = "quantitative economic data",
|
||||||
long_description = open(
|
long_description = open(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
|
|
Loading…
Reference in New Issue