@@ -809,8 +809,9 @@ def to_json(self, path_or_buf=None, orient=None, date_format='epoch',
809
809
- columns : dict like {column -> {index -> value}}
810
810
- values : just the values array
811
811
812
- date_format : type of date conversion, epoch or iso
813
- epoch = epoch milliseconds, iso = ISO8601, default is epoch
812
+ date_format : {'epoch', 'iso'}
813
+ Type of date conversion. `epoch` = epoch milliseconds,
814
+ `iso`` = ISO8601, default is epoch.
814
815
double_precision : The number of decimal places to use when encoding
815
816
floating point values, default 10.
816
817
force_ascii : force encoded string to be ASCII, default True.
@@ -845,7 +846,8 @@ def to_hdf(self, path_or_buf, key, **kwargs):
845
846
Parameters
846
847
----------
847
848
path_or_buf : the path (string) or buffer to put the store
848
- key : string, an indentifier for the group in the store
849
+ key : string
850
+ indentifier for the group in the store
849
851
mode : optional, {'a', 'w', 'r', 'r+'}, default 'a'
850
852
851
853
``'r'``
@@ -2079,8 +2081,8 @@ def fillna(self, value=None, method=None, axis=0, inplace=False,
2079
2081
column (for a DataFrame). (values not in the dict/Series will not be
2080
2082
filled). This value cannot be a list.
2081
2083
axis : {0, 1}, default 0
2082
- 0: fill column-by-column
2083
- 1: fill row-by-row
2084
+ * 0: fill column-by-column
2085
+ * 1: fill row-by-row
2084
2086
inplace : boolean, default False
2085
2087
If True, fill in place. Note: this will modify any
2086
2088
other views on this object, (e.g. a no-copy slice for a column in a
@@ -2440,20 +2442,20 @@ def interpolate(self, method='linear', axis=0, limit=None, inplace=False,
2440
2442
'polynomial', 'spline' 'piecewise_polynomial', 'pchip'}
2441
2443
2442
2444
* 'linear': ignore the index and treat the values as equally
2443
- spaced. default
2445
+ spaced. default
2444
2446
* 'time': interpolation works on daily and higher resolution
2445
- data to interpolate given length of interval
2447
+ data to interpolate given length of interval
2446
2448
* 'index': use the actual numerical values of the index
2447
2449
* 'nearest', 'zero', 'slinear', 'quadratic', 'cubic',
2448
2450
'barycentric', 'polynomial' is passed to
2449
2451
`scipy.interpolate.interp1d` with the order given both
2450
2452
'polynomial' and 'spline' requre that you also specify and order
2451
2453
(int) e.g. df.interpolate(method='polynomial', order=4)
2452
2454
* 'krogh', 'piecewise_polynomial', 'spline', and 'pchip' are all
2453
- wrappers around the scipy interpolation methods of similar
2454
- names. See the scipy documentation for more on their behavior:
2455
- http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation
2456
- http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html
2455
+ wrappers around the scipy interpolation methods of similar
2456
+ names. See the scipy documentation for more on their behavior:
2457
+ http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation
2458
+ http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html
2457
2459
2458
2460
axis : {0, 1}, default 0
2459
2461
* 0: fill column-by-column
@@ -2745,20 +2747,23 @@ def resample(self, rule, how=None, axis=0, fill_method=None,
2745
2747
2746
2748
Parameters
2747
2749
----------
2748
- rule : the offset string or object representing target conversion
2749
- how : string, method for down- or re-sampling, default to 'mean' for
2750
- downsampling
2750
+ rule : string
2751
+ the offset string or object representing target conversion
2752
+ how : string
2753
+ method for down- or re-sampling, default to 'mean' for
2754
+ downsampling
2751
2755
axis : int, optional, default 0
2752
- fill_method : string, fill_method for upsampling, default None
2756
+ fill_method : string, default None
2757
+ fill_method for upsampling
2753
2758
closed : {'right', 'left'}
2754
2759
Which side of bin interval is closed
2755
2760
label : {'right', 'left'}
2756
2761
Which bin edge label to label bucket with
2757
2762
convention : {'start', 'end', 's', 'e'}
2758
- kind: "period"/"timestamp"
2759
- loffset: timedelta
2763
+ kind : "period"/"timestamp"
2764
+ loffset : timedelta
2760
2765
Adjust the resampled time labels
2761
- limit: int, default None
2766
+ limit : int, default None
2762
2767
Maximum size gap to when reindexing with fill_method
2763
2768
base : int, default 0
2764
2769
For frequencies that evenly subdivide 1 day, the "origin" of the
0 commit comments