We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a0ce27 commit d874576Copy full SHA for d874576
speasy/core/__init__.py
@@ -190,14 +190,14 @@ def epoch_to_datetime64(epoch_array: np.array) -> np.array:
190
-------
191
np.array
192
Output array of datetime64[ns]
193
-
+
194
Examples
195
--------
196
>>> epoch_to_datetime64(np.arange(2))
197
array(['1970-01-01T00:00:00.000000000', '1970-01-01T00:00:01.000000000'],
198
dtype='datetime64[ns]')
199
200
201
"""
202
return (epoch_array * 1e9).astype("datetime64[ns]")
203
@@ -263,7 +263,8 @@ def fix_name(name: str):
263
('}', ''),
264
('(', ''),
265
('⊙', 'o'),
266
- (';', '_')
+ (';', '_'),
267
+ (',', '_')
268
)
269
if len(name):
270
if name[0].isnumeric():
0 commit comments