forked from gentzkow/template_archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Practice task - changing histogram numbers to percentages
- Loading branch information
Lawrence Chen
authored and
Lawrence Chen
committed
Oct 23, 2023
1 parent
b7b28f0
commit fe13790
Showing
18 changed files
with
1,804 additions
and
941,754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
-------------------------------------------------------------------------------- | ||
Makelog started: 2023-07-03 14:42:07 | ||
Working directory: /Users/jccp/Desktop/template/analysis | ||
Makelog started: 2023-10-22 16:17:49 | ||
Working directory: /Users/lawrencechen/Desktop/gentzkow/analysis | ||
-------------------------------------------------------------------------------- | ||
Input links successfully created! | ||
External links successfully created! | ||
Source logs successfully written! | ||
WARNING! The following target files have been modified according to git status: | ||
/Users/lawrencechen/Desktop/gentzkow/data/output/data_cleaned.csv | ||
Version logs successfully written! | ||
Executing command: `python "/Users/jccp/Desktop/template/analysis/code/analyze_data.py" ` | ||
/usr/local/Caskroom/miniconda/base/envs/template/lib/python3.11/site-packages/linearmodels/panel/model.py:1214: MissingValueWarning: | ||
Executing command: `python "/Users/lawrencechen/Desktop/gentzkow/analysis/code/analyze_data.py" ` | ||
/opt/homebrew/Caskroom/miniconda/base/envs/template/lib/python3.11/site-packages/linearmodels/panel/model.py:1214: MissingValueWarning: | ||
Inputs contain missing values. Dropping rows with missing observations. | ||
super().__init__(dependent, exog, weights=weights, check_rank=check_rank) | ||
|
||
Output logs successfully written! | ||
-------------------------------------------------------------------------------- | ||
Makelog ended: 2023-07-03 14:42:44 | ||
Working directory: /Users/jccp/Desktop/template/analysis | ||
Makelog ended: 2023-10-22 16:17:53 | ||
Working directory: /Users/lawrencechen/Desktop/gentzkow/analysis | ||
-------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
file name | last modified | file size | ||
/Users/jccp/Desktop/template/analysis/output/regression.csv | 2023-07-03 21:42:44 | 58 | ||
/Users/lawrencechen/Desktop/gentzkow/analysis/output/regression.csv | 2023-10-22 23:17:54 | 58 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
destination | source | ||
input/lib | /Users/jccp/Desktop/template/lib | ||
input/data_cleaned.csv | /Users/jccp/Desktop/template/data/output/data_cleaned.csv | ||
input/lib | /Users/lawrencechen/Desktop/gentzkow/lib | ||
input/data_cleaned.csv | /Users/lawrencechen/Desktop/gentzkow/data/output/data_cleaned.csv |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
-------------------------------------------------------------------------------- | ||
Makelog started: 2023-07-03 14:41:30 | ||
Working directory: /Users/jccp/Desktop/template/data | ||
Makelog started: 2023-10-22 16:42:26 | ||
Working directory: /Users/lawrencechen/Desktop/gentzkow/data | ||
-------------------------------------------------------------------------------- | ||
Input links successfully created! | ||
External links successfully created! | ||
Source logs successfully written! | ||
WARNING! The following target files have been modified according to git status: | ||
/Users/lawrencechen/Desktop/gentzkow/raw/tv.csv | ||
/Users/lawrencechen/Desktop/gentzkow/raw/chips.csv | ||
Version logs successfully written! | ||
Executing command: `python "/Users/jccp/Desktop/template/data/code/merge_data.py" ` | ||
Executing command: `python "/Users/jccp/Desktop/template/data/code/clean_data.py" ` | ||
/Users/jccp/Desktop/template/data/code/clean_data.py:17: SettingWithCopyWarning: | ||
Executing command: `python "/Users/lawrencechen/Desktop/gentzkow/data/code/merge_data.py" ` | ||
Executing command: `python "/Users/lawrencechen/Desktop/gentzkow/data/code/clean_data.py" ` | ||
/Users/lawrencechen/Desktop/gentzkow/data/code/clean_data.py:29: SettingWithCopyWarning: | ||
A value is trying to be set on a copy of a slice from a DataFrame | ||
|
||
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy | ||
df['chips_sold'][df['chips_sold'] == -999999] = np.NaN | ||
|
||
Output logs successfully written! | ||
WARNING! Certain files tracked by git exceed the config size limit (0.5 MB). See below for list of files. | ||
/Users/jccp/Desktop/template/data/output/data_merged.csv | ||
/Users/jccp/Desktop/template/data/output/data_cleaned.csv | ||
-------------------------------------------------------------------------------- | ||
Makelog ended: 2023-07-03 14:42:06 | ||
Working directory: /Users/jccp/Desktop/template/data | ||
Makelog ended: 2023-10-22 16:42:32 | ||
Working directory: /Users/lawrencechen/Desktop/gentzkow/data | ||
-------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
file name | last modified | file size | ||
/Users/jccp/Desktop/template/data/output/data_cleaned.csv | 2023-07-03 21:42:07 | 10260923 | ||
/Users/jccp/Desktop/template/data/output/data_merged.csv | 2023-07-03 21:41:58 | 10290907 | ||
/Users/jccp/Desktop/template/data/output/chips_sold.pdf | 2023-07-03 21:42:06 | 6920 | ||
/Users/lawrencechen/Desktop/gentzkow/data/output/data_merged.csv | 2023-10-22 23:42:30 | 10294275 | ||
/Users/lawrencechen/Desktop/gentzkow/data/output/data_cleaned.csv | 2023-10-22 23:42:32 | 10265592 | ||
/Users/lawrencechen/Desktop/gentzkow/data/output/chips_sold.pdf | 2023-10-22 23:42:31 | 9940 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
destination | source | ||
input/lib | /Users/jccp/Desktop/template/lib | ||
input/tv.csv | /Users/jccp/Desktop/template/raw/tv.csv | ||
input/chips.csv | /Users/jccp/Desktop/template/raw/chips.csv | ||
input/lib | /Users/lawrencechen/Desktop/gentzkow/lib | ||
input/tv.csv | /Users/lawrencechen/Desktop/gentzkow/raw/tv.csv | ||
input/chips.csv | /Users/lawrencechen/Desktop/gentzkow/raw/chips.csv |
Oops, something went wrong.