get_data_home¶
yohou.datasets._fetchers.get_data_home(data_home=None)
¶
Return the path of the yohou data directory.
By default the data directory is set to a folder named yohou_data
in the user home folder. Alternatively, it can be set programmatically
by giving an explicit folder path. The YOHOU_DATA environment
variable has the same effect. If the folder does not already exist,
it is automatically created.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
data_home
|
str, PathLike, or None
|
The path to the data directory. If |
None
|
Returns¶
| Type | Description |
|---|---|
str
|
The path to the data directory. |
See Also¶
clear_data_home: Delete all cached datasets.