You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/generated/skbio.stats.distance.DistanceMatrix.condensed_form.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -688,7 +688,7 @@
688
688
<h1>skbio.stats.distance.DistanceMatrix.condensed_form<aclass="headerlink" href="#skbio-stats-distance-distancematrix-condensed-form" title="Link to this heading">#</a></h1>
<spanclass="sig-prename descclassname"><spanclass="pre">DistanceMatrix.</span></span><spanclass="sig-name descname"><spanclass="pre">condensed_form</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference external" href="https://github.com/scikit-bio/scikit-bio/blob/main/skbio/stats/distance/_base.py#L1087"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#skbio.stats.distance.DistanceMatrix.condensed_form" title="Link to this definition">#</a></dt>
691
+
<spanclass="sig-prename descclassname"><spanclass="pre">DistanceMatrix.</span></span><spanclass="sig-name descname"><spanclass="pre">condensed_form</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference external" href="https://github.com/scikit-bio/scikit-bio/blob/main/skbio/stats/distance/_base.py#L1107"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#skbio.stats.distance.DistanceMatrix.condensed_form" title="Link to this definition">#</a></dt>
692
692
<dd><p>Return an array of distances in condensed format.</p>
Copy file name to clipboardExpand all lines: docs/dev/generated/skbio.stats.distance.DistanceMatrix.from_iterable.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -688,7 +688,7 @@
688
688
<h1>skbio.stats.distance.DistanceMatrix.from_iterable<aclass="headerlink" href="#skbio-stats-distance-distancematrix-from-iterable" title="Link to this heading">#</a></h1>
<dt><strong>data</strong><spanclass="classifier">array_like or DissimilarityMatrix</span></dt><dd><p>Square, hollow, two-dimensional <codeclass="docutils literal notranslate"><spanclass="pre">numpy.ndarray</span></code> of distances
697
+
(floats), or a structure that can be converted to a <codeclass="docutils literal notranslate"><spanclass="pre">numpy.ndarray</span></code>
698
+
using <codeclass="docutils literal notranslate"><spanclass="pre">numpy.asarray</span></code> or a one-dimensional vector of distances
699
+
(floats), as defined by <cite>scipy.spatial.distance.squareform</cite>. Can
700
+
instead be a <cite>DissimilarityMatrix</cite> (or <cite>DistanceMatrix</cite>) instance,
701
+
in which case the instance’s data will be used.
702
+
Data will be converted to a float <codeclass="docutils literal notranslate"><spanclass="pre">dtype</span></code> if necessary. A copy will
703
+
<em>not</em> be made if already a <codeclass="docutils literal notranslate"><spanclass="pre">numpy.ndarray</span></code> with a float <codeclass="docutils literal notranslate"><spanclass="pre">dtype</span></code>.</p>
704
+
</dd>
705
+
<dt><strong>ids</strong><spanclass="classifier">sequence of str, optional</span></dt><dd><p>Sequence of strings to be used as object IDs. Must match the number of
706
+
rows/cols in <cite>data</cite>. If <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code> (the default), IDs will be
707
+
monotonically-increasing integers cast as strings, with numbering
708
+
starting from zero, e.g., <codeclass="docutils literal notranslate"><spanclass="pre">('0',</span><spanclass="pre">'1',</span><spanclass="pre">'2',</span><spanclass="pre">'3',</span><spanclass="pre">...)</span></code>.</p>
709
+
</dd>
710
+
<dt><strong>validate</strong><spanclass="classifier">bool, optional</span></dt><dd><p>If <cite>validate</cite> is <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code> (the default) and data is not a
711
+
DistanceMatrix object, the input data will be validated.</p>
Copy file name to clipboardExpand all lines: docs/dev/generated/skbio.stats.distance.DistanceMatrix.permute.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -688,7 +688,7 @@
688
688
<h1>skbio.stats.distance.DistanceMatrix.permute<aclass="headerlink" href="#skbio-stats-distance-distancematrix-permute" title="Link to this heading">#</a></h1>
Copy file name to clipboardExpand all lines: docs/dev/generated/skbio.stats.distance.DistanceMatrix.to_series.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -688,7 +688,7 @@
688
688
<h1>skbio.stats.distance.DistanceMatrix.to_series<aclass="headerlink" href="#skbio-stats-distance-distancematrix-to-series" title="Link to this heading">#</a></h1>
<spanclass="sig-prename descclassname"><spanclass="pre">DistanceMatrix.</span></span><spanclass="sig-name descname"><spanclass="pre">to_series</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference external" href="https://github.com/scikit-bio/scikit-bio/blob/main/skbio/stats/distance/_base.py#L1176"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#skbio.stats.distance.DistanceMatrix.to_series" title="Link to this definition">#</a></dt>
691
+
<spanclass="sig-prename descclassname"><spanclass="pre">DistanceMatrix.</span></span><spanclass="sig-name descname"><spanclass="pre">to_series</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference external" href="https://github.com/scikit-bio/scikit-bio/blob/main/skbio/stats/distance/_base.py#L1196"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink" href="#skbio.stats.distance.DistanceMatrix.to_series" title="Link to this definition">#</a></dt>
692
692
<dd><p>Create a <codeclass="docutils literal notranslate"><spanclass="pre">pandas.Series</span></code> from this <codeclass="docutils literal notranslate"><spanclass="pre">DistanceMatrix</span></code>.</p>
693
693
<p>The series will contain distances in condensed form: only distances
694
694
from one matrix triangle are included, and the diagonal is excluded.
0 commit comments