Other utilities#
The string d = '2022-02-02'
looks like a date, right? Without googling, do you know how to convert it to an actual date object? With Sciris, it’s sc.date(d)
. Without sciris, it’s datetime.datetime.strptime(d, '%Y-%m-%d').date()
.
Also, if you need help with anything in Sciris, you can do sc.help()
. It doesn’t use ChatGPT, but will do a full text search through the source code.
Miscellaneous utilities for type checking, printing, dates and times, etc. |
|
Time/date utilities. |
|
Functions for working on nested (multi-level) dictionaries and objects. |
|
Define options for Sciris, mostly plotting options. |