Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 227c10b

Browse files
committed
Add documentation for new csv2rec dateutil kwwargs
1 parent b096c81 commit 227c10b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/matplotlib/mlab.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,6 +2129,14 @@ def csv2rec(fname, comments='#', skiprows=0, checkrows=0, delimiter=',',
21292129
21302130
- *use_mrecords*: if True, return an mrecords.fromrecords record array if any of the data are missing
21312131
2132+
- *dayfirst*: default is False so that MM-DD-YY has precedence over
2133+
DD-MM-YY. See http://labix.org/python-dateutil#head-b95ce2094d189a89f80f5ae52a05b4ab7b41af47
2134+
for further information.
2135+
2136+
- *yearfirst*: default is False so that MM-DD-YY has precedence over
2137+
YY-MM-DD. See http://labix.org/python-dateutil#head-b95ce2094d189a89f80f5ae52a05b4ab7b41af47
2138+
for further information.
2139+
21322140
If no rows are found, *None* is returned -- see :file:`examples/loadrec.py`
21332141
"""
21342142

0 commit comments

Comments
 (0)