Собрали в одном месте самые важные ссылки
читайте нас в Telegram
Возможности проекта: https://wger.de/ru/software/features
import category_encoders as ce
encoder = ce.BackwardDifferenceEncoder(cols=[...])
encoder = ce.BinaryEncoder(cols=[...])
encoder = ce.HashingEncoder(cols=[...])
encoder = ce.HelmertEncoder(cols=[...])
encoder = ce.OneHotEncoder(cols=[...])
encoder = ce.OrdinalEncoder(cols=[...])
encoder = ce.SumEncoder(cols=[...])
encoder = ce.PolynomialEncoder(cols=[...])
from bytecode import Instr, Bytecode bytecode = Bytecode() bytecode.extend([Instr("LOAD_NAME", 'print'), Instr("LOAD_CONST", 'Hello World!'), Instr("CALL_FUNCTION", 1), Instr("POP_TOP"), Instr("LOAD_CONST", None), Instr("RETURN_VALUE")]) code = bytecode.to_code() exec(code)
Hello World!
from syncer import sync async def async_fun(): ... return 1 b = sync(async_fun) # now b is synchronous assert 1 == b()