Commit graph

144 commits

Author SHA1 Message Date
3ed6413b25 Start adding projects exactly as named in Harvest 2021-06-01 11:03:45 -04:00
8002ddedea Fix another reversed debug logic 2021-05-29 04:34:08 -04:00
aff12ffaf2 Add additional aliases 2021-05-29 04:33:46 -04:00
e8ef6b0d7c Compare alternatives (plus original) as lower case so every possible variation need not be explicit 2021-05-28 14:39:51 -04:00
369d727d65 Add many more variations of camp support/defense 2021-05-28 14:39:09 -04:00
3eaa9afeb9 Add sub-project of NICHQ to resolve to Project: Subproject: approach 2021-05-28 14:38:47 -04:00
6c18d88dbc Add Family & Home to our projects 2021-05-28 14:38:09 -04:00
df64927f5a Force non-date values to 'not a time' that still let's column be datetime 2021-05-28 14:24:07 -04:00
d952f11350 Make one CSV logfile vs directory an option determined via settings.ini
Default to directory.
2021-05-28 14:21:52 -04:00
8c8c00586d Fix logic reversal error in our interactive/debug mode identification 2021-05-28 14:00:36 -04:00
afce4adaea Add a misspelling of propaganda site that came up 2021-05-27 08:20:14 -04:00
306b61055f Up our debugging game significantly by not making the rookie equals assignment object mistake 2021-05-27 08:19:56 -04:00
baee9b5087 Fix double typo mistakes 2021-05-26 12:48:36 -04:00
f6dadbfab0 Update glob to reflect directory path should have a slash already 2021-05-26 12:48:24 -04:00
1f4ec77467 Gather all csv files in provided directory 2021-05-25 15:57:52 -04:00
mlncn
ca5417ae93 Fix both filtering and an opposite logic error and our newest feature is done 2021-05-03 00:13:07 -04:00
mlncn
a1c0434015 Add missing import statement 2021-05-03 00:04:18 -04:00
mlncn
01c8670eb6 Finish up filtering of pre-last-recorded stuff 2021-05-03 00:01:59 -04:00
mlncn
206530b235 Use .apply rather than np.where for easier/better/not-randomly-failing individual parsing
+# On some systems, using np.where worked but others failed.  Why it worked is
+# unknown but why it failed is because numpy where evaluates all parts, even
+# the parts that will never get used because the where clause does not apply!
+# This caused the chained strings to fail because— no string.

This worked fine on the System76 and didn't on Bridget's computer, even after
updating the version of python, but anyway, .apply() is better for what i am
trying to do here.

TODO convert other np.where uses to .apply

See #4 in https://datatofish.com/if-condition-in-pandas-dataframe/
2021-05-02 22:38:54 -04:00
mlncn
d8a5e27a97 Save when our last processed date is from so we can pick up where we left off 2021-05-02 20:34:22 -04:00
mlncn
1f451309a7 Add requirements (python) file 2021-05-02 18:39:37 -04:00
benjamin melançon
3dc4d28f2f Add aliases for NICHQ 2021-04-30 09:19:10 -04:00
benjamin melançon
b8e4a8d094 Regularize Drutopia references 2021-04-28 11:42:00 -04:00
benjamin melançon
f706f0b1e6 Add comment about criticality of fill na 2021-04-28 11:15:53 -04:00
benjamin melançon
ce13e32f7d Regularize project titles 2021-04-28 11:14:39 -04:00
benjamin melançon
761d04204a Output all entries, reset index for fun, and write out our CSV file 2021-04-28 11:08:43 -04:00
benjamin melançon
9e97b6b250 Keep our strings from being ragged 2021-04-28 11:05:02 -04:00
benjamin melançon
9faa5c44c4 Document multiple task entries piece 2021-04-28 00:16:15 -04:00
benjamin melançon
367b69da3d Allow multiple entries to be put into one by splitting with semicolon 2021-04-28 00:14:48 -04:00
benjamin melançon
28550ef3ff Fix approach to dropping column after using it 2021-04-27 23:51:26 -04:00
benjamin melançon
4314ad0774 Really close to having it all now 2021-04-27 23:37:37 -04:00
benjamin melançon
1c63ab32e8 Actually we want to use regex to be sure we have a digit to multiply
Ensure we're splitting on the same asterisk we found with regex

We can tone down the regex now that we've thrown in extra cleanup,
that's coming next.
2021-04-27 22:40:17 -04:00
benjamin melançon
2516b9272d Document making .contains not a regular expression 2021-04-27 22:31:42 -04:00
benjamin melançon
f31c9d4d47 Start to use our multiplier to have time be x times what we give 2021-04-27 22:30:38 -04:00
benjamin melançon
3921d6774f Document code 2021-04-27 22:30:07 -04:00
benjamin melançon
f51acf4fec Aggregate by project as well as description now that we have it 2021-04-27 21:58:19 -04:00
benjamin melançon
796284931e Split out project into own column if it had been provided (with colon) 2021-04-27 21:45:37 -04:00
benjamin melançon
afbb5dbe1e Provide first started and last recorded times for each task 2021-04-27 19:48:46 -04:00
benjamin melançon
a42dd0b5e2 Don't overwrite timelog. Max for started isn't working here, weirdly 2021-04-27 14:32:01 -04:00
benjamin melançon
22a2bbae39 The payoff: combine multiple entries in the same day into one larger time unit 2021-04-27 11:32:34 -04:00
benjamin melançon
5f35d57024 Fix extraction of day name 2021-04-27 11:31:27 -04:00
benjamin melançon
e36d149b10 Put our start and recorded times in eastern time for easier review 2021-04-27 11:30:53 -04:00
benjamin melançon
9821ee623f Very solid progress on manipulating the date 2021-04-27 11:06:20 -04:00
benjamin melançon
8bf975e629 Initial commit: first line on interactive shell that didn't break 2021-04-27 09:41:53 -04:00