Opensearch-py-ml
1.1.0
API Reference
DataFrame
Series
Constructor
Attributes and Underlying Data
Indexing, Iteration
Series.head
Series.tail
Series.sample
Binary Operator Functions
Computations / Descriptive Stats
Reindexing / Selection / Label Manipulation
Plotting
Serialization / IO / Conversion
Opensearch Functions
General Utility Functions
Input/Output
MLCommons Support
Sentence Transformer
Examples
Pre-trained models
Opensearch-py-ml
API Reference
Series
Series.sample
View page source
Series.sample
Series.
sample
(
n
:
int
|
None
=
None
,
frac
:
float
|
None
=
None
,
random_state
:
int
|
None
=
None
)
→
Series
[source]