@@ -845,10 +845,11 @@ def luf(lamdaexpr, *args, **kwargs):
845
845
Parameters
846
846
----------
847
847
shape : int or tuple of int
848
- Shape of the empty array
848
+ Shape of the empty array, e.g., ``(2, 3)`` or ``2``.
849
849
dtype : data-type, optional
850
- Desired output data-type.
851
- order : {'C', 'F'}, optional
850
+ Desired output data-type for the array, e.g, `numpy.int8`. Default is
851
+ `numpy.float64`.
852
+ order : {'C', 'F'}, optional, default: 'C'
852
853
Whether to store multi-dimensional data in row-major
853
854
(C-style) or column-major (Fortran-style) order in
854
855
memory.
@@ -965,14 +966,15 @@ def luf(lamdaexpr, *args, **kwargs):
965
966
966
967
Parameters
967
968
----------
968
- shape : int or sequence of ints
969
+ shape : int or tuple of ints
969
970
Shape of the new array, e.g., ``(2, 3)`` or ``2``.
970
971
dtype : data-type, optional
971
972
The desired data-type for the array, e.g., `numpy.int8`. Default is
972
973
`numpy.float64`.
973
- order : {'C', 'F'}, optional
974
- Whether to store multidimensional data in C- or Fortran-contiguous
975
- (row- or column-wise) order in memory.
974
+ order : {'C', 'F'}, optional, default: 'C'
975
+ Whether to store multi-dimensional data in row-major
976
+ (C-style) or column-major (Fortran-style) order in
977
+ memory.
976
978
977
979
Returns
978
980
-------
0 commit comments