xarray
v0.10.0
What’s New
Overview: Why xarray?
Frequently Asked Questions
Examples
Installation
Data Structures
Indexing and selecting data
Computation
GroupBy: split-apply-combine
Reshaping and reorganizing data
Combining data
Time series data
Working with pandas
Serialization and IO
Parallel computing with dask
Plotting
API reference
Top-level functions
xarray.apply_ufunc
xarray.align
xarray.broadcast
xarray.concat
xarray.merge
xarray.where
xarray.set_options
xarray.full_like
xarray.zeros_like
xarray.ones_like
Dataset
DataArray
Universal functions
IO / Conversion
Plotting
Testing
Exceptions
Advanced API
xarray Internals
xarray
Docs
»
API reference
»
xarray.ones_like
Edit on GitHub
xarray.ones_like
¶
xarray.
ones_like
(
other
,
dtype=None
)
¶
Shorthand for full_like(other, 1, dtype)
Read the Docs
v: v0.10.0
Versions
latest
stable
v0.10.0
v0.10.0rc2
v0.10.0rc1
v0.9.6
v0.9.5
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.2
v0.8.1
v0.8.0
v0.7.2
v0.7.1
v0.7.0
v0.6.1
v0.6.0
v0.5.2
v0.5.1
v0.5
v0.4.1
v0.4
v0.3.2
v0.3.1
v0.3
v0.2
v0.1.1
fix-docs
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.