Skip to content

Commit

Permalink
v__0.140
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredgalichon committed Sep 9, 2024
1 parent ba2ece6 commit 1688931
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mec/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def load_Rust_data():
thepath = pkg_resources.resource_filename('mec', 'datasets/dynamicchoice_Rust/')
def getcleandata(name,nrow):
filepath = thepath+name+'.asc'
thearray = pd.read_csv( filepath, sep='\s+', header=None).to_numpy().reshape((nrow, -1), order='F')
thearray = np.genfromtxt(filepath, delimiter=None, dtype=float).reshape((nrow, -1), order='F')
#thearray = pd.read_csv( filepath, sep='\s+', header=None).to_numpy().reshape((nrow, -1), order='F')
odometer1 = thearray[5, :] # mileage at first replacement (0 if no replacement)
odometer2 = thearray[8, :] # mileage at second replacement (0 if no replacement)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="mec",
version="0.139",
version="0.140",
authors=["Alfred Galichon"],
author_email="ag133@nyu.edu",
licence="",
Expand Down

0 comments on commit 1688931

Please sign in to comment.