8000 CLN: D213: Multi-line docstring summary should start at the second line by simonjayhawkins · Pull Request #31893 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

CLN: D213: Multi-line docstring summary should start at the second line #31893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Prev Previous commit
Merge remote-tracking branch 'upstream/master' into D213--Multi-line-…
…docstring-summary-should-start-at-the-second-line
  • Loading branch information
simonjayhawkins committed Feb 13, 2020
commit 63e1a9bfb307125c4979f076d9176a2336b53c5d
25 changes: 1 addition & 24 deletions pandas/_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1978,30 +1978,7 @@ def makeCustomDataframe(
r_idx_type=None,
):
"""
nrows, ncols - number of data rows/cols
c_idx_names, idx_names - False/True/list of strings, yields No names ,
default names or uses the provided names for the levels of the
corresponding index. You can provide a single string when
c_idx_nlevels ==1.
c_idx_nlevels - number of levels in columns index. > 1 will yield MultiIndex
r_idx_nlevels - number of levels in rows index. > 1 will yield MultiIndex
data_gen_f - a function f(row,col) which return the data value
at that position, the default generator used yields values of the form
"RxCy" based on position.
c_ndupe_l, r_ndupe_l - list of integers, determines the number
of duplicates for each label at a given level of the corresponding
index. The default `None` value produces a multiplicity of 1 across
all levels, i.e. a unique index. Will accept a partial list of length
N < idx_nlevels, for just the first N levels. If ndupe doesn't divide
nrows/ncol, the last label might have lower multiplicity.
dtype - passed to the DataFrame constructor as is, in case you wish to
have more control in conjunction with a custom `data_gen_f`
r_idx_type, c_idx_type - "i"/"f"/"s"/"u"/"dt"/"td".
If idx_type is not None, `idx_nlevels` must be 1.
"i"/"f" creates an integer/float index,
"s"/"u" creates a string/unicode index
"dt" create a datetime index.
"td" create a timedelta index.
Create a DataFrame using supplied parameters.

Parameters
----------
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0