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 @@ -112,24 +112,24 @@ def is_scalar(val: object) -> bint:
112
112
113
113
Parameters
114
114
----------
115
- val : input argument of any type
115
+ val : object
116
116
This includes:
117
- - numpy array scalar (e.g. np.int64 )
118
- - Python builtin numerics
119
- - Python builtin byte arrays and strings
120
- - None
121
- - instances of datetime.datetime
122
- - instances of datetime.timedelta
123
- - Period
124
- - instances of decimal.Decimal
125
- - Interval
126
- - DateOffset
127
- - Fraction
128
- - Number
117
+ * numpy array scalar (e.g. np.int64 )
118
+ * Python builtin numerics
119
+ * Python builtin byte arrays and strings
120
+ * None
121
+ * instances of datetime.datetime
122
+ * instances of datetime.timedelta
123
+ * Period
124
+ * instances of decimal.Decimal
125
+ * Interval
126
+ * DateOffset
127
+ * Fraction
128
+ * Number
129
129
130
130
Returns
131
131
-------
132
- True if the given value is scalar , False otherwise .
132
+ a bool object .
133
133
134
134
Examples
135
135
--------
You can’t perform that action at this time.
0 commit comments