Commit Graph

53 Commits

Author SHA1 Message Date
Donne Martin
42f6f9f6b5 Added functions snippet IPython Notebook. 2015-01-26 13:56:49 -05:00
Donne Martin
6fa1d5f20e Run nosetest with -v for verbose output to see which tests are run. 2015-01-26 13:56:12 -05:00
Donne Martin
bf1f35d7af Added comprehension snippets for list, dict, and set. Tweaked a few snippets and content. 2015-01-26 13:00:12 -05:00
Donne Martin
c8a06dcd85 Added dict items() snippet. Tweaked a few snippets and comments. 2015-01-26 12:58:58 -05:00
Donne Martin
82e4208222 Used a relative path to link the nose test to the code being tested to decouple repo name. 2015-01-26 09:31:24 -05:00
Donne Martin
76e1983687 Removed basics IPython Notebook, refactoring useful content to other notebooks and removing content that is too elementary. 2015-01-26 09:09:06 -05:00
Donne Martin
3e23f1bd06 Added IPython Notebook demonstrating nose unit tests. 2015-01-26 09:00:11 -05:00
Donne Martin
5afd0cd32a Added set to index 2015-01-26 07:35:41 -05:00
Donne Martin
ef79a0cad3 Added set snippets. 2015-01-26 07:32:04 -05:00
Donne Martin
db9f29536d Added index of topics discussed in Notebook. 2015-01-26 07:28:08 -05:00
Donne Martin
def100a9ce Added index of topics discussed in Notebook. 2015-01-26 07:27:42 -05:00
Donne Martin
3be6c4dc02 Added index of topics discussed in Notebook. 2015-01-26 07:27:13 -05:00
Donne Martin
32947e0722 Added index of topics discussed in Notebook. 2015-01-26 07:26:50 -05:00
Donne Martin
a5a778ae6b Moved range and xrange snippets from basics to structs_utils IPython Notebook. 2015-01-26 07:23:28 -05:00
Donne Martin
79165b5dee Added dict snippets. 2015-01-25 16:09:07 -05:00
Donne Martin
beca89c977 Split up data structures IPython Notebook to two separate Notebooks, one to hold data structures, and one to hold data structure utils. 2015-01-25 13:43:03 -05:00
Donne Martin
32f4daf609 Added enumerate snippet. 2015-01-25 12:55:43 -05:00
Donne Martin
86a1463df3 Added reversed snippet. 2015-01-25 12:44:19 -05:00
Donne Martin
d3482764e8 Added zip snippets. Tweaked some variables used in snippets. 2015-01-25 12:41:04 -05:00
Donne Martin
a152e86d58 Added sorted snippets. 2015-01-25 12:18:28 -05:00
Donne Martin
661b71035b Converted python comments to markdown to improve readability. Tweaked slice snippets. 2015-01-25 09:34:33 -05:00
Donne Martin
da26235b6d Converted python comments to markdown to improve readability. 2015-01-25 09:22:23 -05:00
Donne Martin
adc34fe231 Renamed Util to TypeUtil in the IPython Notebook to be more more descriptive. Previously I erroneously renamed this in the generated .py file only. 2015-01-25 09:18:11 -05:00
Donne Martin
1bc5e1cf83 Converted python comments to markdown to improve readability. 2015-01-25 09:13:09 -05:00
Donne Martin
60b1901186 Added slice snippets 2015-01-25 09:04:56 -05:00
Donne Martin
ff31684ee5 Added bisect snippets. 2015-01-25 08:25:44 -05:00
Donne Martin
bf990b4beb Added sort snippets 2015-01-25 08:18:02 -05:00
Donne Martin
5162c13f5b Added snippets for list data structure. 2015-01-25 07:24:12 -05:00
Donne Martin
adc16ceddb Added IPython Notebook for data structures, starting with snippets for tuples. 2015-01-25 06:52:00 -05:00
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
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
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
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
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