Commit Graph

43 Commits

Author SHA1 Message Date
Donne Martin
125f5c0c81 Renamed Util class to TypeUtil to be more descriptive. 2015-01-25 06:07:04 -05:00
Donne Martin
c2ddddcdcd Removed obsolete date unit test, this is now demonstrated in the IPython notebook. 2015-01-25 06:03:55 -05:00
Donne Martin
a3ca7175e5 Added snippet for range and xrange. 2015-01-25 06:02:30 -05:00
Donne Martin
09fb505a19 Fixed datetime typo 2015-01-25 05:48:49 -05:00
Donne Martin
6fa559064a Added snippet to demo exceptions. 2015-01-25 05:48:18 -05:00
Donne Martin
a0f928a591 Added snippet to access help 2015-01-25 05:47:14 -05:00
Donne Martin
35b16335c7 Simplified unit test to test only user-generated functionality with the move to IPython Notebooks 2015-01-25 05:40:33 -05:00
Donne Martin
86a16a4f1c Fixed README IPython urls 2015-01-24 15:27:18 -05:00
Donne Martin
e181d7180c Added IPython Notebook python basics snippets 2015-01-24 15:25:50 -05:00
Donne Martin
b171b3f316 Renamed util.py to type_util.py and test_util.py to test_type_util.py to be more descriptive that these files work with types. 2015-01-24 15:21:44 -05:00
Donne Martin
278ac5fba6 Updated README descriptions with new focus on IPython Notebooks. Added first IPython Notebook link. 2015-01-24 13:32:17 -05:00
Donne Martin
1957222030 Reset datetime IPython Notebook prompt numbers 2015-01-24 13:29:58 -05:00
Donne Martin
2472d4cb52 Added IPython Notebook datetime snippets 2015-01-24 13:18:54 -05:00
Donne Martin
2869bce587 Exclude IPython notebook checkpoints from source control 2015-01-24 13:16:44 -05:00
Donne Martin
5c7c6e10b6 Added failure case for test_isinstance. 2015-01-24 11:04:38 -05:00
Donne Martin
c25b655dc1 Changed first parameter of test_convert_to_list to self rather than the unused obj. 2015-01-24 11:02:53 -05:00
Donne Martin
1b783a75fb Added docstrings to test_attributes_fail and test_convert_to_list. 2015-01-24 11:01:36 -05:00
Donne Martin
bdb30c025b Removed dummy date_util.py, snippets are contained in the nose test 2015-01-24 08:19:18 -05:00
Donne Martin
4c6bcef382 Added snippet for datetime replace. When aggregating or grouping time series data, it is sometimes
useful to replace fields of a series of datetimes such as zeroing
        out the minute and second fields.
2015-01-24 08:14:50 -05:00
Donne Martin
9215edb560 Refactored duplicated local dt variable to be a class variable. 2015-01-24 08:14:10 -05:00
Donne Martin
91f5a0d84b Added snippet for strptime 2015-01-24 07:57:34 -05:00
Donne Martin
c4cda0bd0c Added snippet for strftime 2015-01-24 07:56:12 -05:00
Donne Martin
9d92a16ea5 Added snippet for datetime 2015-01-24 07:54:57 -05:00
Donne Martin
a5b6a3735f Changed to use the cls convention for classmethods instead of self. 2015-01-24 07:08:41 -05:00
Donne Martin
595ab2358b Tweaked docstrings. 2015-01-24 07:08:07 -05:00
Donne Martin
0510eb997c Updated README wth list of packages this repo will contain. 2015-01-24 06:55:05 -05:00
Donne Martin
e94bebfb61 Added snippet to test for references, is versus == 2015-01-24 06:54:21 -05:00
Donne Martin
bd7547d3c8 Added scipy snippet skeleton package 2015-01-23 19:14:49 -05:00
Donne Martin
ce581c0579 Added pandas snippet skeleton package 2015-01-23 19:14:38 -05:00
Donne Martin
8776392271 Added numpy snippet skeleton package 2015-01-23 19:14:27 -05:00
Donne Martin
58c8086d68 Added matplotlib snippet skeleton package 2015-01-23 19:14:05 -05:00
Donne Martin
de2d07239c Added __init__.py to core 2015-01-23 19:08:22 -05:00
Donne Martin
27eb1345be Moved snippets and tests dealing with core Python functionality to the core folder 2015-01-23 19:06:52 -05:00
Donne Martin
4c94ff5948 Added snippet to convert an object to a list. Useful when writing functions that can accept multiple types of
input (list, tuple, ndarray, iterator).
2015-01-23 16:58:34 -05:00
Donne Martin
52552208c1 Added snippet to test if an object is iterable. 2015-01-23 16:47:51 -05:00
Donne Martin
a7262a50a2 Added snippet for using getattr. getattr, hasattr, and setattr can be used to write generic, reusable code. 2015-01-23 16:29:19 -05:00
Donne Martin
cfa84449b9 Removed unnecessary call to main from nose test. 2015-01-23 16:22:21 -05:00
Donne Martin
67b939f1bc Added snippet that tests for whether an object is of a particular instance 2015-01-23 16:09:17 -05:00
Donne Martin
3c272027e1 Added __init__.py files 2015-01-23 16:08:32 -05:00
Donne Martin
343670807a Added LICENSE 2015-01-23 16:07:56 -05:00
Donne Martin
030fc9bca4 Updated README with repo name and description 2015-01-23 16:06:28 -05:00
Donne Martin
746c8df6a6 Added .gitignore 2015-01-23 16:05:47 -05:00
Donne Martin
62c3058353 first commit 2015-01-23 14:38:58 -05:00