File tree 1 file changed +14
-14
lines changed 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -109,24 +109,24 @@ def is_scalar(val: object) -> bool:
109
109
110
110
Parameters
111
111
----------
112
- val : input argument of any type
112
+ val : object
113
113
This includes:
114
- - numpy array scalar (e.g. np.int64 )
115
- - Python builtin numerics
116
- - Python builtin byte arrays and strings
117
- - None
118
- - instances of datetime.datetime
119
- - instances of datetime.timedelta
120
- - Period
121
- - instances of decimal.Decimal
122
- - Interval
123
- - DateOffset
124
- - Fraction
125
- - Number
114
+ * numpy array scalar (e.g. np.int64 )
115
+ * Python builtin numerics
116
+ * Python builtin byte arrays and strings
117
+ * None
118
+ * instances of datetime.datetime
119
+ * instances of datetime.timedelta
120
+ * Period
121
+ * instances of decimal.Decimal
122
+ * Interval
123
+ * DateOffset
124
+ * Fraction
125
+ * Number
126
126
127
127
Returns
128
128
-------
129
- True if the given value is scalar , False otherwise .
129
+ a bool object .
130
130
131
131
Examples
132
132
--------
You can’t perform that action at this time.
0 commit comments