Juan Luis
02/09/2024, 9:39 AMJuan Luis
02/12/2024, 3:50 PMDeepyaman Datta
02/12/2024, 5:52 PMmarrrcin
02/14/2024, 10:02 AMElias WILLEMSE
02/15/2024, 1:39 PMdatajoely
02/15/2024, 10:06 PMJuan Luis
02/16/2024, 8:32 AMNok Lam Chan
02/21/2024, 2:32 PMimportlib
docs and I find that there was a LazyLoader
since 3.5?
And this is exactly how lazy_loader
is using it :)
https://github.com/scientific-python/lazy_loader/blob/789a2eeea36c5ef96a4a42d595945690f4346e5a/lazy_loader/__init__.py#L244-L249Guilherme Marthe (gui42)
02/22/2024, 12:56 AMNok Lam Chan
02/27/2024, 11:05 AMIn [1]: import logging
In [2]: logging.DEBUG
Out[2]: 10TIL: I just learn that logging LEVEL are actually integers 👀
CRITICAL = 50
FATAL = CRITICAL
ERROR = 40
WARNING = 30
WARN = WARNING
INFO = 20
DEBUG = 10
NOTSET = 0
Juan Luis
02/28/2024, 8:07 AMDeepyaman Datta
03/02/2024, 6:28 PMdatajoely
03/04/2024, 9:26 AMNok Lam Chan
03/05/2024, 11:56 AMmoveSymbol
command from Pylance, but I cannot trigger it. https://hynek.me/til/vs-code-refactoring/Nok Lam Chan
03/07/2024, 2:33 PMcreate_derived_features
, how can you filter the highlighted pipeline that shown in kedro-viz
? (with Python API or kedro run
CLI)
https://demo.kedro.org/?pipeline_id=__default__&selected_id=04ba733aJuan Luis
03/11/2024, 8:57 PMtyro.cli(your_func)
separately, and you're done. your original function is usable everywhere (unlike Click's decorated functions). your CLI function can be trivially declared as an entry point under [project.scripts]
. it even has support for config objects created from data classes.
wdyt?Iñigo Hidalgo
03/18/2024, 12:42 PMdef to_candlestick(daily_data: pl.DataFrame, frequency="7d"):
"""
daily_data:
primary_key:
- timestamp
- ticker
schema:
timestamp: datetime
open: float
high: float
low: float
close: float
Return:
plotly graph object with a candlestick chart without a Rangeslider
"""
datajoely
03/18/2024, 1:47 PMdatajoely
03/19/2024, 5:41 PMon_pipeline_error
🤔
https://docs.sweep.dev/blogs/file-cachedatajoely
03/26/2024, 4:29 PMNok Lam Chan
03/27/2024, 11:45 AM%
but reload_kedro
seems to behave just like %reload_kedro
, maybe it's a IPython specific thing?Nok Lam Chan
04/02/2024, 10:08 AMMerel
04/02/2024, 3:13 PMdatajoely
04/03/2024, 12:24 PMdatajoely
04/04/2024, 9:21 AMJuan Luis
04/10/2024, 9:37 AMAfiq Johari
04/18/2024, 7:24 AMDeepyaman Datta
04/18/2024, 3:03 PM