Updated markdown discussions for clarity and consistency.

This commit is contained in:
Donne Martin 2015-01-27 10:21:16 -05:00
parent 90a0fd501f
commit e7ea21486d

View File

@ -1,7 +1,7 @@
{ {
"metadata": { "metadata": {
"name": "", "name": "",
"signature": "sha256:4adca0cfd0e4ce000c652d8f94ba43c5cfffe7b418a452e58d0653beb6066afa" "signature": "sha256:4dcac17430f8456d8b357f87e754eeda54837fbcd49ef8901953fec4b2dcab52"
}, },
"nbformat": 3, "nbformat": 3,
"nbformat_minor": 0, "nbformat_minor": 0,
@ -25,6 +25,13 @@
"* timedelta" "* timedelta"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Basics"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"collapsed": false, "collapsed": false,
@ -52,13 +59,6 @@
"outputs": [], "outputs": [],
"prompt_number": 2 "prompt_number": 2
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Basics"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"collapsed": false, "collapsed": false,
@ -94,7 +94,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Extract the equivalent date object" "Extract the equivalent date object:"
] ]
}, },
{ {
@ -121,7 +121,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Extract the equivalent time object" "Extract the equivalent time object:"
] ]
}, },
{ {
@ -148,7 +148,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"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." "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:"
] ]
}, },
{ {
@ -182,7 +182,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Format datetime string" "Format a datetime string:"
] ]
}, },
{ {
@ -216,7 +216,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Convert a string into a datetime object" "Convert a string into a datetime object:"
] ]
}, },
{ {
@ -250,7 +250,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Get the current datetime" "Get the current datetime:"
] ]
}, },
{ {
@ -268,7 +268,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Subtracting two datetimes results in a timedelta" "Subtract two datetime fields to create a timedelta:"
] ]
}, },
{ {
@ -286,7 +286,7 @@
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 11, "prompt_number": 11,
"text": [ "text": [
"datetime.timedelta(5, 32014, 49792)" "datetime.timedelta(6, 40171, 885211)"
] ]
} }
], ],
@ -296,7 +296,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"Adding a datetime and a timedelta results in a datetime" "Add a datetime and a timedelta to get a new datetime:"
] ]
}, },
{ {
@ -313,7 +313,7 @@
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 12, "prompt_number": 12,
"text": [ "text": [
"datetime.datetime(2015, 1, 25, 16, 21, 49, 49792)" "datetime.datetime(2015, 1, 26, 18, 37, 46, 885211)"
] ]
} }
], ],