cab8f0c8f1
WTF python suddenly function must be defined physically in the file ahead of use?
2021-05-25 16:00:09 -04:00
f7097af7b8
Update settings to provide logfile path
2021-05-25 15:58:28 -04:00
1f4ec77467
Gather all csv files in provided directory
2021-05-25 15:57:52 -04:00
868c92e863
Add prerequisites section, including being able to use python rather than python3
2021-05-25 15:55:25 -04:00
91141a41b7
Switch README to using 'python' rather than 'python3' just because i'm on that now
2021-05-25 15:50:25 -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
0077a27da0
Set and get don't work symetrically for config parser sections bwahahaha
2021-05-02 23:19:40 -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
6b2caea884
Update install instructions
2021-05-02 20:30:14 -04:00
mlncn
eb9330b12f
Add git ignore
2021-05-02 18:43:18 -04:00
mlncn
c236099528
Much improve README, mostly with installation instructions
2021-05-02 18:40:03 -04:00
mlncn
1f451309a7
Add requirements (python) file
2021-05-02 18:39:37 -04:00
mlncn
6180d04bc5
Proof of concept settings system
2021-05-02 18:27:51 -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
c5f48e0602
Add note on another way data can be manipulated after running the whole script
2021-04-28 11:41:46 -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
3dd830bbb3
Document interacting with data in README
2021-04-27 23:51:11 -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
benjamin melançon
23a7b70015
Add notes on Harvest import from Sanjay
2021-04-23 11:29:33 -04:00
benjamin melançon
12e7625d4a
Initial commit
2021-04-23 14:26:26 +00:00