index
int64
0
731k
package
stringlengths
2
98
name
stringlengths
1
76
docstring
stringlengths
0
281k
code
stringlengths
4
8.19k
signature
stringlengths
2
42.8k
embed_func_code
listlengths
768
768
54,163
teradatasql
logMsg
null
def logMsg (sCategory, s): print ("{:.23} [{}] PYDBAPI-{} {}".format (datetime.datetime.now ().strftime ("%Y-%m-%d.%H:%M:%S.%f"), threading.current_thread ().name, sCategory, s)) sys.stdout.flush ()
(sCategory, s)
[ -0.05898020789027214, 0.05021534860134125, -0.052187442779541016, 0.05678899213671684, 0.039624474942684174, -0.06168270856142044, -0.030037907883524895, 0.04820673540234566, 0.022898199036717415, -0.07453783601522446, -0.043897345662117004, 0.015247205272316933, -0.04915625974535942, -0.0015829247422516346, -0.01920965313911438, -0.03286822885274887, -0.04104876518249512, -0.026970207691192627, -0.03213782235980034, 0.008385962806642056, 0.008915507234632969, 0.04616159945726395, -0.004373300354927778, -0.004174721427261829, 0.030092688277363777, 0.011348668485879898, -0.01851576752960682, -0.005103705450892448, 0.032247383147478104, -0.006706031505018473, 0.0012142984196543694, -0.05784808099269867, -0.05222396180033684, 0.010563483461737633, -0.07304050773382187, 0.01631542295217514, 0.016488894820213318, -0.06737986952066422, -0.030293550342321396, -0.029672706499695778, 0.02098088525235653, 0.03889406844973564, 0.007043843623250723, -0.030658751726150513, 0.014845483005046844, -0.0007897504838183522, 0.04736676812171936, 0.09546393901109695, -0.004453188274055719, -0.004544489085674286, -0.04353214055299759, 0.005532818380743265, -0.002153553767129779, -0.037232398986816406, -0.014087687246501446, -0.011595180258154869, 0.027353670448064804, -0.03432903811335564, -0.009650477208197117, 0.027791913598775864, -0.006053232122212648, 0.027116287499666214, 0.012133854441344738, 0.07351526618003845, -0.025125933811068535, -0.07044757157564163, 0.007523172069340944, -0.02386598475277424, -0.026970207691192627, 0.007596212904900312, 0.028540577739477158, -0.040318358689546585, 0.028084075078368187, 0.02209475263953209, -0.04933886229991913, 0.016835836693644524, -0.039003629237413406, 0.03058571182191372, 0.0020188852213323116, 0.03575332835316658, -0.029124902561306953, -0.04218089208006859, 0.020287001505494118, 0.02123652771115303, 0.010928685776889324, -0.02974574640393257, 0.0006356806843541563, 0.024541610851883888, -0.05094575509428978, 0.044591229408979416, -0.030768312513828278, -0.05109183490276337, 0.010764344595372677, 0.024888552725315094, -0.02036004140973091, 0.017748843878507614, 0.011996903456747532, -0.01699104718863964, -0.04313042014837265, -0.003494531847536564, -0.0005800443468615413, -0.03195521980524063, 0.026312842965126038, -0.09692475199699402, -0.04849889501929283, -0.0921771228313446, 0.007988804951310158, -0.01174126099795103, -0.043020859360694885, 0.04554075747728348, 0.00635908916592598, -0.03750630095601082, -0.01631542295217514, -0.044810350984334946, 0.024304227903485298, 0.002752714091911912, 0.0018739454681053758, -0.0010265614837408066, -0.02790147438645363, -0.032320424914360046, -0.03372645378112793, -0.055291663855314255, 0.003937339875847101, -0.002958140568807721, -0.04429906606674194, 0.00847726408392191, -0.012864259071648121, 0.01787666417658329, 0.006902327761054039, 0.03794454410672188, -0.006208443082869053, -0.019136613234877586, 0.03445686027407646, -0.03553420677781105, 0.05244308337569237, -0.023299921303987503, -0.05379433184862137, -0.01807752624154091, 0.04733024910092354, -0.0018203064100816846, -0.017484070733189583, -0.03378123417496681, -0.04061052203178406, -0.011522140353918076, 0.03995315730571747, -0.00895659253001213, 0.02036004140973091, 0.019063571467995644, 0.0007760553853586316, -0.02437726967036724, 0.010901295579969883, 0.02074350416660309, -0.04773196950554848, -0.012316455133259296, 0.02702498808503151, 0.012270805425941944, -0.025801558047533035, -0.05748287960886955, -0.009796557947993279, -0.027609311044216156, -0.00995176937431097, -0.07559692114591599, 0.001406029798090458, -0.004528511315584183, -0.027371929958462715, 0.005939105991274118, -0.01786753349006176, 0.080344557762146, 0.008317487314343452, 0.05580294877290726, -0.009970028884708881, 0.03246650472283363, -0.04225393384695053, 0.029307503253221512, 0.02326340042054653, 0.03445686027407646, 0.023592082783579826, 0.001986929913982749, 0.03712283819913864, -0.05364825204014778, 0.003346168203279376, -0.01877140998840332, -0.01196951325982809, 0.05916281044483185, -0.016488894820213318, -0.05163963884115219, 0.007002758793532848, 0.011220848187804222, -0.01004306972026825, -0.006669511087238789, -0.01944703422486782, 0.013695094734430313, 0.009216798469424248, -0.020287001505494118, -0.0034488814417272806, 0.048791058361530304, 0.01007045991718769, -0.03456642106175423, 0.08260881155729294, -0.04627116024494171, 0.04291129857301712, 0.08560347557067871, -0.02571025863289833, -0.009760037995874882, 0.09853164106607437, -0.023975545540452003, 0.0955369845032692, 0.033397771418094635, -0.09685171395540237, -0.06924240291118622, -0.005496297962963581, 0.032977789640426636, -0.014233768917620182, -0.024724211543798447, -0.012909909710288048, -0.06318003684282303, -0.023792944848537445, 0.016826706007122993, -0.04630768299102783, -0.02386598475277424, -0.02255125716328621, -0.04773196950554848, 0.009979159571230412, 0.0013090227730572224, -0.026185020804405212, 0.00011291320697637275, 0.0621209517121315, 0.03217434138059616, -0.002348708687350154, -0.06635729968547821, 0.014900263398885727, -0.02459639124572277, 0.042107850313186646, 0.05656987056136131, -0.012051683850586414, 0.008385962806642056, -0.0749395564198494, 0.02191215194761753, 0.012864259071648121, -0.005039794836193323, -0.016708016395568848, -0.011348668485879898, 0.05247960239648819, 0.041888728737831116, 0.040683563798666, -0.016470633447170258, 0.034529898315668106, 0.037871502339839935, 0.006340829189866781, 0.025527657940983772, 0.014407239854335785, -0.05390389263629913, -0.008865291252732277, -0.04718416556715965, -0.01988527737557888, -0.04148700833320618, -0.015493717044591904, 0.04645376279950142, -0.008641605265438557, -0.006564515642821789, -0.08341225981712341, 0.08341225981712341, -0.024669431149959564, 0.05777503922581673, 0.00802989024668932, -0.022715598344802856, -0.04893713817000389, -0.0013090227730572224, 0.030220510438084602, 0.02145564928650856, 0.13125379383563995, 0.05025186762213707, 0.015347636304795742, -0.009394834749400616, -0.0482797734439373, -0.046380721032619476, -0.000506433192640543, -0.02364686317741871, -0.01140344887971878, -0.03288648650050163, 0.0697171613574028, 0.014096817933022976, 0.03947839513421059, 0.03955143317580223, 0.02386598475277424, -0.06858503818511963, 0.060441020876169205, -0.009997419081628323, -0.014160728082060814, 0.019976578652858734, -0.046563323587179184, 0.006226703058928251, 0.010590873658657074, 0.023153841495513916, -0.05331956967711449, 0.04893713817000389, 0.009394834749400616, 0.00028930886765010655, 0.016415853053331375, 0.008664430119097233, -0.008317487314343452, -0.04535815492272377, 0.03730543702840805, 0.01741103082895279, -0.00198122370056808, 0.00804358534514904, -0.02211301401257515, 0.007609908003360033, -0.023829465731978416, -0.024632910266518593, -0.02368338406085968, 0.020177440717816353, 0.04250957444310188, 0.03626461327075958, -0.05160311609506607, 0.08867117762565613, -0.03515074402093887, -0.005062620155513287, 0.0052360910922288895, 0.06420260667800903, -0.01693626679480076, 0.02211301401257515, 0.00013366983330342919, 0.07742293924093246, 0.004670027177780867, -0.04093920439481735, -0.03646547347307205, 0.010207410901784897, 0.034931622445583344, 0.002115892246365547, -0.001343260519206524, 0.006144532468169928, -0.007961414754390717, -0.01610543206334114, 0.04554075747728348, 0.025418097153306007, -0.06653989851474762, -0.05426909774541855, 0.06610165536403656, -0.02813885547220707, -0.03642895445227623, 0.007276660297065973, -0.023555563762784004, -0.005067185033112764, 0.07610820978879929, 0.04561379551887512, -0.03703153505921364, -0.010189150460064411, 0.04353214055299759, -0.021528689190745354, 0.06003929674625397, -0.02191215194761753, -0.024048587307333946, 0.006623860914260149, 0.010180020704865456, 0.030037907883524895, 0.01988527737557888, -0.07895679026842117, 0.020159179344773293, 0.01442550029605627, 0.009906118735671043, 0.012106464244425297, 0.04462774842977524, 0.005669769365340471, 0.0007988805300556123, 0.01944703422486782, 0.014936783351004124, -0.029380543157458305, 0.07859158515930176, 0.04130440577864647, -0.03841930627822876, -0.007536867167800665, 0.04225393384695053, 0.06964412331581116, -0.1225619688630104, 0.07019192725419998, -0.016671495512127876, -0.008856161497533321, -0.005646944046020508, -0.03142567723989487, 0.038967110216617584, -0.04579639807343483, -0.004619812127202749, 0.030877873301506042, 0.022697336971759796, -0.01880793087184429, -0.03533334657549858, 0.0316447988152504, 0.004391560330986977, 0.01520155556499958, 0.034255996346473694, 0.0012314172927290201, 0.042984336614608765, -0.041012246161699295, -0.03292300924658775, -0.060185376554727554, 0.02994660846889019, -0.01895401068031788, -0.05744635686278343, 0.0017392770387232304, -0.03301430866122246, 0.01206081360578537, -0.02901534177362919, -0.01942877471446991, -0.007961414754390717, 0.009705257602036, -0.04090268537402153, -0.02211301401257515, -0.03142567723989487, 0.04773196950554848, 0.024906812235713005, -0.02680586650967598, -0.029782267287373543, -0.005843240302056074, 0.05247960239648819, -0.018397077918052673, -0.004825238604098558, 0.023354701697826385, -0.036301132291555405, 0.0041861338540911674, -0.016461504623293877, -0.007792509160935879, 0.06851199269294739, 0.07044757157564163, 0.013074250891804695, -0.020597422495484352, -0.020633943378925323, 0.014489410445094109, 0.05788460001349449, -0.028723178431391716, -0.06621121615171432, 0.011686480604112148, -0.032046522945165634, 0.06365480273962021, 0.023738164454698563, 0.0006145673687569797, 0.0016856379806995392, 0.01673540659248829, -0.023299921303987503, 0.03538812696933746, 0.007961414754390717, -0.004138201009482145, -0.02501637302339077, -0.0384923480451107, 0.0003674850449897349, 0.028431016951799393, -0.009915248490869999, -0.037232398986816406, -0.006509735248982906, 0.07727685570716858, 0.009896988980472088, 0.02282515913248062, -0.014142467640340328, 0.025618957355618477, 0.024651171639561653, -0.07588908821344376, -0.01968441717326641, -0.01605978049337864, 0.006632991135120392, -0.027609311044216156, 0.0003446599002927542, 0.02503463439643383, -0.04532163590192795, 0.04305737838149071, 0.009376575239002705, -0.040793124586343765, 0.05226048082113266, 0.011631700210273266, -0.021364348009228706, -0.03845582529902458, 0.05700811371207237, 0.034493379294872284, -0.03213782235980034, -0.0036474603693932295, -0.05901673063635826, -0.024943333119153976, 0.006226703058928251, -0.013284241780638695, -0.016698885709047318, 0.05733679607510567, -0.021492168307304382, -0.033160388469696045, 0.001598902395926416, 0.03288648650050163, -0.015146775171160698, -0.010883035138249397, 0.061536625027656555, -0.0067790718749165535, 0.031151775270700455, -0.07472043484449387, 0.007555127609521151, 0.02503463439643383, -0.0004114234761800617, -0.027079768478870392, 0.03885754942893982, -0.07574300467967987, -0.09173887968063354, 0.001035120920278132, -0.04050096124410629, 0.0053045665845274925, -0.04773196950554848, -0.006559950299561024, -0.05288132652640343, -0.031863920390605927, 0.03432903811335564, -0.014242898672819138, 0.05156659707427025, 0.04243653267621994, 0.007514042314141989, -0.027134548872709274, 0.03060397133231163, 0.02992834709584713, -0.06679554283618927, -0.017383640632033348, 0.0014493975322693586, -0.06697814166545868, -0.003946470096707344, -0.032320424914360046, 0.010755214840173721, -0.03595418855547905, 0.03222912177443504, 0.02079828456044197, -0.02056090347468853, 0.0127455685287714, 0.01831490732729435, -0.01049957238137722, 0.025801558047533035, 0.036063749343156815, -0.046782445162534714, 0.0442260280251503, -0.0746108740568161, 0.04050096124410629, 0.026732824742794037, -0.012435146607458591, 0.016269773244857788, 0.044152986258268356, -0.022861678153276443, -0.022222574800252914, -0.026477184146642685, -0.03823670372366905, 0.0029261852614581585, -0.00419526407495141, 0.013439453206956387, -0.051931798458099365, 0.005103705450892448, 0.01094694621860981, 0.016023261472582817, 0.027974514290690422, 0.014653751626610756, 0.044152986258268356, 0.032539546489715576, 0.002533592516556382, -0.023318180814385414, -0.031370896846055984, 0.0004502262454479933, 0.05313696712255478, 0.005911715794354677, 0.015913700684905052, 0.0027161939069628716, -0.008623344823718071, -0.01787666417658329, 0.027828432619571686, 0.08450786769390106, 0.03710457682609558, -0.010800864547491074, -0.0014859178336337209, 0.02275211736559868, -0.01249905675649643, -0.030768312513828278, 0.010663913562893867, -0.014799832366406918, -0.014872873201966286, -0.00018331455066800117, 0.02036004140973091, -0.027134548872709274, 0.017264949157834053, 0.028741439804434776, 0.03911319002509117, 0.018250996246933937, 0.0659920945763588, -0.039003629237413406, -0.010846515186131, 0.023738164454698563, -0.017593631520867348, 0.03040311112999916, 0.06058710068464279, 0.022879939526319504, -0.047001566737890244, 0.02413988672196865, 0.03034833073616028, -0.011248238384723663, 0.01809578575193882, -0.031626541167497635, -0.04981362447142601, -0.0261667612940073, 0.00663755601271987, 0.08501914888620377, 0.021729551255702972, 0.019538335502147675, 0.05828632414340973, -0.05076315253973007, 0.059966254979372025, -0.011869082227349281, 0.023391222581267357, 0.04689200595021248, -0.004444058518856764, 0.005446082912385464, 0.01922791264951229, -0.02501637302339077, 0.044773831963539124, -0.054378658533096313, 0.010554352775216103, -0.02392076514661312, 0.06073318049311638, 0.0069936285726726055, -0.035424645990133286, 0.036702852696180344, -0.004898278973996639, 0.05244308337569237, 0.013978127390146255, 0.0017586784670129418, 0.06504257023334503, 0.00849552359431982, 0.009157453663647175, 0.04046444222331047, 0.062449634075164795, -0.034493379294872284, -0.05901673063635826, 0.012754698283970356, -0.08370441943407059, -0.0379810631275177, 0.06898675858974457, -0.019373994320631027, 0.008449873887002468, -0.013028600253164768, -0.04817021265625954, -0.008075540885329247, -0.016214992851018906, -0.09195800125598907, -0.005770199932157993, 0.038747988641262054, 0.04112180694937706, -0.006181052885949612, -0.052370041608810425, 0.004816108383238316, 0.03998967632651329, 0.00018060406728181988, -0.053027406334877014, 0.02098088525235653, -0.020633943378925323, -0.00859595462679863, -0.017748843878507614, 0.013795525766909122, 0.0638008788228035, 0.034767281264066696, 0.026915427297353745, 0.0032023696694523096, 0.015603277832269669, 0.03082309290766716, -0.012489927001297474, -0.0026317406445741653, -0.05222396180033684, -0.005523688159883022, -0.024413788691163063, -0.03535160422325134, 0.004688287619501352, -0.01895401068031788, -0.06697814166545868, 0.007870114408433437, 0.002346426248550415, 0.02054264210164547, -0.0245598703622818, 0.00839052814990282, 0.0020177438855171204, 0.022478215396404266, -0.030987434089183807, 0.07997935265302658, 0.03367167338728905, 0.007034713868051767, -0.032758668065071106, 0.01385943591594696, -0.001218863413669169, 0.017045827582478523, -0.08436178416013718, 0.011175197549164295, 0.06146358698606491, -0.036501992493867874, -0.004078855738043785, -0.041523527354002, -0.034986402839422226, -0.03432903811335564, 0.019940057769417763, -0.054159536957740784, -0.022039972245693207, 0.005135660525411367, -0.01990353874862194, 0.022660817950963974, -0.015155904926359653, 0.019775716587901115, -0.02499811351299286, 0.029837047681212425, 0.0007743434980511665, 0.026988467201590538, 0.03768889978528023, 0.017292339354753494, 0.01171387080103159, 0.017831014469265938, -0.024066846817731857, 0.009750907309353352, 0.008207926526665688, 0.03794454410672188, 0.034986402839422226, -0.004966754466295242, 0.010207410901784897, -0.019702676683664322, -0.0003711941244546324, -0.05613162741065025, -0.03465772047638893, -0.025801558047533035, 0.04798761382699013, -0.05525514483451843, 0.017493201419711113, 0.01853402890264988, -0.03555246815085411, 0.05828632414340973, -0.026057200506329536, 0.011540399864315987, -0.012426015920937061, 0.03513248264789581, 0.009851338341832161, -0.016187602654099464, 0.01763015240430832, -0.06402000039815903, 0.03175435960292816, 0.011348668485879898, -0.020761763677001, -0.022003453224897385, -0.02412162721157074, 0.11533095687627792, -0.007276660297065973, -0.08852509409189224, -0.021346088498830795, 0.03358037397265434, -0.036757633090019226, -0.03823670372366905, 0.02613024041056633, 0.0158223994076252, 0.01630629226565361, -0.05543774366378784, 0.023829465731978416, 0.04784153029322624, -0.0047476328909397125, -0.06405652314424515, 0.06102534383535385, 0.022514736279845238, -0.05693507567048073, 0.03509596362709999, -0.012343845330178738, 0.024541610851883888, -0.00012061669258400798, 0.03754281997680664, -0.006884067784994841, 0.05982017517089844, 0.055985547602176666, -0.018397077918052673, 0.04444514960050583, -0.02841275744140148, 0.04086616262793541 ]
54,166
teradatasql
prototype
null
def prototype(rtype, func, *args): func.restype = rtype func.argtypes = args
(rtype, func, *args)
[ -0.036377109587192535, 0.015660841017961502, 0.0030016612727195024, -0.019818749278783798, -0.0386117585003376, 0.016329403966665268, -0.04344738647341728, 0.014241291210055351, 0.013847480528056622, -0.00068802380701527, -0.004821890499442816, 0.0014287083176895976, -0.0020274377893656492, 0.012235604226589203, -0.06546414643526077, 0.04553549736738205, 0.007450347300618887, 0.05117706209421158, -0.019214294850826263, -0.0225113146007061, -0.012299712747335434, 0.06044534966349602, 0.03130336478352547, 0.025350414216518402, 0.016686581075191498, 0.04227511212229729, 0.02024003490805626, -0.03454543277621269, 0.016649946570396423, 0.0014561834977939725, -0.0044395276345312595, -0.00767472805455327, -0.01389327272772789, 0.02665090560913086, 0.022547947242856026, 0.014195499010384083, -0.049418654292821884, 0.08066707104444504, -0.04099293798208237, 0.023610319942235947, -0.06509780883789062, 0.003239779267460108, 0.0025986921973526478, -0.03967412933707237, 0.032237522304058075, -0.009918532334268093, 0.03654196113348007, -0.015871483832597733, -0.0096163060516119, -0.0009730785386636853, -0.031083563342690468, -0.0047989943996071815, 0.061104755848646164, -0.05608595907688141, -0.05011469125747681, 0.037659283727407455, -0.003798440797254443, 0.05165329948067665, -0.02188854292035103, 0.02485586144030094, -0.0007658700924366713, 0.03668849542737007, -0.018756374716758728, -0.013398719020187855, 0.041286006569862366, 0.016127917915582657, -0.06843146681785583, -0.039381060749292374, -0.023482102900743484, 0.04249491170048714, -0.042714715003967285, 0.03313504159450531, -0.0014710657997056842, -0.008416556753218174, 0.07029977440834045, -0.004785256925970316, -0.0224380474537611, -0.050627559423446655, 0.01737345941364765, -0.00674973102286458, 0.0164667796343565, 0.0228776503354311, -0.04494936019182205, 0.027548426762223244, -0.012418772093951702, -0.004849365446716547, -0.09656602889299393, -0.04315431788563728, 0.017629893496632576, -0.017071232199668884, -0.06791859120130539, -0.03232910484075546, -0.01442445907741785, -0.027878127992153168, -0.014241291210055351, -0.04253154620528221, 0.030753862112760544, -0.058393873274326324, 0.026595953851938248, -0.048979051411151886, 0.01019328460097313, 0.027804860845208168, 0.016045494005084038, -0.06187405809760094, 0.02137567475438118, -0.031761284917593, 0.024544475600123405, -0.007184754125773907, -0.0461948998272419, 0.0897521898150444, 0.00929576251655817, 0.004707410465925932, -0.026046451181173325, -0.02152220904827118, 0.0032283312175422907, 0.03348306193947792, -0.014168024063110352, -0.01015665102750063, -0.010339817963540554, -0.004091509152203798, 0.01932419463992119, 0.027969712391495705, 0.002562058623880148, 0.0018442700384184718, 0.02394002303481102, 0.011273973621428013, -0.000725802150554955, 0.03564444184303284, -0.007830420508980751, -0.009314078837633133, -0.05385131388902664, 0.002550610573962331, -0.07000670582056046, 0.07055620849132538, 0.012794265523552895, 0.023610319942235947, 0.0196722149848938, 0.01065120380371809, -0.00261929864063859, -0.022108344361186028, -0.012391297146677971, 0.04048006981611252, 0.09334227442741394, -0.02024003490805626, -0.023482102900743484, 0.026266252622008324, 0.03271375596523285, -0.043081048876047134, -0.0061773317866027355, 0.06839483231306076, -0.01709870807826519, 0.01229055505245924, 0.010669520124793053, 0.0257900170981884, -0.0022953206207603216, 0.014058123342692852, 0.03690829873085022, -0.061031486839056015, 0.016833113506436348, -0.02672417089343071, -0.04696420580148697, 0.013362085446715355, 0.01989201456308365, -0.062460195273160934, 0.050481025129556656, 0.03626720979809761, -0.0015798216918483377, -0.024178139865398407, 0.002855126978829503, -0.00982694886624813, -0.02379348874092102, -0.05729486420750618, 0.02756674401462078, -0.023756854236125946, 0.04689094051718712, 0.0463414341211319, -0.011246498674154282, 0.008178438991308212, -0.0128950085490942, 0.025405364111065865, 0.06839483231306076, -0.027108823880553246, -0.07685717940330505, 0.041359271854162216, 0.06128792092204094, 0.04341075196862221, -0.058760207146406174, 0.03320831060409546, 0.00005309002153808251, -0.03201771900057793, 0.016567520797252655, 0.03469196707010269, -0.007583144120872021, -0.0036427483428269625, 0.002211750252172351, -0.01652172952890396, -0.0051378547213971615, 0.044143423438072205, 0.022419730201363564, 0.029178619384765625, 0.03199940174818039, 0.061800792813301086, 0.02088112197816372, 0.012885849922895432, 0.022492997348308563, -0.02950832061469555, 0.004455555230379105, -0.004945528693497181, -0.05081072822213173, -0.06861463189125061, 0.00650245463475585, -0.032732073217630386, 0.03362959623336792, -0.022786065936088562, -0.008471507579088211, -0.07363342493772507, -0.032805342227220535, -0.013939063996076584, 0.033373162150382996, -0.003326783888041973, 0.012528672814369202, 0.006406291387975216, -0.08623536676168442, -0.03478355333209038, 0.035516221076250076, -0.0022976102773100138, -0.041945409029722214, -0.045279063284397125, -0.014003172516822815, -0.006328444927930832, -0.022969232872128487, 0.007441189140081406, -0.003983898088335991, -0.03313504159450531, -0.020148450508713722, -0.009117173962295055, 0.04077313840389252, 0.046414703130722046, -0.003400051034986973, 0.02357368730008602, 0.013023225590586662, 0.05659882724285126, 0.039014726877212524, -0.005884263198822737, -0.0387582927942276, 0.013343769125640392, 0.023427153006196022, 0.07425619661808014, -0.018829641863703728, -0.000054771444411017, -0.03956422954797745, -0.05249587073922157, -0.03348306193947792, 0.01182347722351551, 0.04315431788563728, 0.06275326758623123, 0.007885370403528214, -0.05337507650256157, -0.00484478659927845, -0.001836256473325193, 0.027621693909168243, -0.0029329732060432434, 0.05978594720363617, 0.02509397827088833, -0.005385131109505892, -0.054620616137981415, -0.0197454821318388, 0.016485095024108887, 0.015294505283236504, 0.022071711719036102, 0.1426510214805603, 0.02364695444703102, 0.015450198203325272, -0.008059380576014519, -0.00286657502874732, 0.020716270431876183, -0.05487705022096634, -0.0016313375672325492, 0.08293835073709488, -0.04894241690635681, 0.03141326457262039, -0.015468514524400234, 0.003924368415027857, -0.0019484467338770628, -0.034032564610242844, -0.004835627973079681, 0.033959295600652695, 0.04890578240156174, -0.049418654292821884, -0.006955794524401426, 0.040296901017427444, 0.04538896307349205, 0.01481826975941658, 0.027182091027498245, 0.06315623223781586, 0.07612451165914536, 0.018060337752103806, -0.03471028432250023, 0.04722063988447189, -0.03483850136399269, -0.012308871373534203, -0.026760805398225784, 0.02487417683005333, -0.02985633909702301, 0.02615635097026825, -0.03617562726140022, 0.027273675426840782, -0.0256434828042984, -0.07293739169836044, 0.063229501247406, -0.03185286745429039, 0.03333652764558792, -0.11722734570503235, 0.0039152102544903755, 0.03201771900057793, 0.02522219717502594, 0.02102765627205372, -0.009717048145830631, -0.008998114615678787, 0.03731126710772514, -0.02621130272746086, -0.06843146681785583, 0.055609721690416336, -0.020624686032533646, 0.04026026651263237, -0.028097929432988167, -0.046487968415021896, -0.01385663915425539, 0.024397941306233406, 0.05007805675268173, -0.02357368730008602, -0.004379998426884413, 0.04374045506119728, 0.03734790161252022, -0.028024662286043167, -0.002327374881133437, 0.03399593010544777, 0.011072489432990551, -0.009735364466905594, 0.0257167499512434, 0.04659787192940712, -0.016787322238087654, -0.003851101500913501, 0.008787471801042557, -0.0015683736419305205, 0.01250119786709547, 0.00175383104942739, -0.00038035924080759287, 0.10814222693443298, 0.059749312698841095, 0.024745959788560867, -0.05059092864394188, -0.043703820556402206, 0.0383186899125576, 0.02707219123840332, 0.02566179819405079, -0.020148450508713722, -0.005742308218032122, 0.01470836903899908, -0.08689477294683456, 0.021980127319693565, 0.006626092828810215, 0.015404406003654003, 0.00990021601319313, 0.001799622899852693, 0.047770142555236816, -0.020185083150863647, 0.023335568606853485, 0.016347719356417656, 0.032090988010168076, 0.022474680095911026, -0.029728122055530548, -0.07381659746170044, -0.06143445521593094, -0.04275134950876236, -0.011960852891206741, 0.003193987300619483, -0.02857416495680809, -0.06828492879867554, -0.0457553006708622, -0.05366814509034157, -0.053484976291656494, 0.022053394466638565, -0.037952352315187454, -0.0006616933969780803, -0.0035740602761507034, -0.018472464755177498, 0.04447312653064728, -0.037952352315187454, 0.061104755848646164, -0.01414054911583662, 0.000876915524713695, 0.020917754620313644, -0.03754938393831253, -0.014021489769220352, -0.00576978363096714, -0.021503891795873642, 0.02941673807799816, -0.014616784639656544, 0.006058272439986467, 0.010696995072066784, -0.013316294178366661, 0.0007389673264697194, 0.05044439435005188, 0.03643206134438515, 0.05179983377456665, 0.02058805339038372, -0.00576978363096714, 0.03384939581155777, 0.0055362447164952755, 0.05542655661702156, -0.0068184188567101955, -0.059602778404951096, -0.032493956387043, 0.04879588261246681, 0.02485586144030094, 0.007528193760663271, -0.016375195235013962, 0.0387582927942276, 0.011530408635735512, 0.04839291423559189, -0.00614527752622962, 0.04381372034549713, 0.12316197901964188, 0.059236444532871246, 0.05209290236234665, 0.03348306193947792, 0.013316294178366661, -0.02756674401462078, 0.0022667006123811007, 0.027310308068990707, 0.03392266482114792, -0.01054130308330059, -0.04333748668432236, 0.004002214875072241, -0.031816232949495316, -0.04751370847225189, -0.050920628011226654, 0.006003322545439005, 0.062386929988861084, 0.04729390889406204, 0.041725609451532364, -0.02828109823167324, -0.04788004606962204, -0.01172273512929678, -0.02806129679083824, 0.007596881594508886, -0.021485574543476105, 0.00509206298738718, -0.03187118470668793, 0.0021911440417170525, 0.043081048876047134, 0.06821165978908539, 0.010532144457101822, 0.03839195519685745, -0.05150676518678665, -0.0518731027841568, -0.00584305077791214, -0.01688806526362896, -0.032732073217630386, 0.03960086405277252, -0.026046451181173325, -0.018417514860630035, -0.043850354850292206, -0.017336824908852577, 0.0901917889714241, 0.03284197300672531, -0.057184964418411255, -0.0038007304538041353, -0.009771998040378094, 0.03806225582957268, -0.014085598289966583, -0.02238309569656849, -0.010990063659846783, 0.05407111346721649, 0.05414438247680664, -0.02650437131524086, -0.016072968021035194, -0.05037112534046173, -0.0010938547784462571, 0.005563719663769007, 0.015294505283236504, 0.0069832694716751575, 0.07106907665729523, -0.024764277040958405, -0.01846330799162388, 0.003663354553282261, 0.05528002232313156, -0.0036908297333866358, 0.0389048270881176, -0.030094457790255547, 0.0290687195956707, 0.004121273756027222, 0.023610319942235947, 0.02036825194954872, -0.029233569279313087, 0.011484616436064243, 0.010376451537013054, -0.0574047677218914, -0.0354795902967453, 0.014873219653964043, -0.04868598282337189, -0.0579909048974514, 0.007230546325445175, 0.022767748683691025, -0.03306177631020546, -0.02117418870329857, 0.002196867950260639, -0.064987912774086, 0.00582473399117589, -0.05018795654177666, 0.05506021901965141, 0.013948222622275352, 0.0023033341858536005, -0.030460793524980545, -0.007152699865400791, 0.025753382593393326, -0.003862549550831318, -0.03348306193947792, -0.0527523048222065, -0.0066581470891833305, -0.004405183717608452, -0.0012077621649950743, -0.0029925028793513775, 0.05000479146838188, 0.019195977598428726, 0.031742967665195465, 0.010413085110485554, 0.043996889144182205, 0.03286029025912285, 0.009117173962295055, 0.01644846238195896, -0.011567042209208012, -0.025057345628738403, -0.00034630150184966624, 0.018206872045993805, -0.0353330560028553, 0.004744044039398432, 0.0922432690858841, -0.039234526455402374, 0.01346282847225666, 0.014946486800909042, -0.010559619404375553, 0.03582760691642761, -0.05267903953790665, -0.011832634918391705, -0.007212229538708925, -0.06315623223781586, -0.0448760949075222, -0.03062564507126808, -0.04901568591594696, -0.06938393414020538, 0.011237340047955513, 0.052349336445331573, -0.06000574678182602, 0.016338560730218887, -0.004973003640770912, -0.017510835081338882, 0.01588980108499527, 0.018902909010648727, 0.011200706474483013, 0.00986358243972063, 0.030589010566473007, 0.02765832655131817, -0.06583048403263092, 0.04223847761750221, 0.05641566216945648, 0.04154244065284729, -0.03688998147845268, -0.08447695523500443, 0.022346463054418564, 0.018921226263046265, 0.002827651798725128, -0.018005387857556343, -0.02415982447564602, 0.03084544651210308, 0.032255835831165314, -0.037292949855327606, -0.03791572153568268, -0.04505925998091698, -0.08161953836679459, -0.001273015746846795, -0.035314738750457764, -0.08850664645433426, -0.04461966082453728, -0.014937328174710274, -0.013526936993002892, 0.022346463054418564, -0.08667497336864471, 0.007537351921200752, -0.01172273512929678, 0.05736813321709633, -0.04850281402468681, -0.04454639181494713, -0.01753831095993519, -0.017510835081338882, 0.013224709779024124, -0.0011613979004323483, -0.04989488795399666, -0.012299712747335434, -0.04868598282337189, 0.023994972929358482, -0.0288489181548357, -0.022767748683691025, -0.010037591680884361, -0.04996815696358681, -0.023555370047688484, 0.021906860172748566, 0.037091463804244995, -0.015001436695456505, 0.031816232949495316, -0.0010217324597761035, 0.015276188962161541, -0.02230983041226864, 0.03725631535053253, -0.024745959788560867, -0.0394909642636776, -0.01846330799162388, 0.03864838927984238, 0.010275709442794323, -0.06535424292087555, -0.004739465191960335, 0.06385227292776108, -0.040919672697782516, -0.021467257291078568, 0.005710253957659006, -0.08161953836679459, -0.026339519768953323, 0.05000479146838188, -0.09407494962215424, -0.006365078501403332, -0.0051973843947052956, 0.021467257291078568, -0.04736717417836189, 0.01457099337130785, -0.07205818593502045, -0.004853944759815931, 0.011484616436064243, 0.022895965725183487, 0.02828109823167324, 0.012226445600390434, -0.0047165690921247005, 0.022071711719036102, -0.03318999335169792, 0.0391978956758976, 0.014149706810712814, -0.00925912894308567, -0.014470250345766544, 0.013994014821946621, -0.04744044318795204, 0.007413713727146387, 0.06689285486936569, -0.011447982862591743, 0.03982066363096237, -0.015999700874090195, 0.07934825867414474, 0.004721148405224085, -0.014396983198821545, 0.05271567404270172, -0.009680414572358131, 0.0018236637115478516, -0.013911589048802853, 0.016924697905778885, 0.01115491520613432, 0.03590087592601776, 0.0012558437883853912, -0.0029421315994113684, -0.00671309744939208, 0.021760325878858566, -0.048979051411151886, 0.020331617444753647, 0.010284868068993092, 0.0362122617661953, -0.0038923141546547413, -0.01499227900058031, -0.020001916214823723, -0.05549982190132141, 0.013233868405222893, 0.00013279660197440535, 0.035296421498060226, -0.03328157588839531, -0.01817939803004265, -0.07011660933494568, -0.08462349325418472, 0.01118239015340805, 0.0014939617831259966, 0.0127851078286767, 0.020258350297808647, -0.04069986939430237, -0.05729486420750618, 0.05513348802924156, -0.04216521233320236, 0.028262780979275703, -0.015834849327802658, -0.02093607187271118, -0.01972716487944126, -0.04220184311270714, -0.05136023089289665, 0.020844487473368645, 0.012272237800061703, 0.03069891221821308, 0.05396121367812157, -0.029270203784108162, 0.0699334368109703, 0.013371244072914124, 0.01888459362089634, 0.004464713390916586, -0.03091871365904808, 0.0289954524487257, -0.025203879922628403, -0.001460762694478035, 0.034105829894542694, 0.06894433498382568, -0.035882558673620224, -0.012198970653116703, -0.03696324676275253, 0.06546414643526077, 0.026705855503678322, -0.03340979292988777, 0.027530109509825706, -0.012739315629005432, -0.03198108449578285, 0.05652556195855141, -0.013307135552167892, 0.04374045506119728, -0.02822614647448063, -0.05674536153674126, 0.028116246685385704, 0.0027864391449838877, -0.04623153433203697, 0.07414630055427551, -0.01435119193047285, 0.0032924399711191654, -0.025954866781830788, 0.010101700201630592, -0.0195989478379488, 0.0029352628625929356, 0.023060817271471024, -0.022181611508131027, -0.04971172288060188, -0.11048677563667297, 0.02650437131524086, -0.006300969980657101, -0.015715790912508965, 0.06377900391817093, -0.0049775829538702965, 0.03256722167134285, 0.013728421181440353, 0.0576978363096714, 0.014726685360074043, 0.06608691811561584, -0.009030168876051903, -0.01232718862593174, -0.02117418870329857, 0.05110379680991173, -0.0387582927942276, -0.0007412569248117507, 0.022895965725183487, -0.01903112791478634, 0.011658625677227974, -0.04146917536854744, -0.04011373221874237, 0.001920971553772688, -0.02428804151713848, 0.05044439435005188, 0.015294505283236504, -0.018793009221553802, 0.008476086892187595 ]
54,172
teradatasql
timingLog
null
def timingLog (s): logMsg ("TIMING", s)
(s)
[ -0.012888316065073013, 0.07627814263105392, -0.014940101653337479, 0.0789678767323494, 0.00624587619677186, -0.07834716886281967, -0.04262196272611618, 0.0634501725435257, -0.018604004755616188, -0.02781117707490921, -0.03144921734929085, 0.014664231799542904, 0.0129917673766613, -0.011879665777087212, 0.02044888772070408, -0.015715986490249634, 0.012681413441896439, -0.03469069302082062, -0.06055353581905365, -0.07365737855434418, 0.04838075861334801, 0.03834597393870354, -0.01906953565776348, 0.03313892334699631, 0.0042975423857569695, 0.02217307686805725, -0.02651803381741047, -0.027138741686940193, -0.010991708375513554, -0.032259587198495865, 0.008047654293477535, -0.06548471748828888, -0.06845032423734665, -0.005663962569087744, -0.04051845148205757, 0.004187625367194414, -0.007232974749058485, -0.10138234496116638, -0.043001286685466766, 0.0067114075645804405, 0.025655940175056458, 0.04603585973381996, -0.014845271594822407, 0.02243170514702797, 0.014707336202263832, -0.00514670554548502, 0.05424300208687782, 0.0640019103884697, -0.008547669276595116, -0.0075174663215875626, -0.018604004755616188, 0.025880083441734314, -0.03460448235273361, -0.013957314193248749, 0.0028944830410182476, 0.014517675153911114, 0.03851839154958725, -0.026983564719557762, 0.024793844670057297, -0.0004097644123248756, 0.030173316597938538, 0.04741521179676056, -0.002821204951032996, 0.09303726255893707, -0.018707456067204475, -0.02062130719423294, 0.028621545061469078, -0.008487322367727757, 0.003931152168661356, -0.038173556327819824, 0.03263890743255615, -0.025793874636292458, -0.02355242893099785, 0.003534588497132063, -0.04562205448746681, 0.010715837590396404, -0.023759331554174423, 0.020810967311263084, 0.03263890743255615, 0.0048837666399776936, -0.030966443940997124, 0.02710425853729248, -0.004525997210294008, 0.012612446211278439, -0.027604274451732635, -0.029173286631703377, 0.005599305499345064, -0.011612416245043278, -0.08862333744764328, 0.009198551066219807, -0.041001226752996445, -0.05686376988887787, 0.012396922335028648, 0.03177681192755699, -0.03255269676446915, -0.002101355930790305, -0.027897385880351067, -0.014853892847895622, -0.07379531115293503, -0.033087197691202164, 0.047622114419937134, -0.003271649591624737, 0.008064896799623966, -0.054691292345523834, -0.009241655468940735, -0.05062220245599747, -0.004368665162473917, -0.01637117937207222, 0.02581111714243889, 0.031949229538440704, 0.017121201381087303, 0.015871163457632065, -0.04838075861334801, -0.07972652465105057, 0.028724996373057365, 0.029328463599085808, 0.06603645533323288, 0.00649588368833065, -0.05548441782593727, -0.011155505664646626, 0.021224772557616234, -0.04348405823111534, -0.0257076658308506, -0.008164037019014359, -0.058656927198171616, -0.0033276856411248446, -0.007845061831176281, 0.017948811873793602, 0.022362736985087395, -0.0056294784881174564, -0.02753530628979206, 0.015543567948043346, 0.05551890283823013, 0.05762241408228874, 0.04613931104540825, -0.007284700404852629, 0.002985002938657999, 0.009284760802984238, 0.030018139630556107, 0.021069595590233803, -0.030173316597938538, -0.010646870359778404, -0.021138563752174377, -0.025328343734145164, 0.0875888243317604, 0.013474540784955025, -0.020517854019999504, -0.012310712598264217, 0.004642380401492119, 0.030673330649733543, 0.008508875034749508, -0.010758941993117332, -0.022759301587939262, 0.01610392890870571, 0.019862663000822067, -0.01495734415948391, 0.009146825410425663, 0.014388361014425755, -0.0013718082336708903, -0.04931182041764259, 0.006487262900918722, -0.08531289547681808, 0.004961355123668909, -0.055967189371585846, -0.0009025054168887436, 0.030569879338145256, -0.04782901704311371, 0.10552039742469788, -0.009646840393543243, -0.003536743577569723, -0.026466308161616325, -0.009069236926734447, -0.019017810001969337, 0.013215912505984306, 0.04148399829864502, -0.03575969114899635, -0.014276289381086826, 0.057346541434526443, 0.010353757999837399, -0.03713904321193695, -0.011379650793969631, 0.01977645419538021, -0.06131218001246452, 0.059346601366996765, -0.052587781101465225, -0.005763103254139423, -0.0018017779802903533, -0.0019364802865311503, -0.04344957694411278, -0.027638757601380348, 0.018672972917556763, -0.005784655921161175, -0.012957284227013588, -0.023517943918704987, 0.04096674174070358, 0.061898402869701385, 0.022259285673499107, -0.035483818501234055, 0.05686376988887787, -0.005806208122521639, -0.0029914688784629107, 0.06224324181675911, -0.06689855456352234, 0.0009483041940256953, 0.05451887100934982, -0.007724368944764137, 0.08020929247140884, 0.030535396188497543, -0.08110587298870087, -0.01552632637321949, 0.00009880414290819317, -0.014095248654484749, 0.027552548795938492, 0.03165611997246742, -0.01502631139010191, -0.014371119439601898, -0.08765779435634613, 0.048898015171289444, 0.014095248654484749, -0.015871163457632065, 0.020983386784791946, -0.03134576603770256, -0.00624587619677186, -0.008172658272087574, 0.0040022749453783035, 0.052415359765291214, 0.03900116682052612, 0.02229377068579197, -0.019086778163909912, -0.055277515202760696, 0.02893189899623394, 0.01946610026061535, 0.03275959938764572, 0.05451887100934982, 0.036207977682352066, -0.007457119412720203, -0.053725745528936386, -0.017103958874940872, 0.011888286098837852, -0.07551950216293335, -0.03979429230093956, 0.025328343734145164, 0.0036552816163748503, 0.04117364436388016, 0.02456969954073429, -0.07020899653434753, 0.04348405823111534, 0.03575969114899635, -0.02594905160367489, 0.027880143374204636, 0.015569430775940418, 0.040001194924116135, -0.0033233752474188805, -0.05051875114440918, -0.004931182134896517, 0.02794911153614521, 0.05051875114440918, 0.06086388975381851, 0.006448468659073114, -0.0037522674538195133, -0.016819467768073082, -0.021707545965909958, -0.044966861605644226, 0.01474182028323412, 0.04448409005999565, -0.00041946297278627753, -0.03156990930438042, 0.015259076841175556, -0.003997964318841696, 0.0017748376121744514, 0.13041768968105316, -0.03751836344599724, -0.03019055724143982, -0.004879456479102373, -0.02567318081855774, 0.01905229315161705, 0.023207589983940125, 0.00008412158786086366, 0.0311733465641737, -0.0016175052151083946, 0.047897983342409134, 0.04617379605770111, 0.04938078671693802, -0.013431436382234097, -0.025776632130146027, -0.02498350478708744, 0.04486341029405594, 0.037587329745292664, -0.026914598420262337, 0.0454496331512928, -0.0541740320622921, -0.0022037297021597624, 0.009741670452058315, -0.005013080779463053, -0.025862842798233032, 0.0352596752345562, 0.005176878999918699, -0.02753530628979206, 0.014336635358631611, -0.0005353069282136858, -0.0022371357772499323, -0.033087197691202164, -0.010362379252910614, -0.005288951098918915, -0.061622533947229385, 0.022535156458616257, -0.04924285039305687, -0.01962127722799778, 0.06210530549287796, -0.06255359202623367, -0.03779423236846924, 0.054829224944114685, 0.0026509412564337254, 0.02413865365087986, 0.03538036718964577, 0.11821043491363525, -0.05424300208687782, 0.0003017331473529339, 0.01834537647664547, 0.06955380737781525, -0.02441452257335186, 0.025224892422556877, 0.052449844777584076, -0.004478582181036472, 0.03486311063170433, -0.05507061257958412, 0.0003108929086010903, -0.002961295424029231, 0.02143167518079281, -0.018810907378792763, -0.04175987094640732, -0.01709533855319023, 0.05096704140305519, -0.0435185432434082, -0.007362288888543844, -0.005224294029176235, -0.026000777259469032, -0.031156104058027267, 0.03586314246058464, -0.005207052454352379, 0.03317340463399887, -0.05420851707458496, 0.0037996824830770493, 0.018793664872646332, 0.10152027755975723, 0.03744939714670181, -0.03132852166891098, -0.01709533855319023, 0.10241685807704926, 0.0014073696220293641, 0.05358780920505524, -0.08103690296411514, -0.01750914379954338, 0.02075924165546894, 0.011043434031307697, 0.03965635970234871, 0.0026293890550732613, -0.06993312388658524, -0.010302032344043255, 0.0036143322940915823, -0.03765629976987839, 0.07517465949058533, 0.052449844777584076, -0.015405633486807346, 0.01848331093788147, 0.010621007531881332, 0.03346651792526245, -0.011431376449763775, 0.05607064068317413, 0.052863650023937225, -0.06727787107229233, -0.016414284706115723, 0.06817445158958435, 0.07551950216293335, -0.04179435223340988, 0.038759779185056686, 0.04520824924111366, -0.02382829785346985, -0.0465531162917614, -0.053001586347818375, 0.03162163496017456, 0.01694878190755844, -0.03489759564399719, 0.04079432412981987, 0.01568150334060192, 0.025759391486644745, -0.02865603007376194, 0.03879426419734955, 0.007482982240617275, 0.009431316517293453, -0.004707037471234798, -0.010827910155057907, 0.0375528484582901, -0.019431615248322487, -0.03475965932011604, 0.0028944830410182476, -0.014284909702837467, 0.010784804821014404, -0.04782901704311371, 0.0008868799777701497, 0.013802137225866318, -0.029880203306674957, -0.011871044524013996, 0.00818989984691143, 0.00451737642288208, -0.01610392890870571, -0.02143167518079281, -0.0394839383661747, -0.01607806608080864, -0.024811087176203728, 0.037173524498939514, -0.017552249133586884, -0.026742178946733475, -0.05855347588658333, -0.002284551039338112, -0.0448978953063488, -0.043828897178173065, -0.004926871508359909, -0.01283659040927887, 0.014233184047043324, -0.008000238798558712, -0.027052532881498337, 0.046656567603349686, 0.03006986528635025, 0.04555308446288109, 0.031397491693496704, -0.006345017347484827, 0.038863230496644974, 0.007595054805278778, 0.01891435869038105, -0.04038051888346672, 0.050725653767585754, -0.025224892422556877, 0.015284939669072628, 0.039863262325525284, 0.005207052454352379, -0.017724668607115746, -0.004474271554499865, 0.003666057949885726, 0.006228634621948004, 0.029742268845438957, 0.005513095762580633, -0.02415589429438114, -0.010405483655631542, 0.08179555088281631, -0.027724966406822205, -0.029811237007379532, -0.0162504855543375, 0.025586972013115883, 0.012215882539749146, 0.01750914379954338, 0.034225162118673325, 0.003657436929643154, -0.010827910155057907, 0.057105157524347305, -0.06807100027799606, -0.0011045589344576001, 0.03050091117620468, 0.0037048521917313337, -0.02287999540567398, -0.06876067817211151, 0.06645026057958603, -0.02836291678249836, -0.020535096526145935, 0.008241625502705574, 0.0266732107847929, 0.014698714949190617, -0.004390217363834381, -0.01578495465219021, 0.004745831713080406, 0.03036297671496868, 0.023931751027703285, -0.04065638780593872, 0.028449127450585365, -0.023259315639734268, -0.031156104058027267, 0.002420330885797739, 0.06365707516670227, 0.011698625981807709, 0.03882874548435211, 0.021069595590233803, -0.025500763207674026, -0.013293500989675522, 0.01931092143058777, 0.027897385880351067, 0.007151076104491949, -0.005077737849205732, -0.017603974789381027, 0.01651773601770401, -0.08110587298870087, -0.023897266015410423, -0.02172478847205639, 0.019224712625145912, -0.0037501121405512094, -0.0028578441124409437, -0.0476565957069397, -0.01518148835748434, -0.017009129747748375, -0.04165641963481903, 0.0383804589509964, -0.03103541024029255, -0.007401083596050739, 0.018448827788233757, -0.03800113499164581, 0.019259195774793625, -0.02087993547320366, 0.009620977565646172, 0.04503582790493965, -0.021845480427145958, -0.00931062363088131, 0.013164186850190163, 0.01398317702114582, -0.042828865349292755, 0.022345496341586113, 0.008108001202344894, -0.08600257337093353, -0.02060406468808651, -0.0720711201429367, -0.03979429230093956, -0.048760078847408295, 0.001979585038498044, 0.028707755729556084, 0.01539701223373413, -0.020690273493528366, 0.030725056305527687, -0.045656539499759674, -0.027293920516967773, 0.04089777544140816, -0.022104108706116676, 0.020379919558763504, 0.006099320482462645, 0.020293710753321648, 0.022207560017704964, 0.0041703833267092705, 0.025742148980498314, 0.05627754330635071, -0.05303606763482094, -0.08255419135093689, -0.0694158673286438, -0.022897236049175262, 0.00812524277716875, -0.08689915388822556, 0.03941497206687927, -0.03800113499164581, 0.002497919602319598, 0.04027706757187843, -0.013621097430586815, 0.03741491213440895, -0.035656239837408066, 0.023242074996232986, -0.004836351610720158, -0.010776184499263763, -0.02796635404229164, -0.06565713882446289, -0.02810428850352764, -0.002974226837977767, 0.017112581059336662, 0.003640195121988654, -0.0049699763767421246, -0.008879575878381729, -0.012741760350763798, -0.008784745819866657, 0.08172658085823059, 0.022069625556468964, -0.05055323615670204, -0.033225130289793015, 0.014672852121293545, 0.006189840380102396, -0.0530705526471138, 0.008228694088757038, 0.017690183594822884, 0.016819467768073082, 0.006901068612933159, -0.0037177836056798697, -0.04055293649435043, 0.03448379039764404, 0.03203544020652771, 0.03275959938764572, 0.04234609380364418, 0.021362707018852234, 0.000006516223947983235, 0.046380698680877686, -0.0015000448329374194, 0.019983356818556786, 0.04207022488117218, -0.0023513634223490953, 0.00677606463432312, -0.03343203291296959, -0.04941527172923088, 0.04258748143911362, -0.03165611997246742, 0.00042727572144940495, 0.025431795045733452, 0.012276229448616505, -0.013276259414851665, 0.016155656427145004, 0.08165761083364487, 0.03375963121652603, -0.0058924173936247826, 0.060208696871995926, -0.055277515202760696, 0.04858766123652458, 0.02919052727520466, 0.034673452377319336, 0.02496626414358616, -0.03610452637076378, 0.01079342607408762, 0.06010524556040764, -0.02301792986690998, 0.0378287173807621, 0.006987277884036303, 0.0069527942687273026, -0.0010754631366580725, 0.054139550775289536, 0.059208668768405914, -0.03596659377217293, 0.01596599444746971, -0.001271589775569737, 0.09076133370399475, -0.018310891464352608, -0.01950058341026306, 0.06369155645370483, 0.00918130949139595, 0.00283844699151814, 0.024759361520409584, 0.03377687186002731, -0.01298314705491066, -0.05869140848517418, 0.012457269243896008, -0.1749017834663391, -0.059519022703170776, 0.033397551625967026, -0.033242374658584595, -0.04613931104540825, -0.030966443940997124, -0.0036983864847570658, -0.051173944026231766, -0.0034462236799299717, -0.08186451345682144, 0.026759421452879906, 0.016319453716278076, 0.005607926286756992, -0.0161125510931015, -0.057381026446819305, 0.017285000532865524, 0.016483251005411148, -0.015043552964925766, -0.009293381124734879, 0.00646140007302165, 0.03610452637076378, 0.006901068612933159, -0.0013804292539134622, -0.0019397131400182843, 0.05662238225340843, 0.002987158251926303, 0.026207679882645607, 0.002379381563514471, -0.041863322257995605, 0.01893160119652748, 0.02441452257335186, 0.007069176994264126, -0.014552159234881401, -0.017621217295527458, -0.021845480427145958, -0.013629717752337456, -0.020500613376498222, -0.010689974762499332, 0.02270757593214512, 0.03313892334699631, -0.021207530051469803, 0.012086568400263786, -0.02751806378364563, 0.027759451419115067, 0.016147034242749214, 0.036897655576467514, 0.0024526596534997225, 0.06851928681135178, 0.006159666925668716, 0.004191935528069735, 0.004853593185544014, -0.0162504855543375, -0.013724548742175102, 0.011776214465498924, -0.11938288062810898, 0.012896937318146229, 0.08827850222587585, 0.012690034694969654, -0.030931958928704262, -0.04482892528176308, -0.03160439431667328, -0.026207679882645607, -0.035225190222263336, -0.06417433172464371, 0.03258718177676201, 0.04755314439535141, -0.0225868821144104, 0.0040022749453783035, -0.03244924545288086, 0.0720711201429367, -0.03989774361252785, -0.02174202911555767, 0.000107088329968974, 0.02963881753385067, 0.012871074490249157, 0.010974465869367123, -0.03596659377217293, 0.0019375579431653023, -0.04224264249205589, 0.01059514470398426, -0.03503553196787834, 0.001412757788784802, 0.00026724935742095113, 0.018310891464352608, 0.027742208912968636, 0.0002831442398019135, -0.043380606919527054, -0.028690513223409653, -0.029725026339292526, -0.010517556220293045, 0.0448978953063488, -0.027069775387644768, 0.015284939669072628, 0.029811237007379532, -0.04317370429635048, -0.03301822766661644, 0.006931241601705551, -0.020138533785939217, 0.013414193876087666, 0.026845630258321762, -0.009638219140470028, -0.0655536875128746, -0.014483192004263401, -0.053967129439115524, -0.012871074490249157, -0.011991738341748714, 0.005370850209146738, -0.041001226752996445, -0.027328403666615486, 0.06934690475463867, -0.0038988234009593725, -0.030276767909526825, 0.0015172867570072412, 0.003931152168661356, -0.03744939714670181, -0.048070404678583145, 0.010026161558926105, -0.0016164276748895645, 0.025052472949028015, -0.04779453203082085, -0.0033319962676614523, 0.05176016688346863, -0.04162193462252617, -0.06655371189117432, -0.015871163457632065, 0.02708701603114605, -0.016724638640880585, -0.0015884095337241888, -0.007491603493690491, -0.0002477175439707935, 0.018000537529587746, 0.01737120933830738, -0.00944855809211731, 0.07669194787740707, 0.050760138779878616, -0.03800113499164581, 0.03177681192755699, -0.04441512003540993, 0.03779423236846924 ]
54,173
teradatasql
traceLog
null
def traceLog (s): logMsg ("TRACE", s)
(s)
[ -0.06111745163798332, 0.03393131494522095, -0.0150739261880517, 0.06464412063360214, 0.003100811969488859, -0.0902552381157875, -0.04201182723045349, 0.08525627851486206, -0.006882133428007364, -0.06964308023452759, -0.027579892426729202, 0.027682609856128693, 0.010460157878696918, -0.03485577926039696, -0.04509337991476059, -0.008936501108109951, -0.02148526720702648, 0.008495667949318886, -0.042765095829963684, -0.024738015606999397, -0.003250609617680311, 0.03869060054421425, -0.03591720387339592, -0.021108632907271385, 0.010913830250501633, 0.03591720387339592, -0.029582900926470757, -0.011735578067600727, 0.011333264410495758, -0.058138616383075714, -0.03290412947535515, -0.08607802540063858, -0.07203984260559082, -0.014243618585169315, -0.023043163120746613, 0.007134649436920881, -0.027614131569862366, -0.09785640239715576, -0.001497976714745164, -0.01723957248032093, 0.015467680059373379, 0.04074496775865555, -0.012163571082055569, 0.003306248690932989, 0.02518313005566597, 0.017162533476948738, 0.017890121787786484, 0.06361693143844604, -0.009886646643280983, 0.004198614973574877, -0.03807428851723671, 0.03408539295196533, 0.011649979278445244, -0.025559764355421066, 0.01886594668030739, -0.009424413554370403, 0.037423741072416306, -0.02208445779979229, -0.00523863872513175, -0.018746109679341316, 0.07039634883403778, 0.04656567797064781, 0.017376530915498734, 0.12086532264947891, -0.001673454069532454, -0.028213322162628174, 0.017128294333815575, 0.007301566656678915, -0.021930379793047905, -0.03975202515721321, -0.00980960763990879, -0.020903196185827255, -0.03961506485939026, -0.0006719495868310332, -0.06190495938062668, 0.020817596465349197, 0.028829632326960564, 0.02725461684167385, -0.008285951800644398, 0.0026492788456380367, -0.009236096404492855, -0.014055302366614342, 0.001074263360351324, 0.02475513517856598, -0.03500985726714134, -0.027528533712029457, -0.023813551291823387, -0.005157319828867912, -0.0654316246509552, 0.01941377855837345, -0.04170367121696472, -0.01486848946660757, -0.038964513689279556, 0.0171967726200819, -0.010579995810985565, -0.011067908257246017, 0.025970637798309326, -0.04026561602950096, -0.06885556876659393, -0.04074496775865555, 0.0596451535820961, 0.024926332756876945, -0.03821124881505966, -0.07566922903060913, -0.027614131569862366, -0.06437020003795624, 0.011513021774590015, 0.004913363605737686, 0.01005784422159195, 0.058583732694387436, 0.021416787058115005, -0.023984747007489204, -0.0005181394517421722, -0.06005602702498436, -0.011341824196279049, 0.002762697171419859, 0.058138616383075714, -0.0077252802439033985, -0.060740817338228226, -0.0026364391669631004, 0.03992322087287903, -0.023180119693279266, -0.017599087208509445, -0.004136555828154087, -0.04687383398413658, 0.008962181396782398, 0.005157319828867912, 0.027066299691796303, 0.0058677890338003635, -0.03209950029850006, -0.004844884853810072, -0.03372587636113167, 0.03343484178185463, 0.03418811038136482, 0.03043888695538044, -0.0002331226278329268, -0.038245487958192825, 0.012189251370728016, -0.01248884666711092, 0.003593004308640957, 0.004132275935262442, -0.020766237750649452, -0.04612056538462639, -0.017667565494775772, 0.030267691239714622, 0.010922390967607498, -0.03643079474568367, -0.025234488770365715, 0.014500414952635765, 0.021125752478837967, -0.00446397066116333, -0.03158590942621231, -0.07094418257474899, 0.02508041076362133, -0.018934426829218864, -0.01910562440752983, -0.015048246830701828, -0.010143443010747433, 0.043073251843452454, -0.0037577818147838116, 0.0010764033067971468, -0.08005187660455704, 0.011316144838929176, -0.05584457516670227, -0.01289972010999918, 0.012523085810244083, -0.03423946723341942, 0.08224320411682129, -0.05896036699414253, -0.02653558924794197, -0.03687590733170509, 0.002279064618051052, -0.04231998324394226, 0.0735463798046112, 0.05512554571032524, -0.03425658866763115, -0.01707693561911583, 0.06324029713869095, -0.02126271091401577, -0.0066980961710214615, -0.026809504255652428, 0.03480441868305206, -0.018232516944408417, 0.037423741072416306, -0.018523553386330605, -0.025919277220964432, 0.025337206199765205, -0.005653792060911655, 0.009501452557742596, 0.0005574613460339606, 0.003911859355866909, -0.009689769707620144, 0.039991699159145355, -0.030712803825736046, 0.024926332756876945, 0.03879331797361374, -0.008619786240160465, -0.014294978231191635, 0.009980805218219757, -0.021587984636425972, 0.010836792178452015, 0.07580618560314178, -0.03211662173271179, 0.005546793807297945, 0.053516291081905365, 0.022443972527980804, 0.07320398092269897, 0.007896477356553078, -0.07936708629131317, 0.0020318985916674137, -0.012874039821326733, 0.008136154152452946, 0.03810852766036987, 0.029052188619971275, -0.018506433814764023, 0.011983813717961311, -0.06947188079357147, 0.0333663634955883, 0.013224994763731956, 0.005795029923319817, 0.02249533124268055, -0.005182999651879072, -0.020560801029205322, -0.0408819243311882, -0.011264785192906857, 0.009441533125936985, 0.04718198627233505, 0.027716850861907005, -0.0031200714875012636, -0.07272463291883469, 0.016306547448039055, 0.004883404355496168, 0.0018275316106155515, 0.05985059216618538, 0.03446202352643013, -0.004742166493088007, -0.027597011998295784, -0.024310022592544556, 0.008645465597510338, -0.05426955968141556, -0.04002593830227852, 0.04327869042754173, 0.006488379556685686, 0.053927164524793625, 0.018318116664886475, -0.027014940977096558, 0.01356738992035389, 0.040710728615522385, -0.0045153298415243626, 0.02023552544414997, 0.0009763598791323602, 0.0330410860478878, -0.05550218001008034, -0.05533098056912422, -0.019362419843673706, 0.005011802073568106, 0.0773812010884285, 0.06484955549240112, -0.0274429339915514, -0.008782424032688141, -0.041909109801054, -0.02692934311926365, -0.012719962745904922, -0.007160328794270754, 0.024173064157366753, -0.008825222961604595, -0.020920315757393837, -0.012993878684937954, 0.0660821720957756, 0.008474268950521946, 0.11435982584953308, -0.016529103741049767, 0.01919122226536274, 0.05132496356964111, -0.05800165981054306, -0.012446046806871891, -0.016845818608999252, 0.014303538016974926, 0.048448849469423294, 0.0337429977953434, 0.05224942788481712, 0.03639655560255051, -0.017059816047549248, 0.0034175270702689886, 0.026912221685051918, -0.05906308442354202, 0.052797261625528336, -0.007215967867523432, -0.04064225032925606, -0.0010336039122194052, -0.025919277220964432, 0.018318116664886475, 0.0038262605667114258, -0.010990869253873825, 0.0005868859007023275, 0.02302604354918003, 0.020458081737160683, 0.013490350916981697, 0.03930690884590149, 0.029548661783337593, 0.014508974738419056, -0.017787404358386993, 0.0027391575276851654, -0.04064225032925606, -0.009047779254615307, 0.008666865527629852, -0.02465241774916649, -0.004998962394893169, -0.0020714879501610994, -0.026980701833963394, -0.04615480452775955, 0.07491596043109894, 0.007665361277759075, -0.028658434748649597, -0.0057479506358504295, 0.07505291700363159, -0.04262813925743103, -0.034838657826185226, 0.010237601585686207, 0.0732724666595459, -0.007541242986917496, 0.007421405054628849, 0.04177215322852135, -0.025748079642653465, 0.02518313005566597, -0.024104585871100426, -0.001894940622150898, -0.04057377204298973, -0.009347374550998211, -0.04403195530176163, -0.010460157878696918, 0.01270284317433834, 0.013961143791675568, -0.02395050786435604, 0.0060732257552444935, 0.016862938180565834, -0.05046897754073143, -0.029428822919726372, -0.03831396624445915, -0.02807636372745037, -0.01578439585864544, -0.03694438561797142, 0.00448965048417449, 0.028401639312505722, 0.0742996484041214, 0.05118800699710846, -0.03879331797361374, 0.023248599842190742, 0.10915542393922806, 0.02836740016937256, 0.05498858541250229, -0.07272463291883469, -0.01264292374253273, 0.024601059034466743, 0.007772359531372786, 0.047421663999557495, 0.016999896615743637, -0.07923012971878052, 0.015407760627567768, 0.023402677848935127, 0.030199211090803146, 0.03687590733170509, 0.02870979532599449, -0.011495901271700859, -0.020868957042694092, -0.01929394155740738, 0.028230441734194756, -0.030935360118746758, 0.02816196344792843, 0.08039427548646927, -0.049373313784599304, -0.04057377204298973, 0.07854533940553665, 0.07806599140167236, -0.0825171172618866, 0.04725046828389168, 0.054338037967681885, -0.05235214903950691, -0.01785588264465332, -0.033075325191020966, 0.0253885667771101, 0.031431831419467926, -0.006377100944519043, 0.0036914427764713764, 0.02838451974093914, 0.01886594668030739, -0.014560334384441376, 0.023077402263879776, 0.02105727419257164, 0.014243618585169315, 0.010819672606885433, -0.01202661357820034, 0.059508197009563446, -0.05146192014217377, -0.03064432553946972, -0.03821124881505966, 0.00401671789586544, 0.001582505414262414, -0.025457045063376427, 0.0016959237400442362, -0.036704711616039276, 0.031020957976579666, -0.017051255330443382, -0.018146919086575508, -0.020269766449928284, 0.0012187111424282193, -0.008743904531002045, -0.008542747236788273, -0.01654622331261635, -0.021930379793047905, 0.03944386914372444, 0.008910821750760078, -0.0487227626144886, -0.051838554441928864, 0.019567856565117836, -0.002212725579738617, 0.014294978231191635, 0.045059140771627426, -0.04502490162849426, 0.006000467110425234, -0.01155582070350647, -0.054029881954193115, 0.012771321460604668, 0.0429362952709198, 0.028555717319250107, -0.008354430086910725, -0.04903091862797737, 0.016375025734305382, 0.041909109801054, 0.025302967056632042, -0.04687383398413658, 0.011958134360611439, 0.0062187435105443, -0.00466940738260746, 0.03708134591579437, 0.027186138555407524, -0.032441895455121994, 0.029428822919726372, 0.013464671559631824, 0.0301478523761034, 0.028247561305761337, -0.023180119693279266, 0.010340319946408272, -0.0371498242020607, 0.06450715661048889, -0.0032677294220775366, -0.03625959903001785, -0.022769246250391006, 0.018437953665852547, -0.007057610433548689, -0.005555353593081236, 0.016332225874066353, -0.011213426478207111, 0.01377282664179802, -0.009304575622081757, -0.06704088300466537, 0.002505901036784053, 0.03735525906085968, 0.03725254163146019, 0.008525627665221691, -0.026552708819508553, 0.052489105612039566, -0.022255655378103256, -0.035643287003040314, 0.022957563400268555, 0.006227303296327591, 0.026877982541918755, -0.01859203167259693, 0.012891160324215889, -0.05978211387991905, 0.07114961743354797, 0.020304005593061447, -0.02797364629805088, 0.013533149845898151, 0.0330924466252327, 0.025833679363131523, 0.017470689490437508, 0.011487341485917568, -0.017128294333815575, 0.07731272280216217, -0.019328180700540543, -0.06502075493335724, 0.002341123763471842, 0.031089438125491142, 0.00763540156185627, -0.01797572150826454, 0.007631121668964624, 0.002075767843052745, 0.040094416588544846, -0.03718406334519386, 0.03749221935868263, -0.027905168011784554, -0.0010052494471892715, 0.002266224939376116, 0.023385556414723396, -0.026792384684085846, -0.018146919086575508, -0.010314639657735825, -0.0699169933795929, 0.03622535988688469, -0.042148787528276443, -0.043586842715740204, -0.031192155554890633, -0.02847011759877205, -0.004806365352123976, -0.01141030341386795, 0.08087362349033356, 0.06276094913482666, -0.0025016211438924074, -0.010374559089541435, 0.02633015066385269, 0.05440651625394821, -0.015690237283706665, 0.009835286997258663, 0.023265719413757324, -0.0677599087357521, -0.016845818608999252, -0.02653558924794197, -0.04303901270031929, -0.053927164524793625, 0.002505901036784053, -0.006462699733674526, 0.02425866387784481, -0.022529570385813713, 0.041532475501298904, -0.07156048715114594, -0.021399667486548424, 0.07176592946052551, -0.03310956805944443, 0.06313758343458176, -0.013687227852642536, 0.040608011186122894, 0.010049284435808659, -0.0507771335542202, 0.042765095829963684, 0.08231168240308762, -0.04379228129982948, -0.09107698500156403, -0.03619111701846123, -0.009664090350270271, -0.009587051346898079, -0.058994606137275696, -0.021998858079314232, -0.03872483968734741, -0.01263436395674944, 0.022769246250391006, -0.03691014647483826, 0.00043575072777457535, -0.04841461032629013, 0.001051793689839542, 0.05200975388288498, 0.022307014092803, -0.016486303880810738, -0.026039116084575653, 0.018283875659108162, -0.014645933173596859, -0.005277158226817846, -0.009484332986176014, -0.06519194692373276, 0.02073199860751629, -0.020577920600771904, 0.000014043532246432733, 0.04862004518508911, 0.019328180700540543, -0.027100538834929466, -0.020800476893782616, 0.010562876239418983, 0.010323199443519115, -0.017564848065376282, 0.007823718711733818, 0.05139344185590744, -0.04077920690178871, 0.0027327376883476973, 0.07025939226150513, -0.03893027454614639, 0.04862004518508911, 0.029069308191537857, 0.009039219468832016, 0.04074496775865555, 0.03759493678808212, 0.019362419843673706, 0.004635168239474297, -0.016589023172855377, 0.02764837071299553, 0.036567751318216324, 0.04362108185887337, 0.016537662595510483, 0.012214930728077888, -0.015364961698651314, 0.00676229503005743, -0.028401639312505722, -0.022358372807502747, -0.001084428164176643, -0.000533921702299267, -0.02023552544414997, 0.023488275706768036, 0.07676488906145096, 0.04211454838514328, 0.01777028478682041, 0.05533098056912422, -0.06567130237817764, 0.03769765421748161, 0.047729820013046265, 0.022666528820991516, 0.014577453956007957, -0.03735525906085968, 0.016751660034060478, 0.010648475028574467, 0.003286988940089941, 0.07094418257474899, 0.020817596465349197, 0.013635868206620216, 0.003053732682019472, 0.00456240912899375, 0.035643287003040314, -0.005255758296698332, 0.05865221098065376, 0.026586947962641716, 0.09121394157409668, 0.011127827689051628, 0.02023552544414997, 0.02167358435690403, -0.012531645596027374, 0.010793992318212986, 0.01647774502635002, 0.062076158821582794, 0.008016315288841724, -0.10203361511230469, -0.006210183724761009, -0.1213446781039238, -0.05810437723994255, 0.05457771196961403, -0.04683959484100342, -0.019773293286561966, -0.03992322087287903, -0.007340086158365011, 0.005234358832240105, -0.028538597747683525, -0.060843534767627716, 0.0408819243311882, -0.02612471394240856, 0.05173583701252937, -0.03237341716885567, -0.04341564700007439, 0.010545756667852402, -0.015621758066117764, -0.010956630110740662, -0.06960883736610413, 0.0016317246481776237, 0.0031543110962957144, 0.03660199046134949, 0.025559764355421066, -0.02776820957660675, 0.09107698500156403, 0.026860862970352173, 0.10559452325105667, -0.007802318781614304, 0.011846856214106083, 0.03944386914372444, 0.02785380743443966, 0.004014577716588974, -0.018951546400785446, 0.013139395974576473, -0.011179186403751373, 0.028093483299016953, 0.009467213414609432, 0.03749221935868263, -0.001510816509835422, 0.06190495938062668, -0.0616995245218277, -0.0037064224015921354, 0.009492892771959305, -0.0021774161141365767, 0.02042384259402752, 0.046189043670892715, -0.020697759464383125, 0.0623500719666481, 0.015005446970462799, 0.020167047157883644, -0.043175969272851944, -0.054235316812992096, 0.018283875659108162, 0.031226394698023796, -0.10326623916625977, 0.029856815934181213, 0.0851193219423294, -0.027905168011784554, -0.008337310515344143, -0.02723749727010727, -0.03660199046134949, -0.03800581023097038, -0.048037976026535034, -0.06341149657964706, 0.018283875659108162, 0.032561734318733215, 0.0046908073127269745, 0.0032078102231025696, -0.05399564281105995, 0.03319516405463219, -0.011470221914350986, 0.013550269417464733, 0.004404051695019007, 0.025251608341932297, 0.033794354647397995, 0.006300062406808138, -0.05324237421154976, -0.004592368844896555, -0.08080514520406723, 0.008277392014861107, -0.02127983048558235, -0.035746004432439804, -0.02992529608309269, 0.006355701480060816, -0.005508274771273136, -0.0243613813072443, 0.007348645944148302, -0.07375181466341019, -0.03526665270328522, -0.022769246250391006, 0.024275783449411392, -0.01826675608754158, 0.0004905873793177307, 0.019739054143428802, 0.0002071755297947675, 0.015356401912868023, -0.0110850278288126, 0.018540672957897186, 0.03550633043050766, 0.018489312380552292, -0.043312929570674896, -0.03923843055963516, -0.010836792178452015, -0.08553019165992737, 0.002550840377807617, -0.010117762722074986, 0.01094807032495737, -0.05570761486887932, -0.023163000121712685, 0.057864703238010406, -0.0171967726200819, -0.0030387528240680695, -0.0047678458504378796, -0.01982465200126171, -0.06354845315217972, -0.03800581023097038, 0.04160095378756523, 0.0190885029733181, 0.0007184938294813037, -0.018848827108740807, 0.00653117848560214, 0.06615065038204193, 0.010229040868580341, -0.05389292538166046, -0.014166580513119698, 0.027494292706251144, -0.0221700556576252, 0.013139395974576473, 0.010485837236046791, -0.011016549542546272, -0.020595040172338486, 0.012112212367355824, 0.01919122226536274, 0.049373313784599304, 0.02641575038433075, 0.0018532112007960677, 0.042902056127786636, -0.015493359416723251, 0.017171094194054604 ]
54,176
nbconvert.exporters.asciidoc
ASCIIDocExporter
Exports to an ASCIIDoc document (.asciidoc)
class ASCIIDocExporter(TemplateExporter): """ Exports to an ASCIIDoc document (.asciidoc) """ @default("file_extension") def _file_extension_default(self): return ".asciidoc" @default("template_name") def _template_name_default(self): return "asciidoc" output_mimetype = "text/asciidoc" export_from_notebook = "AsciiDoc" @default("raw_mimetypes") def _raw_mimetypes_default(self): return ["text/asciidoc/", "text/markdown", "text/html", ""] @property def default_config(self): c = Config( { "NbConvertBase": { "display_data_priority": [ "text/html", "text/markdown", "image/svg+xml", "image/png", "image/jpeg", "text/plain", "text/latex", ] }, "ExtractOutputPreprocessor": {"enabled": True}, "HighlightMagicsPreprocessor": {"enabled": True}, } ) if super().default_config: c2 = super().default_config.copy() c2.merge(c) c = c2 return c
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ -0.04455854371190071, -0.08035267889499664, 0.008087744005024433, -0.07858506590127945, 0.07339270412921906, -0.0031416534911841154, -0.023770693689584732, 0.04584742709994316, -0.03082272782921791, -0.016037393361330032, 0.04223855212330818, 0.0056250556372106075, -0.019093887880444527, 0.02369704283773899, -0.04216490313410759, -0.012087885290384293, 0.03220367431640625, 0.012640263885259628, 0.06451782584190369, -0.0036272862926125526, -0.018173256888985634, -0.06411274522542953, -0.015512633137404919, -0.04013951122760773, 0.0035306198988109827, -0.012437725439667702, 0.011443443596363068, -0.05229184404015541, -0.030362412333488464, -0.03643857687711716, -0.012041853740811348, -0.0892643854022026, 0.0074248891323804855, 0.04080236703157425, 0.0807209312915802, -0.022463398054242134, -0.0219110194593668, 0.04997185245156288, -0.030693838372826576, 0.018173256888985634, 0.014361844398081303, -0.027103377506136894, 0.030270349234342575, -0.09353611618280411, -0.03015987202525139, 0.012603438459336758, -0.06245560944080353, -0.002154276706278324, -0.023752281442284584, 0.011415825225412846, 0.02198466844856739, -0.03829824924468994, 0.0056894998997449875, 0.03386081010103226, -0.04308553412556648, 0.013855497352778912, 0.028189722448587418, 0.04687853157520294, -0.01430660579353571, 0.01612945646047592, -0.043674737215042114, 0.013505657203495502, 0.04069188982248306, -0.04216490313410759, 0.051923591643571854, 0.056121665984392166, 0.017151355743408203, 0.018274525180459023, -0.01942531391978264, 0.025575129315257072, -0.00700139906257391, -0.05196041613817215, 0.06934192776679993, 0.004536409396678209, 0.043416958302259445, -0.01262185163795948, -0.0669851154088974, -0.029644319787621498, 0.03579413518309593, -0.0005325275124050677, 0.03492874279618263, -0.002446576952934265, -0.017878655344247818, 0.00034494893043302, 0.051923591643571854, -0.0549800843000412, 0.05803658068180084, -0.012759946286678314, 0.05343342572450638, 0.030675426125526428, 0.02695607580244541, -0.03999221324920654, 0.011415825225412846, -0.02697448991239071, 0.0038459361530840397, -0.03489191457629204, 0.011719632893800735, -0.021413877606391907, 0.007144096773117781, -0.013505657203495502, -0.03128304332494736, 0.009602181613445282, 0.03426588699221611, -0.013643751852214336, 0.003148558083921671, -0.00786218885332346, -0.004669900983572006, 0.0738714337348938, -0.019811980426311493, -0.026937663555145264, -0.04407981410622597, -0.01056884415447712, 0.02559354342520237, -0.08204663544893265, 0.043932512402534485, -0.02283165045082569, 0.021800542250275612, -0.004202680662274361, 0.011397412046790123, -0.040249988436698914, -0.0643705204129219, -0.0034937947057187557, -0.038519203662872314, -0.01000725943595171, 0.007397270295768976, 0.04562647268176079, -0.005905847996473312, 0.024838624522089958, -0.006541083566844463, -0.016635803505778313, -0.013063753955066204, -0.004966804292052984, -0.06926827877759933, -0.01855992153286934, 0.06499654799699783, 0.0068540978245437145, -0.027011314406991005, 0.018596746027469635, -0.012143122963607311, 0.1030370220541954, -0.01656215265393257, -0.09478817135095596, 0.012898040935397148, 0.027710994705557823, -0.009086628444492817, 0.010265035554766655, 0.00014802020450588316, 0.028116071596741676, -0.03796682506799698, -0.003574349917471409, 0.009629800915718079, 0.02226085774600506, -0.06532797962427139, -0.017897067591547966, 0.019940868020057678, 0.008520440198481083, 0.013542482629418373, 0.025832906365394592, 0.0030058603733778, 0.0062602912075817585, 0.0317801833152771, 0.03829824924468994, 0.04536869749426842, 0.06672734022140503, -0.02526211552321911, 0.04783598706126213, -0.009312182664871216, -0.05545881390571594, 0.03004939667880535, -0.014647239819169044, -0.001149062649346888, -0.0028838766738772392, -0.04352743551135063, 0.002750385319814086, 0.03330843150615692, 0.050450582057237625, 0.012272011488676071, 0.08197298645973206, 0.0036572066601365805, -0.01710532419383526, -0.04002903774380684, -0.007986473850905895, -0.09545102715492249, 0.031117329373955727, 0.020640548318624496, 0.019462140277028084, 0.02266593649983406, 0.022371334955096245, 0.022518634796142578, -0.03553635627031326, 0.0497877262532711, 0.010743764229118824, -0.005335056688636541, 0.01206026691943407, -0.01570596545934677, -0.05641626939177513, -0.041870299726724625, -0.05022962763905525, -0.03049129992723465, 0.05674769729375839, -0.02817131020128727, 0.008400757797062397, 0.044006165117025375, 0.01656215265393257, 0.020124994218349457, -0.0016743977321311831, 0.03201954811811447, -0.04242267832159996, -0.05807340517640114, 0.013100579380989075, -0.01086344663053751, -0.012428519316017628, 0.015190412290394306, 0.008170600049197674, 0.006136005744338036, 0.003265938488766551, -0.019609440118074417, 0.054832782596349716, -0.041870299726724625, -0.025298940017819405, -0.004292441997677088, 0.05545881390571594, 0.012861215509474277, -0.0011277729645371437, 0.05910451337695122, -0.026864012703299522, 0.09994370490312576, -0.03995538502931595, 0.01838500238955021, -0.005984101910144091, -0.012428519316017628, -0.03822460025548935, -0.016893578693270683, 0.0644441694021225, -0.0010811660904437304, -0.001005214056931436, -0.011001541279256344, -0.008732185699045658, -0.07939521968364716, 0.05203406512737274, -0.02087991125881672, 0.07151462137699127, 0.026753537356853485, -0.01983039267361164, -0.01622151955962181, -0.04047093912959099, 0.015678346157073975, 0.012677089311182499, -0.01727103814482689, -0.025391003116965294, 0.055090561509132385, -0.06002514436841011, -0.025869732722640038, -0.01752881519496441, -0.020640548318624496, 0.02877892553806305, -0.08455075323581696, -0.05825753137469292, -0.0386665016412735, -0.026219571009278297, -0.04076554253697395, -0.023825930431485176, 0.00016039118054322898, 0.014794540591537952, 0.05623214319348335, -0.05008232966065407, 0.005109502002596855, 0.04128109663724899, 0.024378309026360512, 0.0343763642013073, 0.10833986103534698, 0.07748030871152878, -0.04765186086297035, -0.01318343635648489, 0.02903670258820057, 0.013975178822875023, 0.018191669136285782, -0.0167370717972517, -0.009611387737095356, 0.039292532950639725, 0.005095692817121744, -0.0489775724709034, 0.002035745419561863, -0.0025340369902551174, 0.050192803144454956, -0.023255139589309692, -0.03612556308507919, 0.026256397366523743, -0.011498681269586086, -0.010522812604904175, 0.0369357168674469, 0.09095834940671921, -0.003512207418680191, -0.03969760984182358, -0.036972541362047195, 0.010983128100633621, -0.03185383230447769, -0.03236938640475273, -0.027011314406991005, 0.015319300815463066, -0.021745305508375168, -0.002046102425083518, 0.0044696638360619545, -0.07276667654514313, -0.05674769729375839, 0.0007819609600119293, -0.0343395359814167, 0.023126251995563507, -0.004313156474381685, 0.01691199280321598, 0.04065506532788277, -0.025391003116965294, 0.03463413938879967, 0.04824106767773628, -0.05350707471370697, 0.007885204628109932, 0.04028681293129921, -0.01113042887300253, 0.0515185110270977, 0.015512633137404919, -0.09486182034015656, 0.02714020200073719, -0.025538304820656776, -0.04043411463499069, 0.04938264936208725, -0.036549050360918045, 0.027103377506136894, 0.020069755613803864, -0.005974895320832729, 0.02550148032605648, -0.006725209765136242, 0.03408176079392433, -0.007203937973827124, -0.008446789346635342, -0.020493246614933014, -0.049161698669195175, 0.007701078429818153, -0.010200591757893562, -0.03343731909990311, -0.020401183515787125, -0.015125967562198639, 0.041612520813941956, 0.012538994662463665, -0.0103110671043396, -0.05335977301001549, -0.02053007110953331, -0.011995822191238403, -0.002057610312476754, -0.01718818210065365, -0.03213002160191536, -0.002109395805746317, 0.06031974405050278, -0.00534886633977294, 0.02463608607649803, 0.010283448733389378, -0.029073527082800865, 0.025556717067956924, -0.05950959026813507, -0.0175932589918375, -0.07792221009731293, 0.012677089311182499, -0.009611387737095356, -0.02859479933977127, 0.017915479838848114, -0.020916737616062164, -0.0050542643293738365, 0.029681144282221794, 0.04835154116153717, 0.06072482466697693, -0.017464371398091316, -0.007659650407731533, 0.014545970596373081, 0.016783103346824646, -0.04028681293129921, 0.022224033251404762, -0.027121789753437042, -0.06654321402311325, -0.029920509085059166, -0.07037303596735, -0.05339660122990608, 0.022960538044571877, 0.006159021519124508, 0.0024120532907545567, 0.002316537778824568, -0.05704229697585106, -0.07015208154916763, 0.033879220485687256, 0.0755653977394104, -0.02069578506052494, -0.043490611016750336, 0.011774870567023754, -0.029865270480513573, -0.0524023175239563, 0.04507409408688545, 0.005809181835502386, -0.08020537346601486, -0.011866933666169643, 0.06046704575419426, 0.011747252196073532, 0.0011093603679910302, 0.06834764778614044, -0.005809181835502386, 0.07600729912519455, 0.024451959878206253, -0.004064586013555527, 0.008543455973267555, 0.07516031712293625, -0.06945240497589111, 0.021156100556254387, 0.0021243561059236526, 0.0002816555497702211, -0.0056848968379199505, -0.01973832957446575, 0.008465202525258064, -0.006591718178242445, 0.016331994906067848, 0.023052601143717766, -0.02095356211066246, -0.07199334353208542, -0.025796081870794296, -0.010559638030827045, 0.061019424349069595, 0.06216100603342056, 0.06337624043226242, 0.09500912576913834, -0.029404954984784126, -0.004244109150022268, 0.009970434010028839, -0.03719349205493927, -0.009896783158183098, -0.026256397366523743, -0.02154276706278324, -0.03724873065948486, -0.034136999398469925, 0.018495477735996246, -0.01855992153286934, 0.006449020467698574, -0.06801622360944748, 0.012879627756774426, 0.03391604870557785, 0.03030717372894287, -0.0317617692053318, 0.011618363671004772, 0.024194182828068733, 0.014582795090973377, 0.04275410622358322, -0.027950357645750046, 0.022113557904958725, -0.016700247302651405, -0.012759946286678314, 0.041612520813941956, 0.01933325082063675, 0.027195440605282784, -0.04794646427035332, 0.04080236703157425, -0.09692403674125671, 0.03595984727144241, -0.01403962355107069, 0.0184494461864233, 0.010881858877837658, 0.021156100556254387, 0.010587257333099842, 0.01430660579353571, -0.03918205574154854, 0.0343763642013073, -0.049677249044179916, 0.005744737572968006, -0.00003412807927816175, -0.040065862238407135, 0.03754333406686783, 0.027950357645750046, 0.005307437852025032, 0.022610697895288467, -0.01146185677498579, 0.02540941722691059, 0.03855602815747261, -0.005289025139063597, -0.018338970839977264, -0.03494715318083763, -0.041096970438957214, -0.008221235126256943, -0.020051343366503716, -0.004115220624953508, 0.026311634108424187, -0.030528124421834946, 0.036972541362047195, 0.031651295721530914, -0.02128499001264572, 0.02285006269812584, -0.03932935744524002, -0.011581538245081902, 0.07910061627626419, -0.05306517332792282, 0.007834570482373238, 0.0763755515217781, 0.017215799540281296, 0.04323283210396767, 0.05313882231712341, -0.017639290541410446, -0.03270081430673599, 0.051739465445280075, -0.029055114835500717, 0.018154844641685486, 0.02111927606165409, 0.049161698669195175, -0.05899403616786003, 0.024323072284460068, -0.02198466844856739, -0.03443159908056259, 0.005362675990909338, -0.023825930431485176, -0.01086344663053751, 0.04507409408688545, 0.01957261562347412, 0.014315812848508358, -0.012161536142230034, -0.014914222992956638, 0.010283448733389378, 0.024709736928343773, 0.03570207208395004, -0.010688526555895805, -0.09464087337255478, -0.05531151220202446, -0.04142839461565018, -0.01034789253026247, 0.05133438482880592, 0.0050450582057237625, 0.03492874279618263, -0.04952995106577873, 0.061019424349069595, -0.017832623794674873, 0.004810296930372715, 0.02772940695285797, 0.0014200733276084065, -0.05781562998890877, 0.026569411158561707, -0.02283165045082569, 0.049861375242471695, 0.08587646484375, 0.0023798311594873667, -0.01942531391978264, 0.015595490112900734, 0.0006783899734728038, -0.06790574640035629, 0.043674737215042114, 0.02334720268845558, 0.024028470739722252, 0.006582512054592371, 0.03330843150615692, 0.03312430530786514, 0.010163766331970692, -0.01870722323656082, 0.018753254786133766, 0.03785634785890579, -0.02772940695285797, 0.11474744975566864, -0.026053858920931816, -0.03246144950389862, 0.07412920892238617, 0.0472467839717865, 0.024525610730051994, 0.015079936012625694, 0.0025455448776483536, -0.005565214436501265, 0.045221395790576935, 0.08720216900110245, 0.031982723623514175, -0.049677249044179916, -0.05976736545562744, -0.012281217612326145, 0.005146327428519726, -0.04802011325955391, -0.01155391987413168, -0.059988319873809814, -0.034302711486816406, 0.022555461153388023, 0.04879344627261162, 0.023163076490163803, 0.0032912560272961855, -0.01949896477162838, -0.03999221324920654, 0.014951048418879509, 0.04253315553069115, -0.06374449282884598, 0.04021316394209862, -0.060135617852211, -0.0039034755900502205, -0.01425136812031269, 0.0184494461864233, -0.062308307737112045, -0.0214691162109375, 0.006867907475680113, 0.023586567491292953, -0.06801622360944748, 0.03424747288227081, 0.03463413938879967, 0.009289166890084743, -0.043785210698843, 0.007457111496478319, -0.07932157069444656, 0.009639007039368153, 0.025832906365394592, -0.049419473856687546, 0.015337713062763214, 0.04279093071818352, -0.002499513328075409, 0.05748420208692551, -0.021763717755675316, -0.0009695395710878074, -0.011701220646500587, 0.0163227878510952, -0.013717402704060078, -0.011876140721142292, 0.022537047043442726, -0.05678452178835869, -0.018872935324907303, 0.0006501956377178431, -0.04098649322986603, -0.011949790641665459, -0.009118850342929363, -0.025796081870794296, 0.030620187520980835, -0.013026929460465908, -0.023328790441155434, -0.008317901752889156, -0.012566613964736462, 0.005307437852025032, 0.035241756588220596, 0.04201760143041611, 0.05332294851541519, 0.045810598880052567, -0.018256112933158875, 0.023071013391017914, 0.021855780854821205, 0.042385853826999664, -0.006066958419978619, -0.0394766591489315, 0.01589009165763855, 0.013036135584115982, 0.00016010348917916417, 0.010080909356474876, -0.05571658909320831, 0.010891065001487732, 0.00736504839733243, -0.0111672542989254, 0.02817131020128727, 0.002361418679356575, -0.023163076490163803, 0.005537595599889755, -0.033621445298194885, 0.003993236925452948, 0.04743091017007828, -0.02550148032605648, -0.010688526555895805, -0.07968982309103012, 0.05516421049833298, 0.0167370717972517, 0.014674858190119267, 0.0223345085978508, -0.020161818712949753, 0.03630968928337097, -0.020124994218349457, 0.004013951402157545, -0.013671371154487133, 0.04131792113184929, -0.04595790058374405, 0.02644052356481552, 0.004520298447459936, -0.015171999111771584, -0.003569746855646372, 0.030380824580788612, 0.03244303911924362, -0.01021900400519371, -0.05280739441514015, 0.04216490313410759, -0.01598215475678444, -0.0004082423110958189, -0.001812492380850017, 0.02111927606165409, -0.03531540557742119, -0.047872815281152725, 0.012225979939103127, -0.03084114007651806, 0.02800559625029564, -0.041096970438957214, -0.04868296906352043, 0.04595790058374405, -0.025777669623494148, -0.03492874279618263, -0.051739465445280075, -0.031982723623514175, 0.07464476674795151, -0.007806951180100441, -0.03479985147714615, 0.061719104647636414, -0.021598003804683685, 0.0057723564095795155, -0.04919852316379547, -0.049088045954704285, -0.01924118772149086, 0.033179543912410736, -0.03299541771411896, 0.005597436800599098, 0.040249988436698914, 0.020217057317495346, 0.03840872645378113, 0.01708691194653511, -0.00802790280431509, -0.006112989969551563, -0.008465202525258064, 0.004587044008076191, 0.08462440222501755, 0.018615160137414932, 0.004564028233289719, -0.027177028357982635, -0.020548485219478607, 0.0056848968379199505, 0.057410549372434616, -0.005104898940771818, -0.03489191457629204, 0.011388205923140049, -0.015438982285559177, 0.009095834568142891, 0.015208824537694454, 0.013072961010038853, -0.0021324115805327892, -0.0841088518500328, -0.018237700685858727, 0.014444700442254543, -0.012428519316017628, 0.051665812730789185, -0.0074202860705554485, -0.02226085774600506, 0.017574846744537354, 0.020253881812095642, -0.004218791611492634, 0.008566471748054028, -0.03443159908056259, -0.04662075638771057, -0.04268045350909233, 0.025998620316386223, -0.008230441249907017, -0.025556717067956924, 0.04871979355812073, 0.013026929460465908, 0.011498681269586086, 0.046252503991127014, 0.0020058248192071915, 0.036806829273700714, 0.06175592914223671, 0.01914912462234497, -0.0035789532121270895, -0.046583931893110275, 0.033197954297065735, 0.05052423104643822, 0.015623108483850956, -0.004062284249812365, 0.05085565894842148, -0.05660039559006691, 0.0094456747174263, 0.0030703044030815363, -0.05615849420428276, -0.01691199280321598, -0.019020237028598785, 0.04043411463499069, -0.01597294770181179, -0.038003649562597275, -0.023899581283330917 ]
54,178
nbconvert.exporters.templateexporter
__init__
Public constructor Parameters ---------- config : config User configuration instance. extra_loaders : list[of Jinja Loaders] ordered list of Jinja loader to find templates. Will be tried in order before the default FileSystem ones. template_file : str (optional, kw arg) Template to use when exporting.
def __init__(self, config=None, **kw): """ Public constructor Parameters ---------- config : config User configuration instance. extra_loaders : list[of Jinja Loaders] ordered list of Jinja loader to find templates. Will be tried in order before the default FileSystem ones. template_file : str (optional, kw arg) Template to use when exporting. """ super().__init__(config=config, **kw) self.observe( self._invalidate_environment_cache, list(self.traits(affects_environment=True)) ) self.observe(self._invalidate_template_cache, list(self.traits(affects_template=True)))
(self, config=None, **kw)
[ 0.027803298085927963, -0.06358233839273453, -0.02368498034775257, -0.02282777428627014, 0.041369516402482986, 0.026387043297290802, -0.028846852481365204, 0.03333786875009537, -0.06391777098178864, -0.004178880248218775, 0.0757695734500885, 0.027952376753091812, -0.02539939247071743, 0.01604466512799263, -0.02582799643278122, -0.021914662793278694, 0.0984669104218483, 0.026182059198617935, 0.027020631358027458, -0.08601877838373184, 0.007295570336282253, -0.024467647075653076, 0.00344745977781713, 0.029312726110219955, -0.01474022027105093, -0.015150188468396664, -0.045171041041612625, -0.03902151808142662, 0.030635805800557137, -0.030449455603957176, -0.014945204369723797, -0.024057678878307343, -0.014907934702932835, 0.03827612102031708, 0.0463264063000679, -0.015932854264974594, -0.010361014865338802, 0.06544583290815353, -0.048115357756614685, 0.023424092680215836, 0.05978081747889519, 0.019436219707131386, 0.0426366925239563, -0.037251200526952744, 0.006200768984854221, 0.049829769879579544, -0.021821489557623863, 0.02122517116367817, -0.03147437795996666, 0.00557649927213788, 0.0025809360668063164, 0.03494047001004219, 0.028828218579292297, 0.05832729488611221, 0.00016494814190082252, 0.03508955240249634, 0.032201137393713, 0.06276240199804306, -0.014796124771237373, -0.022753234952688217, -0.02966678887605667, 0.04871167615056038, 0.020945647731423378, 0.005949197802692652, 0.037381645292043686, 0.019063521176576614, -0.057321008294820786, -0.0122710932046175, 0.009951046667993069, 0.00028942356584593654, 0.03180980682373047, -0.020517045632004738, 0.007253641728311777, 0.00466338824480772, 0.054339420050382614, -0.05318405479192734, -0.05273681879043579, -0.05057516694068909, -0.012848775833845139, 0.024579456076025963, 0.03622628003358841, -0.04841351881623268, -0.08385713398456573, 0.019193965941667557, 0.05009065940976143, -0.04077320173382759, 0.021914662793278694, -0.054376691579818726, 0.028213266283273697, 0.06127161160111427, -0.052475929260253906, 0.02355453558266163, 0.006657324265688658, 0.005665014963597059, 0.023237742483615875, -0.02610751986503601, 0.003482400206848979, 0.02070339396595955, -0.012187235988676548, -0.0023468350991606712, 0.02459809184074402, -0.026610663160681725, -0.03253656625747681, -0.02957361564040184, -0.005958515219390392, 0.03531317040324211, -0.02340545691549778, 0.014907934702932835, -0.013929600827395916, -0.020572949200868607, -0.04133224859833717, 0.02092701382935047, -0.05448849871754646, -0.005296975374221802, -0.024094948545098305, -0.0039832135662436485, -0.04300938919186592, -0.03186570852994919, 0.02620069496333599, -0.04025142267346382, -0.023386823013424873, 0.02364771068096161, 0.006657324265688658, 0.0346609465777874, 0.042375802993774414, -0.0010086148977279663, -0.005464689806103706, -0.03214523196220398, 0.03384101018309593, -0.0015082636382430792, -0.01291399821639061, 0.014973156154155731, -0.03999053314328194, -0.025455297902226448, 0.02625660039484501, -0.019715743139386177, -0.019920727238059044, 0.011618871241807938, -0.012858093716204166, 0.09466538578271866, -0.0019380315206944942, -0.018383346498012543, -0.015019743703305721, 0.011339347809553146, 0.03272291645407677, 0.01078030001372099, -0.055532056838274, 0.00036541910958476365, -0.039245136082172394, 0.015476299449801445, 0.019957996904850006, 0.01628691889345646, -0.057656437158584595, -0.02521304413676262, 0.008325149305164814, 0.034735485911369324, -0.0071092210710048676, 0.06429046392440796, 0.03831339254975319, -0.013678030110895634, 0.019548028707504272, 0.05672468990087509, -0.006009761244058609, 0.025455297902226448, -0.04230126366019249, 0.05023973807692528, -0.03523863106966019, -0.04766812175512314, 0.04226399585604668, 0.008646601811051369, -0.011674775741994381, -0.032629743218421936, 0.031455740332603455, 0.024542186409235, -0.0010150206508114934, 0.045320119708776474, 0.028977297246456146, 0.020628854632377625, 0.016091251745820045, -0.024709900841116905, -0.029983583837747574, -0.04267396405339241, -0.05996716767549515, 0.04807808995246887, 0.015588108450174332, 0.035574059933423996, 0.02487761527299881, 0.04546919837594032, 0.0306730754673481, 0.06667573750019073, 0.011590919457376003, 0.02312593348324299, 0.008544109761714935, -0.01748887076973915, -0.004474709741771221, -0.038350660353899, -0.012438807636499405, -0.08340989053249359, -0.06246424466371536, 0.03613310679793358, -0.06768202036619186, -0.024132218211889267, 0.008651260286569595, -0.02938726544380188, 0.03315151855349541, 0.06220335513353348, 0.02767285332083702, 0.0077381497249007225, -0.028175996616482735, 0.019100790843367577, -0.009559713304042816, -0.008348443545401096, 0.0020381940994411707, 0.05202868953347206, -0.001269503845833242, -0.033636026084423065, 0.002424868755042553, 0.03570450469851494, -0.011274125427007675, 0.003973896149545908, 0.06477497518062592, 0.08355896919965744, -0.0167248398065567, -0.005390150006860495, -0.0036268208641558886, -0.016184426844120026, 0.041518598794937134, -0.009238260798156261, -0.017535457387566566, 0.025175774469971657, -0.0077614434994757175, 0.007556459400802851, 0.06507313251495361, 0.04561828076839447, 0.03507091477513313, -0.038387931883335114, 0.021709678694605827, 0.00497086439281702, -0.059743545949459076, 0.003014198038727045, 0.014414109289646149, 0.05635199323296547, 0.033915549516677856, -0.07774487882852554, 0.04677364602684975, -0.0414067879319191, -0.028138726949691772, 0.03309561312198639, -0.020423870533704758, -0.03603992983698845, 0.03518272563815117, 0.0188678540289402, -0.017749760299921036, -0.0019846188370138407, -0.07342157512903214, -0.0007436497253365815, 0.01556947361677885, -0.04073593020439148, -0.0010977131314575672, 0.004467721562832594, 0.017349109053611755, -0.04528285190463066, -0.03227567672729492, 0.030878059566020966, 0.025753457099199295, -0.06388049572706223, -0.02021888643503189, -0.00000417647834183299, -0.04315847158432007, -0.007999038323760033, 0.040698662400245667, 0.07159535586833954, 0.0016887894598767161, -0.006121570710092783, -0.0380338691174984, -0.04617732763290405, -0.005110626108944416, -0.0019962654914706945, 0.0055066184140741825, 0.060451675206422806, 0.03734437748789787, -0.04435110464692116, 0.048823487013578415, 0.028231900185346603, -0.007975745014846325, -0.07849027216434479, -0.06805472075939178, 0.008795681409537792, -0.011432521976530552, -0.026387043297290802, 0.014497966505587101, 0.0343627892434597, 0.0015292279422283173, 0.012681061401963234, 0.009312800131738186, -0.07662678509950638, -0.054861199110746384, 0.015150188468396664, 0.015252680517733097, -0.0003211611765436828, 0.03126939386129379, -0.03831339254975319, -0.02724424935877323, 0.018914442509412766, -0.025753457099199295, 0.005008134059607983, 0.03156755119562149, -0.012587887234985828, 0.01936168037354946, 0.021635139361023903, 0.10510093718767166, -0.010454189032316208, 0.029219551011919975, 0.08974576741456985, -0.027281520888209343, 0.0012846447061747313, -0.0064896102994680405, -0.05079878494143486, -0.005935221444815397, 0.0031493010465055704, -0.01775907725095749, 0.03788478672504425, -0.0010464671067893505, -0.007449308410286903, 0.011581601575016975, -0.010286474600434303, 0.06958278268575668, -0.016668934375047684, 0.0199393630027771, 0.06909827888011932, -0.09473992139101028, 0.05266227945685387, 0.004216150380671024, -0.014348886907100677, -0.06168157979846001, 0.0000859681167639792, -0.020293425768613815, -0.023759519681334496, -0.007784736808389425, -0.08870220929384232, 0.008772388100624084, -0.04159313812851906, -0.03233158215880394, 0.0129605857655406, -0.043754786252975464, -0.05098513513803482, 0.010668491013348103, 0.001590956118889153, 0.037195295095443726, 0.020069805905222893, -0.005357538815587759, 0.047779928892850876, 0.037102121859788895, 0.0638059601187706, 0.007887229323387146, -0.05773097649216652, -0.026890186592936516, 0.00445607490837574, -0.029890408739447594, -0.029797233641147614, 0.00399486068636179, 0.056985579431056976, -0.03227567672729492, 0.007262959145009518, 0.03613310679793358, -0.029983583837747574, 0.051395103335380554, -0.029405901208519936, -0.014824077486991882, -0.04144405946135521, 0.0025250313337892294, 0.01760999672114849, 0.00987650640308857, 0.028175996616482735, 0.06619122624397278, -0.055718403309583664, -0.03479139134287834, 0.0018367040902376175, -0.06697389483451843, 0.017749760299921036, 0.018336759880185127, 0.032685644924640656, -0.0028325074817985296, -0.015439029783010483, -0.026088885962963104, -0.024952154606580734, -0.019920727238059044, 0.003521999577060342, 0.0164080448448658, -0.033486947417259216, 0.033300597220659256, -0.0398787260055542, 0.00011697778245434165, 0.0561283715069294, 0.01889580674469471, -0.013687347061932087, -0.03561132773756981, 0.06127161160111427, 0.04893529415130615, 0.0739433541893959, 0.06824106723070145, -0.02061021886765957, 0.036524441093206406, 0.0191753301769495, 0.011246172711253166, -0.023796791210770607, 0.05773097649216652, -0.0007442320347763598, 0.026237964630126953, 0.06988094002008438, 0.00506869750097394, 0.012075426988303661, -0.04990430921316147, -0.02819463051855564, -0.03542497754096985, -0.007337498944252729, -0.003908674232661724, -0.03984145447611809, -0.003524328814819455, 0.005660356488078833, -0.021989203989505768, 0.040661390870809555, 0.016454633325338364, -0.01013739500194788, 0.05463758111000061, 0.02359180711209774, -0.047779928892850876, 0.008120165206491947, -0.06138341873884201, 0.007062633987516165, -0.04319573938846588, 0.05173053219914436, -0.056799229234457016, 0.00029073384939692914, 0.0533704049885273, -0.020628854632377625, 0.016305552795529366, -0.042562153190374374, -0.027281520888209343, 0.03445596247911453, -0.021001553162932396, 0.014004141092300415, 0.07856481522321701, 0.0453946590423584, -0.024709900841116905, 0.045357391238212585, -0.11270398646593094, 0.0450965017080307, 0.009820601902902126, -0.05318405479192734, 0.03460504114627838, 0.0030584558844566345, -0.018243584781885147, -0.028269169852137566, -0.0022746247705072165, -0.0635078027844429, 0.04476107284426689, -0.03671078756451607, 0.030374916270375252, 0.03523863106966019, -0.016091251745820045, -0.01241085585206747, 0.011572283692657948, -0.0638059601187706, -0.009303483180701733, -0.04681091383099556, -0.01440479140728712, 0.030132662504911423, 0.021523330360651016, 0.01852310821413994, 0.006387118250131607, 0.045021962374448776, -0.05597929283976555, -0.0015548509545624256, -0.027747392654418945, 0.017200028523802757, 0.01348236296325922, -0.042040374130010605, -0.00961561780422926, -0.0316048227250576, 0.03095259889960289, 0.015215410850942135, -0.007845300249755383, 0.030915329232811928, -0.0037945350632071495, -0.06004170700907707, 0.057134658098220825, -0.046885453164577484, 0.008772388100624084, -0.00015388366591650993, -0.06447681784629822, 0.0632096454501152, 0.011255490593612194, -0.0280641857534647, -0.04904710501432419, 0.03902151808142662, 0.019063521176576614, 0.04267396405339241, 0.06812926381826401, -0.027840567752718925, 0.041369516402482986, -0.014628410339355469, 0.028418250381946564, 0.0548984669148922, -0.01706026680767536, -0.03810840845108032, 0.01754477620124817, -0.001686460105702281, -0.023629076778888702, -0.007151149678975344, 0.023629076778888702, 0.02236190252006054, 0.017004363238811493, 0.024467647075653076, 0.03816431388258934, -0.020628854632377625, -0.10823160409927368, -0.030412185937166214, 0.015112918801605701, 0.05866272374987602, 0.004192856606096029, 0.004451415967196226, 0.10100125521421432, -0.011861125007271767, -0.006983435712754726, -0.003841122379526496, 0.05657561123371124, 0.03827612102031708, 0.0368039645254612, 0.11002055555582047, -0.02221282199025154, -0.04382932558655739, -0.033971454948186874, -0.02008844166994095, -0.0010132737224921584, 0.07032818347215652, -0.03984145447611809, -0.0017400354845449328, -0.0022385194897651672, -0.03849973902106285, 0.0021826147567480803, -0.043456628918647766, 0.10838068276643753, -0.015271315351128578, -0.03238748759031296, -0.06611669063568115, -0.02662929706275463, 0.002902388572692871, -0.004793832544237375, -0.026498854160308838, -0.03266701102256775, -0.06835287809371948, 0.0022827775683254004, -0.0005095485248602927, -0.015150188468396664, -0.026610663160681725, 0.02791510708630085, 0.01570923626422882, 0.01225245837122202, 0.04703453183174133, 0.004325630143284798, 0.030561264604330063, -0.018858537077903748, 0.046400945633649826, 0.03445596247911453, 0.020013902336359024, -0.008348443545401096, -0.015606744214892387, -0.05448849871754646, -0.05303497612476349, 0.040698662400245667, -0.01797337830066681, -0.005977150052785873, -0.016892552375793457, -0.06194246560335159, 0.03147437795996666, 0.06119707226753235, 0.06466316431760788, 0.02083383873105049, -0.04349390044808388, -0.03872336074709892, 0.00284182489849627, 0.007365451194345951, -0.026517488062381744, -0.04058685153722763, -0.03071034513413906, 0.05907268822193146, 0.02953634411096573, 0.012504030019044876, -0.005790800787508488, 0.005287657957524061, 0.011125045828521252, 0.02226872742176056, -0.006699252873659134, 0.009578348137438297, 0.011208903044462204, -0.036151740700006485, -0.04088500887155533, -0.02957361564040184, -0.03494047001004219, -0.022138282656669617, 0.040475040674209595, 0.012289728038012981, -0.006745840422809124, 0.010053538717329502, -0.04006507247686386, -0.01317488681524992, 0.0051292614080011845, -0.0184019822627306, -0.0008933114004321396, 0.0005511859199032187, -0.02070339396595955, 0.004169562831521034, 0.03594675660133362, 0.029368631541728973, -0.029312726110219955, -0.04781720042228699, 0.01766590215265751, 0.0113486647605896, -0.020759299397468567, -0.025623012334108353, 0.052997708320617676, -0.0005753531004302204, 0.053333137184381485, -0.027896473184227943, -0.01078030001372099, 0.05474938824772835, -0.018234267830848694, -0.015606744214892387, 0.04476107284426689, 0.008082895539700985, -0.033729203045368195, 0.0003377578977961093, -0.012168601155281067, 0.011758632957935333, -0.018094506114721298, -0.00780803058296442, 0.0026065590791404247, 0.057507358491420746, 0.009405975230038166, 0.0036268208641558886, -0.0653340220451355, 0.03460504114627838, 0.009885824285447598, -0.04185402765870094, -0.0019426902290433645, 0.02135561592876911, -0.015084966085851192, 0.04349390044808388, 0.003675737651064992, 0.00871182419359684, 0.03441869467496872, -0.028213266283273697, -0.002976928139105439, -0.0708499550819397, 0.04252488166093826, -0.0018739739898592234, -0.01023057010024786, 0.03358012065291405, 0.01730252057313919, -0.03156755119562149, 0.0005337157053872943, 0.0035103526897728443, 0.0265361238270998, 0.06406684964895248, -0.05448849871754646, -0.03057990036904812, -0.0028558012563735247, -0.019007615745067596, 0.022380536422133446, 0.0008834115578792989, -0.036915771663188934, 0.017200028523802757, -0.07535960525274277, -0.00012403867731336504, -0.020591584965586662, -0.030039487406611443, -0.04054958000779152, 0.03326332941651344, -0.016678251326084137, -0.01647326722741127, 0.025995710864663124, 0.010258522816002369, -0.013156251981854439, -0.060414403676986694, 0.009624934755265713, 0.007030022796243429, 0.0037619241047650576, -0.0018611624836921692, -0.0188678540289402, -0.02061021886765957, 0.05344494432210922, -0.00966220535337925, -0.0015793093480169773, -0.025623012334108353, -0.056985579431056976, 0.006550173740833998, -0.08288811892271042, -0.033486947417259216, -0.003829475725069642, -0.007817348465323448, -0.0349777415394783, 0.006508245132863522, 0.022660059854388237, -0.03788478672504425, 0.0062380386516451836, -0.019622568041086197, -0.05668742209672928, 0.007570435293018818, -0.07032818347215652, 0.04122043773531914, 0.045171041041612625, 0.11262944340705872, -0.00996968150138855, -0.0035942099057137966, 0.017349109053611755, 0.008916808292269707, 0.002976928139105439, 0.018047917634248734, -0.020852472633123398, -0.00024196275626309216, 0.002576277358457446, -0.008409006521105766, -0.003330991603434086, 0.04181675612926483, -0.01720934733748436, -0.05173053219914436, -0.06358233839273453, 0.08900036662817001, -0.02564164809882641, 0.00602839607745409, -0.003070102771744132, -0.07431605458259583, 0.016305552795529366, 0.011972934938967228, -0.05113421380519867, -0.04628913477063179, -0.01965983770787716, -0.07099904119968414, 0.026051616296172142, -0.0018040930153802037, -0.027430599555373192, -0.07278799265623093, 0.010044220834970474, -0.0042883604764938354, 0.01889580674469471, 0.028418250381946564, 0.0191753301769495, 0.015131553635001183, 0.061979737132787704, -0.01898898184299469, 0.011320712976157665, -0.023945869877934456, 0.02677837759256363, 0.04435110464692116, 0.00284182489849627, 0.03024447150528431, -0.0052131181582808495, -0.06764475256204605, -0.018700139597058296, -0.04714634269475937, -0.05515935644507408, -0.02070339396595955, -0.032778821885585785, 0.12291591614484787, 0.014497966505587101, 0.028753679245710373, 0.016482584178447723 ]
54,182
nbconvert.exporters.templateexporter
_create_environment
Create the Jinja templating environment.
def _create_environment(self): """ Create the Jinja templating environment. """ paths = self.template_paths self.log.debug("Template paths:\n\t%s", "\n\t".join(paths)) loaders = [ *self.extra_loaders, ExtensionTolerantLoader(FileSystemLoader(paths), self.template_extension), DictLoader({self._raw_template_key: self.raw_template}), ] environment = Environment( # noqa: S701 loader=ChoiceLoader(loaders), extensions=JINJA_EXTENSIONS, enable_async=self.enable_async, ) environment.globals["uuid4"] = uuid.uuid4 # Add default filters to the Jinja2 environment for key, value in self.default_filters(): self._register_filter(environment, key, value) # Load user filters. Overwrite existing filters if need be. if self.filters: for key, user_filter in self.filters.items(): self._register_filter(environment, key, user_filter) return environment
(self)
[ 0.06302454322576523, -0.05479773133993149, -0.040669072419404984, -0.041849441826343536, 0.028775963932275772, 0.01441480778157711, -0.02949133887887001, 0.015881327912211418, -0.05000472068786621, -0.003699830500409007, 0.059054214507341385, 0.021032027900218964, -0.05329544469714165, 0.02645099349319935, -0.021210871636867523, -0.03231706842780113, 0.07847664505243301, 0.05408235639333725, 0.037736035883426666, -0.03215610980987549, 0.011893111281096935, -0.018367255106568336, -0.01570248417556286, 0.011374464258551598, -0.0030850551556795835, -0.027130600064992905, -0.04095522314310074, 0.016766604036092758, 0.05744462087750435, -0.0444963313639164, -0.03709219768643379, -0.022033553570508957, 0.012617427855730057, 0.008629212155938148, 0.06009150668978691, -0.021282408386468887, -0.016194304451346397, 0.05186469480395317, 0.015371622517704964, -0.025681965053081512, 0.03401608392596245, 0.021604327484965324, -0.009791696444153786, -0.015165952034294605, -0.004097757861018181, -0.008919833227992058, 0.010185153223574162, -0.0663510411977768, 0.032656874507665634, 0.04789436236023903, 0.003199067898094654, 0.0005340163479559124, 0.05318813771009445, 0.05275891348719597, -0.03748565539717674, 0.008857238106429577, -0.009219396859407425, 0.018939556553959846, -0.07540053129196167, -0.027613477781414986, -0.04328019171953201, 0.06191571429371834, -0.006250590085983276, 0.03582240641117096, -0.024430058896541595, 0.03494607284665108, -0.06924831122159958, 0.016981216147542, 0.0020242880564182997, -0.015273258090019226, 0.0004940559156239033, -0.012599543668329716, 0.0062058791518211365, -0.03712796792387962, -0.013610010966658592, -0.006711112800985575, -0.05372466892004013, -0.05265160650014877, 0.001230668742209673, -0.015326911583542824, -0.00420059310272336, -0.007354950066655874, -0.05050548166036606, 0.024036603048443794, 0.08534424751996994, 0.032746296375989914, -0.00008977119432529435, 0.03873756155371666, 0.07482823729515076, 0.008571088314056396, -0.027380982413887978, 0.015165952034294605, 0.02065645530819893, 0.07185942679643631, 0.038666024804115295, 0.02290988713502884, 0.01191993709653616, 0.026236381381750107, -0.0005373696330934763, -0.0014139836421236396, 0.009845349937677383, 0.01335068792104721, -0.023070847615599632, -0.018510330468416214, -0.03730681166052818, 0.06574296951293945, 0.014781437814235687, 0.05376043915748596, 0.006769236642867327, -0.023464303463697433, -0.03294302150607109, 0.023768337443470955, -0.022641621530056, -0.043172888457775116, -0.0284719280898571, 0.005119402892887592, -0.00029173889197409153, 0.010596493259072304, 0.03569721803069115, -0.03737834841012955, -0.04478248208761215, 0.0006348954048007727, 0.02087106928229332, 0.00895560160279274, 0.061093032360076904, -0.011088313534855843, 0.005445792805403471, -0.023535840213298798, 0.01141023263335228, -0.002295906888321042, -0.027112716808915138, 0.04395980015397072, -0.02192624658346176, -0.0066082775592803955, 0.000001331722387476475, -0.0104802455753088, -0.11460308730602264, 0.008146333508193493, 0.019386665895581245, 0.0988648384809494, -0.02405448816716671, -0.07897741347551346, -0.042922504246234894, 0.007269999478012323, -0.011043602600693703, -0.014763553626835346, 0.01145494356751442, -0.009228338487446308, -0.018161585554480553, 0.042743660509586334, 0.03542895242571831, -0.002176305279135704, -0.01328809279948473, 0.0012753796763718128, 0.023947181180119514, 0.03170900046825409, -0.0028659715317189693, 0.06373991817235947, 0.03952447324991226, -0.005311660002917051, -0.0035813464783132076, 0.02042395807802677, -0.0686044692993164, 0.03535741567611694, -0.009603911079466343, 0.05723000690340996, -0.013735202141106129, -0.017786012962460518, 0.03891640529036522, -0.014092889614403248, 0.016435742378234863, -0.007100097835063934, 0.021604327484965324, 0.007726050913333893, -0.012045128270983696, 0.033712051808834076, 0.03905947878956795, 0.006813947577029467, 0.010328227654099464, -0.0030738774221390486, -0.06796063482761383, -0.011946763843297958, -0.058303069323301315, 0.05390351265668869, 0.00556204142048955, 0.004444267600774765, 0.026772912591695786, 0.022122975438833237, 0.024430058896541595, 0.07432746887207031, -0.07185942679643631, 0.0011222446337342262, 0.023535840213298798, -0.00007719623681623489, -0.01985165849328041, 0.01958339288830757, 0.03603702038526535, -0.05186469480395317, -0.07368363440036774, 0.028114240616559982, -0.07912048697471619, -0.002608883660286665, 0.0023875643964856863, 0.001821970916353166, 0.01039082370698452, 0.05469042435288429, -0.02087106928229332, 0.012465410865843296, 0.0027720783837139606, -0.019511856138706207, -0.06027035042643547, -0.031780537217855453, -0.03242437541484833, 0.06098572537302971, -0.016256898641586304, -0.017750244587659836, -0.005266949068754911, 0.004140233155339956, 0.011910995468497276, 0.024090256541967392, 0.014692015945911407, 0.001874506357125938, 0.02489505335688591, -0.03723527491092682, -0.012867809273302555, -0.01724053919315338, -0.004895848222076893, 0.009872176684439182, -0.042994044721126556, 0.031762655824422836, -0.00007307445048354566, 0.015013935044407845, 0.08155275881290436, -0.005776653997600079, 0.009371413849294186, -0.06395453214645386, 0.07007098942995071, -0.008588972501456738, -0.003733363701030612, -0.003149885917082429, 0.014334328472614288, 0.0115443654358387, 0.032209765166044235, -0.0520077683031559, 0.016820257529616356, -0.0011557778343558311, -0.011848400346934795, -0.005557570140808821, 0.010864758864045143, -0.07404132187366486, -0.04170636832714081, 0.031512271612882614, 0.025699850171804428, -0.005105989519506693, -0.04431748762726784, 0.0031297660898417234, 0.10051020234823227, 0.007502496242523193, -0.015022876672446728, -0.00143745681270957, 0.051542773842811584, 0.017124291509389877, -0.048180513083934784, 0.033980317413806915, -0.0045873429626226425, -0.01918993704020977, 0.01346693653613329, 0.01684708334505558, -0.038666024804115295, -0.010274575091898441, 0.04442479461431503, 0.1097385361790657, 0.0005767711554653943, -0.00822681374847889, -0.020459728315472603, 0.004180473275482655, 0.005003154743462801, 0.020763762295246124, -0.023643147200345993, 0.009845349937677383, -0.0019773414824157953, -0.021425483748316765, 0.05283045023679733, 0.07132289558649063, 0.0029755132272839546, -0.0687117800116539, -0.06849716603755951, 0.019118400290608406, 0.029902679845690727, -0.03081478178501129, -0.03662720322608948, 0.04821627959609032, 0.015747195109725, 0.02255219966173172, -0.019207822158932686, -0.031601693481206894, -0.03551837429404259, -0.028328854590654373, 0.03346167132258415, -0.03122612275183201, 0.02401871792972088, -0.00884382426738739, -0.004059753846377134, 0.05597810074687004, -0.04564093053340912, 0.019350895658135414, 0.020817415788769722, -0.0050120968371629715, 0.010185153223574162, 0.026772912591695786, 0.032209765166044235, -0.016748718917369843, 0.07382670789957047, 0.05855344980955124, -0.007842299528419971, -0.01897532492876053, -0.00855320319533348, -0.032263416796922684, -0.02543158456683159, -0.0030694063752889633, -0.007515909615904093, 0.02603965252637863, 0.029205188155174255, -0.0005695056170225143, 0.022355470806360245, 0.021067796275019646, 0.05483350157737732, -0.03020671382546425, 0.05258006975054741, 0.0694986879825592, -0.08684653788805008, 0.02498447522521019, 0.021675866097211838, 0.07432746887207031, 0.020370306447148323, 0.01840302348136902, -0.01949397101998329, -0.039023712277412415, -0.028775963932275772, -0.0923549234867096, 0.005633579101413488, -0.06341800093650818, -0.05376043915748596, -0.012411758303642273, 0.005159643013030291, -0.04907473176717758, 0.01654304936528206, -0.0005901844706386328, 0.012832040898501873, -0.002705011982470751, 0.007734993007034063, 0.019923197105526924, 0.03852294757962227, 0.0368775874376297, -0.04549785703420639, -0.08233967423439026, -0.047643981873989105, 0.04531901329755783, -0.017696591094136238, 0.03744988515973091, -0.051542773842811584, 0.05179315805435181, -0.024948706850409508, 0.019422434270381927, 0.043351732194423676, -0.03423069790005684, 0.043494805693626404, 0.004976327996701002, -0.05254429951310158, -0.022802582010626793, 0.07017830014228821, 0.00406646030023694, 0.025002360343933105, 0.016104882583022118, -0.024000834673643112, -0.051936231553554535, -0.002356266602873802, -0.0569438561797142, -0.038630254566669464, 0.01840302348136902, 0.007140337489545345, 0.0267907977104187, -0.007641100324690342, -0.013967698439955711, -0.027881743386387825, -0.0444963313639164, -0.027112716808915138, -0.019261473789811134, -0.0010490304557606578, -0.028543466702103615, -0.00001781451646820642, -0.06463413685560226, 0.024430058896541595, 0.07200250029563904, 0.03147650510072708, -0.006317656487226486, -0.03532164543867111, 0.03966755047440529, 0.040740612894296646, 0.09485873579978943, 0.03877333179116249, -0.014933454804122448, 0.04660668596625328, 0.003402502741664648, 0.04020408168435097, -0.04209982603788376, 0.08334119617938995, 0.025681965053081512, 0.038487181067466736, 0.05948343873023987, -0.005311660002917051, 0.008074796758592129, -0.07271787524223328, -0.03998946771025658, -0.07411286234855652, -0.015317969024181366, -0.006997262593358755, -0.013779913075268269, 0.02299930900335312, -0.005342957563698292, -0.03197726607322693, 0.00291291787289083, -0.013297034427523613, -0.03144073486328125, -0.020227231085300446, 0.040168311446905136, -0.033855125308036804, 0.039417166262865067, -0.06527797877788544, 0.010605435818433762, -0.024841399863362312, -0.015103356912732124, -0.03498184308409691, -0.025002360343933105, 0.06538528203964233, 0.00527142034843564, 0.016292667016386986, -0.014808264560997486, -0.005852662492543459, 0.024340637028217316, 0.021371830254793167, 0.017714476212859154, 0.042958274483680725, 0.05393928289413452, -0.05880383402109146, 0.04435325413942337, -0.09657564014196396, 0.03077901341021061, -0.015622003935277462, -0.0053966110572218895, 0.04700014367699623, 0.01958339288830757, 0.01147282775491476, -0.0368775874376297, -0.0007002851343713701, -0.009746985509991646, 0.061307646334171295, 0.007806530687958002, 0.019333012402057648, 0.022498546168208122, 0.010238805785775185, -0.02967018261551857, 0.05583502724766731, -0.02900845929980278, -0.014584709890186787, -0.04134868085384369, -0.021586444228887558, 0.016131708398461342, -0.0008305057999677956, 0.02949133887887001, -0.006496500223875046, 0.03258533403277397, -0.03870179131627083, 0.0007086684345267713, -0.030707476660609245, 0.00811503641307354, 0.029562875628471375, -0.016605643555521965, 0.008463781327009201, 0.009380355477333069, -0.042779430747032166, -0.026719259098172188, -0.015952864661812782, 0.06098572537302971, -0.02462678775191307, -0.0587322935461998, 0.05050548166036606, -0.026951756328344345, 0.008477195166051388, 0.029115766286849976, -0.03660932183265686, 0.024340637028217316, 0.003887616563588381, -0.009085264056921005, -0.03877333179116249, -0.00213830079883337, 0.056586168706417084, 0.017043812200427055, 0.045175936073064804, -0.04793013259768486, 0.0276850163936615, -0.01967281475663185, 0.025324277579784393, 0.03612644225358963, 0.00908973440527916, -0.03970331698656082, 0.03648412972688675, -0.03784334287047386, -0.028096357360482216, -0.01852821558713913, 0.029992101714015007, 0.024394290521740913, -0.021604327484965324, -0.038844868540763855, 0.02162221260368824, 0.02789962850511074, -0.05333121493458748, -0.03263898938894272, 0.0029531577602028847, 0.05815999582409859, 0.01936878077685833, -0.020674340426921844, 0.071072518825531, -0.015398449264466763, -0.0033957960549741983, 0.007533793803304434, 0.08555886149406433, 0.07432746887207031, -0.024698324501514435, 0.07783281058073044, -0.006639575120061636, -0.0364304780960083, -0.004070931579917669, -0.02426910027861595, 0.00406646030023694, 0.029652297496795654, 0.0020678811706602573, -0.00542790861800313, 0.01927935890853405, -0.031780537217855453, 0.018689174205064774, -0.03956024348735809, 0.029920563101768494, -0.0024702795781195164, -0.019386665895581245, -0.05934036523103714, -0.03290725499391556, -0.03898794203996658, -0.009398240596055984, -0.02741675078868866, 0.01906474679708481, -0.0344095416367054, -0.013824624009430408, 0.0052222381345927715, -0.005620165728032589, -0.08605962246656418, 0.011821573600172997, 0.051006242632865906, -0.011866284534335136, 0.049146268516778946, 0.0520077683031559, 0.03179842233657837, -0.06492029130458832, 0.031100932508707047, 0.04367364943027496, -0.017651880159974098, -0.06481298059225082, 0.011115140281617641, -0.027881743386387825, -0.0023473245091736317, 0.008141863159835339, 0.03315763548016548, 0.020817415788769722, -0.023500071838498116, -0.047787055373191833, -0.007600860204547644, 0.015398449264466763, 0.05508388206362724, 0.015076530165970325, -0.01430750172585249, -0.015407390892505646, 0.013726259581744671, -0.05068432539701462, -0.03417704626917839, -0.02603965252637863, -0.030743245035409927, 0.0923549234867096, 0.04807320609688759, 0.0026133547071367502, -0.012483295053243637, 0.0040351627394557, 0.029527107253670692, 0.0402398481965065, -0.010820047929883003, 0.03666297346353531, 0.03365839645266533, 0.008861709386110306, -0.021389715373516083, -0.04524747654795647, -0.07243172824382782, -0.028758078813552856, 0.013779913075268269, -0.007337065879255533, -0.011320810765028, 0.0016140650259330869, -0.08098045736551285, -0.019529739394783974, -0.01888590306043625, -0.03161957859992981, -0.02462678775191307, 0.022516431286931038, -0.056586168706417084, 0.01680237241089344, 0.04403133690357208, 0.024376407265663147, 0.01812581717967987, -0.035750869661569595, 0.021479137241840363, 0.0019818125292658806, -0.03174477070569992, -0.030403440818190575, 0.02237335592508316, 0.012688965536653996, 0.022534316405653954, 0.01843879371881485, -0.042028285562992096, 0.06391876190900803, -0.03891640529036522, -0.014557883143424988, 0.041634831577539444, 0.02282046526670456, -0.014539998956024647, 0.015398449264466763, -0.0234821867197752, 0.02534216269850731, 0.04249328002333641, 0.021962014958262444, -0.0017794955056160688, 0.04006100445985794, 0.05333121493458748, -0.026862334460020065, -0.09307029843330383, -0.007520380895584822, 0.023982949554920197, 0.0026066480204463005, -0.04610592499375343, 0.0436021126806736, 0.021550673991441727, -0.0026111190672963858, 0.012894636020064354, -0.0011412468738853931, 0.037914879620075226, -0.012733676470816135, -0.011687440797686577, -0.09943713992834091, 0.053617361932992935, -0.003961389418691397, -0.03580452501773834, 0.014164427295327187, 0.025324277579784393, 0.005101518705487251, 0.01114196702837944, -0.02754194103181362, 0.0005186469643376768, 0.08212506026029587, -0.02117510326206684, -0.021210871636867523, -0.002089118817821145, 0.033712051808834076, 0.038666024804115295, 0.027380982413887978, -0.044997092336416245, 0.061844177544116974, -0.07933510094881058, -0.08033662289381027, 0.01123138889670372, -0.024072371423244476, -0.00785124208778143, 0.056657709181308746, 0.010462360456585884, -0.03660932183265686, 0.02507389709353447, 0.0009020433062687516, 0.01445951871573925, -0.014146542176604271, -0.027828091755509377, 0.021783171221613884, -0.02366103045642376, 0.051972001791000366, 0.00034008262446150184, -0.012814156711101532, 0.017660822719335556, 0.01640891656279564, 0.047787055373191833, -0.050433944910764694, -0.0864173099398613, 0.03339013084769249, -0.056979626417160034, -0.022212397307157516, -0.00846825260668993, 0.00199522590264678, -0.012930404394865036, 0.006085159257054329, -0.034284353256225586, -0.025717735290527344, 0.004281072877347469, -0.057730771601200104, 0.020799530670046806, -0.01394981425255537, -0.03496395796537399, 0.016462570056319237, -0.015586234629154205, 0.11696382611989975, -0.027130600064992905, 0.01861763745546341, 0.010712741874158382, -0.02516331896185875, 0.03099362552165985, 0.04152752459049225, -0.015684599056839943, -0.013457993976771832, 0.03147650510072708, -0.004533689469099045, -0.0031677703373134136, 0.012465410865843296, 0.0042207129299640656, -0.08262582123279572, -0.07314710319042206, 0.03426646813750267, -0.04488978534936905, -0.029473453760147095, 0.0023898000363260508, -0.07121559232473373, -0.016686124727129936, 0.014155484735965729, -0.08577347546815872, -0.034069739282131195, -0.030671706423163414, -0.05787384510040283, -0.011150909587740898, 0.016864968463778496, -0.021407600492239, -0.05955497547984123, -0.0044062635861337185, 0.03263898938894272, 0.03068959154188633, 0.03392666205763817, -0.031905729323625565, -0.022927772253751755, 0.021818939596414566, -0.0024009777698665857, 0.03405185416340828, -0.04081214964389801, -0.006268474273383617, 0.032120343297719955, -0.009550257585942745, 0.03421281278133392, 0.015103356912732124, -0.06878331303596497, -0.02285623364150524, -0.04385249316692352, -0.06356107443571091, -0.022266048938035965, -0.027577709406614304, 0.07060752063989639, 0.0014776967000216246, 0.008079267106950283, -0.012250798754394054 ]
54,184
nbconvert.exporters.templateexporter
_get_conf
null
def _get_conf(self): conf: dict[str, t.Any] = {} # the configuration once all conf files are merged for path in map(Path, self.template_paths): conf_path = path / "conf.json" if conf_path.exists(): with conf_path.open() as f: conf = recursive_update(conf, json.load(f)) return conf
(self)
[ 0.044451963156461716, -0.0679788887500763, 0.03320154920220375, -0.03503386676311493, -0.034978896379470825, 0.02953691966831684, 0.0058817313984036446, -0.015199054032564163, -0.02123653143644333, 0.0065459455363452435, 0.021804550662636757, -0.03961465135216713, -0.03662797808647156, 0.009500553831458092, -0.02422320656478405, -0.031570788472890854, -0.0007369342492893338, 0.049069397151470184, -0.018543029204010963, -0.03721432015299797, 0.02746640332043171, -0.04657744988799095, 0.0029202522709965706, 0.030288169160485268, -0.0200638510286808, -0.04701720550656319, 0.008955440483987331, -0.02633036859333515, 0.061419203877449036, -0.03281676396727562, -0.06570681929588318, 0.004846473690122366, 0.06394779682159424, 0.005794696509838104, -0.02823597565293312, -0.04950915277004242, 0.009518876671791077, 0.03232203796505928, -0.05090171471238136, 0.0011549311457201838, 0.018139919266104698, -0.0200638510286808, -0.004491462372243404, -0.04016434773802757, 0.04038422554731369, 0.09506050497293472, -0.043645747005939484, 0.04599110782146454, 0.01866212859749794, 0.016188504174351692, 0.026220429688692093, -0.06460743397474289, -0.09344807267189026, 0.04130038246512413, 0.006344391033053398, 0.006889504846185446, -0.021951135247945786, 0.02387506514787674, 0.028529146686196327, -0.012386450543999672, -0.012285673059523106, -0.04859299585223198, 0.023673512041568756, -0.0046472093090415, -0.0038272482343018055, -0.007223902270197868, -0.03431926295161247, -0.00507093220949173, 0.013256799429655075, -0.033329810947179794, -0.001922785653732717, -0.01388894859701395, -0.014667682349681854, -0.05482286959886551, 0.021383117884397507, -0.045441415160894394, 0.014154634438455105, 0.009738754481077194, 0.01541893184185028, 0.005194613244384527, -0.09469404816627502, -0.0033416845835745335, -0.03166240453720093, 0.0256707351654768, 0.06284841150045395, 0.04415879398584366, 0.0384419709444046, -0.034209322184324265, 0.03706773370504379, -0.008781369775533676, 0.0019411088433116674, 0.04104385897517204, 0.034740693867206573, 0.013192668557167053, 0.07310937345027924, 0.011735978536307812, -0.016903106123209, -0.02299555391073227, 0.0238017737865448, -0.0026316626463085413, -0.04851970449090004, 0.008992086164653301, 0.0002095710369758308, -0.02731981873512268, 0.05148805305361748, -0.021804550662636757, -0.0011589393252506852, 0.012505550868809223, 0.013229315169155598, -0.008982924744486809, -0.06420432031154633, -0.008703497238457203, 0.008213352411985397, -0.0007449506083503366, 0.049032751470804214, -0.025579119101166725, -0.062335360795259476, 0.02048528380692005, 0.0576079860329628, 0.01463103573769331, -0.013421707786619663, 0.036426424980163574, 0.03202886879444122, 0.01468600519001484, 0.043609101325273514, 0.014328704215586185, -0.03715934976935387, -0.025652412325143814, 0.042546357959508896, -0.0009808611357584596, 0.04877622798085213, 0.03736090660095215, 0.022024428471922874, -0.045514706522226334, 0.0239850040525198, -0.028675731271505356, -0.0384419709444046, 0.018185727298259735, 0.0070315091870725155, 0.03686618059873581, 0.028565792366862297, -0.016380896791815758, 0.030654631555080414, -0.005080093629658222, -0.003250068984925747, 0.014246249571442604, -0.013495001010596752, 0.033439751714468, -0.05485951527953148, 0.020540252327919006, 0.0023980424739420414, -0.01272542867809534, -0.016344251111149788, 0.007988893426954746, -0.02528594806790352, -0.005492364522069693, -0.01883620023727417, 0.06127261742949486, -0.031167680397629738, -0.0776168704032898, -0.012899498455226421, -0.007805662229657173, 0.011589393019676208, -0.0003879354626405984, -0.0563986599445343, 0.0004981606616638601, -0.020650191232562065, -0.042656295001506805, 0.010508326813578606, -0.006962797604501247, -0.027136586606502533, 0.0006550526595674455, -0.03932148218154907, -0.012487227097153664, -0.010297611355781555, 0.015602163039147854, 0.030929479748010635, -0.011268737725913525, 0.036811210215091705, 0.03083786368370056, -0.07179010659456253, -0.026806769892573357, 0.014319542795419693, 0.03770904615521431, 0.0056526921689510345, 0.06717266887426376, 0.02704497054219246, 0.024937808513641357, 0.03785562887787819, -0.0030668373219668865, -0.009619654156267643, -0.005034285597503185, -0.018469735980033875, 0.03578511252999306, 0.017443640157580376, 0.0015105147613212466, 0.004970154725015163, 0.002814894076436758, -0.03468572348356247, 0.016747359186410904, -0.028492499142885208, -0.09190892428159714, 0.02242753654718399, 0.008355356752872467, 0.017269570380449295, 0.0006848277989774942, -0.01763603277504444, 0.028950579464435577, -0.02376512624323368, 0.04067739471793175, -0.04829982668161392, -0.010251803323626518, -0.02464463748037815, -0.03292670100927353, 0.018506383523344994, -0.01967906393110752, 0.03655468672513962, -0.004699888173490763, -0.08912380784749985, 0.005574818700551987, 0.004482300952076912, 0.023673512041568756, 0.0521843358874321, -0.012322318740189075, -0.02288561500608921, -0.009051636792719364, -0.04196001589298248, -0.0055564953945577145, -0.015858687460422516, -0.011094667948782444, 0.050718482583761215, -0.014136310666799545, 0.06900499016046524, -0.019550802186131477, 0.02284896932542324, -0.06775901466608047, 0.008392003364861012, 0.002163277007639408, 0.06610992550849915, 0.046320926398038864, 0.0027576342690736055, 0.005400748923420906, 0.01212992612272501, -0.008295807056128979, -0.026751801371574402, -0.020466959103941917, 0.04228983446955681, -0.020576898008584976, 0.04665074124932289, 0.0014795945025980473, 0.055225975811481476, 0.020760130137205124, -0.045478060841560364, 0.03939477354288101, -0.004599111154675484, -0.018543029204010963, 0.006518460810184479, 0.014942529611289501, 0.006381037179380655, -0.005574818700551987, 0.05852414295077324, 0.04064074903726578, -0.022702384740114212, 0.035895053297281265, -0.07332924753427505, -0.033641304820775986, 0.013678232207894325, -0.020448636263608932, -0.09374123811721802, 0.03770904615521431, 0.06610992550849915, 0.05991670489311218, 0.016206827014684677, -0.033806212246418, -0.010975567623972893, 0.02010049670934677, 0.038295384496450424, -0.0018174275755882263, 0.004486881662160158, 0.026147136464715004, -0.02098000794649124, -0.023325370624661446, 0.04221653938293457, 0.012322318740189075, 0.010664073750376701, -0.01700388453900814, -0.06757578253746033, 0.004578497260808945, -0.013852301985025406, 0.015492224134504795, 0.017297053709626198, -0.01651832088828087, -0.024021651595830917, 0.002190761733800173, 0.02394835837185383, -0.02196945808827877, -0.02907884120941162, -0.02873070165514946, 0.05394335836172104, -0.030727924779057503, -0.012789559550583363, 0.016353411599993706, -0.04511159658432007, 0.014447804540395737, 0.006994863040745258, -0.030764570459723473, 0.0041708070784807205, -0.02873070165514946, 0.018781229853630066, 0.031387556344270706, -0.047273728996515274, -0.06376456469297409, 0.07629760354757309, 0.06651303917169571, -0.04119044542312622, -0.06475401669740677, -0.0005287947133183479, 0.025798996910452843, -0.009940309450030327, 0.011772624216973782, -0.04866629093885422, 0.08326040208339691, -0.0035111738834530115, -0.01637173630297184, 0.06790559738874435, -0.010270126163959503, 0.045258183032274246, 0.03538200631737709, 0.015464739874005318, 0.03895501792430878, -0.06270182132720947, -0.02918878011405468, 0.0011503503192216158, 0.013082729652523994, 0.036004990339279175, 0.04203330725431442, 0.02063186839222908, -0.01809411123394966, -0.017379509285092354, -0.04192337021231651, 0.055152684450149536, -0.026953354477882385, -0.008744724094867706, -0.00195485120639205, -0.03530871123075485, -0.02436979115009308, 0.036499716341495514, 0.015941141173243523, -0.01788339577615261, -0.054346464574337006, -0.0074346186593174934, 0.031076064333319664, 0.022665737196803093, 0.04104385897517204, -0.0045418511144816875, -0.03430093824863434, -0.04668739065527916, 0.018891168758273125, -0.0076224310323596, 0.014182118698954582, -0.026660185307264328, 0.010618265718221664, -0.001152068143710494, 0.03618822246789932, -0.009976956062018871, 0.07200998067855835, -0.052477505058050156, 0.03334813565015793, -0.01601443439722061, -0.06438755244016647, -0.0022228271700441837, 0.03618822246789932, 0.04489171877503395, -0.058963898569345474, 0.04415879398584366, -0.01862548291683197, -0.0802554041147232, 0.0013352996902540326, -0.061602432280778885, 0.024498052895069122, 0.009248610585927963, 0.03541865199804306, 0.009921986609697342, -0.02468128502368927, -0.04606440290808678, -0.06292170286178589, 0.0002641110331751406, -0.07607772201299667, 0.007329260464757681, 0.008479038253426552, 0.015684617683291435, -0.017654355615377426, -0.057131584733724594, 0.05207439512014389, -0.06270182132720947, -0.018396444618701935, 0.026257075369358063, 0.016454190015792847, 0.017516933381557465, 0.027979452162981033, 0.057204876095056534, -0.04408550262451172, 0.06757578253746033, 0.01241393480449915, 0.01605108007788658, -0.028675731271505356, 0.07354912906885147, 0.06702608615159988, -0.029848413541913033, 0.004983897320926189, -0.0033371038734912872, 0.012139087542891502, 0.020906714722514153, 0.04917933791875839, -0.05595890432596207, -0.014218765310943127, -0.019917264580726624, 0.026531923562288284, 0.023398663848638535, 0.021529702469706535, -0.0005027414299547672, -0.05046195909380913, 0.02830926887691021, 0.0064451685175299644, 0.01612437330186367, 0.025725703686475754, -0.022794000804424286, 0.013073568232357502, -0.08487283438444138, 0.0017590224742889404, -0.027558019384741783, 0.02066851407289505, -0.008882147260010242, -0.04020099341869354, 0.049875617027282715, -0.011039698496460915, 0.05174458026885986, -0.07080065459012985, -0.007370487321168184, -0.005048028193414211, 0.013815656304359436, 0.0492892749607563, 0.04126373678445816, -0.0004818416200578213, -0.04027428478002548, 0.014988337643444538, -0.0713503509759903, -0.04826318100094795, 0.00966546218842268, -0.024498052895069122, -0.03105774149298668, -0.03274347260594368, -0.00014279174502007663, -0.011351192370057106, 0.0029431560542434454, 0.006926150992512703, 0.0492892749607563, -0.001686875126324594, -0.03113103285431862, 0.009367710910737514, 0.0017303925706073642, -0.016738198697566986, 0.1026829406619072, -0.01784675009548664, 0.01193753257393837, -0.15640641748905182, 0.04056745767593384, 0.030324814841151237, -0.01816740445792675, -0.004750276915729046, 0.03604163974523544, 0.019202662631869316, -0.09286172688007355, 0.01608772575855255, -0.02246418409049511, -0.04481842741370201, 0.03939477354288101, 0.01759938709437847, -0.020650191232562065, -0.06138255447149277, -0.023398663848638535, -0.0078194048255682, -0.05867072939872742, -0.0072605484165251255, 0.017196277156472206, -0.13104717433452606, 0.015382285229861736, -0.04492836818099022, -0.05819432809948921, -0.040823981165885925, -0.010535812005400658, -0.008286644704639912, -0.012267349287867546, -0.039907824248075485, -0.027136586606502533, 0.010187672451138496, 0.014988337643444538, 0.05368683114647865, 0.07017766684293747, -0.030617985874414444, 0.00903331395238638, -0.025011101737618446, 0.01851554401218891, 0.04214324802160263, -0.048996105790138245, 0.015831202268600464, -0.031149357557296753, 0.008153801783919334, -0.004379233345389366, 0.016527481377124786, 0.00793850515037775, 0.002734730252996087, -0.0239850040525198, -0.0006716580246575177, 0.03310993313789368, -0.03041643090546131, -0.029518596827983856, 0.02284896932542324, 0.011561908759176731, -0.00850652251392603, -0.03402609005570412, -0.029775120317935944, -0.003119516419246793, 0.04313269630074501, 0.015180730260908604, 0.02281232364475727, 0.058084387332201004, -0.045478060841560364, -0.05394335836172104, 0.024058297276496887, 0.005226678680628538, -0.003911992534995079, 0.002313297940418124, 0.02636701427400112, -0.013806493952870369, -0.04379232972860336, 0.030727924779057503, -0.025267625227570534, -0.10019098967313766, -0.013449192978441715, 0.004901443142443895, -0.006710853893309832, 0.08054856956005096, 0.03003164380788803, -0.0028011517133563757, 0.00010557284258538857, -0.017663517966866493, -0.05288061499595642, 0.04064074903726578, -0.00813089869916439, 0.027686281129717827, -0.039101604372262955, -0.0021816000808030367, 0.03968794643878937, -0.02200610376894474, -0.07541809231042862, 0.014850913546979427, -0.057937804609537125, 0.001844912301748991, 0.026220429688692093, 0.03490560129284859, -0.0069857011549174786, -0.029005547985434532, 0.03622486814856529, 0.0388084352016449, 0.008941697888076305, -0.028510823845863342, 0.07644418627023697, -0.021273178979754448, 0.006376456469297409, 0.012459742836654186, 0.048153240233659744, 0.028089391067624092, -0.050718482583761215, -0.006637561600655317, 0.01278039813041687, -0.009775401093065739, 0.020430313423275948, 0.03648139536380768, -0.024058297276496887, 0.0007083042874000967, 0.014740974642336369, 0.08582563698291779, 0.04064074903726578, 0.016701553016901016, 0.0006361568812280893, 0.021309824660420418, 0.04009105637669563, 0.03613325580954552, -0.014328704215586185, -0.0309111550450325, 0.010480842553079128, 0.020503606647253036, 0.022225981578230858, 0.030196553096175194, 0.06211548298597336, -0.011433646082878113, -0.015391446650028229, 0.026220429688692093, -0.0248278696089983, -0.06431426107883453, -0.002773666987195611, 0.0068711815401911736, 0.021877842023968697, -0.05496945232152939, -0.01510743796825409, 0.054419759660959244, -0.024168236181139946, -0.020466959103941917, 0.01940421760082245, 0.04745696112513542, -0.050828419625759125, 0.10114379227161407, -0.03430093824863434, 0.02513936348259449, 0.023398663848638535, -0.005029704887419939, -0.009921986609697342, -0.010462519712746143, -0.035895053297281265, -0.020430313423275948, 0.015272346325218678, -0.02929871901869774, 0.0198256503790617, -0.047053851187229156, 0.039981115609407425, -0.014850913546979427, -0.019917264580726624, -0.0755646750330925, 0.06475401669740677, 0.07171681523323059, -0.0730360820889473, 0.05749804899096489, 0.027832865715026855, -0.03450249508023262, 0.03895501792430878, 0.06449749320745468, -0.03710437938570976, 0.028492499142885208, 0.021273178979754448, 0.03637145459651947, -0.03563852980732918, 0.009821209125220776, -0.02299555391073227, -0.013852301985025406, -0.002629372291266918, -0.0062710982747375965, -0.00853858795017004, -0.005446556489914656, 0.0029637697152793407, 0.0003701849200297147, -0.018185727298259735, -0.03014158271253109, 0.005803857930004597, -0.04196001589298248, -0.002885896246880293, 0.013586616143584251, -0.03362298384308815, 0.0024621733464300632, 0.011635201051831245, -0.04371903836727142, 0.02433314546942711, -0.055152684450149536, -0.054273173213005066, 0.013055245392024517, -0.03387950733304024, -0.02471793070435524, -0.04159355163574219, 0.0731460228562355, -0.011332868598401546, 0.1215924322605133, 0.006921570282429457, 0.0018838489195331931, -0.003181357169523835, -0.016683228313922882, 0.008300387300550938, -0.014960852451622486, 0.01944086328148842, 0.020430313423275948, -0.03102109394967556, 0.025505825877189636, 0.08479954302310944, 0.017232922837138176, 0.02926207147538662, 0.012349803932011127, -0.021529702469706535, 0.04027428478002548, -0.004651790019124746, 0.03983452916145325, 0.05544585362076759, -0.058817315846681595, 0.05229427292943001, -0.04053081199526787, 0.041666846722364426, 0.030343137681484222, -0.0401277020573616, 0.05324707552790642, -0.009958632290363312, -0.0037104380317032337, 0.008227095007896423, 0.035052187740802765, -0.021676287055015564, -0.014044695533812046, -0.039064958691596985, -0.011149637401103973, -0.022702384740114212, -0.0031859378796070814, 0.006889504846185446, -0.10209659487009048, 0.018854523077607155, 0.0018781230319291353, 0.05731481686234474, 0.08457966893911362, -0.0020854035392403603, -0.013531646691262722, 0.06358133256435394, 0.0038913791067898273, 0.016628259792923927, 0.03201054409146309, -0.0421798937022686, -0.020375344902276993, -0.005716823041439056, -0.014585228636860847, 0.02143808640539646, 0.04595446214079857, 0.03862520307302475, 0.04694391414523125, -0.04742031544446945, -0.009738754481077194, 0.030801216140389442, -0.020723484456539154, -0.06083286181092262, -0.025414209812879562, -0.021144917234778404, 0.02189616486430168, 0.007608688436448574, 0.012899498455226421, 0.006133674643933773, -0.061529140919446945, 0.02933536469936371, 0.014695167541503906, 0.016591614112257957, -0.03113103285431862, 0.08743807673454285, -0.04602775722742081, -0.07600443065166473, 0.027411434799432755, 0.009399776346981525, -0.019880618900060654, 0.01715046912431717, -0.025853965431451797, 0.040933918207883835, -0.0017727648373693228, 0.009056217037141323, -0.07952247560024261, -0.0014566904865205288, -0.028217652812600136, -0.010013601742684841, -0.0009762803674675524, 0.020613545551896095, 0.03560188412666321, -0.05584896355867386, 0.015693778172135353, 0.06695279479026794, 0.06270182132720947, -0.017764294520020485, 0.011607715860009193, -0.0015986949438229203 ]
54,187
nbconvert.exporters.templateexporter
_init_preprocessors
null
def _init_preprocessors(self): super()._init_preprocessors() conf = self._get_conf() preprocessors = conf.get("preprocessors", {}) # preprocessors is a dict for three reasons # * We rely on recursive_update, which can only merge dicts, lists will be overwritten # * We can use the key with numerical prefixing to guarantee ordering (/etc/*.d/XY-file style) # * We can disable preprocessors by overwriting the value with None for _, preprocessor in sorted(preprocessors.items(), key=lambda x: x[0]): if preprocessor is not None: kwargs = preprocessor.copy() preprocessor_cls = kwargs.pop("type") preprocessor_cls = import_item(preprocessor_cls) if preprocessor_cls.__name__ in self.config: kwargs.update(self.config[preprocessor_cls.__name__]) preprocessor = preprocessor_cls(**kwargs) # noqa: PLW2901 self.register_preprocessor(preprocessor)
(self)
[ -0.022217782214283943, -0.028964072465896606, -0.005882765166461468, -0.014913799241185188, -0.02407076396048069, 0.037851184606552124, 0.04850132763385773, -0.006085153669118881, -0.04889710992574692, 0.019969018176198006, 0.039506275206804276, -0.021929940208792686, 0.006089651491492987, 0.02696717157959938, -0.005914247594773769, -0.06699515879154205, -0.007825696840882301, 0.029179954901337624, 0.004324371926486492, -0.07692570239305496, -0.01827794872224331, -0.01128879189491272, 0.007551347371190786, 0.011432712897658348, 0.022325722500681877, 0.024592475965619087, 0.006211084313690662, -0.03128479793667793, -0.02531208097934723, -0.03313777595758438, 0.030835043638944626, 0.03378542140126228, -0.008725201711058617, -0.03893059119582176, 0.03893059119582176, -0.004209685139358044, -0.010551197454333305, 0.06771476566791534, -0.05889961123466492, 0.04360802099108696, 0.04947279393672943, -0.008887113071978092, -0.025420021265745163, -0.04839338734745979, -0.03259807452559471, 0.0550137497484684, -0.04256459325551987, 0.02227175235748291, 0.03885863348841667, 0.038498830050230026, -0.023495079949498177, -0.08030784130096436, 0.001703438232652843, 0.05490580573678017, -0.04242067411541939, 0.005154165904968977, 0.04720604047179222, 0.016272051259875298, 0.02173204906284809, 0.003908350598067045, 0.007731248624622822, 0.00691269850358367, -0.016281047835946083, -0.019321374595165253, 0.050300341099500656, -0.08052372187376022, 0.009035531431436539, 0.0029616213869303465, -0.014562991447746754, 0.01680275984108448, -0.04155714809894562, -0.08117136359214783, -0.01050622295588255, -0.04087352380156517, 0.025743843987584114, -0.005837789736688137, -0.019411325454711914, -0.00519914086908102, 0.038246966898441315, 0.02009494975209236, 0.03867873176932335, 0.043176256120204926, -0.04152116924524307, 0.00025959161575883627, 0.068974070250988, -0.034037284553050995, 0.028244469314813614, -0.004879816435277462, 0.018619760870933533, 0.0012075859121978283, -0.051379747688770294, -0.014059268869459629, 0.05148768797516823, 0.017171557992696762, 0.011495678685605526, 0.05461796745657921, -0.0015021739527583122, -0.018457850441336632, 0.010371296666562557, -0.01507570967078209, 0.016901705414056778, -0.020364802330732346, 0.006534906569868326, -0.08901505172252655, 0.01612813025712967, 0.0288381427526474, 0.017117587849497795, 0.049976516515016556, -0.048177506774663925, 0.02031083032488823, 0.010137425735592842, -0.05379042029380798, -0.0026243068277835846, -0.00560841616243124, 0.04414772242307663, -0.05346659943461418, -0.03535056114196777, 0.026157615706324577, 0.09592325240373611, 0.030187400057911873, -0.07221229374408722, 0.02329718880355358, -0.0012750488240271807, 0.030835043638944626, -0.025132179260253906, -0.02376493252813816, 0.05929539352655411, 0.055589430034160614, 0.04119734466075897, -0.023009346798062325, 0.05127180740237236, 0.03749138489365578, -0.06454850733280182, -0.06278547644615173, -0.010056469589471817, -0.05062416195869446, -0.0069621712900698185, 0.05756834149360657, 0.020814554765820503, -0.032706014811992645, 0.015228625386953354, -0.03128479793667793, -0.026355506852269173, -0.003060566959902644, -0.021120386198163033, 0.02680525928735733, 0.01039828173816204, 0.07210434973239899, -0.05846785008907318, 0.019015543162822723, -0.0075693377293646336, 0.0069082011468708515, 0.01764829456806183, 0.006184099242091179, 0.04616261646151543, 0.010029484517872334, -0.008464345708489418, 0.012089352123439312, 0.01152266375720501, -0.02874819189310074, 0.05943931266665459, -0.0026512921322137117, -0.020112939178943634, -0.033317677676677704, -0.03839088976383209, 0.004992254544049501, -0.037707265466451645, -0.08145920932292938, 0.018781671300530434, 0.015489482320845127, 0.05548148974776268, -0.05101994425058365, 0.02095847576856613, 0.013051822781562805, 0.05943931266665459, 0.059979017823934555, -0.0014661937020719051, 0.018709711730480194, -0.008216981776058674, 0.05641697719693184, 0.020382791757583618, 0.006377493031322956, -0.02507820911705494, 0.028496330603957176, 0.002936884993687272, 0.03821098804473877, 0.04954475536942482, -0.04681025817990303, 0.016694819554686546, 0.022883417084813118, 0.07548648864030838, -0.003274199552834034, 0.005113687831908464, 0.02311728708446026, 0.004052271600812674, 0.034487035125494, 0.019087504595518112, -0.024574486538767815, 0.007933637127280235, 0.027794715017080307, -0.05087602511048317, 0.04623457416892052, 0.01729748770594597, 0.04483134672045708, -0.027219032868742943, 0.012997852638363838, 0.0012278248323127627, 0.051055923104286194, -0.006512418854981661, 0.002444405807182193, 0.0027479887939989567, -0.06292939186096191, 0.02304532751441002, 0.01535455696284771, -0.033173758536577225, -0.04421968385577202, 0.05425816401839256, 0.018853632733225822, -0.023890862241387367, -0.007924642413854599, 0.03572835400700569, 0.10326321423053741, -0.03218430280685425, -0.038246966898441315, 0.015597422607243061, 0.01804407685995102, -0.05209935083985329, -0.005266604013741016, -0.0370236411690712, 0.052782975137233734, -0.006660837214440107, -0.007002649363130331, -0.03392934054136276, -0.01090200524777174, 0.03265204653143883, -0.020688623189926147, 0.02468242682516575, 0.03243616223335266, -0.05048024281859398, 0.01589426025748253, 0.02923392504453659, 0.04245665296912193, 0.013951328583061695, -0.10628555715084076, -0.04040578007698059, -0.012925892136991024, 0.03166258707642555, 0.0037959127221256495, 0.0067867678590118885, 0.06490830332040787, 0.05925941467285156, -0.006885713431984186, -0.013033832423388958, -0.013024837709963322, -0.07271601259708405, 0.015336566604673862, -0.017396433278918266, 0.036070164293050766, -0.0041916947811841965, -0.001986782532185316, -0.01164859440177679, 0.02603168599307537, 0.04072960466146469, 0.02009494975209236, -0.011783520691096783, -0.0011895957868546247, 0.029179954901337624, 0.01729748770594597, -0.037707265466451645, 0.0012503124307841063, 0.009318875148892403, 0.015930239111185074, -0.027380943298339844, 0.05116386339068413, 0.010910999961197376, 0.008968068286776543, -0.02837039902806282, 0.0029143972788006067, 0.038642749190330505, 0.03875068947672844, 0.08433762192726135, -0.04479536786675453, 0.03875068947672844, -0.02032882161438465, 0.05220729112625122, -0.007785218767821789, 0.010731099173426628, -0.0038026589900255203, -0.026355506852269173, -0.011486683040857315, -0.012215282768011093, 0.04627055674791336, 0.02689521014690399, 0.047242023050785065, 0.05656089633703232, -0.015534457750618458, -0.019519265741109848, -0.02054470218718052, -0.015192645601928234, -0.038714710623025894, -0.033245719969272614, 0.009534756653010845, 0.04339214041829109, -0.02047274261713028, 0.0016281047137454152, 0.01762131042778492, 0.020508721470832825, 0.005824297200888395, -0.012710010632872581, -0.011774525046348572, 0.026067664846777916, 0.02720104157924652, -0.02320723794400692, 0.007929139770567417, -0.01852981001138687, -0.05620109662413597, 0.01285393163561821, 0.03741942346096039, -0.010785069316625595, 0.009399831295013428, -0.029018042609095573, 0.04994053766131401, -0.0119184460490942, 0.0073579540476202965, 0.025276100262999535, 0.011729549616575241, 0.03475688770413399, -0.04062166064977646, -0.019429316744208336, -0.019735148176550865, -0.0546899251639843, -0.003894858295097947, -0.05303483456373215, 0.011369748041033745, 0.03792314603924751, -0.07059317827224731, 0.00841487292200327, 0.0020666136406362057, -0.04152116924524307, -0.026175606995821, -0.009318875148892403, 0.008882615715265274, -0.017756236717104912, 0.01764829456806183, -0.06641947478055954, -0.028244469314813614, -0.031194845214486122, 0.0037554348818957806, -0.005851282272487879, -0.03738344460725784, 0.015345561318099499, -0.0630013570189476, 0.01155864354223013, 0.03538653999567032, 0.04695418104529381, -0.09570737183094025, -0.060050979256629944, -0.027147071436047554, 0.020130930468440056, 0.007924642413854599, 0.09980911761522293, 0.056452956050634384, -0.012988856993615627, 0.049436815083026886, 0.00352606107480824, 0.005612913519144058, -0.021821999922394753, 0.026229577139019966, -0.009795613586902618, -0.0820348858833313, -0.02171405963599682, 0.030745092779397964, 0.007983109913766384, -0.06152616813778877, 0.013996303081512451, 0.011720554903149605, 0.0476737841963768, 0.018817652016878128, -0.024358605965971947, 0.008950077928602695, 0.023459099233150482, 0.06512419134378433, 0.009543752297759056, -0.03400130197405815, -0.054186202585697174, -0.01816101372241974, -0.019753137603402138, 0.0137534374371171, 0.060122936964035034, -0.044579487293958664, -0.034972768276929855, 0.022685525938868523, -0.03132077679038048, 0.010191395878791809, -0.0033933839295059443, -0.0002539697161410004, -0.02844236046075821, 0.02414272353053093, 0.027794715017080307, -0.0004115237097721547, 0.05853980779647827, -0.07512668520212173, 0.04573085159063339, 0.04601869359612465, 0.05943931266665459, -0.00830693170428276, 0.03806706517934799, 0.03308380767703056, 0.013726451434195042, 0.0686502456665039, -0.008028085343539715, -0.004812353756278753, 0.01715356670320034, -0.019555246457457542, -0.07699766010046005, -0.045371051877737045, 0.025761833414435387, 0.016739794984459877, -0.017513370141386986, -0.005055220331996679, -0.024430565536022186, 0.024430565536022186, -0.003813902847468853, 0.03031333163380623, 0.05119984596967697, 0.030385291203856468, 0.002934636315330863, -0.0011153866071254015, -0.04378792271018028, 0.02047274261713028, -0.04760182276368141, 0.04360802099108696, -0.005163160618394613, 0.009035531431436539, 0.04274449497461319, -0.05087602511048317, 0.042636554688215256, -0.0008629629737697542, -0.016299037262797356, -0.017414424568414688, 0.03666383773088455, 0.023153267800807953, 0.0031347761396318674, 0.007250013295561075, 0.0027142574544996023, 0.04641447588801384, -0.04666633903980255, 0.05587727203965187, -0.05076808109879494, -0.029090004041790962, -0.058251965790987015, -0.019177453592419624, -0.0132497139275074, -0.005518465302884579, 0.05422218516469002, -0.01621808111667633, 0.007353456225246191, 0.013402629643678665, -0.0030987958889454603, -0.026679329574108124, 0.0018687223782762885, 0.004349108319729567, 0.006471941247582436, -0.0064359609968960285, 0.0020250114612281322, 0.05040828138589859, -0.005257608834654093, 0.05213532969355583, -0.01094698067754507, 0.023818902671337128, 0.013663486577570438, 0.028316428884863853, -0.02524012140929699, -0.008522813208401203, -0.09707462042570114, 0.010038480162620544, 0.005995203275233507, -0.0008354156161658466, 0.017450403422117233, -0.006238069850951433, 0.031140875071287155, 0.030349310487508774, 0.0030560693703591824, -0.025276100262999535, -0.0035980213433504105, -0.06418870389461517, 0.016074160113930702, -0.04932887479662895, 0.0049202945083379745, -0.02586977370083332, 0.007348958868533373, -0.002559092827141285, 0.007398431655019522, 0.02610364556312561, -0.0029548751190304756, -0.003649743041023612, 0.027722755447030067, -0.004947279579937458, 0.11643197387456894, 0.013744441792368889, 0.020832544192671776, 0.023656990379095078, -0.01874569244682789, 0.044651445001363754, 0.03738344460725784, 0.01378941722214222, -0.02556394226849079, 0.04220478981733322, -0.06688722223043442, 0.015651393681764603, -0.008864625357091427, -0.07843686640262604, -0.015885265544056892, 0.005747839342802763, 0.005995203275233507, -0.015579433180391788, -0.00996651966124773, -0.006355005316436291, -0.04385988041758537, 0.056309036910533905, 0.021372247487306595, -0.05155964568257332, 0.011360752396285534, -0.030061468482017517, 0.031302787363529205, 0.04360802099108696, -0.008536306209862232, -0.029827598482370377, 0.0009152467246167362, -0.004650442861020565, 0.006265054922550917, -0.03385738283395767, -0.028100548312067986, 0.024250663816928864, -0.03148268908262253, 0.02804657630622387, 0.05688472092151642, 0.00796961784362793, 0.06775074452161789, -0.003964569885283709, 0.029251914471387863, 0.02360302023589611, 0.08556094765663147, -0.018457850441336632, 0.03705962002277374, -0.017027636989951134, -0.015228625386953354, -0.0021059669088572264, -0.03232822194695473, -0.015462497249245644, 0.003391135251149535, -0.07577433437108994, -0.07649393379688263, 0.00467293057590723, 0.01921343430876732, -0.06861426681280136, 0.06516017019748688, 0.026355506852269173, 0.06174204871058464, 0.045514971017837524, 0.014509021304547787, 0.03759932518005371, -0.03947029635310173, -0.004279396962374449, -0.013384640216827393, -0.035836294293403625, -0.0820348858833313, 0.03446904569864273, -0.06296537816524506, 0.01582229882478714, 0.08714407682418823, -0.0773574635386467, -0.011531658470630646, -0.007321973796933889, -0.06408075988292694, -0.006674329750239849, 0.016739794984459877, 0.04029783979058266, -0.01785518229007721, -0.07303983718156815, -0.01778322085738182, 0.009309880435466766, 0.013591526076197624, -0.05433012545108795, -0.004045525565743446, -0.08073960244655609, -0.004551497288048267, 0.026391487568616867, 0.033713459968566895, -0.03605217486619949, -0.05353856086730957, 0.01481485366821289, 0.04418370500206947, -0.023243218660354614, -0.006903703790158033, 0.016883715987205505, -0.011261806823313236, -0.008068563416600227, -0.008950077928602695, -0.011801510117948055, -0.020814554765820503, 0.002559092827141285, 0.021750040352344513, -0.01684773527085781, 0.05148768797516823, -0.07318376004695892, 0.01160361897200346, 0.029791617766022682, 0.012799961492419243, -0.001869846717454493, 0.019807107746601105, 0.024088753387331963, 0.03362350910902023, 0.009975514374673367, -0.008032582700252533, -0.016910700127482414, 0.014509021304547787, -0.06015891954302788, 0.04447154700756073, -0.04605467617511749, -0.06015891954302788, 0.04148518666625023, -0.0020351309794932604, 0.02164209820330143, -0.024592475965619087, 0.02540203183889389, -0.010173405520617962, -0.07922843098640442, 0.01566038839519024, 0.0010659138206392527, 0.06354106217622757, -0.007965119555592537, 0.025294091552495956, -0.02680525928735733, -0.04828544706106186, -0.002864924492314458, -0.005019240081310272, -0.011990406550467014, -0.003074059495702386, -0.010380292311310768, 0.016577884554862976, -0.08102744072675705, 0.03889461234211922, -0.036681827157735825, -0.023656990379095078, -0.007573835086077452, -0.02554595284163952, -0.03792314603924751, 0.07656589895486832, 0.03209435194730759, -0.0015763831324875355, -0.03428914397954941, -0.024808358401060104, 0.03925441578030586, -0.0780051052570343, 0.060914501547813416, -0.019159464165568352, -0.0066653345711529255, 0.054186202585697174, -0.04155714809894562, -0.009894559159874916, 0.017873171716928482, -0.0029976016376167536, -0.0014234671834856272, -0.016460947692394257, -0.02203788049519062, 0.029899558052420616, -0.04407576099038124, -0.01383439265191555, -0.017837191000580788, 0.0007196043152362108, -0.020184900611639023, -0.01199940126389265, -0.03187847137451172, -0.0031212836038321257, -0.0005236807628534734, -0.045371051877737045, -0.005788316950201988, 0.015885265544056892, -0.02077857404947281, -0.09167758375406265, -0.008608266711235046, -0.01343861036002636, -0.018241968005895615, -0.042168810963630676, 0.006903703790158033, -0.044039782136678696, -0.023872872814536095, 0.043643999844789505, 0.0417010672390461, 0.01642496883869171, 0.07620609551668167, 0.03662785887718201, -0.0054779876954853535, -0.0470261387526989, 0.0029548751190304756, -0.003022338030859828, -0.10851632803678513, -0.042240772396326065, -0.01839488558471203, 0.011756534688174725, -0.039578236639499664, -0.025186149403452873, -0.051379747688770294, -0.052351213991642, 0.017819201573729515, -0.018080057576298714, -0.03162660822272301, -0.026769280433654785, -0.014868823811411858, 0.009507771581411362, -0.0028604271356016397, 0.04195293039083481, -0.049976516515016556, -0.014392085373401642, 0.02962970733642578, 0.021462198346853256, 0.03821098804473877, 0.03274199366569519, -0.026661338284611702, 0.05249513313174248, 0.02507820911705494, -0.014041278511285782, 0.054833848029375076, 0.02171405963599682, 0.005019240081310272, 0.017216533422470093, -0.06595173478126526, 0.02619359642267227, -0.03524262085556984, 0.018889613449573517, 0.010767078958451748, -0.051451705396175385, -0.015651393681764603, 0.017207536846399307, -0.04414772242307663, 0.04180900752544403, -0.019681178033351898, -0.02806456759572029, -0.005037229973822832, -0.005797312129288912, -0.036070164293050766, -0.03322772681713104, 0.08649643510580063, 0.012116337195038795, 0.036915700882673264, 0.07894059270620346, -0.024286644533276558, 0.04681025817990303, 0.04796162620186806, -0.05821598693728447, -0.029647696763277054, -0.024394584819674492, -0.025456001982092857, -0.048789169639348984, -0.01897956244647503, -0.00511818565428257, 0.024790367111563683, -0.027326973155140877, -0.047242023050785065, -0.019195444881916046, -0.11218630522489548, -0.007259008474647999, 0.027219032868742943, 0.12693819403648376, 0.003528309753164649, 0.05976313725113869, -0.022379692643880844 ]
54,188
nbconvert.exporters.templateexporter
_init_resources
null
def _init_resources(self, resources): resources = super()._init_resources(resources) resources["deprecated"] = deprecated return resources
(self, resources)
[ -0.03369927406311035, -0.05389752238988876, 0.02913379669189453, -0.042386122047901154, -0.006772719323635101, 0.015179773792624474, 0.03993461653590202, 0.08860937505960464, 0.028689684346318245, 0.021228589117527008, 0.011085053905844688, 0.034001272171735764, 0.008882255293428898, 0.021406235173344612, -0.013687554746866226, 0.013865199871361256, -0.06409434974193573, 0.00834931991994381, 0.017711216583848, -0.07787961512804031, -0.05620690807700157, -0.03819369524717331, -0.009921479038894176, 0.008176115341484547, -0.009779362939298153, 0.11795634776353836, -0.006035492289811373, 0.0029000563081353903, 0.02867191843688488, -0.06214025616645813, -0.05659772828221321, 0.017435867339372635, 0.03997014835476875, 0.04014779254794121, -0.005205001216381788, -0.009761597961187363, -0.035049378871917725, -0.011387051083147526, -0.038442399352788925, 0.041604481637477875, 0.03705676645040512, -0.0014200505102053285, -0.04579690471291542, -0.1013287678360939, 0.03506714105606079, 0.06629715114831924, -0.0218503475189209, 0.06430752575397491, 0.019292257726192474, -0.0028867328073829412, 0.06306400895118713, -0.021441763266921043, -0.004996268544346094, 0.045939020812511444, -0.05148154869675636, 0.047999706119298935, 0.011582460254430771, 0.11077948659658432, -0.01435372419655323, 0.022560928016901016, 0.038833219558000565, -0.023005040362477303, -0.04057414084672928, -0.03741205856204033, 0.0012623905204236507, -0.036452773958444595, 0.005653555504977703, -0.03510267287492752, 0.025207839906215668, 0.09429401904344559, 0.007883001118898392, 0.00408583739772439, -0.023662326857447624, -0.008367083966732025, 0.0211042370647192, -0.014637956395745277, -0.04529950022697449, -0.0037927229423075914, -0.01767568662762642, -0.05606479197740555, 0.006697220262140036, -0.0058178771287202835, 0.002347135916352272, 0.0021661599166691303, 0.025421014055609703, -0.005085091106593609, 0.006119873840361834, -0.0529027096927166, 0.0006767167942598462, 0.013181266374886036, -0.06651032716035843, 0.031816236674785614, 0.00656398618593812, -0.033486101776361465, 0.05023803561925888, -0.01390961091965437, -0.032668933272361755, -0.009246427565813065, 0.046400900930166245, -0.0022894011344760656, 0.027908045798540115, -0.09415189921855927, -0.004181321710348129, -0.014780072495341301, 0.06707879155874252, -0.08512753248214722, -0.007239037659019232, -0.02067788876593113, 0.01287038717418909, -0.017311515286564827, 0.01330561749637127, -0.04469550773501396, 0.025616424158215523, 0.014993246644735336, -0.03519149497151375, -0.017498042434453964, -0.03277552127838135, -0.054004110395908356, 0.08079299330711365, -0.01724933832883835, -0.0461166687309742, 0.010356709361076355, -0.03062601573765278, 0.020571302622556686, 0.00973495189100504, 0.010161299258470535, -0.0184040330350399, 0.06743407994508743, 0.035831015557050705, 0.0006295298226177692, 0.002991099376231432, 0.017071694135665894, -0.0489945188164711, -0.008762344717979431, 0.004216850735247135, -0.1082213968038559, 0.041284721344709396, 0.07226602733135223, 0.021317411214113235, 0.018048742786049843, -0.03730547055602074, 0.029577909037470818, 0.007545475382357836, 0.04828393831849098, -0.012355216778814793, 0.007203508634120226, 0.023893265053629875, 0.05730830878019333, -0.09095428884029388, -0.02590065635740757, 0.03323739767074585, 0.038016051054000854, -0.015490652993321419, -0.04021884873509407, 0.020500244572758675, 0.010259004309773445, -0.04014779254794121, -0.08477224409580231, 0.037234414368867874, -0.02407091110944748, 0.04153342545032501, -0.029311440885066986, -0.04103601723909378, 0.02694876119494438, 0.02563418820500374, 0.012390745803713799, 0.02543877810239792, -0.0660129189491272, 0.009779362939298153, 0.017728980630636215, -0.000743888842407614, -0.05297376960515976, 0.032118234783411026, 0.03414338827133179, 0.003937059547752142, 0.05777018517255783, 0.03304198756814003, -0.051978956907987595, 0.009139840491116047, 0.037234414368867874, 0.021015414968132973, 0.024355143308639526, -0.025616424158215523, 0.013003621250391006, 0.022063521668314934, -0.014380371198058128, 0.003546240273863077, 0.05137496441602707, -0.017640158534049988, 0.013101326301693916, 0.06903288513422012, 0.04895899072289467, 0.018510619178414345, 0.03670147806406021, -0.032668933272361755, -0.013216795399785042, -0.03506714105606079, -0.04931427910923958, -0.02293398231267929, 0.058764997869729996, -0.04789311811327934, 0.04831946641206741, -0.01634334959089756, 0.006861541885882616, 0.050770968198776245, 0.029595673084259033, -0.03695018216967583, -0.010676470585167408, -0.05538974329829216, 0.024976901710033417, 0.01915014162659645, 0.024586081504821777, -0.03623960167169571, -0.021228589117527008, -0.021779289469122887, 0.004907445982098579, 0.025190075859427452, 0.017231574282050133, -0.05133943259716034, -0.0022072403226047754, 0.021512821316719055, -0.014460311271250248, 0.008038440719246864, -0.059582166373729706, -0.02032259851694107, 0.01607688143849373, 0.06462728977203369, -0.06459175795316696, -0.07024087011814117, 0.04224400594830513, -0.03616854175925255, 0.0018874792149290442, 0.026895467191934586, 0.009663893841207027, 0.008069528266787529, 0.03034178353846073, 0.028529802337288857, 0.009850420989096165, -0.021086473017930984, 0.010445531457662582, -0.010410002432763577, 0.0030532751698046923, 0.0012457362608984113, -0.03499608486890793, 0.017444748431444168, 0.017169399186968803, -0.028298864141106606, -0.013625378720462322, 0.014318195171654224, -0.041604481637477875, 0.032082706689834595, -0.05602926388382912, -0.01918567158281803, -0.010392238385975361, -0.05087755620479584, -0.0805087611079216, -0.0035529020242393017, -0.03131883218884468, 0.0037816199474036694, -0.07787961512804031, -0.027126407250761986, 0.01757798343896866, -0.06341929733753204, 0.07180415093898773, 0.013190148398280144, -0.020997650921344757, 0.05890711396932602, 0.02661123499274254, -0.05546079948544502, 0.018812615424394608, 0.13735519349575043, 0.017267104238271713, -0.047608885914087296, -0.010498825460672379, 0.03220705687999725, 0.006039933301508427, 0.020997650921344757, -0.0601506307721138, 0.02430184930562973, 0.0010259004775434732, 0.0514104925096035, -0.009228662587702274, 0.0002928368339780718, 0.08612234145402908, 0.05627796798944473, -0.06587079912424088, -0.008442583493888378, 0.009415190666913986, -0.06022168695926666, -0.025332191959023476, 0.022294459864497185, 0.037625230848789215, 0.006537339650094509, -0.013625378720462322, 0.024621611461043358, 0.05986639857292175, -0.02488807775080204, 0.03730547055602074, 0.01718716323375702, 0.015783766284585, -0.03229587897658348, -0.019061319530010223, 0.04021884873509407, 0.03901086375117302, 0.012648331001400948, -0.07553469389677048, 0.02129964716732502, -0.029755553230643272, 0.005546968430280685, 0.031887296587228775, 0.025811832398176193, -0.01624564453959465, 0.02922261878848076, -0.011182758957147598, -0.021317411214113235, -0.0446244478225708, -0.010809704661369324, 0.03673700615763664, 0.025723010301589966, 0.04586796462535858, -0.031158950179815292, -0.02789027988910675, -0.03458750247955322, -0.011484755203127861, 0.06867759674787521, -0.002367120934650302, 0.031105656176805496, -0.02176152542233467, 0.0057601421140134335, -0.009273074567317963, -0.03369927406311035, -0.045263972133398056, -0.01970084197819233, -0.039579328149557114, -0.016947342082858086, 0.005942228715866804, -0.0005076763918623328, -0.05691748857498169, -0.024870313704013824, -0.02224116586148739, -0.014442546293139458, 0.001140259439125657, -0.07368718832731247, 0.015526182018220425, -0.08001135289669037, -0.03517372906208038, 0.026344768702983856, -0.027090877294540405, -0.03330845758318901, -0.039792500436306, -0.05411069840192795, -0.005906699690967798, 0.00892222486436367, 0.08569599688053131, 0.05816100537776947, -0.03854898735880852, -0.039579328149557114, 0.024639375507831573, 0.02312939241528511, -0.01813756488263607, -0.027961337938904762, 0.04501526802778244, 0.01813756488263607, 0.03773181885480881, -0.007789737544953823, -0.008846726268529892, 0.049562983214855194, -0.025811832398176193, -0.02067788876593113, -0.07830595970153809, 0.006928158923983574, 0.032739993184804916, 0.024994665756821632, 0.010418885387480259, 0.037198882550001144, -0.06810913234949112, -0.00814058631658554, 0.007838590070605278, -0.02469266951084137, -0.01168016530573368, -0.052405305206775665, 0.031851764768362045, 0.016743050888180733, 0.03673700615763664, -0.007514387834817171, -0.030910247936844826, -0.02922261878848076, -0.01780892163515091, 0.0057557011023163795, -0.009912596084177494, -0.009122075513005257, -0.017791157588362694, -0.03043060563504696, 0.04469550773501396, -0.03526255115866661, -0.026238180696964264, 0.01845732517540455, -0.004041425883769989, 0.03712782636284828, -0.03412562236189842, 0.02067788876593113, -0.00973495189100504, -0.021441763266921043, -0.018315209075808525, 0.012426274828612804, 0.011022878810763359, 0.07180415093898773, 0.04149789363145828, 0.008491436019539833, 0.041249193251132965, -0.03734099864959717, -0.028298864141106606, 0.0017597967525944114, -0.03401903808116913, 0.0005143380840308964, -0.010880762711167336, -0.006324165500700474, 0.054714690893888474, 0.03332621976733208, 0.029986493289470673, 0.013785259798169136, -0.025882890447974205, 0.052831653505563736, 0.021548351272940636, 0.015774885192513466, -0.04259929433465004, -0.018777087330818176, -0.03893980756402016, -0.017009519040584564, -0.023591268807649612, 0.0029289235826581717, 0.030181901529431343, 0.0009071002714335918, -0.07194626331329346, 0.024426201358437538, -0.04053861275315285, 0.06054145097732544, -0.027517225593328476, -0.07397142052650452, 0.011493638157844543, 0.054714690893888474, -0.06139414757490158, 0.063028484582901, 0.02742840349674225, -0.058303121477365494, 0.004712036345154047, -0.059546638280153275, 0.06476940214633942, 0.023768914863467216, -0.0339302122592926, -0.019825192168354988, 0.01435372419655323, -0.00007723398448433727, -0.04345199093222618, 0.0010964033426716924, 0.0024093117099255323, 0.04018332064151764, -0.05332905799150467, -0.031265538185834885, 0.03268669918179512, -0.00014683477638754994, -0.00042301739449612796, -0.02465713955461979, 0.0025936183519661427, 0.0013723083538934588, -0.014691249467432499, 0.005942228715866804, -0.048035234212875366, -0.0005246081855148077, 0.018581677228212357, 0.04629431292414665, 0.0025580893270671368, 0.04732465371489525, -0.05695302039384842, -0.03915297985076904, 0.004299011547118425, -0.013412204571068287, 0.045939020812511444, -0.03826475515961647, -0.016387760639190674, -0.02035812847316265, -0.0008149468922056258, 0.0315142422914505, -0.003042172407731414, -0.04185318574309349, -0.05627796798944473, -0.02368009090423584, -0.03607971966266632, -0.014975481666624546, 0.04458891972899437, 0.008478112518787384, 0.0019385521300137043, -0.029435792937874794, -0.005613585002720356, -0.023573504760861397, 0.006346371024847031, 0.033805862069129944, 0.0100635951384902, 0.04551267623901367, 0.02664676494896412, 0.015908118337392807, -0.07390036433935165, -0.04764441400766373, 0.034427620470523834, 0.05215660110116005, -0.019558725878596306, -0.022063521668314934, -0.015401829965412617, 0.03170964866876602, -0.00005534061347134411, -0.004982945043593645, 0.013509909622371197, 0.09095428884029388, 0.0008288254030048847, 0.005986639764159918, -0.006368577014654875, -0.06814465671777725, 0.11099265515804291, 0.049243222922086716, 0.019949544221162796, 0.0022305562160909176, 0.03872663155198097, 0.046010080724954605, -0.040858373045921326, 0.00843370147049427, -0.05215660110116005, -0.03666594997048378, -0.041284721344709396, 0.007030304986983538, 0.04828393831849098, -0.03217152878642082, -0.032668933272361755, -0.0105521185323596, -0.05411069840192795, -0.02527889795601368, 0.06295742094516754, 0.004465553909540176, -0.008828961290419102, 0.001990735298022628, -0.04696936532855034, 0.04373622313141823, 0.008082851767539978, 0.06409434974193573, -0.02005613222718239, 0.022045757621526718, -0.034818440675735474, -0.05045120790600777, 0.004014779347926378, 0.029311440885066986, -0.029542379081249237, -0.0024737080093473196, 0.008260496892035007, -0.0344453863799572, 0.004036984872072935, -0.013882964849472046, -0.020695654675364494, 0.003954824060201645, -0.0334683358669281, 0.010632059536874294, 0.04384281113743782, -0.004783094394952059, 0.0228273943066597, -0.0017198265995830297, -0.016414407640695572, -0.0038926482666283846, 0.03170964866876602, -0.0006522905896417797, 0.027126407250761986, -0.051588136702775955, 0.021015414968132973, 0.017498042434453964, -0.06853547692298889, -0.005018474068492651, 0.015783766284585, -0.023733384907245636, 0.006244225427508354, 0.03604419156908989, 0.027641577646136284, 0.011307111009955406, -0.00686598289757967, 0.002175042172893882, 0.04185318574309349, -0.008224967867136002, -0.06025721877813339, 0.029151560738682747, -0.013980668969452381, 0.023964323103427887, 0.06906841695308685, 0.08121933788061142, 0.011689047329127789, -0.04384281113743782, 0.001487777684815228, 0.0028178954962641, -0.05880052596330643, 0.0009587283711880445, -0.026984291151165962, 0.008620228618383408, -0.05112626031041145, 0.005489233415573835, 0.04412704333662987, 0.015206420794129372, 0.0247281976044178, 0.003299757605418563, -0.020269306376576424, 0.03627512976527214, 0.022063521668314934, -0.022916218265891075, -0.05375540629029274, -0.06587079912424088, 0.03565337136387825, -0.028529802337288857, -0.010276769287884235, 0.034978318959474564, -0.0051472666673362255, 0.03815816715359688, -0.02090882882475853, -0.046045608818531036, -0.023999853059649467, 0.018439561128616333, -0.04903004691004753, -0.04981168732047081, 0.059120289981365204, 0.021388469263911247, 0.0034352121874690056, -0.06761172413825989, -0.02293398231267929, 0.006932599935680628, -0.016529876738786697, -0.05769912898540497, 0.026859939098358154, 0.012799329124391079, -0.06942370533943176, 0.057912301272153854, -0.006692779250442982, -0.04309670254588127, 0.037625230848789215, 0.030288489535450935, -0.011635754257440567, 0.07532152533531189, 0.04817735031247139, 0.06444964557886124, -0.004831946920603514, 0.0042146299965679646, -0.017426984384655952, -0.05254742130637169, 0.03812263906002045, -0.04171106964349747, -0.03531584516167641, -0.0035218140110373497, -0.028032395988702774, -0.0426703542470932, 0.02703758329153061, -0.006408547051250935, -0.0051472666673362255, -0.009752715937793255, 0.017391454428434372, -0.019683076068758965, 0.01097846683114767, 0.0437006950378418, -0.016218997538089752, 0.03751864656805992, 0.0029178208205848932, 0.03003978542983532, 0.05087755620479584, 0.0042457180097699165, 0.03259787708520889, 0.016130175441503525, -0.011049524880945683, -0.018617207184433937, 0.015677180141210556, 0.026966525241732597, 0.0012568390229716897, 0.02156611531972885, 0.006555104162544012, 0.0025891773402690887, 0.035422433167696, -0.049669571220874786, -0.006914835423231125, 0.024177497252821922, 0.010481060482561588, -0.041213661432266235, 0.01390961091965437, -0.036843594163656235, 0.04963403940200806, -0.060008514672517776, 0.024905843660235405, -0.00815390981733799, 0.01521530281752348, -0.014140550047159195, -0.02074894681572914, 0.028138983994722366, -0.017133869230747223, -0.015774885192513466, 0.01927449367940426, -0.018261916935443878, 0.00043495293357409537, 0.0018852585926651955, -0.059972986578941345, 0.010658705607056618, 0.011946632526814938, 0.04828393831849098, 0.018386267125606537, -0.0402543805539608, 0.022489869967103004, -0.023022804409265518, -0.004161336459219456, 0.0006289746961556375, -0.0693526491522789, -0.04569032043218613, -0.04060966894030571, 0.04153342545032501, 0.032242584973573685, 0.02863639034330845, -0.04423363134264946, -0.022170107811689377, -0.04892345890402794, 0.02687770314514637, -0.044020455330610275, 0.02952461503446102, -0.025882890447974205, 0.03954380005598068, 0.0015888133784756064, 0.015801532194018364, 0.004969621542841196, 0.013643143698573112, 0.0288673285394907, -0.02423079125583172, 0.01927449367940426, -0.01915014162659645, -0.02286292426288128, 0.016973989084362984, 0.005324911791831255, -0.034427620470523834, 0.013607614673674107, 0.005915581714361906, -0.019327787682414055, 0.027179699391126633, 0.049172163009643555, 0.03989908844232559, 0.032242584973573685, 0.029897669330239296, 0.08484330028295517, -0.01888367347419262, 0.03620406985282898, -0.004969621542841196, 0.022525398060679436, -0.005009591579437256, 0.0013378896983340383, 0.005902258213609457, 0.06487599015235901, 0.004796417895704508, 0.01725822128355503, -0.06707879155874252, 0.0678604245185852, 0.02293398231267929, -0.07425565272569656, 0.010170182213187218, 0.034782908856868744, -0.026966525241732597, -0.012648331001400948, -0.016325583681464195, -0.03131883218884468, -0.006128755863755941, 0.04700489342212677, 0.0693526491522789, 0.06142967566847801, 0.02169046737253666, -0.010090241208672523 ]
54,189
nbconvert.exporters.templateexporter
_invalidate_environment_cache
null
def _invalidate_environment_cache(self, change=None): self._environment_cached = None self._invalidate_template_cache()
(self, change=None)
[ 0.05259183794260025, 0.017627498134970665, -0.008497445844113827, -0.005817416124045849, -0.010284132324159145, -0.02862117625772953, -0.07139906287193298, 0.014883353374898434, 0.03458819538354874, 0.0029322172049432993, 0.0019779643043875694, 0.010891092009842396, -0.024893924593925476, 0.03445141389966011, -0.011139005422592163, -0.041204918175935745, 0.0007458773907274008, -0.0294247567653656, 0.0026287368964403868, -0.08343568444252014, -0.018875613808631897, -0.004276506137102842, 0.03263908252120018, -0.021012797951698303, -0.011626283638179302, -0.016191309317946434, 0.01238712202757597, -0.005543856881558895, 0.08035814017057419, -0.013677980750799179, -0.03672537952661514, -0.031527746468782425, -0.018089130520820618, 0.00805718544870615, 0.06479943543672562, -0.012173403054475784, 0.0017503541894257069, -0.0008121301070787013, 0.017678789794445038, -0.016823917627334595, 0.010532045736908913, 0.016464870423078537, -0.008796651847660542, -0.015319338999688625, -0.0019790329970419407, -0.005496838595718145, 0.01916627027094364, -0.005347235593944788, -0.011763063259422779, -0.0033404193818569183, 0.013455714099109173, -0.0027975745033472776, 0.05707137659192085, 0.053309932351112366, 0.02520168013870716, -0.03086094558238983, 0.013652334921061993, 0.028279226273298264, 0.017063280567526817, -0.02819373831152916, 0.005219004582613707, 0.004859957844018936, -0.062371592968702316, -0.01955951377749443, 0.020414385944604874, -0.024432294070720673, -0.006736405659466982, 0.05925985425710678, 0.07221973687410355, -0.010805604979395866, -0.05614811182022095, -0.01238712202757597, -0.03320330008864403, -0.00163601478561759, -0.006531235761940479, -0.012019526213407516, -0.035562749952077866, -0.0016766212647780776, -0.015182559378445148, -0.023628711700439453, 0.03785381093621254, -0.034126561135053635, -0.0280227642506361, 0.023885173723101616, 0.03484465554356575, 0.014943194575607777, 0.03021124005317688, -0.012925691902637482, 0.013780565932393074, -0.014558501541614532, 0.00795887503772974, 0.04578704014420509, -0.010352522134780884, -0.033562347292900085, 0.1324712485074997, -0.010326875373721123, -0.0030262533109635115, -0.01654180884361267, -0.005603698082268238, -0.08849653601646423, 0.09218959510326385, -0.004783018957823515, 0.03966614603996277, -0.0036139790900051594, 0.019285952672362328, 0.021064091473817825, 0.04397470876574516, -0.025680409744381905, 0.022910619154572487, 0.00432779872789979, -0.06903961300849915, 0.03665699064731598, -0.06616723537445068, -0.0418546237051487, -0.01308811828494072, 0.03788800910115242, -0.0536176860332489, -0.023252567276358604, 0.017388133332133293, 0.017781374976038933, -0.024278417229652405, 0.026740452274680138, -0.025338459759950638, -0.0032784410286694765, 0.01107916422188282, 0.05560099333524704, -0.02395356446504593, 0.03364783525466919, 0.005167711991816759, -0.016447771340608597, -0.06377358734607697, 0.005872983019798994, 0.0014297764282673597, 0.04547928646206856, 0.014857706613838673, -0.013960089534521103, 0.001414816128090024, -0.022688351571559906, -0.005436997395008802, 0.07550245523452759, -0.05221569165587425, 0.02073923870921135, 0.005667813587933779, 0.005231827963143587, 0.043188225477933884, -0.010959482751786709, 0.017883960157632828, 0.0386744923889637, -0.07953745871782303, -0.020311802625656128, 0.0227909367531538, 0.010155901312828064, -0.027680814266204834, -0.05242086201906204, -0.025150388479232788, 0.06599625945091248, -0.035733725875616074, 0.035562749952077866, 0.003417358035221696, -0.012592291459441185, -0.03130548074841499, 0.04096555337309837, -0.03672537952661514, -0.0508137010037899, 0.02072214148938656, 0.01592629961669445, -0.048454247415065765, 0.005830239504575729, 0.014105417765676975, -0.042777884751558304, -0.05700298771262169, -0.010369619354605675, 0.039392586797475815, 0.01894400455057621, 0.024466488510370255, 0.06548333168029785, 0.0072322324849665165, -0.022295109927654266, 0.026928525418043137, 0.05320734530687332, -0.06144832819700241, -0.06681694090366364, -0.07146745175123215, 0.09861824661493301, -0.004045690409839153, -0.017388133332133293, -0.022055745124816895, -0.02778339944779873, -0.010728666558861732, 0.00408415962010622, -0.0012288810685276985, 0.047257423400878906, 0.019285952672362328, -0.02879215031862259, -0.011857099831104279, 0.00685181375592947, -0.018482372164726257, -0.08459831029176712, -0.02940765954554081, 0.003423769725486636, -0.0982762947678566, -0.005552405491471291, 0.04650513455271721, 0.018978198990225792, 0.033100713044404984, 0.030125753954052925, -0.025133289396762848, -0.023423543199896812, 0.012233244255185127, 0.11140715330839157, -0.023645808920264244, 0.029903486371040344, 0.06346583366394043, -0.001617848640307784, 0.025423947721719742, -0.002722773002460599, -0.021217968314886093, 0.045410897582769394, -0.014455916360020638, -0.01613146811723709, -0.026945622637867928, -0.042983055114746094, -0.023491932079195976, -0.027920179069042206, 0.0036054302472621202, -0.008993272669613361, 0.024295514449477196, 0.03157903999090195, -0.0390506349503994, 0.025304265320301056, 0.00674067996442318, 0.0050266580656170845, 0.04212818294763565, -0.0665091797709465, 0.09458323568105698, -0.06025150790810585, -0.009625879116356373, 0.015037230215966702, -0.001211783615872264, -0.02376549132168293, -0.01995275542140007, -0.033955588936805725, 0.05823400616645813, -0.03874288126826286, 0.01572967879474163, 0.00337675167247653, 0.008236709050834179, 0.003404534887522459, -0.04048682376742363, -0.0511898435652256, 0.022260913625359535, -0.011275785975158215, -0.0068817343562841415, -0.0038618925027549267, 0.030929334461688995, -0.06302129477262497, 0.04612899199128151, 0.011865648441016674, 0.032365523278713226, 0.021115383133292198, 0.04612899199128151, -0.011600637808442116, -0.01829429902136326, 0.006193561013787985, 0.04288047179579735, 0.02077343314886093, 0.031510647386312485, 0.0709887221455574, 0.010959482751786709, 0.03580211475491524, 0.06582528352737427, -0.02255157195031643, 0.016849562525749207, 0.031732916831970215, -0.0011423251125961542, 0.04103394225239754, 0.022705448791384697, 0.06319227069616318, -0.055532604455947876, 0.051053065806627274, 0.04869361221790314, -0.04366695508360863, 0.004297878127545118, 0.04513733834028244, -0.05659264698624611, -0.04889878258109093, -0.03631503880023956, 0.017388133332133293, 0.03522080183029175, 0.03987131640315056, 0.015669837594032288, 0.0386744923889637, -0.002250455319881439, -0.02576589770615101, -0.02455197647213936, -0.03932419419288635, -0.020192120224237442, 0.006561156362295151, 0.0547461174428463, 0.082204669713974, 0.0181233249604702, -0.0008650254458189011, -0.03843512758612633, -0.010942384600639343, 0.062132228165864944, 0.06107218563556671, -0.0021029897034168243, -0.006779149174690247, 0.04848844185471535, 0.06756922602653503, 0.019679194316267967, 0.003043350763618946, -0.06209803372621536, 0.03022833727300167, 0.028450200334191322, -0.01872173696756363, -0.01521675381809473, -0.014054125174880028, -0.010258485563099384, 0.055703576654195786, 0.006591076962649822, 0.0012705562403425574, 0.013489908538758755, 0.03487884998321533, 0.02092731185257435, 0.010326875373721123, 0.05915726721286774, -0.005680636502802372, 0.03665699064731598, 0.012951338663697243, -0.015515959821641445, -0.026449795812368393, -0.0013303973246365786, 0.01831139624118805, -0.03580211475491524, -0.0146183418110013, -0.01310521550476551, -0.04790712893009186, -0.022243816405534744, -0.04024745896458626, 0.014037027955055237, -0.013942992314696312, -0.018790125846862793, -0.051292430609464645, -0.003188679227605462, 0.008010167628526688, 0.07919550687074661, 0.015054327435791492, 0.016618747264146805, 0.006911654956638813, -0.04712064564228058, 0.04736001044511795, 0.07591279596090317, 0.04718903452157974, 0.07707542181015015, -0.05132662504911423, -0.023081593215465546, 0.03320330008864403, 0.0006288665463216603, -0.06274773925542831, -0.014302038587629795, 0.047428399324417114, -0.011130456812679768, -0.018584957346320152, 0.03846932202577591, -0.05201052129268646, 0.0009585272637195885, -0.029458951205015182, 0.03679376840591431, -0.06500460207462311, 0.03987131640315056, -0.018174616619944572, 0.030296728014945984, 0.0009734875638969243, 0.042230766266584396, -0.05601133406162262, -0.02798856794834137, 0.009600233286619186, -0.004285055212676525, 0.0596018023788929, 0.03156194090843201, 0.02460326813161373, 0.04123911261558533, -0.002138253068551421, -0.039802923798561096, -0.012087916024029255, -0.004855683073401451, -0.030912237241864204, 0.03860609978437424, 0.0011465995339676738, 0.025680409744381905, -0.024825535714626312, 0.052489250898361206, 0.03339137136936188, 0.04578704014420509, 0.061756085604429245, -0.03566533699631691, -0.007321994286030531, -0.03364783525466919, -0.010497850365936756, -0.03963195160031319, 0.035767920315265656, -0.022226719185709953, -0.002265415620058775, 0.006462845951318741, -0.02762952260673046, -0.004146138206124306, 0.024945218116044998, 0.003778542159125209, 0.003477199235931039, -0.0539938285946846, -0.017473621293902397, -0.01220759842544794, -0.05392543971538544, 0.032895542681217194, -0.014985937625169754, 0.06079862639307976, -0.07023642957210541, 0.06100379675626755, 0.07762254029512405, 0.0009686789126135409, 0.04233334958553314, -0.00675350334495306, 0.02882634475827217, 0.003891813103109598, 0.013276190496981144, -0.023064495995640755, 0.0011038557859137654, -0.058746930211782455, 0.030689969658851624, 0.02379968762397766, -0.025252971798181534, -0.035733725875616074, -0.008305098861455917, -0.02797147072851658, 0.007330542895942926, -0.015250949189066887, 0.0021820655092597008, -0.026295918971300125, -0.010651728138327599, 0.012985533103346825, 0.01873883418738842, 0.0382983461022377, 0.01689230650663376, -0.004539379850029945, 0.05625069886445999, 0.0023380799684673548, 0.058917902410030365, -0.014225100167095661, -0.03282715380191803, 0.021713795140385628, -0.0010002023773267865, -0.05707137659192085, -0.055088069289922714, 0.035733725875616074, -0.022500278428196907, -0.034724973142147064, 0.008984724059700966, -0.021029895171523094, 0.052899591624736786, -0.030177045613527298, 0.03826415166258812, 0.01916627027094364, -0.044624414294958115, 0.03163032978773117, -0.035938896238803864, 0.02602235972881317, 0.01712312176823616, 0.0058815316297113895, -0.008719712495803833, -0.02051697112619877, -0.07755415141582489, -0.02294481359422207, -0.0028445925563573837, -0.07269846647977829, 0.011805807240307331, -0.022602863609790802, 0.008531640283763409, -0.006864636670798063, 0.00003391110658412799, -0.028484394773840904, 0.05686620622873306, 0.024928120896220207, 0.029339268803596497, -0.012754716910421848, -0.03542597219347954, 0.028245029971003532, -0.022602863609790802, -0.02580009214580059, 0.014943194575607777, -0.09225798398256302, -0.016268249601125717, -0.01790105737745762, -0.014148161746561527, -0.009010369889438152, -0.02014082670211792, -0.003919596318155527, 0.04975365474820137, -0.00020890978339593858, -0.05132662504911423, 0.0071510192938148975, -0.08815459161996841, -0.008181142620742321, 0.056695230305194855, 0.00107019511051476, 0.014267844147980213, 0.0341949537396431, -0.005022383760660887, 0.010643178597092628, 0.01832849532365799, 0.002671480644494295, -0.02152572199702263, 0.09738722443580627, -0.038777075707912445, 0.023047398775815964, -0.013908796943724155, -0.0693131685256958, -0.0547461174428463, 0.002429978922009468, 0.037922203540802, 0.0036246650852262974, -0.012711973860859871, 0.08097364753484726, 0.0034194951876997948, 0.007728059310466051, -0.05313895642757416, 0.022107036784291267, 0.006014037411659956, 0.023474834859371185, 0.009668623097240925, -0.002735596150159836, -0.0001187473171739839, 0.03901644051074982, 0.02092731185257435, 0.06220061704516411, -0.042846277356147766, 0.00865559745579958, -0.10819283127784729, -0.04438504949212074, -0.03559694439172745, -0.01829429902136326, -0.015481764450669289, 0.014225100167095661, 0.007736607920378447, -0.041991401463747025, 0.0005487221060320735, 0.016405029222369194, 0.011506601236760616, -0.06312388181686401, -0.01411396637558937, -0.09786595404148102, -0.006159365642815828, 0.059328243136405945, 0.029971875250339508, -0.04883039370179176, -0.0609012097120285, 0.0009585272637195885, 0.015208205208182335, -0.008647048845887184, 0.0346565842628479, 0.029253782704472542, -0.0047317263670265675, 0.051873743534088135, 0.06100379675626755, 0.01754201017320156, 0.005753300618380308, -0.037922203540802, 0.03308361768722534, 0.00945490412414074, 0.029954778030514717, 0.04677869379520416, -0.05201052129268646, 0.09280510246753693, -0.025441044941544533, -0.015122718177735806, -0.003357516834512353, 0.004314975813031197, -0.01690940372645855, 0.037751227617263794, -0.014592695981264114, -0.03340847045183182, -0.021611209958791733, -0.0612773559987545, -0.025321362540125847, 0.0026885780971497297, -0.02340644598007202, 0.029852192848920822, 0.07591279596090317, -0.02299610525369644, -0.032963935285806656, -0.0463341623544693, 0.04411149024963379, 0.01937144063413143, -0.02803986147046089, -0.020824726670980453, 0.02053406834602356, 0.023047398775815964, -0.012540998868644238, -0.08028975129127502, 0.026347210630774498, 0.0011775887105613947, -0.0072108604945242405, 0.0829569548368454, 0.0037229754962027073, -0.01218195166438818, 0.007480145897716284, -0.016251150518655777, -0.020790530368685722, 0.012233244255185127, 0.02460326813161373, -0.021662501618266106, -0.057926248759031296, 0.058302395045757294, 0.0296128299087286, 0.05296798050403595, -0.0025026430375874043, -0.03522080183029175, -0.015054327435791492, -0.05235247313976288, -0.03911902755498886, -0.05700298771262169, 0.007689590100198984, -0.033117812126874924, -0.039802923798561096, -0.009514745324850082, 0.011207396164536476, 0.06750083714723587, 0.010386716574430466, -0.031151602044701576, 0.023868076503276825, 0.004996737465262413, -0.00388112710788846, -0.012703425250947475, -0.01589210331439972, 0.040418434888124466, -0.0033874374348670244, 0.004109805915504694, 0.024842632934451103, 0.010438009165227413, -0.017866862937808037, 0.05077950283885002, -0.011301431804895401, 0.02621043100953102, -0.034348830580711365, -0.05163437873125076, -0.049445901066064835, 0.04599221050739288, -0.029715413227677345, 0.0560455285012722, -0.0020613144151866436, -0.032758764922618866, 0.001313299871981144, 0.02742435224354267, 0.009472002275288105, -0.031168699264526367, 0.012831656262278557, -0.0009473070385865867, -0.053070567548274994, 0.013361677527427673, -0.0543699748814106, 0.00538997957482934, 0.030313825234770775, -0.03864029794931412, 0.00805291160941124, 0.10128545016050339, -0.06910800188779831, 0.028894735500216484, 0.05635328218340874, -0.000026080329917022027, 0.05672942474484444, -0.019063686951994896, -0.08302534371614456, 0.0028210836462676525, -0.04554767534136772, -0.035118214786052704, -0.029065709561109543, 0.011660479009151459, 0.033357176929712296, -0.04431665688753128, 0.037922203540802, -0.06086701527237892, 0.03966614603996277, -0.01996985264122486, -0.0062363045290112495, -0.028655370697379112, 0.04065779969096184, 0.002562484238296747, -0.008873590268194675, 0.02817664109170437, -0.020687947049736977, 0.0032869898714125156, -0.04229915514588356, 0.03484465554356575, -0.018704639747738838, -0.0592256598174572, -0.042025595903396606, -0.04869361221790314, -0.008959077298641205, -0.01872173696756363, 0.0007480146014131606, 0.0022910619154572487, 0.00978830549865961, -0.00936941709369421, -0.021611209958791733, 0.037785422056913376, 0.011968233622610569, -0.049035560339689255, -0.04093135893344879, -0.06996287405490875, -0.015960494056344032, 0.04065779969096184, -0.034348830580711365, 0.04236754775047302, -0.009899438358843327, -0.009702817536890507, -0.024483585730195045, -0.0745449960231781, -0.05580616369843483, 0.08391441404819489, -0.0128914974629879, -0.016422126442193985, 0.05720815435051918, 0.01359249372035265, -0.0255949217826128, 0.03764864429831505, -0.0001297671697102487, -0.055122263729572296, -0.00784774124622345, 0.019183369353413582, 0.009010369889438152, -0.037922203540802, -0.05580616369843483, 0.04226496070623398, -0.015139815397560596, 0.017063280567526817, -0.00917279627174139, -0.043427590280771255, 0.002718498697504401, -0.00745449960231781, -0.01935434341430664, -0.013558298349380493, -0.011301431804895401, -0.06329485774040222, 0.009925085119903088, 0.055703576654195786, 0.013874601572751999, -0.006471394561231136, 0.029749609529972076, 0.017969448119401932, -0.050437554717063904, -0.000999133801087737, 0.0015109895030036569, 0.0023573145736008883, 0.008805200457572937, 0.07440821826457977, -0.00877100508660078, -0.015635641291737556, 0.03441721946001053, -0.0009318124502897263, 0.055908747017383575, -0.0035926070995628834, 0.008959077298641205, -0.0655859187245369, -0.035938896238803864, 0.07160422950983047, -0.05785785987973213, 0.04578704014420509, -0.01654180884361267 ]
54,190
nbconvert.exporters.templateexporter
_invalidate_template_cache
null
def _invalidate_template_cache(self, change=None): self._template_cached = None
(self, change=None)
[ 0.06504702568054199, -0.007662761956453323, 0.020529624074697495, -0.004063330125063658, -0.024983050301671028, 0.0030427533201873302, -0.05047217011451721, 0.05533045530319214, 0.019483743235468864, -0.0155785595998168, 0.03505386784672737, 0.005081798881292343, -0.012559001334011555, 0.020529624074697495, -0.03707815334200859, -0.03146076202392578, -0.01201919186860323, -0.019247576594352722, -0.014482071623206139, -0.08427773416042328, -0.009514139033854008, -0.005592087283730507, 0.0512818843126297, 0.03471648693084717, -0.0027665228117257357, -0.0340585932135582, -0.012213186360895634, -0.02397090755403042, 0.030684785917401314, -0.02724350243806839, -0.025489121675491333, -0.026180751621723175, 0.012660215608775616, 0.028862928971648216, 0.017729362472891808, -0.014296512119472027, -0.01583159528672695, -0.009497269988059998, 0.030617309734225273, -0.019281314685940742, 0.057928286492824554, 0.00957318115979433, -0.004339560866355896, -0.04281362518668175, 0.01102391816675663, 0.039608508348464966, 0.003949464298784733, 0.030988428741693497, -0.022284002974629402, -0.013663923367857933, 0.015646036714315414, 0.005857774522155523, -0.013976001180708408, 0.04817798361182213, 0.009134585969150066, 0.005764994770288467, 0.01461702398955822, 0.046862196177244186, 0.05145057663321495, -0.03475022688508034, 0.026973597705364227, -0.0062078069895505905, -0.07456116378307343, -0.020765790715813637, 0.025826502591371536, -0.024223944172263145, 0.01988860033452511, 0.02044527791440487, 0.03076913207769394, -0.013571144081652164, -0.0469634123146534, 0.008949026465415955, 0.012044495902955532, 0.0004146094142924994, -0.000013368386134970933, -0.026804907247424126, -0.005043843295425177, 0.0025240303948521614, -0.015089357271790504, -0.019213838502764702, 0.03449719026684761, -0.03994588926434517, -0.001472878153435886, 0.01538456603884697, 0.013900090008974075, -0.013891655951738358, 0.07118735462427139, -0.04210512712597847, -0.017214857041835785, 0.013022899627685547, -0.008236309513449669, -0.0014507375890389085, -0.005857774522155523, -0.06396740674972534, 0.10560020059347153, -0.0024945095647126436, 0.008847812190651894, -0.05047217011451721, 0.0018355625215917826, -0.06622785329818726, 0.11821824312210083, 0.011648072861135006, 0.0212043859064579, 0.00012915360275655985, 0.06167321652173996, 0.009244234301149845, 0.040654391050338745, -0.01654009521007538, 0.009809347800910473, 0.018404124304652214, -0.03768543899059296, 0.005081798881292343, -0.05259767174720764, -0.0008207843056879938, 0.018825849518179893, 0.006983783096075058, -0.0651482343673706, -0.013866351917386055, 0.015283351764082909, 0.005267358385026455, -0.010492543689906597, -0.012778298929333687, -0.06278657168149948, -0.0196693018078804, 0.007747107185423374, 0.02198036015033722, 0.014937535859644413, 0.015215875580906868, 0.027547145262360573, 0.017695624381303787, -0.06359628587961197, 0.023464836180210114, 0.01995607651770115, 0.03464901074767113, 0.0073675536550581455, -0.002583072055131197, 0.0131325488910079, -0.0307016558945179, -0.021845407783985138, 0.07604563981294632, -0.03156197816133499, 0.032253608107566833, 0.0386638417840004, 0.017746230587363243, 0.06504702568054199, -0.02508426457643509, -0.0010416633449494839, 0.056173909455537796, -0.08097139745950699, -0.0046221171505749226, 0.006346976850181818, -0.02305997908115387, 0.008067619055509567, -0.023802217096090317, -0.034345369786024094, 0.07294173538684845, -0.03977720066905022, 0.06518197804689407, -0.030853476375341415, -0.03525629639625549, -0.0012662324588745832, 0.030752262100577354, -0.01649792306125164, -0.04224007949233055, 0.016025589779019356, -0.0027728485874831676, -0.034412845969200134, -0.002823455724865198, -0.00029731684480793774, -0.016658177599310875, -0.05313748121261597, 0.004989019129425287, 0.014785714447498322, 0.017695624381303787, 0.05141683667898178, 0.058130715042352676, 0.025101132690906525, -0.01200232282280922, 0.018539076671004295, 0.03321514278650284, -0.055161766707897186, -0.057928286492824554, -0.05759090557694435, 0.09878510981798172, -0.02354918234050274, -0.002789717633277178, 0.014178428798913956, -0.002224604832008481, -0.017729362472891808, 0.0026083756238222122, 0.00046785231097601354, 0.010172031819820404, -0.011546858586370945, -0.040485698729753494, 0.0019051473354920745, -0.006431322079151869, -0.02400464564561844, -0.06420356780290604, -0.02152489684522152, 0.0454789362847805, -0.07429125905036926, -0.04315100610256195, 0.04962871968746185, -0.003607866121456027, 0.032911498099565506, 0.03522256016731262, -0.0005761831998825073, 0.0035340641625225544, -0.021710455417633057, 0.08407530188560486, -0.029436476528644562, 0.024915574118494987, 0.06076228618621826, 0.01201919186860323, 0.004575727507472038, -0.01660757139325142, -0.03164632245898247, 0.05381224304437637, -0.05222655087709427, -0.028339989483356476, 0.019736777991056442, -0.007797714322805405, -0.07489854097366333, -0.03606601059436798, 0.028626762330532074, -0.0043986025266349316, 0.029908809810876846, 0.03515508398413658, -0.04554641246795654, 0.011664941906929016, 0.03525629639625549, 0.00024156994186341763, 0.0626516193151474, -0.027395322918891907, 0.08022916316986084, -0.07381892204284668, -0.01303133461624384, 0.010652799159288406, -0.027850788086652756, -0.007797714322805405, -0.033788688480854034, 0.00042726119863800704, 0.05360981449484825, -0.011158870533108711, -0.008455607108771801, -0.0031545106321573257, -0.04625491052865982, 0.008906853385269642, -0.05016852915287018, -0.026636216789484024, 0.03260785713791847, -0.0052251857705414295, -0.011968584731221199, -0.012828906066715717, 0.04281362518668175, -0.06045864522457123, 0.02936900034546852, -0.0072663393802940845, 0.042476244270801544, 0.033923640847206116, 0.026450656354427338, -0.012213186360895634, -0.03041488118469715, -0.009210496209561825, 0.06342759728431702, -0.000287828006548807, -0.005524611100554466, 0.10067443549633026, -0.011749287135899067, 0.05448700487613678, 0.06238171458244324, -0.0260964073240757, 0.02400464564561844, 0.03910243883728981, -0.004660072736442089, -0.00010707887850003317, 0.04011458158493042, 0.05259767174720764, -0.057928286492824554, 0.046592291444540024, 0.021575503051280975, -0.046727243810892105, 0.030583571642637253, 0.022941896691918373, -0.04925760254263878, -0.0313258096575737, -0.008080271072685719, 0.061099667102098465, 0.009337014518678188, 0.05158552899956703, -0.0032388558611273766, 0.02714228816330433, -0.02940273843705654, -0.019247576594352722, -0.03367060795426369, -0.05064086243510246, -0.04436557739973068, -0.014870059676468372, 0.041666533797979355, 0.060964714735746384, -0.024493848904967308, -0.022233396768569946, -0.049662455916404724, -0.013571144081652164, 0.07199706882238388, 0.047604434192180634, -0.03579610586166382, 0.016658177599310875, 0.07604563981294632, 0.059244073927402496, 0.027445930987596512, 0.0007886276580393314, -0.07348154485225677, -0.0019473199499771, 0.04021579399704933, -0.01744258962571621, 0.002254125662147999, -0.019416267052292824, 0.012516828253865242, 0.05671371519565582, -0.041531581431627274, 0.004525120370090008, -0.03930486738681793, 0.04740200564265251, 0.009337014518678188, -0.035424984991550446, 0.021271860226988792, -0.001695338636636734, 0.03670703247189522, 0.030786000192165375, 0.017391981557011604, -0.014870059676468372, 0.0027665228117257357, -0.013874786905944347, -0.08070149272680283, -0.033721212297677994, -0.0005134514649398625, -0.05138310045003891, -0.04692967236042023, -0.03306332230567932, 0.03913617506623268, -0.016666613519191742, 0.002791826380416751, -0.042611196637153625, -0.02005729079246521, 0.004575727507472038, 0.06352881342172623, 0.001002126489765942, 0.04625491052865982, 0.0210356954485178, -0.01911262422800064, -0.010003341361880302, 0.10060696303844452, 0.044736698269844055, 0.10694972425699234, -0.06784728169441223, 0.001559332013130188, 0.04794181510806084, -0.02557346597313881, -0.0718621164560318, 0.0008608482894487679, 0.03038114309310913, 0.0011671268148347735, -0.04220634326338768, 0.04176774621009827, -0.024375764653086662, -0.0033232010900974274, -0.0016816325951367617, 0.02403838373720646, -0.035526201128959656, 0.002471314510330558, -0.019416267052292824, 0.007401291746646166, 0.004567292984575033, 0.034615274518728256, -0.07138977944850922, -0.026433788239955902, 0.05462195724248886, -0.08205101639032364, 0.011184174567461014, 0.04119420051574707, 0.03728058189153671, 0.05721978843212128, 0.0085989935323596, -0.028761714696884155, -0.017324505373835564, -0.004854066763073206, -0.013225328177213669, 0.038697581738233566, -0.010180466808378696, 0.03311392664909363, -0.017493195831775665, 0.03609974682331085, -0.0037364927120506763, 0.023954039439558983, 0.038630105555057526, 0.005604738835245371, 0.008417651988565922, -0.050742074847221375, -0.004887804854661226, 0.008982764557003975, 0.017493195831775665, -0.0451415553689003, 0.026467526331543922, -0.01535082794725895, -0.00302588427439332, 0.009387621656060219, 0.03449719026684761, -0.02110317163169384, -0.003245181869715452, -0.03687572479248047, 0.0002250962716061622, -0.020563362166285515, -0.054959338158369064, 0.03171379864215851, -0.01461702398955822, 0.0144398994743824, -0.02995941787958145, -0.011496251448988914, 0.08157868683338165, -0.016911214217543602, 0.0651482343673706, 0.01058532390743494, 0.021642979234457016, 0.013562709093093872, -0.006718095857650042, 0.005250489339232445, -0.01329280436038971, -0.07941944897174835, 0.04433184117078781, 0.011648072861135006, -0.027850788086652756, -0.012204751372337341, 0.007827235385775566, 0.02270573005080223, 0.015654470771551132, -0.01747632771730423, -0.005183013156056404, -0.06150452420115471, -0.0054613519459962845, 0.05428457632660866, 0.0054613519459962845, 0.039507295936346054, -0.01663287542760372, 0.02047901600599289, 0.03427789360284805, -0.050742074847221375, 0.04699714854359627, -0.0051155369728803635, -0.030566703528165817, 0.005410744808614254, 0.04726705327630043, -0.03464901074767113, -0.02881232276558876, 0.015865333378314972, -0.05678119137883186, -0.021406812593340874, -0.0032240955624729395, -0.021052563562989235, 0.020141635090112686, -0.07881215959787369, 0.08555977791547775, 0.050775814801454544, -0.04294857755303383, 0.04922386258840561, -0.061133407056331635, 0.0038862053770571947, 0.021018825471401215, -0.008915288373827934, -0.027935132384300232, -0.02731097862124443, -0.09898753464221954, -0.05209159851074219, 0.00040063972119241953, -0.0733465924859047, -0.006971131544560194, -0.018184825778007507, 0.01803300529718399, 0.007540461607277393, -0.006777137517929077, 0.005689084064215422, 0.04213886708021164, 0.044669222086668015, 0.019753647968173027, -0.007165125105530024, -0.04382576793432236, 0.035492461174726486, -0.016894344240427017, -0.035492461174726486, -0.0014127822360023856, -0.10735458135604858, -0.020428409799933434, -0.020462147891521454, -0.024983050301671028, -0.031798142939805984, -0.023464836180210114, -0.015274916775524616, 0.04861657693982124, -0.0053474861197173595, -0.05414962396025658, 0.010635930113494396, -0.09223991632461548, 0.016801565885543823, 0.04507407918572426, 0.0328608937561512, 0.006713878363370895, 0.07813739776611328, 0.007839887402951717, -0.0015867442125454545, 0.0013906415551900864, -0.016160542145371437, -0.01740885153412819, 0.06504702568054199, 0.02535416930913925, 0.04119420051574707, -0.0015688207931816578, -0.0746961161494255, -0.0642373114824295, -0.01468450017273426, -0.0006663271342404187, 0.013832613825798035, -0.00780614884570241, 0.03572862967848778, -0.013942263089120388, 0.01806674338877201, -0.027327846735715866, -0.00716934259980917, -0.013453060761094093, 0.04804303124547005, -0.007890494540333748, 0.017594410106539726, -0.013706096448004246, 0.03449719026684761, -0.020310325548052788, 0.0054866555146873, -0.016928082332015038, -0.010028645396232605, -0.12287409603595734, -0.0485491007566452, -0.05360981449484825, -0.03508760780096054, 0.00553726265206933, 0.02501678839325905, -0.021879145875573158, -0.005183013156056404, 0.021811669692397118, 0.009387621656060219, 0.009202062152326107, -0.057084836065769196, -2.5122352553808014e-7, -0.10114677250385284, -0.04753695800900459, 0.04102550819516182, -0.005663780495524406, -0.05104571953415871, 0.013967566192150116, -0.02476375177502632, 0.022790074348449707, 0.02995941787958145, 0.03498639166355133, 0.03324887901544571, -0.01456641685217619, 0.043690815567970276, 0.06329264491796494, 0.01998981460928917, 0.019213838502764702, -0.01465076208114624, 0.020597100257873535, 0.010357591323554516, 0.035458724945783615, 0.056005217134952545, -0.04308352991938591, 0.0952763482928276, -0.011361299082636833, 0.003063839627429843, 0.005739691201597452, 0.00942135974764824, -0.019028278067708015, 0.02734471671283245, -0.03782039135694504, -0.017307637259364128, -0.014363988302648067, 0.02909909561276436, -0.004693810828030109, -0.008194136433303356, -0.03768543899059296, 0.03038114309310913, 0.06261788308620453, 0.0027243501972407103, -0.002528247656300664, -0.03984467685222626, 0.03237168863415718, 0.009303276427090168, -0.008042315021157265, -0.01897767186164856, 0.06612664461135864, 0.03321514278650284, -0.012440918013453484, -0.0838053971529007, 0.01184206735342741, 0.01048410963267088, 0.02037780173122883, 0.04537772014737129, 0.034345369786024094, -0.00831643771380186, 0.0042488896287977695, -0.015646036714315414, -0.020259719341993332, 0.037314318120479584, 0.017493195831775665, 0.008345957845449448, -0.04224007949233055, 0.06366375833749771, 0.04004710540175438, 0.043657079339027405, -0.01048410963267088, -0.01810048148036003, -0.0064102355390787125, -0.06180816888809204, -0.04385950788855553, -0.05546540766954422, 0.05172048136591911, -0.02570841833949089, -0.028761714696884155, -0.033991117030382156, -0.0022520169150084257, 0.062078073620796204, 0.024493848904967308, -0.02469627745449543, 0.048684053122997284, -0.02106943354010582, -0.042611196637153625, -0.026450656354427338, 0.023076849058270454, 0.026028931140899658, 0.018269171938300133, -0.016835303977131844, 0.028053216636180878, 0.011951715685427189, -0.015958113595843315, 0.044669222086668015, -0.04493912681937218, 0.032844021916389465, -0.03984467685222626, -0.05856931209564209, -0.030819738283753395, 0.043623339384794235, -0.052800100296735764, 0.027192894369363785, 0.01190954353660345, -0.0242745503783226, 0.015342392958700657, 0.033822428435087204, -0.008092922158539295, -0.021440550684928894, 0.02665308490395546, 0.01190954353660345, -0.06916306912899017, 0.031106512993574142, -0.04416314885020256, -0.0035403899382799864, 0.016725653782486916, -0.02616388350725174, -0.0017301311017945409, 0.08893358707427979, -0.05064086243510246, -0.0011839958606287837, 0.04713210090994835, -0.04045196250081062, 0.014903797768056393, -0.047874338924884796, -0.05357607454061508, -0.0241058599203825, -0.04045196250081062, -0.009151455014944077, -0.04301605373620987, 0.007907363586127758, -0.0046010310761630535, -0.07496602088212967, 0.04952750355005264, -0.03663955628871918, 0.039709724485874176, -0.006950045004487038, 0.005490873008966446, -0.04726705327630043, 0.06339386105537415, -0.004529337398707867, -0.021777931600809097, 0.03812403231859207, -0.037415534257888794, 0.002890931908041239, -0.024223944172263145, 0.012204751372337341, -0.04200391471385956, -0.0500335767865181, -0.00020242849132046103, -0.02759775146842003, -0.002791826380416751, 0.017105208709836006, 0.00732538104057312, 0.015013447031378746, -0.017661886289715767, 0.002031665062531829, -0.017358243465423584, 0.000026357876777183264, 0.000962062506005168, -0.04146410524845123, -0.06359628587961197, -0.058130715042352676, 0.004322691820561886, 0.03734805807471275, -0.024088991805911064, 0.043589603155851364, 0.05114693194627762, -0.032253608107566833, -0.038495153188705444, -0.05762464553117752, -0.017948659136891365, 0.101416677236557, -0.001637351349927485, 0.010661234147846699, 0.008219440467655659, 0.005031191743910313, 0.0000685963750584051, 0.017594410106539726, 0.02909909561276436, -0.06059359759092331, -0.0343959741294384, 0.018218563869595528, 0.013672358356416225, -0.013436191715300083, -0.03734805807471275, 0.03690946102142334, -0.05721978843212128, 0.02218278869986534, -0.01810048148036003, -0.037415534257888794, 0.007409726269543171, 0.004381733480840921, -0.0040380265563726425, -0.026973597705364227, -0.0033653737045824528, -0.0659579485654831, 0.03090408444404602, 0.01793179102241993, 0.0034433931577950716, 0.033485047519207, 0.06609290093183517, 0.016759391874074936, 0.009758740663528442, -0.004198282491415739, 0.011546858586370945, -0.01180832926183939, 0.025843370705842972, 0.07503349334001541, 0.02009102888405323, -0.023464836180210114, 0.03027992881834507, -0.024966180324554443, 0.045580148696899414, 0.020900743082165718, 0.00359310582280159, -0.038697581738233566, -0.02277320623397827, 0.03987841308116913, -0.02407212182879448, 0.02930152416229248, 0.008607428520917892 ]
54,192
nbconvert.exporters.templateexporter
_load_template
Load the Jinja template object from the template file This is triggered by various trait changes that would change the template.
def _load_template(self): """Load the Jinja template object from the template file This is triggered by various trait changes that would change the template. """ # this gives precedence to a raw_template if present with self.hold_trait_notifications(): if self.template_file and (self.template_file != self._raw_template_key): self._last_template_file = self.template_file if self.raw_template: self.template_file = self._raw_template_key if not self.template_file: msg = "No template_file specified!" raise ValueError(msg) # First try to load the # template by name with extension added, then try loading the template # as if the name is explicitly specified. template_file = self.template_file self.log.debug("Attempting to load template %s", template_file) self.log.debug(" template_paths: %s", os.pathsep.join(self.template_paths)) return self.environment.get_template(template_file)
(self)
[ 0.0844477191567421, -0.060910772532224655, -0.024446330964565277, 0.012053770944476128, 0.0013005501823499799, -0.02378658391535282, 0.02653256058692932, 0.0589136965572834, -0.04307974874973297, -0.03894295170903206, 0.0773153081536293, -0.025016924366354942, -0.07795722782611847, -0.0018098487053066492, -0.06608176976442337, 0.0017808732809498906, 0.04218819737434387, 0.03819404914975166, -0.015994425863027573, -0.061802323907613754, 0.032862573862075806, -0.01057379599660635, 0.0057282159104943275, 0.04111833497881889, 0.0007851221598684788, -0.06401336938142776, -0.03883596509695053, -0.0023135750088840723, 0.037373822182416916, -0.07264358550310135, -0.038265373557806015, -0.012303405441343784, 0.03780176490545273, 0.063656747341156, -0.012588701210916042, -0.009477187879383564, 0.007333007641136646, -0.003058020258322358, -0.008179981261491776, -0.010627289302647114, -0.005389426369220018, 0.011911123059689999, 0.03386111184954643, -0.057558540254831314, -0.005487496964633465, 0.0294568482786417, -0.01406867615878582, 0.0026701956521719694, -0.0007160269888117909, 0.04504116252064705, 0.016413455829024315, -0.01956063136458397, -0.02715664729475975, 0.043757326900959015, -0.06340711563825607, 0.03452085703611374, -0.016333216801285744, 0.02098711207509041, -0.041795916855335236, -0.01163474190980196, -0.00608037831261754, -0.007355296518653631, -0.03017008863389492, -0.00809528399258852, 0.01229448989033699, 0.009379117749631405, 0.0016672005876898766, 0.010520302690565586, 0.0029488052241504192, -0.03195318952202797, -0.014220239594578743, 0.04168893024325371, 0.01998857595026493, -0.022324439138174057, 0.032256320118904114, -0.047466181218624115, -0.02822650782763958, -0.052601516246795654, 0.0038046943955123425, 0.017759697511792183, -0.015566482208669186, -0.02681785635650158, -0.04682426527142525, 0.02672870270907879, 0.025854982435703278, -0.0244106687605381, 0.09307793527841568, -0.00840732641518116, 0.004535766318440437, 0.007716374937444925, -0.028190845623612404, 0.003969631157815456, -0.00906707439571619, 0.022538412362337112, 0.07467631995677948, -0.017982585355639458, 0.03787308931350708, 0.006200737785547972, -0.009053701534867287, -0.01203593984246254, 0.005010517314076424, -0.013435674831271172, -0.04718088358640671, -0.009887301363050938, -0.0011991362553089857, 0.05424197018146515, 0.009691160172224045, 0.0449698381125927, -0.017296090722084045, -0.0032831369899213314, -0.03477049246430397, -0.013908197171986103, -0.06141003966331482, 0.05345740541815758, 0.028797101229429245, -0.046503305435180664, -0.027887718752026558, 0.017028626054525375, -0.006575189530849457, -0.016948387026786804, -0.029688650742173195, -0.02168252319097519, -0.013319773599505424, -0.01432722620666027, 0.06444131582975388, -0.004841122310608625, 0.004890157841145992, -0.06793619692325592, 0.030045272782444954, -0.0035595176741480827, -0.0035996376536786556, -0.0002741519710980356, -0.028083859011530876, -0.003503795713186264, -0.01248171553015709, -0.013676393777132034, -0.05281548574566841, -0.009423695504665375, 0.019310995936393738, 0.10641553997993469, 0.014353972859680653, -0.029314199462532997, 0.0028752523940056562, 0.008527685888111591, 0.01584286242723465, 0.013471337035298347, 0.0026011003646999598, 0.03266643360257149, -0.055525802075862885, 0.013934943825006485, 0.009361286647617817, -0.0525301918387413, -0.04368600249290466, -0.030455386266112328, 0.01561997551470995, 0.010341992601752281, -0.0238935686647892, 0.046503305435180664, -0.029973948374390602, -0.06583213061094284, 0.013194955885410309, 0.009174061007797718, -0.0355372279882431, 0.03134693577885628, -0.018900882452726364, 0.026300758123397827, -0.01664525829255581, -0.01636887900531292, 0.0103152459487319, -0.0046538966707885265, -0.03830103576183319, 0.03425339236855507, 0.007698543835431337, 0.006303266156464815, 0.038621991872787476, 0.043472032994031906, 0.015281185507774353, -0.014353972859680653, 0.010493556037545204, -0.0009110537939704955, -0.04414961114525795, -0.01920401118695736, -0.030491046607494354, 0.06836413592100143, -0.016039004549384117, 0.07310719043016434, 0.04475586488842964, 0.03355798497796059, 0.025284389033913612, 0.06775788217782974, -0.036589257419109344, -0.00621856888756156, 0.00495702400803566, 0.031275611370801926, 0.018704742193222046, -0.02539137564599514, -0.002886396599933505, -0.019952913746237755, -0.08352050930261612, 0.08095283806324005, -0.042972762137651443, -0.05192393437027931, 0.029884792864322662, -0.016065750271081924, -0.03380761668086052, 0.04646764323115349, 0.030134426429867744, 0.039513543248176575, -0.0018432819051668048, -0.00136630202177912, -0.08166608214378357, -0.04671727865934372, -0.04076171666383743, 0.02275238372385502, 0.020773140713572502, -0.03691021725535393, -0.015379256568849087, -0.005630145315080881, -0.04899964854121208, 0.01260653231292963, 0.06971929222345352, 0.06683067232370377, -0.05317210778594017, -0.037908751517534256, -0.0414036326110363, 0.006298808380961418, -0.015611059963703156, 0.025854982435703278, -0.03582252189517021, 0.06026885285973549, 0.03567987307906151, -0.034717001020908356, 0.10584494471549988, 0.008960088714957237, -0.0019469247199594975, -0.03798007592558861, 0.01216075662523508, 0.0026568223256617785, 0.017305007204413414, 0.019685449078679085, -0.018990037962794304, 0.03291606530547142, -0.0010576024651527405, -0.014692761935293674, -0.010448979213833809, -0.02487427555024624, -0.03972751647233963, -0.0003156648017466068, -0.0012860624119639397, -0.04714522138237953, 0.025623178109526634, 0.040476419031620026, 0.006811450235545635, 0.024553317576646805, -0.03432471677660942, -0.02369742840528488, 0.0523875430226326, -0.05716625601053238, 0.006847112439572811, 0.03477049246430397, 0.02034519612789154, 0.04643198102712631, 0.00663314014673233, 0.00871045421808958, -0.021397225558757782, -0.06076812371611595, -0.03912126272916794, 0.04768015444278717, 0.012945322319865227, 0.029421186074614525, 0.0571305938065052, 0.07043253630399704, 0.0071145775727927685, 0.0038247541524469852, 0.007890227250754833, -0.05627470463514328, 0.041367970407009125, 0.033130038529634476, 0.021450718864798546, 0.010778852738440037, -0.03812272474169731, 0.003780176630243659, 0.06815016269683838, 0.04372166469693184, -0.02202131226658821, -0.066937655210495, -0.069754958152771, -0.016609596088528633, 0.011340529657900333, 0.028725776821374893, -0.01381012611091137, 0.0003535557189024985, -0.0004243226139806211, 0.011688235215842724, -0.05217356979846954, -0.058699723333120346, -0.054455939680337906, -0.039763178676366806, 0.05377836152911186, -0.029652990400791168, 0.032880403101444244, -0.04397130012512207, 0.005518701393157244, 0.008117572404444218, -0.014790832996368408, -0.02009556256234646, -0.03350448980927467, -0.017554640769958496, -0.015370341017842293, 0.024446330964565277, 0.04885699972510338, -0.04147495701909065, 0.05360005050897598, 0.03466350585222244, -0.021165423095226288, 0.03329051658511162, 0.008295883424580097, -0.01911485567688942, 0.01822330430150032, 0.006187364459037781, -0.038015738129615784, 0.06533286720514297, -0.003579577663913369, 0.0431867353618145, 0.04757316783070564, -0.0330943763256073, 0.013908197171986103, -0.010333077050745487, 0.008795151486992836, 0.06807883828878403, -0.02646123617887497, 0.026675209403038025, -0.007252768147736788, 0.028957579284906387, -0.0011378420749679208, -0.0017987043829634786, -0.025373544543981552, -0.03567987307906151, -0.035430241376161575, -0.05962693691253662, 0.04311541095376015, -0.08787127584218979, 0.019792433828115463, -0.01432722620666027, 0.026158109307289124, -0.03546590358018875, 0.031097302213311195, -0.018383784219622612, 0.029652990400791168, -0.026479067280888557, -0.03669624403119087, -0.013061223551630974, 0.05210224539041519, 0.019007869064807892, -0.07824252545833588, -0.07339248806238174, 0.004814376123249531, 0.06290784478187561, -0.01918618008494377, -0.011741727590560913, -0.010395485907793045, 0.006646513473242521, -0.06479793041944504, 0.006111582741141319, 0.03213150054216385, 0.008625756949186325, -0.004052099771797657, 0.011777389794588089, -0.04735919460654259, -0.0030468758195638657, -0.0043440829031169415, -0.02697833627462387, -0.01366747822612524, 0.026479067280888557, -0.0084964819252491, -0.04115399718284607, 0.000922198174521327, 0.004640523344278336, -0.06850678473711014, -0.030812006443738937, 0.030009610578417778, 0.02644340507686138, -0.0020695130806416273, 0.006075920537114143, -0.051353342831134796, -0.042081210762262344, -0.03726683557033539, -0.037730444222688675, 0.010324161499738693, -0.05085407570004463, 0.042972762137651443, -0.04700257256627083, 0.05656000226736069, 0.03794441372156143, 0.008019502274692059, -0.0018098487053066492, -0.004509019665420055, 0.028351325541734695, 0.037195511162281036, 0.07489029318094254, 0.06815016269683838, -0.002859650179743767, 0.03311220929026604, 0.05452726408839226, -0.026247264817357063, -0.005170996300876141, 0.08794260025024414, -0.00419920589774847, -0.016672005876898766, 0.04343637079000473, 0.013480252586305141, 0.06704464554786682, -0.05395667254924774, -0.06390637904405594, -0.03887162730097771, 0.043400708585977554, -0.024214528501033783, 0.025694502517580986, -0.017358500510454178, 0.024375006556510925, -0.060732461512088776, 0.03585818409919739, 0.009575258940458298, -0.028636621311306953, -0.013926028273999691, 0.025248726829886436, -0.021522043272852898, -0.017679458484053612, -0.052066583186388016, 0.03662491962313652, -0.058699723333120346, 0.01803607866168022, -0.018900882452726364, -0.011367276310920715, 0.1069861352443695, -0.0010837918380275369, -0.008928883820772171, -0.003225186141207814, -0.03254161402583122, 0.017233682796359062, 0.023055510595440865, 0.044113948941230774, 0.05777250975370407, 0.04204554855823517, -0.04996252432465553, 0.004029810894280672, -0.1301664561033249, -0.0031650064047425985, -0.01850860007107258, -0.010297414846718311, 0.004433237947523594, 0.017839936539530754, 0.02874360792338848, -0.0017775299493223429, -0.018169810995459557, -0.034467365592718124, 0.04072605445981026, 0.022449256852269173, 0.07157371938228607, -0.02556968480348587, -0.05142466723918915, 0.03765911981463432, 0.09172277897596359, -0.044827189296483994, 0.028886254876852036, -0.09371985495090485, -0.027406280860304832, 0.02273455262184143, 0.0002168976643588394, 0.014229155145585537, 0.014255901798605919, -0.0039852336049079895, -0.03387894108891487, -0.010680782608687878, -0.04571874067187309, 0.011456431820988655, 0.05673831328749657, 0.04582572728395462, 0.01796475425362587, -0.0225562434643507, 0.005563278682529926, -0.06005488336086273, -0.03855067119002342, 0.04300842434167862, 0.000024134566046996042, -0.047109559178352356, 0.01375663373619318, 0.010609458200633526, -0.007859023287892342, -0.010903669521212578, -0.03469916805624962, 0.09158013015985489, -0.01806282438337803, -0.0052111162804067135, -0.04365034028887749, -0.0014353973092511296, -0.007711917161941528, 0.01882955990731716, 0.06536852568387985, -0.01463926862925291, 0.027816394343972206, -0.028814932331442833, 0.04193856194615364, 0.023019850254058838, 0.000283206783933565, -0.032862573862075806, 0.08059621602296829, 0.003762345528230071, 0.012686772271990776, -0.018169810995459557, 0.01742090843617916, 0.048714350908994675, -0.0052022007293999195, 0.03345099836587906, 0.0193644892424345, 0.04593271389603615, -0.04151061922311783, 0.012784842401742935, -0.004410949070006609, 0.05406365916132927, 0.04129664599895477, -0.048963986337184906, 0.027638083323836327, -0.013872534967958927, 0.0003056348650716245, -0.009780315682291985, 0.025248726829886436, 0.029510341584682465, -0.02911805920302868, 0.0678292065858841, 0.02999177947640419, 0.0023336349986493587, 0.014478789642453194, -0.06636706739664078, -0.02724580094218254, 0.03273775801062584, -0.04350769519805908, -0.04372166469693184, -0.0442209355533123, -0.03580469265580177, -0.0144698740914464, -0.02699616737663746, 0.057629864662885666, 0.03150741755962372, 0.03282691165804863, -0.0718233585357666, -0.06829281151294708, -0.05024781823158264, -0.02309117279946804, 0.016137074679136276, 0.017233682796359062, -0.027584591880440712, -0.016859231516718864, -0.021004943177103996, -0.026603884994983673, -0.019079193472862244, -0.0038916205521672964, 0.02608678489923477, 0.010333077050745487, 0.024089710786938667, 0.03448519483208656, -0.02999177947640419, -0.016743330284953117, 0.06807883828878403, 0.00809528399258852, 0.014567945152521133, -0.051709964871406555, 0.004016437567770481, -0.037837427109479904, 0.017652710899710655, 0.05388534814119339, 0.0353945791721344, 0.01875823549926281, -0.0010459008626639843, 0.015281185507774353, 0.03088333085179329, 0.03316570073366165, 0.06968363374471664, 0.006717837415635586, -0.01814306527376175, 0.032684262841939926, -0.0013674164656549692, 0.05823611840605736, -0.013043392449617386, -0.026229433715343475, -0.0019112626323476434, 0.018597755581140518, 0.03325485438108444, 0.014460958540439606, -0.0014788603875786066, 0.01331085804849863, 0.017046457156538963, 0.016752244904637337, 0.005808455403894186, 0.03926391154527664, 0.09407646954059601, 0.0644056499004364, 0.0036776482593268156, -0.04386431351304054, -0.08337786048650742, -0.021290240809321404, 0.03733815997838974, 0.006013512145727873, 0.01981026493012905, -0.00439980486407876, -0.03255944699048996, -0.019221842288970947, -0.00044744720798917115, 0.029349861666560173, -0.007948177866637707, 0.04076171666383743, -0.07296454161405563, 0.0006346729351207614, 0.03218499571084976, 0.038515008985996246, 0.0258193202316761, -0.024464162066578865, 0.006704464089125395, 0.0010425575310364366, -0.03794441372156143, -0.046752940863370895, 0.0322028249502182, 0.009334539994597435, 0.050747089087963104, -0.0024985719937831163, 0.001445427187718451, 0.026960505172610283, 0.0010464581428095698, -0.02221745252609253, 0.029349861666560173, 0.025534022599458694, -0.05231621861457825, 0.026657378301024437, 0.013159294612705708, -0.016770076006650925, 0.03396809846162796, 0.018544262275099754, -0.03238113597035408, 0.0007366440840996802, 0.06401336938142776, -0.01734958402812481, -0.10712877660989761, 0.0024762831162661314, 0.02521306462585926, -0.025427037850022316, -0.019489306956529617, 0.018811728805303574, 0.014166747219860554, 0.02874360792338848, 0.04122532159090042, 0.00526460912078619, 0.04757316783070564, -0.014567945152521133, -0.01823222078382969, -0.05310078337788582, 0.014755170792341232, 0.04857170209288597, -0.04461321607232094, 0.006829281337559223, 0.031828373670578, -0.020327365025877953, 0.014986974187195301, -0.03457435220479965, -0.0007968238205648959, 0.08494699001312256, -0.028208676725625992, -0.060304515063762665, -0.0008960088598541915, 0.021700354292988777, 0.0021753846667706966, -0.02212829887866974, -0.02212829887866974, 0.027388449758291245, -0.05288681015372276, -0.024125372990965843, -0.016137074679136276, 0.018740404397249222, -0.06533286720514297, 0.035715535283088684, 0.01812523417174816, 0.037730444222688675, 0.026853518560528755, -0.007150239776819944, 0.010377654805779457, -0.032684262841939926, 0.021646860986948013, 0.057201918214559555, 0.005300271324813366, 0.03687455505132675, -0.023590441793203354, -0.013489168137311935, 0.030366230756044388, -0.03255944699048996, 0.04004847630858421, -0.02414320409297943, -0.06098209321498871, 0.02398272417485714, -0.01508504431694746, -0.010038865730166435, 0.026300758123397827, 0.007359754294157028, -0.048892661929130554, -0.014059760607779026, -0.008309256285429, -0.049142297357320786, 0.000009760046850715298, -0.07103879004716873, -0.0009188548428937793, -0.01664525829255581, -0.019239673390984535, 0.04750184342265129, 0.004254927393049002, 0.10919717699289322, -0.004103363957256079, 0.01460360735654831, 0.020576998591423035, -0.06864943355321884, 0.039049938321113586, 0.025284389033913612, -0.022413594648241997, -0.04104701429605484, -0.0074801137670874596, -0.034806154668331146, 0.005380510818213224, 0.07036121189594269, 0.037480808794498444, -0.049677226692438126, -0.09272131323814392, 0.01097499392926693, 0.049498915672302246, -0.0044733574613928795, 0.01679682359099388, -0.0718233585357666, -0.04425659775733948, 0.025676671415567398, -0.086373470723629, -0.050105173140764236, -0.00018652919970918447, -0.007569268811494112, 0.0069496408104896545, -0.03414640575647354, -0.007738663349300623, -0.07200166583061218, 0.01989942044019699, 0.0005508114118129015, -0.0028685657307505608, 0.04917795956134796, 0.002837361302226782, 0.0030156716238707304, 0.056488677859306335, -0.009735737927258015, 0.010368739254772663, -0.008224559016525745, 0.0035818065516650677, 0.02310900390148163, 0.022253114730119705, -0.0028239882085472345, 0.006191822234541178, -0.014238070696592331, -0.01584286242723465, -0.03637528419494629, -0.051353342831134796, -0.023733090609312057, 0.007564811035990715, 0.030473217368125916, -0.01768837310373783, -0.014612522907555103, -0.001038657035678625 ]
54,195
nbconvert.exporters.exporter
_preprocess
Preprocess the notebook before passing it into the Jinja engine. To preprocess the notebook is to successively apply all the enabled preprocessors. Output from each preprocessor is passed along to the next one. Parameters ---------- nb : notebook node notebook that is being exported. resources : a dict of additional resources that can be accessed read/write by preprocessors
def _preprocess(self, nb, resources): """ Preprocess the notebook before passing it into the Jinja engine. To preprocess the notebook is to successively apply all the enabled preprocessors. Output from each preprocessor is passed along to the next one. Parameters ---------- nb : notebook node notebook that is being exported. resources : a dict of additional resources that can be accessed read/write by preprocessors """ # Do a copy.deepcopy first, # we are never safe enough with what the preprocessors could do. nbc = copy.deepcopy(nb) resc = copy.deepcopy(resources) if hasattr(validator, "normalize"): _, nbc = validator.normalize(nbc) # Run each preprocessor on the notebook. Carry the output along # to each preprocessor for preprocessor in self._preprocessors: nbc, resc = preprocessor(nbc, resc) if not self.optimistic_validation: self._validate_preprocessor(nbc, preprocessor) if self.optimistic_validation: self._validate_preprocessor(nbc, preprocessor) return nbc, resc
(self, nb, resources)
[ -0.007986420765519142, -0.05052202567458153, -0.059880562126636505, -0.022622328251600266, -0.013756345957517624, 0.031910501420497894, 0.019315175712108612, -0.01680842414498329, 0.007454285863786936, -0.018171746283769608, 0.041480131447315216, 0.015805725008249283, -0.003406102769076824, 0.04362626373767853, -0.04373180866241455, -0.06417282670736313, 0.06357472389936447, 0.024838823825120926, 0.021056707948446274, -0.03761006146669388, -0.07592377066612244, -0.01657973974943161, 0.01920962892472744, 0.02353707328438759, -0.019051307812333107, 0.002818995388224721, 0.04922027513384819, -0.02242882363498211, 0.003078466048464179, 0.02656276524066925, 0.05530684441328049, -0.036589767783880234, 0.011399120092391968, -0.03059115819633007, 0.059106551110744476, -0.012648098170757294, -0.0201419647783041, 0.05798070877790451, -0.08436756581068039, -0.028884807601571083, 0.0496072843670845, -0.05942319333553314, 0.010836200788617134, -0.06990756839513779, -0.021478896960616112, 0.014222513884305954, 0.018611526116728783, -0.013351747766137123, 0.01605200208723545, 0.000495303189381957, -0.00820631068199873, -0.04313370957970619, 0.02288619615137577, 0.06526347994804382, -0.03145312890410423, -0.0006426298059523106, 0.007208008319139481, 0.07416464388370514, 0.005813903175294399, -0.0333881638944149, -0.0341973602771759, -0.0065307458862662315, -0.03627312555909157, -0.024662911891937256, 0.05562348663806915, -0.004202106036245823, -0.028445027768611908, -0.023748166859149933, -0.030204150825738907, 0.0016931563150137663, -0.0539347268640995, -0.04045984148979187, 0.036695316433906555, 0.04693341627717018, 0.0019141462398692966, -0.04658158868551254, -0.02026510238647461, -0.03817297890782356, -0.000555498234461993, -0.0009125453070737422, 0.06452465057373047, -0.012278681620955467, -0.0479888878762722, -0.047038961201906204, 0.05463837459683418, -0.052527427673339844, 0.09386683255434036, 0.026615537703037262, 0.018066197633743286, 0.025419333949685097, -0.054673559963703156, -0.016975542530417442, 0.05214042216539383, -0.003206002525985241, 0.04689823091030121, 0.027653422206640244, -0.034126996994018555, 0.024205539375543594, 0.01088897418230772, -0.049712829291820526, 0.04355589672923088, 0.010282076895236969, -0.010053390637040138, -0.006156932096928358, 0.033018749207258224, 0.04169122502207756, 0.013976235873997211, 0.043696627020835876, 0.002207699930295348, -0.04045984148979187, -0.01042280625551939, -0.022094590589404106, -0.029166268184781075, -0.04584275931119919, 0.02295656129717827, -0.03662494942545891, -0.014662294648587704, 0.013624411076307297, 0.05126085877418518, 0.00782809965312481, -0.041480131447315216, 0.01048437599092722, -0.016852403059601784, -0.008984723128378391, -0.00799521617591381, 0.033827945590019226, 0.06061939522624016, 0.05632713437080383, 0.009912661276757717, -0.014354447834193707, 0.0033247433602809906, -0.007902862504124641, -0.07004829496145248, 0.028409844264388084, -0.00477602006867528, -0.013527659699320793, -0.02329079434275627, 0.021461306139826775, 0.014556746929883957, -0.01095054391771555, 0.028620939701795578, -0.0658264011144638, -0.011900470592081547, 0.04302816092967987, -0.008478974923491478, -0.03708232194185257, 0.014899776317179203, 0.040670935064554214, -0.030450427904725075, 0.013976235873997211, 0.026949772611260414, 0.045279838144779205, 0.039615459740161896, -0.02925422415137291, 0.008127150125801563, 0.055729031562805176, 0.029588457196950912, 0.00023445817350875586, -0.00013420188042800874, -0.029060719534754753, 0.042535606771707535, 0.03894699364900589, -0.0033841137774288654, 0.034654732793569565, -0.0227806493639946, 0.0308198444545269, 0.008795617148280144, -0.047038961201906204, 0.03066152334213257, 0.01605200208723545, 0.03166422247886658, -0.06012684106826782, -0.01512846164405346, 0.02464532107114792, -0.011531054973602295, 0.07142041623592377, 0.0404246561229229, -0.021760357543826103, -0.022041818127036095, 0.044998377561569214, -0.02679145149886608, 0.005998610984534025, -0.04862217232584953, 0.03884144499897957, -0.042887430638074875, 0.016430214047431946, 0.027583057060837746, -0.026422034949064255, 0.024258313700556755, 0.0007041991339065135, 0.040952395647764206, 0.07592377066612244, 0.005932644009590149, 0.031030938029289246, -0.03796188533306122, -0.04489283263683319, -0.00884399376809597, -0.022235320881009102, 0.0006096462602727115, 0.02112707309424877, -0.06072494387626648, 0.018488388508558273, 0.00934094563126564, 0.037926703691482544, 0.0024825630243867636, 0.031154077500104904, -0.06733924895524979, 0.07096303999423981, -0.04665195569396019, 0.004382416605949402, 0.022217730060219765, -0.0009301365353167057, 0.03954509645700455, 0.04485764726996422, 0.026756267994642258, -0.006112954113632441, 0.04844626039266586, 0.0515071377158165, 0.003280765376985073, -0.012709666974842548, -0.01252495963126421, -0.018294883891940117, 0.022200139239430428, -0.042887430638074875, -0.014257695525884628, -0.012920762412250042, 0.030978165566921234, 0.016790833324193954, 0.0022758659906685352, -0.0016909574624150991, -0.05284406989812851, 0.0007520252838730812, -0.0033511302899569273, 0.011249594390392303, 0.046792685985565186, -0.02605261839926243, -0.01310546975582838, -0.0007481772336177528, -0.02482123300433159, 0.044752102345228195, -0.027407143265008926, 0.01850597932934761, -0.01159262377768755, -0.08000493794679642, 0.008795617148280144, 0.00791165791451931, 0.06769107282161713, -0.015075688250362873, -0.0462297648191452, -0.008940745145082474, -0.0006382319843396544, 0.00983350072056055, 0.011038499884307384, -0.03340575471520424, -0.0616396889090538, 0.05256260931491852, -0.017846308648586273, -0.021672401577234268, -0.0044285934418439865, 0.02645721659064293, 0.014838206581771374, -0.07275734841823578, 0.004219697322696447, 0.005712753627449274, 0.04725005850195885, -0.008386621251702309, 0.002073566894978285, 0.050944216549396515, 0.03715268895030022, -0.007753336802124977, 0.017652804031968117, 0.05090903490781784, -0.00437801843509078, 0.017125066369771957, 0.013272587209939957, -0.024152765050530434, -0.0037799165584146976, 0.05903618410229683, 0.025472108274698257, 0.015102075412869453, 0.08148259669542313, -0.03219195827841759, -0.020564153790473938, -0.008716456592082977, 0.016667695716023445, -0.054216187447309494, -0.017855104058980942, 0.017705578356981277, -0.00256172358058393, -0.03887663036584854, 0.02656276524066925, 0.0404246561229229, 0.026246123015880585, -0.007313556037843227, -0.01594645529985428, -0.00759061798453331, -0.06132304668426514, -0.053864359855651855, -0.03701195865869522, 0.003276367438957095, -0.01873466558754444, -0.028357069939374924, 0.0436614453792572, -0.01652696542441845, -0.038102615624666214, 0.009156237356364727, 0.033652033656835556, 0.04401326924562454, -0.04967764765024185, 0.015805725008249283, 0.012243499979376793, -0.029535682871937752, 0.08197515457868576, 0.03922845423221588, -0.017775943502783775, -0.11757981777191162, 0.05674932524561882, 0.0513664074242115, -0.038982175290584564, 0.0026320884935557842, -0.0487980842590332, 0.0009345343569293618, 0.016975542530417442, 0.03252619504928589, 0.022745465859770775, 0.0035424348898231983, 0.02807561121881008, -0.036765679717063904, -0.0007586220162920654, 0.02404721826314926, -0.06406727433204651, 0.024786049500107765, -0.009464084170758724, 0.019878095015883446, -0.022745465859770775, -0.051049765199422836, -0.014855798333883286, -0.017731964588165283, -0.03280765190720558, -0.07409428060054779, 0.003826093627139926, -0.00446817371994257, -0.02293897047638893, 0.028814442455768585, -0.07353135943412781, -0.049185093492269516, -0.038806263357400894, 0.014873389154672623, -0.016773242503404617, -0.007621402386575937, -0.034003857523202896, 0.04133940115571022, 0.0231148824095726, 0.061393409967422485, 0.01310546975582838, -0.04225414618849754, -0.04172641038894653, -0.03954509645700455, -0.0019361353479325771, -0.02709050104022026, 0.0635395422577858, 0.05622158572077751, -0.03673049807548523, 0.041831955313682556, 0.04207823425531387, -0.021408533677458763, -0.015163644216954708, 0.04559648036956787, 0.023150065913796425, -0.03398626670241356, 0.02789969928562641, 0.041198670864105225, -0.017353752627968788, -0.05791034549474716, -0.03789151832461357, -0.02948291040956974, -0.0028343878220766783, -0.018998533487319946, -0.07803472131490707, 0.033423345535993576, -0.0007938044727779925, 0.01686999388039112, -0.009358537383377552, -0.030503202229738235, -0.03637867420911789, -0.03322984278202057, -0.018593935295939445, 0.012190725654363632, -0.024944370612502098, -0.05242187902331352, -0.008764833211898804, -0.014855798333883286, -0.007630198262631893, 0.02943013608455658, -0.0034170974977314472, -0.03166422247886658, 0.0231148824095726, 0.029799552634358406, 0.044752102345228195, -0.03673049807548523, 0.04337998479604721, -0.00027857368695549667, 0.010361237451434135, 0.0683947205543518, 0.013474886305630207, -0.03275487944483757, 0.07479792833328247, 0.051823779940605164, 0.029993055388331413, 0.05337180569767952, 0.007133245933800936, -0.003823894774541259, -0.006447187624871731, -0.02756546437740326, -0.06019720435142517, 0.01066028792411089, -0.0059766219928860664, -0.0021054509561508894, -0.03192809224128723, -0.011891675181686878, -0.00860651209950447, 0.01007098238915205, 0.06431355327367783, 0.009560836479067802, 0.025700794532895088, -0.043696627020835876, -0.0004392311384435743, -0.026439625769853592, -0.03145312890410423, 0.05133122205734253, -0.052808888256549835, -0.026070211082696915, -0.01780232973396778, -0.03189291059970856, 0.057593703269958496, -0.06821881234645844, 0.0025573258753865957, 0.021039117127656937, 0.017547257244586945, 0.02376575767993927, 0.07627559453248978, 0.021865904331207275, 0.07233516126871109, -0.04003765061497688, -0.030204150825738907, 0.059176914393901825, -0.03388071805238724, 0.05594012886285782, -0.054919835180044174, -0.02890239842236042, 0.040143199265003204, -0.0033511302899569273, 0.04232450947165489, -0.05432173237204552, 0.05256260931491852, -0.027512691915035248, 0.012401821091771126, -0.03673049807548523, 0.010633901692926884, 0.06480611115694046, -0.0025177455972880125, 0.016957949846982956, 0.02895517274737358, 0.02533137798309326, 0.00019322872685734183, -0.03887663036584854, 0.012445799075067043, 0.0369064100086689, 0.0004977769567631185, 0.04010801389813423, -0.004534140694886446, -0.010027003474533558, 0.034654732793569565, -0.02387130632996559, -0.017081089317798615, 0.046511225402355194, -0.01001820806413889, -0.023220431059598923, 0.019948460161685944, 0.0036809658631682396, -0.002363822190091014, -0.006438392214477062, 0.02376575767993927, 0.01658853515982628, -0.005400509107857943, -0.011962039396166801, 0.031048528850078583, -0.002691458910703659, 0.05066275596618652, -0.010202916339039803, -0.06670596450567245, 0.02288619615137577, 0.00835143867880106, 0.012208317406475544, -0.054743923246860504, -0.017292184755206108, 0.06473574787378311, 0.0016447805101051927, 0.07303880900144577, -0.04327443614602089, 0.01022050715982914, -0.02937736175954342, 0.04320407286286354, 0.03263173997402191, 0.0317697711288929, -0.025014735758304596, 0.012824010103940964, 0.014486381784081459, -0.020704884082078934, 0.009002314880490303, -0.021443715319037437, 0.005189414136111736, 0.06698742508888245, 0.028585756197571754, -0.05259779095649719, 0.0007355335401371121, -0.0206169281154871, 0.057417791336774826, -0.005796311888843775, 0.06311734765768051, 0.04063575342297554, -0.05822698771953583, 0.04552611708641052, -0.036765679717063904, -0.004193310625851154, 0.032491009682416916, 0.0346723236143589, -0.014847001992166042, -0.03273728862404823, 0.0037535298615694046, -0.06346917897462845, -0.05273852124810219, 0.060408301651477814, -0.03824334591627121, -0.04408363625407219, -0.004960728343576193, 0.03578057140111923, -0.028005246073007584, 0.06149895861744881, 0.010897769592702389, 0.02691458910703659, 0.0016161947278305888, 0.03405662998557091, 0.006680271588265896, 0.04478728398680687, 0.04630013182759285, -0.017679190263152122, 0.022411232814192772, -0.05256260931491852, -0.03729341924190521, 0.008597715757787228, -0.05168304964900017, -0.03507692366838455, 0.014829411171376705, 0.023431524634361267, 0.008879175409674644, 0.020986342802643776, 0.04390772059559822, 0.05601049214601517, 0.03620276227593422, 0.01787269487977028, -0.030978165566921234, 0.03556947782635689, -0.07018902897834778, 0.020740065723657608, 0.013554046861827374, -0.05185896158218384, -0.008078774437308311, -0.060760125517845154, -0.042817067354917526, 0.08880055695772171, -0.010194120928645134, 0.03484823554754257, -0.023343568667769432, -0.02784692496061325, -0.013941053301095963, 0.0030432837083935738, 0.012639302760362625, -0.0018129966920241714, -0.019367950037121773, 0.009279376827180386, 0.017846308648586273, 0.017617622390389442, -0.05358290299773216, 0.0013655195944011211, -0.0044175987131893635, -0.052457064390182495, 0.02628130465745926, 0.0786680057644844, -0.036695316433906555, -0.014899776317179203, 0.047214873135089874, 0.03929881751537323, -0.050768304616212845, 0.051296040415763855, 0.019579043611884117, -0.026263713836669922, -0.02749510109424591, -0.057664066553115845, -0.02371298521757126, -0.00448136730119586, 0.009939047507941723, 0.04538538679480553, -0.012516163289546967, 0.06547457724809647, -0.060865674167871475, -0.003636987879872322, -0.022868605330586433, -0.012867988087236881, -0.006495563313364983, 0.018646709620952606, -0.013967440463602543, 0.015190031379461288, 0.03736378252506256, -0.0446113720536232, -0.024416634812951088, -0.03328261524438858, -0.07613486796617508, -0.008624102920293808, -0.027987655252218246, -0.04647604376077652, -0.0033533291425555944, -0.00825908500701189, 0.021672401577234268, 0.004692461807280779, -0.027284005656838417, 0.036941591650247574, -0.0636802688241005, 0.011205616407096386, 0.035182468593120575, 0.011302368715405464, -0.03217436745762825, 0.07289807498455048, -0.03989692032337189, -0.008795617148280144, 0.028532983735203743, 0.03293079137802124, 0.02877926081418991, -0.043415166437625885, 0.012999922968447208, 0.0030960573349148035, -0.06983720511198044, -0.012454594485461712, -0.05942319333553314, 0.00492114806547761, -0.008927552029490471, 0.01875225640833378, -0.052527427673339844, 0.05389954522252083, 0.020229920744895935, -0.06033793464303017, 0.06491165608167648, 0.005501658655703068, 0.01680842414498329, -0.06892246007919312, 0.06149895861744881, 0.02510269172489643, -0.015242804773151875, 0.009921456687152386, -0.024856414645910263, 0.007383920717984438, -0.04658158868551254, 0.0002061472914647311, -0.014750250615179539, -0.01047558058053255, 0.025560064241290092, -0.013650798238813877, 0.001344630029052496, -0.009939047507941723, -0.018189337104558945, -0.03053838387131691, 0.00779291708022356, 0.0011011013993993402, -0.08640814572572708, -0.0377156063914299, 0.03627312555909157, -0.04608903452754021, -0.01518123596906662, -0.0066758738830685616, -0.04742597043514252, -0.026404444128274918, -0.024838823825120926, -0.03315947949886322, 0.0022087993565946817, -0.028708895668387413, -0.03030969761312008, 0.0063196513801813126, -0.02072247490286827, -0.01868189126253128, 0.0244694072753191, 0.010976930148899555, 0.05031093209981918, 0.06234333664178848, 0.007493866141885519, -0.0720537006855011, 0.023730576038360596, 0.027758968994021416, -0.04911472648382187, -0.03018656000494957, 0.0007113455794751644, -0.017951855435967445, -0.037926703691482544, -0.007907260209321976, -0.03461955115199089, -0.01792546920478344, 0.06255443394184113, -0.04404845088720322, -0.03398626670241356, -0.047496333718299866, -0.010167733766138554, 0.008487771265208721, 0.0404246561229229, 0.05966946855187416, 0.0012566738296300173, -0.06406727433204651, -0.010132551193237305, -0.018769847229123116, 0.03312429413199425, 0.01926240138709545, -0.02049378864467144, 0.00861530750989914, 0.032895609736442566, 0.034250132739543915, 0.030573565512895584, -0.016535760834813118, 0.003885464044287801, -0.0736720934510231, -0.08113077282905579, 0.05833253636956215, -0.044998377561569214, 0.04992392659187317, 0.030344881117343903, -0.0823269784450531, -0.025190647691488266, 0.008228300139307976, -0.06751515716314316, 0.03919327259063721, 0.015744155272841454, -0.029623638838529587, -0.036519404500722885, 0.07500902563333511, -0.01891057752072811, -0.0026122983545064926, 0.04397808760404587, -0.02130298502743244, 0.05203487351536751, 0.03472509607672691, -0.031734589487314224, 0.04675750434398651, 0.006702260579913855, 0.032543785870075226, 0.04914991185069084, -0.016148753464221954, -0.006759432144463062, 0.09351500868797302, -0.016720468178391457, 0.020863205194473267, 0.046863049268722534, -0.05185896158218384, -0.040143199265003204, 0.0015535259153693914, -0.04151531308889389, -0.04397808760404587, 0.028163567185401917, 0.12433484941720963, -0.01699313335120678, 0.00957842729985714, -0.04169122502207756 ]
54,196
nbconvert.exporters.templateexporter
_register_filter
Register a filter. A filter is a function that accepts and acts on one string. The filters are accessible within the Jinja templating engine. Parameters ---------- name : str name to give the filter in the Jinja engine filter : filter
def _register_filter(self, environ, name, jinja_filter): """ Register a filter. A filter is a function that accepts and acts on one string. The filters are accessible within the Jinja templating engine. Parameters ---------- name : str name to give the filter in the Jinja engine filter : filter """ if jinja_filter is None: msg = "filter" raise TypeError(msg) isclass = isinstance(jinja_filter, type) constructed = not isclass # Handle filter's registration based on it's type if constructed and isinstance(jinja_filter, (str,)): # filter is a string, import the namespace and recursively call # this register_filter method filter_cls = import_item(jinja_filter) return self._register_filter(environ, name, filter_cls) if constructed and callable(jinja_filter): # filter is a function, no need to construct it. environ.filters[name] = jinja_filter return jinja_filter if isclass and issubclass(jinja_filter, HasTraits): # filter is configurable. Make sure to pass in new default for # the enabled flag if one was specified. filter_instance = jinja_filter(parent=self) self._register_filter(environ, name, filter_instance) return None if isclass: # filter is not configurable, construct it filter_instance = jinja_filter() self._register_filter(environ, name, filter_instance) return None # filter is an instance of something without a __call__ # attribute. msg = "filter" raise TypeError(msg)
(self, environ, name, jinja_filter)
[ 0.059942979365587234, -0.07615943998098373, -0.016469839960336685, -0.004759964998811483, -0.001864168792963028, 0.014288944192230701, 0.0019637118093669415, -0.03623364865779877, 0.030116280540823936, -0.022315729409456253, 0.049699101597070694, -0.0272566806524992, 0.014669017866253853, 0.01020768191665411, -0.03366363048553467, -0.020668745040893555, 0.03433328494429588, 0.05918283388018608, 0.055744074285030365, -0.019546624273061752, -0.02589927613735199, 0.002642414066940546, 0.02410750277340412, 0.003907062578946352, -0.004253200720995665, -0.010415816679596901, -0.003764535067602992, 0.015202930197119713, -0.0016616892535239458, -0.06066692993044853, 0.012687207199633121, -0.042930178344249725, 0.034188494086265564, -0.025555402040481567, 0.023655034601688385, -0.009728065691888332, 0.0064748190343379974, 0.07550788670778275, 0.0060087768360972404, -0.00793629139661789, 0.02425229363143444, 0.02519342675805092, -0.03858648240566254, -0.03522012010216713, 0.011284555308520794, 0.0191484522074461, -0.015954026952385902, 0.04274919256567955, -0.020252473652362823, 0.05777113512158394, -0.009845706634223461, 0.004696619231253862, 0.022731998935341835, 0.028433099389076233, -0.0032193108927458525, -0.0020146144088357687, 0.006352652795612812, 0.039419025182724, 0.027401471510529518, 0.002481787698343396, 0.0009880773723125458, 0.03978100046515465, 0.023998910561203957, 0.011447444558143616, -0.009963348507881165, 0.02640604041516781, -0.04325595498085022, -0.0013607979053631425, -0.026297448202967644, 0.00953802838921547, -0.05349983274936676, -0.013085379265248775, -0.0016877062153071165, 0.025935474783182144, -0.02696710266172886, -0.0109587786719203, -0.04651372507214546, -0.02568209171295166, -0.019745709374547005, -0.04028776288032532, 0.10605853796005249, 0.020885929465293884, -0.03807971999049187, 0.0014739149482920766, 0.06707388162612915, 0.011854665353894234, -0.03558209538459778, -0.01677751913666725, 0.022207137197256088, 0.034043703228235245, -0.07746254652738571, 0.0031152432784438133, 0.04434187710285187, 0.01728428341448307, 0.07116419076919556, 0.03417039290070534, 0.024849550798535347, 0.00412650965154171, 0.02112121321260929, -0.016370298340916634, 0.0593276247382164, -0.00544319162145257, -0.009329893626272678, -0.011094518937170506, 0.026025967672467232, 0.0049273781478405, -0.012316183187067509, 0.0644676610827446, -0.007501922082155943, -0.008578795939683914, 0.03619745373725891, 0.012144245207309723, 0.003529251553118229, -0.022731998935341835, 0.005841363687068224, 0.011881813406944275, 0.005397945176810026, 0.007868421263992786, 0.025935474783182144, -0.030043885111808777, -0.01256051566451788, 0.000574351754039526, 0.010940680280327797, 0.007728156168013811, 0.03415229544043541, 0.022750098258256912, -0.007198768202215433, 0.005158137064427137, 0.03663182258605957, 0.0386950746178627, -0.016135014593601227, 0.01927514374256134, -0.06095650792121887, -0.026333646848797798, 0.05208813399076462, -0.03181755915284157, -0.07970678806304932, 0.02269580215215683, -0.05277588590979576, 0.09483732283115387, -0.02106691710650921, -0.04245961084961891, -0.05465815216302872, 0.015601102262735367, -0.014397536404430866, -0.03655942529439926, 0.008596895262598991, 0.060992706567049026, 0.03636034205555916, -0.00171598547603935, -0.03605266287922859, 0.047129083424806595, -0.0016401970060542226, 0.03999818488955498, 0.031202204525470734, 0.050821222364902496, -0.0023799824994057417, 0.02789013646543026, 0.02626125141978264, -0.030604945495724678, -0.0066693807020783424, 0.018551195040345192, -0.11901722103357315, -0.0007708925986662507, -0.015275324694812298, -0.02951902151107788, 0.0322338305413723, 0.034459974616765976, 0.027437668293714523, 0.03208903968334198, 0.02170037291944027, -0.05646802484989166, 0.008741684257984161, 0.06338173896074295, 0.03248721361160278, 0.13016603887081146, 0.0012522055767476559, 0.00858332123607397, -0.012316183187067509, -0.014750462025403976, -0.016858963295817375, -0.011583184823393822, -0.04119269922375679, 0.046911899000406265, 0.0022182250395417213, -0.019401833415031433, 0.015818286687135696, -0.0169404074549675, 0.031346991658210754, 0.0688837543129921, 0.01638839580118656, -0.007741730194538832, 0.030985018238425255, 0.008402333594858646, -0.03409799933433533, -0.0039409976452589035, -0.008986017666757107, -0.011619382537901402, -0.04365412890911102, -0.001959186978638172, -0.06106510013341904, 0.015139584429562092, -0.006574362050741911, -0.00044002526556141675, -0.015347719192504883, 0.052051935344934464, 0.05263109505176544, 0.0692819207906723, -0.0545133613049984, -0.045644987374544144, -0.043219756335020065, -0.02703949622809887, -0.026786115020513535, 0.048975151032209396, -0.021609878167510033, 0.050748828798532486, 0.007678384426981211, -0.010967828333377838, 0.011266456916928291, 0.009013165719807148, 0.04944571852684021, -0.0031039314344525337, 0.004520156886428595, 0.00654721399769187, 0.008900048211216927, -0.012144245207309723, 0.02128410153090954, 0.006130943540483713, -0.010442964732646942, -0.00137776555493474, 0.038224510848522186, 0.02646033652126789, 0.06244060397148132, -0.007022305857390165, 0.021718470379710197, -0.027944432571530342, 0.07615943998098373, 0.009755213744938374, -0.0034455449786037207, 0.005425093229860067, 0.019818104803562164, -0.027437668293714523, -0.013076329603791237, -0.048830363899469376, 0.006931812036782503, -0.02674991637468338, -0.013682636432349682, 0.029138948768377304, 0.0055201114155352116, -0.04452286660671234, -0.0382969044148922, 0.0460793562233448, -0.021899458020925522, -0.059798192232847214, -0.020668745040893555, 0.011248358525335789, 0.010144336149096489, 0.029844800010323524, -0.02718428708612919, -0.005823265295475721, -0.01985430158674717, -0.022225234657526016, -0.019510427489876747, -0.009035789407789707, -0.019800005480647087, -0.026514634490013123, 0.03789873048663139, 0.011574135161936283, -0.011673678644001484, 0.025265822187066078, -0.042930178344249725, 0.013302563689649105, 0.03029726818203926, 0.007796026300638914, -0.02539251185953617, -0.038658879697322845, 0.028197815641760826, 0.03626984730362892, 0.016153112053871155, 0.026442239060997963, 0.040360160171985626, -0.02930183708667755, -0.004420613870024681, 0.043436940759420395, -0.013800278306007385, -0.06696528941392899, -0.005692049395292997, 0.10547937452793121, -0.00572824664413929, -0.02036106586456299, -0.00848377775400877, 0.020017191767692566, 0.039093248546123505, 0.034966737031936646, -0.03721098229289055, 0.008931721560657024, -0.0438351146876812, -0.07275687903165817, 0.018822675570845604, -0.07485633343458176, 0.013474501669406891, -0.039310432970523834, 0.014687116257846355, 0.02332925796508789, -0.0012046964839100838, 0.021392693743109703, 0.012334281578660011, 0.013058231212198734, -0.014994794502854347, 0.04673090949654579, 0.011664628982543945, -0.007669335231184959, -0.0056739505380392075, -0.004445499740540981, 0.015239126980304718, -0.025374414399266243, 0.016469839960336685, -0.024994339793920517, -0.03386271744966507, 0.08122707903385162, 0.020252473652362823, 0.03337405249476433, -0.003110718447715044, -0.0028098272159695625, 0.014144154265522957, 0.023528343066573143, 0.052956871688365936, -0.029555220156908035, 0.03393511101603508, 0.014497079886496067, -0.05386180803179741, 0.04046875238418579, 0.04445046931505203, 0.022442420944571495, -0.00010187603038502857, 0.005013347137719393, -0.01774580031633377, -0.03174516558647156, -0.06464865058660507, -0.11691776663064957, -0.028994159772992134, -0.006931812036782503, -0.04604315757751465, 0.03409799933433533, -0.06298356503248215, -0.021302200853824615, -0.04531921073794365, -0.008031309582293034, 0.05762634426355362, 0.0030270118732005358, 0.08173384517431259, -0.023093974217772484, 0.05896564945578575, 0.02716618776321411, 0.010614902712404728, -0.051110804080963135, -0.0036763036623597145, 0.06935431808233261, -0.031057413667440414, 0.01601737178862095, 0.059001848101615906, 0.053246453404426575, -0.05585267022252083, -0.04687570035457611, 0.07536309212446213, -0.01511243637651205, 0.025591598823666573, 0.02305777743458748, -0.019456131383776665, -0.04850458726286888, 0.019220847636461258, 0.0008263199706561863, 0.017094247043132782, -0.060160163789987564, -0.026442239060997963, -0.0037735842633992434, 0.07232251018285751, -0.020505856722593307, -0.0541875846683979, 0.03516582399606705, 0.025302018970251083, 0.08166145533323288, -0.010823038406670094, 0.00435048108920455, -0.023437850177288055, -0.033681727945804596, -0.05429617688059807, 0.014958596788346767, 0.03934663161635399, -0.009809509851038456, 0.017944887280464172, -0.07373420894145966, 0.0059409067034721375, 0.04028776288032532, -0.024813354015350342, -0.023600738495588303, -0.03303017467260361, 0.0056739505380392075, -0.03188995644450188, 0.04050494730472565, 0.01927514374256134, -0.023944614455103874, 0.03742816671729088, 0.022931085899472237, 0.04546399787068367, -0.02716618776321411, 0.0530654639005661, 0.02944662794470787, -0.010198632255196571, 0.024795254692435265, 0.037174783647060394, -0.02347404696047306, -0.08354371786117554, -0.04394370689988136, -0.033174965530633926, -0.011927060782909393, 0.0013291251379996538, 0.0034500695765018463, -0.01846974901854992, 0.007266638334840536, -0.0368490070104599, -0.030188674107193947, 0.004302971996366978, 0.009981447830796242, -0.0012148770038038492, 0.0036446310114115477, 0.007814125157892704, 0.009022214449942112, -0.024559970945119858, 0.03858648240566254, -0.057155776768922806, 0.01732953079044819, -0.027564359828829765, -0.05038685351610184, 0.032396718859672546, -0.02148318849503994, 0.02206234633922577, -0.02284059301018715, 0.0003515112039167434, 0.0586036741733551, 0.014035562053322792, 0.028994159772992134, 0.011574135161936283, 0.002671824535354972, -0.05444096773862839, 0.023709330707788467, -0.08383329957723618, 0.10381428897380829, -0.013040131889283657, -0.08115468919277191, 0.06624133884906769, -0.006931812036782503, -0.02427039109170437, -0.02611646242439747, 0.03277679160237312, -0.015981175005435944, 0.051472775638103485, -0.01202660333365202, 0.01284104585647583, 0.035672590136528015, -0.039238039404153824, 0.0361250564455986, 0.01643364317715168, -0.0802859514951706, -0.02703949622809887, 0.0065200659446418285, -0.026007868349552155, -0.020523956045508385, 0.02099452167749405, -0.019220847636461258, 0.010777791030704975, 0.042712993919849396, -0.06352652609348297, -0.016415543854236603, -0.00601330166682601, 0.05476674437522888, -0.020813534036278725, 0.0030699963681399822, -0.0011436132481321692, 0.007280212361365557, -0.043219756335020065, 0.005171711090952158, 0.01063300110399723, 0.02682231180369854, -0.010904482565820217, -0.061354681849479675, 0.08817699551582336, 0.0067372508347034454, 0.03185375779867172, 0.02845119684934616, -0.024668563157320023, 0.018804576247930527, -0.015040040947496891, 0.0017770687118172646, -0.009963348507881165, -0.023890318349003792, 0.03266819939017296, 0.031618475914001465, 0.0500972718000412, -0.018587391823530197, -0.014632820151746273, -0.0278177410364151, 0.0004335210542194545, 0.007406903430819511, 0.030279168859124184, -0.09527169167995453, 0.00008978664845926687, -0.004800687078386545, -0.05230531841516495, -0.01835210807621479, 0.02611646242439747, -0.0012216640170663595, -0.016524136066436768, -0.004612912889569998, 0.03550970181822777, -0.04951811581850052, -0.027944432571530342, -0.00551106221973896, -0.02325686253607273, 0.03836929798126221, 0.008999591693282127, 0.015818286687135696, 0.041663266718387604, -0.02512103132903576, 0.011818467639386654, -0.04028776288032532, 0.024921946227550507, 0.013972216285765171, -0.03402560576796532, -0.0002416462666587904, 0.0005593637470155954, 0.015239126980304718, -0.03494863957166672, -0.042712993919849396, 0.01184561662375927, 0.0320347435772419, -0.020650645717978477, -0.014922400005161762, 0.010759692639112473, -0.006931812036782503, 0.010687298141419888, 0.024849550798535347, 0.08093750476837158, -0.0012341068359091878, 0.010307224467396736, -0.0423872172832489, -0.042712993919849396, 0.009592324495315552, 0.009592324495315552, -0.049771495163440704, -0.06620513647794724, -0.03478575125336647, -0.05762634426355362, 0.015248176641762257, 0.03563639149069786, -0.045934565365314484, 0.020795436576008797, 0.061282284557819366, -0.05614224821329117, 0.05281208083033562, 0.005624179262667894, 0.051689960062503815, -0.019329439848661423, -0.0021480924915522337, -0.002366408472880721, -0.06225961819291115, -0.004110672976821661, 0.008542598225176334, -0.009167004376649857, -0.024849550798535347, 0.009180578403174877, -0.0013155511114746332, -0.04235101863741875, 0.03487624600529671, -0.033410247415304184, 0.008547123521566391, 0.061933841556310654, 0.06309215724468231, -0.0109587786719203, -0.040866922587156296, -0.019438032060861588, -0.01526627503335476, -0.05433237552642822, -0.05020586773753166, -0.06421428173780441, -0.021519385278224945, 0.06794261932373047, 0.06095650792121887, -0.011175963096320629, 0.012804849073290825, 0.004422876052558422, -0.009501831606030464, 0.010479162447154522, -0.038803666830062866, 0.03395320847630501, -0.004447761923074722, -0.0014150941278785467, -0.01742907240986824, -0.047418661415576935, -0.022098544985055923, -0.03920184075832367, -0.030405860394239426, 0.03400750458240509, -0.0431111641228199, 0.026858508586883545, -0.06001537665724754, -0.0070494539104402065, -0.017926787957549095, -0.025700191035866737, -0.02709379233419895, -0.010090040042996407, 0.0014083071146160364, 0.05024206265807152, 0.11257407814264297, 0.04347313940525055, -0.007601465098559856, -0.05045924708247185, -0.02810732088983059, 0.055020127445459366, -0.000813311489764601, -0.04843218997120857, 0.05067643150687218, -0.020741140469908714, 0.014080808497965336, -0.022008050233125687, -0.0825301930308342, 0.03634224086999893, -0.039382826536893845, 0.007818649522960186, 0.0040767379105091095, 0.014117006212472916, -0.002520247595384717, 0.006397899705916643, -0.06949910521507263, -0.03956381604075432, 0.028342604637145996, -0.03811591863632202, 0.0019908598624169827, -0.02716618776321411, 0.029283737763762474, 0.002357359044253826, -0.07007826864719391, 0.007741730194538832, 0.004431925714015961, 0.017619110643863678, -0.010560606606304646, 0.01800823211669922, -0.023854121565818787, 0.04636893421411514, -0.06410568952560425, -0.026930904015898705, 0.05335504561662674, -0.005913758650422096, 0.025808783248066902, -0.06537260115146637, 0.015420114621520042, 0.010216730646789074, -0.002832450671121478, 0.015890682116150856, 0.018288763239979744, 0.023727430030703545, -0.020397264510393143, 0.04340074583888054, 0.038658879697322845, 0.03789873048663139, -0.050748828798532486, 0.01992669701576233, -0.04231481999158859, -0.019944796338677406, 0.026225054636597633, -0.016135014593601227, -0.034532368183135986, 0.021537484601140022, -0.06464865058660507, -0.05954480916261673, 0.0030270118732005358, 0.003870865097269416, 0.01258766371756792, 0.018822675570845604, 0.01009908877313137, -0.06110129877924919, -0.023274961858987808, -0.009275597520172596, 0.04387131333351135, 0.007090175990015268, 0.021302200853824615, -0.031111709773540497, -0.08520880341529846, 0.05997917801141739, 0.018551195040345192, -0.0023347355891019106, -0.024849550798535347, 0.00435726810246706, 0.017854392528533936, 0.0033686254173517227, -0.0366499200463295, -0.007592415437102318, -0.03655942529439926, 0.02184516191482544, 0.05831409618258476, 0.015492509119212627, 0.017944887280464172, 0.037247177213430405, -0.04781683534383774, -0.004986199084669352, -0.03514772653579712, -0.04901134967803955, -0.023745529353618622, 0.040360160171985626, -0.007094700820744038, -0.014641868881881237, 0.015963075682520866, 0.06399709731340408, -0.017519567161798477, -0.03683090582489967, 0.009719016030430794, -0.05179855227470398, 0.011927060782909393, 0.06225961819291115, -0.010560606606304646, 0.08173384517431259, -0.0020598613191396, -0.01155603677034378, 0.04220622777938843, 0.04597076401114464, 0.02617075853049755, -0.06482964009046555, -0.04253200441598892, 0.020035289227962494, -0.040866922587156296, 0.014433734118938446, 0.053029268980026245, -0.11156054586172104, -0.0115198390558362, 0.03163657337427139, -0.06696528941392899, -0.06899234652519226, 0.0020824847742915154, -0.05404279753565788, -0.02077733725309372, 0.0137278838083148, 0.004963575396686792, -0.011293604969978333, -0.02646033652126789, 0.05911044031381607, 0.0032079992815852165, 0.03760915249586105, 0.012515269219875336, -0.025410611182451248, 0.08310934901237488, 0.012035652995109558, 0.040866922587156296, -0.031491782516241074, -0.022677702829241753, 0.06718247383832932, 0.013546896167099476, -0.017899639904499054, 0.04387131333351135, -0.05867607146501541, -0.013275415636599064, -0.010406767018139362, 0.04340074583888054, -0.00796343944966793, -0.06537260115146637, 0.14421065151691437, 0.016913259401917458, 0.02667752280831337, -0.02503053843975067 ]
54,199
nbconvert.exporters.exporter
_validate_preprocessor
null
def _validate_preprocessor(self, nbc, preprocessor): try: nbformat.validate(nbc, relax_add_props=True) except nbformat.ValidationError: self.log.error("Notebook is invalid after preprocessor %s", preprocessor) raise
(self, nbc, preprocessor)
[ -0.02652556821703911, 0.010521695017814636, -0.027581144124269485, 0.021894659847021103, -0.03939677029848099, 0.011509168893098831, 0.040724750608205795, -0.0226778294891119, -0.011798599734902382, -0.01079410221427679, 0.03946487233042717, -0.02882399782538414, 0.026065882295370102, -0.01961325667798519, -0.018115023151040077, -0.04838617891073227, 0.0385795496404171, -0.026082908734679222, 0.016395457088947296, -0.050190869718790054, -0.07845302671194077, -0.032569583505392075, -0.01988566294312477, 0.05802255496382713, 0.02431226707994938, 0.023682327941060066, 0.04269969463348389, 0.011543218977749348, 0.01553567498922348, 0.03355705738067627, 0.014701430685818195, -0.03694511204957962, -0.00023383318330161273, 0.029743369668722153, 0.06912311166524887, 0.00003494861812214367, -0.006456881761550903, -0.04586641862988472, -0.10521695762872696, 0.013509652577340603, 0.0066143665462732315, 0.005405563395470381, 0.011236761696636677, 0.009610836394131184, -0.015722954645752907, -0.026457466185092926, -0.018881164491176605, 0.0536981038749218, -0.05403861030936241, 0.03445940464735031, -0.006303653120994568, -0.05087188631296158, 0.014454562216997147, 0.050769735127687454, -0.0486585833132267, -0.018115023151040077, 0.05894192308187485, 0.03636624664068222, 0.05771609768271446, 0.015586751513183117, -0.08424166589975357, -0.006844209507107735, 0.005895043723285198, -0.09588703513145447, 0.04201868176460266, -0.03493611514568329, -0.0027985495980829, -0.014173642732203007, -0.013986364006996155, 0.009806628338992596, -0.039635125547647476, -0.007678454276174307, -0.033148448914289474, 0.01617412641644478, 0.02126472070813179, -0.0326717384159565, -0.06207459792494774, 0.032620660960674286, 0.0040563009679317474, 0.013603292405605316, 0.0385795496404171, -0.0018844986334443092, 0.02043047733604908, 0.011083533056080341, 0.03854550048708916, -0.0318034403026104, 0.0631982758641243, 0.05240417271852493, 0.0001690568751655519, 0.0463431291282177, -0.011092046275734901, -0.030918121337890625, 0.012649870477616787, -0.035344723612070084, 0.022797007113695145, 0.012786073610186577, 0.034578580409288406, 0.0020866752602159977, -0.017978819087147713, -0.03994158282876015, 0.008929820731282234, -0.014769531786441803, -0.019664334133267403, -0.059146229177713394, 0.024806004017591476, 0.037592075765132904, 0.009993907995522022, 0.0013673522043973207, -0.03301224485039711, -0.009730014018714428, 0.01092179212719202, -0.0798831656575203, -0.03657055273652077, 0.002600629348307848, 0.07436693459749222, -0.0072868699207901955, 0.017050934955477715, 0.005563048645853996, 0.002402709098532796, 0.004975672345608473, -0.007635890506207943, -0.006507957819849253, -0.026678796857595444, 0.000369238288840279, 0.022201117128133774, 0.025521069765090942, 0.004343604668974876, 0.04787541553378105, 0.08601230382919312, -0.019136546179652214, 0.04052044451236725, 0.004066941794008017, -0.04637718200683594, -0.08553559333086014, -0.012956326827406883, 0.027291711419820786, 0.02964121662080288, -0.01787666603922844, -0.02376745454967022, -0.03752397373318672, 0.03280793875455856, 0.007027232553809881, -0.01051318272948265, -0.0017727694939821959, -0.021877635270357132, 0.06987223029136658, -0.07007653266191483, 0.07504794746637344, -0.024499546736478806, 0.018847115337848663, 0.029283683747053146, 0.02463574893772602, 0.01696580834686756, -0.049646057188510895, 0.009951344691216946, -0.020226171240210533, 0.023392895236611366, -0.016216691583395004, 0.023614225909113884, -0.00048149950453080237, 0.06101902201771736, 0.04641123116016388, 0.017119036987423897, 0.04671768844127655, -0.009781090542674065, 0.06313017010688782, -0.017757488414645195, -0.07600137591362, -0.009031972847878933, -0.0004080774961039424, 0.01315211970359087, -0.029436912387609482, 0.0017568081384524703, 0.04440223425626755, -0.004575575701892376, 0.05843116343021393, 0.024176063016057014, 0.021128518506884575, -0.016157101839780807, 0.04286995157599449, -0.006384524051100016, 0.027632219716906548, -0.00832116324454546, 0.023937707766890526, 0.006580315995961428, 0.03721751645207405, -0.021673331037163734, -0.04814782366156578, 0.05294898524880409, -0.041814375668764114, 0.05883977189660072, 0.014037439599633217, 0.01845552958548069, 0.02909640409052372, -0.017374418675899506, -0.04763706028461456, 0.023597199469804764, 0.005094849970191717, 0.026202086359262466, -0.0240398608148098, 0.0103684663772583, 0.02938583493232727, -0.017842616885900497, 0.022609727457165718, -0.024124987423419952, 0.0035817178431898355, -0.040929052978754044, 0.03721751645207405, 0.007980654947459698, -0.0009571465197950602, 0.02575942501425743, -0.014752506278455257, 0.04481084644794464, 0.07736340165138245, 0.006814415100961924, -0.013203195296227932, 0.02880697138607502, -0.00636749854311347, -0.010828152298927307, -0.0030879813712090254, 0.0787254348397255, 0.036740805953741074, 0.04842022806406021, -0.04889694228768349, -0.014556714333593845, -0.006414318457245827, 0.03127565607428551, 0.014420511201024055, 0.00013713425141759217, 0.04218893498182297, -0.04317640885710716, 0.01007052231580019, -0.07130236178636551, 0.02438036911189556, 0.04784136638045311, -0.006112117785960436, -0.034255098551511765, 0.0001079383582691662, -0.013850160874426365, 0.035140421241521835, -0.007146410644054413, 0.006559034343808889, -0.025810502469539642, -0.033659208565950394, 0.029011277481913567, -0.005035261157900095, 0.05706913024187088, 0.05345974862575531, -0.02298428677022457, 0.0503951758146286, -0.02906235307455063, 0.04876073822379112, 0.00198984332382679, 0.0010459978366270661, -0.06316422671079636, 0.09629564732313156, -0.08349254727363586, -0.01722119003534317, 0.04143981635570526, -0.01413107942789793, 0.006290884222835302, 0.01161132100969553, 0.0689869076013565, 0.0525403767824173, 0.02546999417245388, 0.012343413196504116, 0.036740805953741074, 0.04004373401403427, 0.03895410895347595, 0.030424384400248528, -0.004039275459945202, 0.0418824777007103, 0.01635289378464222, 0.029028302058577538, 0.021128518506884575, -0.07252819091081619, 0.0017685131169855595, 0.06016775220632553, 0.029879571869969368, 0.042427290230989456, 0.10256098955869675, 0.004537268541753292, 0.01315211970359087, 0.05291493237018585, 0.016718940809369087, 0.021690355613827705, 0.020481552928686142, -0.01396933849900961, -0.015084502287209034, -0.021469024941325188, -0.012828636914491653, -0.02458467334508896, 0.08396925777196884, 0.016378432512283325, -0.009483146481215954, 0.0016376303974539042, 0.010308877564966679, -0.02237137220799923, -0.06101902201771736, -0.0043244510889053345, -0.02764924429357052, 0.034833963960409164, 0.005363000091165304, -0.03199072182178497, -0.04191652685403824, -0.02291618473827839, 0.03445940464735031, 0.02603183127939701, -0.028960200026631355, -0.03776232898235321, 0.006167449988424778, 0.05305113643407822, -0.01794476807117462, 0.01064938586205244, 0.06602448970079422, -0.033727310597896576, 0.03107134997844696, -0.009551247581839561, -0.014888709411025047, -0.01345006376504898, -0.015867670997977257, -0.030713817104697227, 0.03195666894316673, -0.02271188050508499, -0.05785229802131653, -0.019204648211598396, 0.029470961540937424, -0.0476711131632328, -0.039873480796813965, 0.006116373930126429, -0.040179938077926636, -0.02065180614590645, -0.004256349056959152, 0.001084837014786899, 0.027478991076350212, -0.0930267721414566, 0.007525225635617971, -0.01356072910130024, 0.022201117128133774, -0.026151010766625404, 0.002532527782022953, 0.0038264580070972443, 0.03786448389291763, -0.016957296058535576, -0.026219110935926437, -0.048556432127952576, -0.07218768447637558, 0.016395457088947296, -0.02764924429357052, 0.011219737119972706, -0.061087124049663544, 0.030867045745253563, -0.017757488414645195, 0.004005224443972111, 0.007576301693916321, -0.04637718200683594, -0.024754926562309265, -0.03331870213150978, 0.007669941522181034, -0.012275311164557934, 0.05822685733437538, 0.007780606392771006, -0.018830088898539543, 0.022473523393273354, -0.007733786478638649, 0.016540173441171646, -0.03444238007068634, 0.004066941794008017, 0.03076489269733429, -0.023971758782863617, 0.008704233914613724, -0.014590765349566936, 0.012675408273935318, -0.06561587750911713, 0.006439856253564358, 0.017842616885900497, 0.0492374487221241, -0.0016142204403877258, -0.03270578756928444, -0.010845177806913853, -0.010453593917191029, 0.007235793862491846, -0.015765517950057983, -0.036808907985687256, -0.07389022409915924, -0.03949892148375511, -0.03447642922401428, 0.027223609387874603, -0.01571444235742092, -0.03277388960123062, -0.02325669303536415, 0.013126580975949764, 0.03609384223818779, 0.025112461298704147, -0.033437881618738174, 0.007887015119194984, -0.007661428768187761, -0.01205398142337799, 0.05230202153325081, -0.04470869153738022, 0.009806628338992596, -0.010743025690317154, -0.07273249328136444, 0.055809251964092255, 0.037898533046245575, 0.0023984527215361595, -0.018115023151040077, 0.03966917470097542, 0.027768421918153763, -0.008444597013294697, 0.043482862412929535, 0.0016525276005268097, 0.008465878665447235, -0.02204788848757744, -0.0531192384660244, 0.030543562024831772, 0.01636992022395134, -0.05894192308187485, -0.031479958444833755, -0.03192261978983879, -0.00965339969843626, 0.011721986345946789, 0.07886163890361786, 0.047126300632953644, 0.03306332230567932, 0.012351925484836102, -0.03185451775789261, -0.0035242571029812098, 0.03158211335539818, 0.012922276742756367, -0.05128049477934837, 0.04273374751210213, -0.0041839913465082645, -0.0029624190647155046, 0.0005344378296285868, -0.10337821394205093, -0.05036112293601036, 0.0045883446000516415, 0.005094849970191717, 0.012888225726783276, 0.06439004838466644, 0.02155415341258049, 0.022269219160079956, 0.03578738495707512, 0.012105057016015053, 0.026151010766625404, 0.03319952264428139, 0.017689388245344162, -0.05655837059020996, -0.0335400328040123, -0.03156508505344391, -0.022167066112160683, -0.04229108616709709, -0.03110540099442005, 0.038239043205976486, -0.029283683747053146, -0.0841054618358612, -0.04671768844127655, 0.03280793875455856, -0.015246243216097355, -0.008623363450169563, 0.059486739337444305, -0.027904625982046127, 0.029794445261359215, -0.0015418624971061945, 0.025282714515924454, 0.018268251791596413, 0.013841647654771805, 0.010870715603232384, 0.05904407799243927, -0.028091905638575554, -0.003192262025550008, 0.05669457092881203, -0.011134609580039978, -0.021996812894940376, 0.05533254146575928, 0.005895043723285198, 0.009312892332673073, 0.04474274441599846, 0.02177548222243786, 0.02599778212606907, 0.07164286822080612, -0.06071256473660469, -0.004000968299806118, 0.011432554572820663, 0.014446048997342587, -0.023409921675920486, -0.010530208237469196, 0.018915215507149696, -0.004703266080468893, -0.04842022806406021, -0.0067888773046433926, 0.010913279838860035, 0.029011277481913567, 0.0238355565816164, -0.05979319289326668, 0.01983458735048771, -0.0020930597092956305, 0.08519508689641953, -0.0004884160589426756, 0.011211223900318146, 0.040418293327093124, 0.03302926942706108, 0.012709459289908409, 0.0430402047932148, -0.07232388854026794, -0.0011896495707333088, 0.040418293327093124, -0.009329917840659618, -0.016557198017835617, -0.05764799565076828, 0.015237729996442795, 0.08056417852640152, 0.06616069376468658, -0.007529481779783964, 0.004096736200153828, -0.009874730370938778, 0.01356072910130024, -0.01957920752465725, 0.1108693853020668, 0.056932926177978516, -0.06759082525968552, 0.0480797216296196, -0.058363061398267746, 0.014028927311301231, 0.04358501732349396, -0.024806004017591476, -0.06639904528856277, -0.03748992457985878, -0.04269969463348389, 0.004996953997761011, -0.014556714333593845, 0.07538846135139465, -0.00977257825434208, -0.0826072245836258, -0.008065781556069851, 0.039328668266534805, 0.0420527309179306, 0.029283683747053146, -0.012547717429697514, 0.004601113498210907, 0.004139299504458904, 0.033420853316783905, 0.040724750608205795, -0.007371996995061636, 0.06309612095355988, 0.033710286021232605, 0.003302927128970623, -0.08349254727363586, -0.019221672788262367, 0.0034944626968353987, -0.031769391149282455, -0.007103846874088049, 0.019170597195625305, 0.021911686286330223, -0.028194056823849678, 0.04607072472572327, 0.07491175085306168, 0.09152853488922119, -0.013569241389632225, -0.0034157203044742346, -0.03125862777233124, 0.014837633818387985, -0.061700038611888885, -0.024959232658147812, -0.017102010548114777, -0.0215201023966074, -0.05012276768684387, -0.06626284867525101, 0.005265104118734598, 0.054140761494636536, -0.024959232658147812, 0.025674298405647278, -0.014922760426998138, -0.023648276925086975, -0.026780949905514717, 0.004733060486614704, 0.04487894847989082, -0.03728561848402023, -0.054685574024915695, 0.006678211968392134, -0.022779980674386024, 0.015603776089847088, -0.03588953614234924, -0.007648659870028496, -0.027802472934126854, -0.06074661761522293, -0.02318859100341797, 0.019136546179652214, -0.021145543083548546, -0.01061533484607935, 0.030986223369836807, 0.026355314999818802, -0.09438879787921906, 0.03949892148375511, 0.06837399303913116, -0.01718713901937008, -0.02349504828453064, -0.0018791782204061747, 0.0111941983923316, -0.007435842417180538, 0.05591140314936638, 0.048556432127952576, -0.003998840227723122, 0.0626194104552269, -0.023886632174253464, -0.00455429358407855, 0.008717003278434277, -0.016812579706311226, -0.052233919501304626, 0.014505638740956783, 0.030083876103162766, -0.06159788742661476, -0.03335275128483772, -0.04457249119877815, -0.009338430128991604, -0.002632552059367299, -0.029862547293305397, -0.021486051380634308, 0.012394488789141178, 0.012556230649352074, -0.027598168700933456, -0.009908781386911869, 0.007563532795757055, -0.010998406447470188, 0.006073810625821352, -0.002828344004228711, -0.030066851526498795, -0.0701446384191513, -0.04259754344820976, 0.01665935106575489, 0.04222298413515091, 0.04399362578988075, -0.07102995365858078, 0.0265596192330122, -0.0012194440932944417, 0.025521069765090942, 0.032620660960674286, -0.020566679537296295, -0.01525475550442934, -0.03803473711013794, -0.07348161190748215, -0.02827918529510498, -0.026116959750652313, -0.0037200492806732655, 0.033454906195402145, 0.002904958324506879, -0.07518415153026581, 0.09697666019201279, 0.009321404621005058, 0.0005974850500933826, -0.0002020435786107555, -0.006742057390511036, -0.00853823684155941, -0.028670769184827805, 0.028994251042604446, 0.01215613353997469, 0.025793476030230522, 0.011560244485735893, -0.018370402976870537, 0.010768563486635685, -0.04021398723125458, -0.0237504281103611, -0.036195993423461914, -0.025623222813010216, 0.028977226465940475, 0.04021398723125458, -0.016054948791861534, -0.019119521602988243, -0.021656304597854614, -0.04664958640933037, 0.002879420295357704, -0.018319327384233475, -0.011372964829206467, -0.011304863728582859, 0.0073890225030481815, -0.0938439890742302, -0.03687701001763344, 0.02826215885579586, -0.04259754344820976, -0.038477398455142975, -0.0003407739568501711, -0.05710318312048912, -0.06568398326635361, -0.033948641270399094, -0.0008565902826376259, -0.010376979596912861, 0.007210255600512028, 0.0018344864947721362, -0.00880212988704443, -0.042665645480155945, 0.06408359110355377, 0.03943081945180893, 0.021162569522857666, -0.07041703909635544, -0.006048272363841534, 0.020532628521323204, 0.014156618155539036, -0.05124644562602043, 0.024227140471339226, -0.03840929642319679, -0.023273717612028122, 0.006971899885684252, -0.017706412822008133, -0.028636718168854713, 0.013926775194704533, -0.03212692588567734, -0.03473180904984474, -0.061665989458560944, -0.018029894679784775, -0.0053885383531451225, -0.00446916650980711, -0.007112359628081322, -0.008091320283710957, -0.047432757914066315, -0.029181530699133873, 0.0016291176434606314, -0.0029007019475102425, 0.013756521046161652, -0.07184717804193497, -0.015501623973250389, 0.0837649554014206, -0.028926149010658264, 0.0074826618656516075, 0.035106368362903595, -0.007197486702352762, -0.02262675203382969, -0.0872381329536438, 0.010010933503508568, -0.05877166986465454, 0.08628471195697784, 0.039873480796813965, -0.07777201384305954, 0.05284683406352997, 0.021656304597854614, 0.0032965424470603466, -0.004103120882064104, 0.038749802857637405, 0.003971173893660307, -0.018302302807569504, 0.10569366812705994, 0.0025772193912416697, 0.029845520853996277, 0.002228198805823922, 0.008299880661070347, 0.08076848089694977, 0.010768563486635685, -0.0238355565816164, 0.036195993423461914, -0.019681358709931374, -0.026202086359262466, -0.009695963934063911, -0.009287354536354542, 0.02184358425438404, 0.015961309894919395, -0.0509740374982357, 0.01188372727483511, 0.025861578062176704, -0.03277388960123062, -0.0515529029071331, 0.004000968299806118, 0.014829120598733425, 0.007972142659127712, 0.04617287591099739, 0.029862547293305397, -0.005741815082728863, 0.006759082432836294, -0.01665935106575489 ]
54,201
nbconvert.exporters.templateexporter
default_filters
Override in subclasses to provide extra filters. This should return an iterable of 2-tuples: (name, class-or-function). You should call the method on the parent class and include the filters it provides. If a name is repeated, the last filter provided wins. Filters from user-supplied config win over filters provided by classes.
def default_filters(self): """Override in subclasses to provide extra filters. This should return an iterable of 2-tuples: (name, class-or-function). You should call the method on the parent class and include the filters it provides. If a name is repeated, the last filter provided wins. Filters from user-supplied config win over filters provided by classes. """ return default_filters.items()
(self)
[ -0.012905862182378769, -0.0587005689740181, -0.007979720830917358, -0.010579753667116165, -0.06760983169078827, -0.03754106163978577, -0.026188930496573448, -0.03321216255426407, 0.08916451036930084, 0.008617379702627659, -0.010615677572786808, -0.0020510621834546328, -0.01076835673302412, 0.052234165370464325, -0.0014571859501302242, -0.00902152992784977, 0.012869937345385551, 0.027787569910287857, 0.05805392563343048, -0.04580368474125862, -0.03603223338723183, -0.01808796636760235, -0.01657913811504841, 0.027859417721629143, 0.028613831847906113, 0.10188176482915878, -0.029835263267159462, -0.020764337852597237, -0.005491951946169138, -0.009618774056434631, -0.05097680911421776, -0.005958969704806805, 0.0010232857894152403, 0.0016615062486380339, 0.008639832958579063, -0.01851905882358551, -0.02493157424032688, 0.09670864790678024, -0.0512642040848732, 0.09793008118867874, 0.01912977546453476, -0.05923943594098091, -0.01677672192454338, -0.029745452105998993, 0.023386823013424873, 0.03224220126867294, -0.0031793147791177034, 0.050869036465883255, 0.01484578289091587, 0.010139678604900837, -0.02110562101006508, 0.03105669468641281, 0.035511329770088196, 0.06559806317090988, -0.006192478816956282, -0.02548840455710888, 0.01322020124644041, 0.01413627527654171, 0.022596485912799835, 0.05446148291230202, 0.029763415455818176, 0.007238778751343489, 0.05643732473254204, -0.05068941414356232, -0.04540851712226868, -0.04081018641591072, -0.046486251056194305, 0.016291743144392967, -0.021877996623516083, 0.050581637769937515, -0.06915458291769028, -0.047240663319826126, 0.008406323380768299, 0.011486846022307873, -0.022506674751639366, 0.009057454764842987, -0.019291434437036514, -0.0001545032428111881, -0.003471200820058584, -0.02096192166209221, 0.0927569568157196, 0.02342274785041809, -0.06760983169078827, 0.022650372236967087, 0.017917323857545853, -0.03782845661044121, -0.05130012705922127, -0.03270922228693962, 0.0613589771091938, 0.010148660279810429, -0.07544136792421341, 0.023494597524404526, 0.06466402858495712, 0.020602677017450333, 0.0006909845396876335, 0.024392709136009216, -0.046522174030542374, -0.0031793147791177034, 0.020369168370962143, -0.05000684782862663, -0.017037175595760345, 0.03407435119152069, 0.017351513728499413, -0.034703027456998825, 0.016139063984155655, -0.05460517853498459, -0.0361759327352047, 0.03217035531997681, -0.024213086813688278, 0.06487957388162613, -0.006592138204723597, -0.0512642040848732, -0.0008880077512003481, 0.020818224176764488, 0.02209354192018509, -0.006147573236376047, -0.014306915923953056, 0.013723143376410007, 0.04526481777429581, -0.016372572630643845, -0.07738128304481506, 0.052844882011413574, 0.015115216374397278, 0.03590649738907814, -0.023350898176431656, 0.024716028943657875, 0.00318605056963861, 0.004822858609259129, 0.02954786829650402, 0.034271933138370514, 0.015258913859724998, 0.005361725576221943, -0.09606200456619263, -0.04853394627571106, 0.07687834650278091, -0.04152867570519447, 0.02205761894583702, 0.08126112818717957, 0.012681334279477596, 0.0551440455019474, -0.002036467893049121, 0.016606081277132034, 0.052377860993146896, 0.03224220126867294, -0.049791302531957626, -0.02426697313785553, 0.03825955092906952, -0.0033903708681464195, 0.012735220603644848, -0.005797309800982475, -0.010283377021551132, 0.06897496432065964, -0.03369714319705963, 0.013256126083433628, 0.015043367631733418, 0.027500174939632416, -0.028685681521892548, -0.01945309527218342, 0.011971826665103436, -0.016103139147162437, -0.016642006114125252, -0.00502942455932498, -0.022596485912799835, -0.03790030628442764, -0.016803666949272156, -0.03351752087473869, -0.010283377021551132, -0.010112735442817211, 0.037289589643478394, 0.00787194725126028, -0.0014560632407665253, -0.04098980873823166, 0.001608742168173194, 0.03105669468641281, 0.03279903158545494, 0.06527474522590637, -0.008994586765766144, 0.024338820949196815, -0.004198671318590641, 0.0013875822769477963, 0.03481080010533333, -0.015187065117061138, -0.03890619054436684, 0.015420574694871902, 0.043935615569353104, -0.031128544360399246, 0.03637351468205452, 0.010489942505955696, -0.03703811764717102, 0.035457443445920944, 0.02987118810415268, -0.03605019673705101, -0.009147265926003456, -0.016983289271593094, -0.023997539654374123, -0.014495519921183586, -0.0056401402689516544, 0.019524943083524704, 0.01653423346579075, 0.026566138491034508, -0.07138190418481827, 0.0064933462999761105, -0.0006977203884162009, -0.042857881635427475, 0.006861571688205004, 0.01295974850654602, 0.06006569787859917, -0.025811724364757538, -0.06329889595508575, 0.0031388995703309774, -0.009030510671436787, 0.0061565544456243515, 0.0294041708111763, -0.016606081277132034, -0.009183189831674099, 0.0001426453673047945, 0.04745621234178543, -0.010678545571863651, -0.03164944797754288, 0.034002501517534256, 0.035978347063064575, -0.01615702547132969, 0.015384649857878685, 0.04519297182559967, 0.0156989898532629, 0.02818273939192295, 0.016201931983232498, -0.05500034987926483, -0.005846705753356218, -0.04167237505316734, 0.013175295665860176, 0.007647419348359108, 0.008482662960886955, 0.020566754043102264, 0.040738336741924286, 0.03843917325139046, 0.050725337117910385, -0.02473399043083191, -0.046953268349170685, 0.010283377021551132, 0.04296565428376198, -0.021662449464201927, -0.010229489766061306, -0.021321166306734085, -0.02493157424032688, -0.05841317027807236, -0.014190161600708961, 0.0018691945588216186, 0.054497405886650085, -0.0019859489984810352, 0.02591949701309204, 0.01737845689058304, -0.03434378281235695, -0.016363590955734253, -0.016525251790881157, -0.0033230124972760677, -0.08435063064098358, 0.00501595251262188, 0.0018691945588216186, -0.06139490008354187, -0.005577272269874811, 0.011962844990193844, -0.02662002481520176, 0.03542151674628258, -0.004809387028217316, 0.03466710448265076, 0.030571715906262398, -0.02502138540148735, -0.011307223699986935, 0.02577579952776432, 0.12013139575719833, 0.01198978815227747, -0.015384649857878685, 0.021877996623516083, -0.016642006114125252, -0.03693034499883652, -0.012358014471828938, 0.022129466757178307, -0.035223931074142456, -0.015860648825764656, 0.03509819880127907, 0.02954786829650402, -0.027410363778471947, 0.005649121478199959, 0.04350452125072479, -0.05140790343284607, -0.013516577892005444, 0.03504430875182152, -0.04368414357304573, -0.01767483353614807, 0.04113350808620453, -0.023853842169046402, 0.021357091143727303, -0.016794685274362564, -0.006268818397074938, -0.04519297182559967, -0.013229181990027428, -0.04641440138220787, 0.022560561075806618, -0.03301457688212395, -0.018078984692692757, -0.06789723038673401, 0.05791023001074791, 0.03091299720108509, 0.008554511703550816, 0.01818675734102726, 0.012375975959002972, -0.009681642055511475, 0.023207200691103935, 0.0006180129712447524, 0.0011310591362416744, 0.026655949652194977, -0.0006999656325206161, -0.032439786940813065, 0.010283377021551132, -0.03342771157622337, 0.0005498126265592873, 0.007934815250337124, -0.00034998281626030803, 0.08205146342515945, -0.05385076627135277, 0.0747947245836258, -0.062221165746450424, 0.012510692700743675, 0.008334474638104439, 0.015151141211390495, 0.0013853369746357203, -0.005541347898542881, -0.030284319072961807, -0.022273164242506027, -0.04565998911857605, 0.008752096444368362, 0.022560561075806618, 0.028685681521892548, -0.040882036089897156, 0.02644040249288082, 0.01630072295665741, 0.028057003393769264, 0.011576657183468342, -0.07831532508134842, -0.00897213350981474, 0.006816666107624769, -0.011459902860224247, 0.02615300752222538, -0.057658758014440536, 0.014854764565825462, -0.016794685274362564, 0.0187525674700737, 0.03482876345515251, -0.046486251056194305, 0.08140482753515244, -0.06818462163209915, 0.010912054218351841, 0.030948922038078308, 0.05905981361865997, -0.034092310816049576, -0.025416554883122444, -0.0009273001342080534, 0.008271606639027596, -0.016983289271593094, 0.08823047578334808, 0.022740183398127556, -0.062580406665802, 0.020512865856289864, 0.040917959064245224, 0.013830916956067085, 0.06685542315244675, 0.0159235168248415, 0.012402920052409172, -0.06832832098007202, -0.018770530819892883, -0.004989009350538254, 0.033050503581762314, -0.05776653066277504, 0.03430785983800888, -0.022650372236967087, 0.014836802147328854, 0.010759375989437103, 0.0047734626568853855, 0.07960860431194305, 0.00009016197145683691, 0.05665287375450134, -0.04490557312965393, 0.0313979797065258, -0.003349955892190337, -0.030589677393436432, -0.006488855462521315, 0.059778302907943726, 0.052090466022491455, 0.007593532558530569, -0.008877832442522049, -0.08356029540300369, -0.07008861750364304, 0.011136582121253014, -0.0627959594130516, -0.026727797463536263, -0.04142090305685997, 0.010894092731177807, -0.05923943594098091, -0.03615796938538551, -0.0069693452678620815, -0.04253455996513367, 0.007476778235286474, -0.009008058346807957, 0.03565502539277077, -0.017037175595760345, 0.03746921196579933, 0.0287395678460598, 0.00956488773226738, -0.03944505751132965, 0.013399823568761349, -0.010148660279810429, -0.04853394627571106, -0.010723451152443886, 0.023548483848571777, 0.023314975202083588, 0.011037790216505527, 0.015483441762626171, 0.027266664430499077, 0.007624966558068991, 0.01950698159635067, 0.00033987907227128744, 0.0361759327352047, 0.006996288429945707, 0.06574176251888275, 0.026422441005706787, -0.021321166306734085, 0.020369168370962143, -0.033625293523073196, -0.018348418176174164, -0.01314835250377655, 0.01744132488965988, -0.05338374897837639, -0.021572638303041458, 0.023063503205776215, -0.01752215437591076, 0.015555291436612606, -0.060712337493896484, -0.03676868602633476, 0.03488264977931976, -0.026314666494727135, -0.025470441207289696, -0.04310935363173485, -0.00801115483045578, 0.007000779267400503, -0.017540117725729942, -0.04727659001946449, 0.0839913859963417, -0.006080214865505695, -0.09067333489656448, -0.03608611971139908, -0.03163148835301399, -0.025991346687078476, -0.009735528379678726, 0.015249933116137981, 0.008639832958579063, 0.031128544360399246, 0.020800262689590454, -0.013615370728075504, 0.02478787675499916, 0.04440263286232948, -0.013516577892005444, -0.021285243332386017, -0.06261633336544037, -0.02408735081553459, 0.05018647015094757, 0.004472595173865557, -0.01884237863123417, -0.0016323176678270102, -0.0011899977689608932, 0.06520289182662964, 0.02078229933977127, -0.06911866366863251, -0.04203161969780922, -0.03421804681420326, 0.053132276982069016, -0.001044054632075131, -0.006434968672692776, -0.01780955120921135, 0.005482970736920834, -0.010166621766984463, -0.03190091997385025, 0.002323863562196493, 0.010103754699230194, -0.016758760437369347, -0.11000069975852966, 0.03213442862033844, 0.015815744176506996, 0.017962230369448662, -0.017647890374064445, 0.01983030140399933, -0.019022000953555107, 0.009843301959335804, 0.02827255055308342, 0.015959441661834717, -0.00005353586675482802, 0.0550362728536129, 0.024195123463869095, 0.06315520405769348, 0.016561176627874374, 0.03958875313401222, -0.046198856085538864, -0.04246271029114723, 0.017881399020552635, 0.013588426634669304, -0.04720474034547806, -0.05665287375450134, -0.024805840104818344, -0.03308642655611038, 0.03082318603992462, 0.02243482507765293, -0.018267588689923286, -0.026422441005706787, -0.026691874489188194, 0.036589063704013824, -0.10604900866746902, -0.023332936689257622, 0.022740183398127556, 0.007319608703255653, 0.048282474279403687, 0.034002501517534256, 0.023099428042769432, 0.004813877400010824, -0.00542010273784399, 0.02101580984890461, -0.010759375989437103, -0.03299661725759506, 0.00727021275088191, -0.010813262313604355, 0.010184584185481071, 0.004124577157199383, 0.01799815520644188, -0.04551628977060318, 0.03700219467282295, 0.006277799140661955, 0.04034316912293434, -0.051803071051836014, 0.012923824600875378, 0.024356784299016, 0.02459029294550419, 0.054497405886650085, 0.028470134362578392, 0.08291365206241608, 0.017827512696385384, 0.007907872088253498, -0.048462096601724625, -0.051156431436538696, 0.022129466757178307, 0.015375669114291668, -0.050437942147254944, -0.007979720830917358, -0.009744510054588318, -0.057083968073129654, -0.030841149389743805, 0.05399446189403534, -0.07131005078554153, 0.019848264753818512, 0.047563984990119934, -0.02083618752658367, 0.05974237620830536, -0.001487497123889625, 0.03534966707229614, -0.03030228242278099, -0.008904775604605675, 0.002197005320340395, -0.051767148077487946, 0.01463023666292429, 0.07608800381422043, -0.06261633336544037, -0.017414381727576256, 0.005051877349615097, -0.01175627950578928, -0.05489257350564003, 0.05155159905552864, -0.039373207837343216, 0.04185199737548828, 0.0525934100151062, 0.030374130234122276, -0.0561499297618866, -0.07253148406744003, -0.03811585158109665, -0.008518587797880173, -0.027643872424960136, -0.07166929543018341, -0.06020939350128174, -0.0537070669233799, 0.04425893351435661, 0.010229489766061306, -0.000027943195163970813, 0.04019946977496147, -0.004106614738702774, 0.04343267157673836, 0.00798421073704958, -0.027589984238147736, -0.023117389529943466, -0.00897213350981474, -0.020135659724473953, -0.035457443445920944, -0.034613218158483505, 0.039552830159664154, -0.046342551708221436, -0.003924747463315725, 0.07932120561599731, -0.02644040249288082, 0.03610408306121826, -0.07303442806005478, -0.015663065016269684, -0.000023821005015634, -0.025362668558955193, 0.02266833372414112, -0.01512419804930687, 0.042283087968826294, 0.0287395678460598, 0.03843917325139046, 0.04943205788731575, -0.03822362422943115, -0.032439786940813065, -0.024823801591992378, 0.06031716987490654, -0.013489634729921818, -0.027787569910287857, 0.05841317027807236, -0.04425893351435661, 0.03790030628442764, -0.06775353103876114, -0.06179007142782211, -0.012420881539583206, -0.06128712743520737, 0.008321003057062626, -0.02963767945766449, 0.03231405094265938, -0.013525559566915035, 0.01304955966770649, -0.04540851712226868, -0.058449096977710724, -0.009196661412715912, -0.007827041670680046, -0.01493559405207634, -0.02473399043083191, -0.02220131643116474, 0.0513719767332077, -0.01921958662569523, 0.029278434813022614, -0.006147573236376047, -0.01612110063433647, 0.005357235204428434, -0.0513719767332077, 0.0002396835043327883, 0.07019639760255814, -0.07062748819589615, -0.0067762513644993305, 0.02229112759232521, -0.032637372612953186, 0.0699089989066124, -0.03076929971575737, -0.007584551814943552, 0.013085484504699707, 0.07932120561599731, 0.04878541827201843, -0.055862534791231155, -0.012690315023064613, 0.004313180688768625, 0.06434071063995361, 0.05489257350564003, 0.01921958662569523, -0.003150125965476036, -0.03811585158109665, -0.015321781858801842, -0.010921035893261433, 0.006071233656257391, 0.01936328411102295, -0.005491951946169138, 0.018393322825431824, -0.006358629558235407, -0.041205354034900665, -0.01029235776513815, -0.01225024089217186, 0.010121716186404228, 0.00018565649224910885, -0.03342771157622337, -0.03987615182995796, -0.024159198626875877, -0.029529906809329987, 0.0343976691365242, 0.05898796394467354, 0.06046086549758911, -0.07917750626802444, -0.05022239312529564, 0.03387676551938057, 0.04813877493143082, 0.000629239366389811, -0.06495141983032227, 0.03624777868390083, 0.020566754043102264, 0.022219277918338776, 0.009174209088087082, -0.043791916221380234, -0.06829240173101425, -0.007234287913888693, 0.012753183022141457, 0.02780553139746189, 0.017450306564569473, -0.03292476758360863, 0.005550329107791185, 0.021590599790215492, -0.020279357209801674, -0.010579753667116165, -0.007669872138649225, 0.061933767050504684, -0.006744817364960909, -0.018914228305220604, 0.028757529333233833, 0.020207509398460388, -0.01460329256951809, -0.0011798939667642117, 0.00570300780236721, 0.056006234139204025, -0.015528347343206406, 0.006605610251426697, 0.006214931607246399, 0.023332936689257622, -0.008433266542851925, -0.01667793095111847, 0.049683526158332825, 0.03768475726246834, 0.04023539647459984, -0.04081018641591072, -0.049216508865356445, -0.014764953404664993, 0.002072392264381051, 0.04458225518465042, 0.02595542185008526, -0.054066311568021774, 0.03549336642026901, 0.034505445510149, -0.010507904924452305, 0.011298242956399918, -0.0019264491274952888, -0.050725337117910385, -0.020602677017450333, -0.00890926644206047, -0.01582472398877144, 0.004867764189839363, 0.017594004049897194, -0.012914842925965786, -0.02737443894147873, 0.08262626081705093, 0.03689442202448845, -0.009573868475854397, 0.05424593389034271, -0.007490249816328287, 0.011073715053498745, 0.01322020124644041, -0.0294041708111763, 0.013687219470739365, 0.027859417721629143, -0.0009778188541531563, -0.0462707057595253, -0.023961614817380905, -0.014055444858968258, -0.004409727640450001, -0.017917323857545853, 0.03466710448265076, -0.04113350808620453, 0.11416793614625931, 0.008734134025871754, 0.07946490496397018, -0.003482427215203643 ]
54,202
nbconvert.exporters.templateexporter
from_file
Convert a notebook from a file.
def from_file( # type:ignore[override] self, file_stream: t.Any, resources: dict[str, t.Any] | None = None, **kw: t.Any ) -> tuple[str, dict[str, t.Any]]: """Convert a notebook from a file.""" return super().from_file(file_stream, resources, **kw) # type:ignore[return-value]
(self, file_stream: Any, resources: Optional[dict[str, Any]] = None, **kw: Any) -> tuple[str, dict[str, typing.Any]]
[ -0.03001868538558483, -0.07888631522655487, -0.0033618309535086155, -0.015890706330537796, -0.04352709650993347, 0.018412623554468155, -0.011981295421719551, 0.09417489916086197, 0.03448658436536789, -0.017060037702322006, 0.005659046117216349, 0.045970477163791656, -0.04042050987482071, 0.060805290937423706, -0.018081022426486015, -0.0020659661386162043, -0.024939943104982376, -0.004646787885576487, -0.05420816317200661, 0.01225181296467781, -0.06984580308198929, 0.008041342720389366, -0.0007984621333889663, 0.061468496918678284, 0.00925867073237896, 0.0548364594578743, -0.011030121706426144, -0.038814857602119446, -0.02048949897289276, -0.034050267189741135, 0.01321171224117279, -0.0395478717982769, -0.0013558585196733475, 0.044120486825704575, 0.0350625216960907, -0.006016826722770929, -0.03432950749993324, 0.04188653826713562, -0.09836355596780777, 0.006108453497290611, 0.017452724277973175, -0.04129314422607422, 0.03637147694826126, -0.03420734032988548, -0.012408887036144733, 0.01734800823032856, -0.011387902311980724, -0.05899021029472351, -0.009642629884183407, 0.0011142473667860031, 0.029617274180054665, -0.03979220986366272, -0.023439008742570877, 0.014023263938724995, -0.06593639403581619, 0.0368601530790329, -0.028570109978318214, 0.10401824116706848, 0.017845410853624344, 0.05909492447972298, -0.01281030010432005, -0.023735705763101578, 0.050019506365060806, -0.08733343333005905, 0.009886967949569225, -0.0006119361496530473, 0.049635548144578934, -0.05857134237885475, -0.03490544855594635, 0.024590888991951942, 0.040909186005592346, -0.00636588130146265, 0.012635772116482258, 0.004546434618532658, 0.0416422002017498, -0.012347802519798279, -0.08112026005983353, 0.01222563348710537, -0.04572613909840584, -0.007853725925087929, 0.03487054258584976, 0.006531682331115007, -0.01164096686989069, -0.02040223404765129, -0.010925405658781528, -0.09026549011468887, 0.13012751936912537, 0.02888425812125206, -0.037558261305093765, 0.045795947313308716, -0.053614769130945206, -0.01671971008181572, 0.008578013628721237, -0.06199207529425621, 0.058676060289144516, -0.07427879422903061, 0.0030324109829962254, -0.011065027676522732, -0.0035734453704208136, -0.06056095287203789, -0.0033967364579439163, -0.06087510287761688, -0.0055805086158216, -0.02253146655857563, -0.035010166466236115, -0.0014038535300642252, 0.035847894847393036, 0.027575304731726646, -0.02295033261179924, -0.03457384556531906, -0.06447036564350128, -0.019529597833752632, -0.006317886058241129, 0.09277868270874023, -0.0039028655737638474, -0.008172238245606422, 0.040699753910303116, 0.025219187140464783, 0.019791388884186745, 0.0013340426376089454, -0.06893826276063919, 0.07155617326498032, -0.04844876378774643, 0.034504037350416183, 0.010733425617218018, 0.04900725185871124, 0.030071044340729713, -0.05525532737374306, 0.033125270158052444, -0.03357904031872749, 0.014302507974207401, -0.04188653826713562, -0.04837895184755325, 0.03829127922654152, 0.011108659207820892, 0.0018379900138825178, 0.025934748351573944, 0.05431287735700607, 0.00946810282766819, 0.06628544628620148, 0.07061371952295303, 0.004448262974619865, 0.02780218981206417, -0.009817157872021198, -0.05270722880959511, -0.0008448209264315665, 0.028500299900770187, 0.00727342301979661, -0.07323163002729416, 0.030734248459339142, 0.010602530092000961, -0.007670472376048565, 0.004153748508542776, 0.04572613909840584, 0.003398918081074953, -0.008669640868902206, 0.02487013302743435, -0.013805105350911617, 0.001716911792755127, -0.011379176750779152, 0.015986695885658264, 0.05225345864892006, 0.041956350207328796, 0.041607294231653214, -0.04544689506292343, 0.016519004479050636, -0.04551670700311661, -0.05822229012846947, 0.009319755248725414, -0.04419029876589775, -0.02186826430261135, -0.023142311722040176, -0.002892788965255022, 0.042410120368003845, 0.03867523744702339, 0.021850811317563057, 0.04659877344965935, 0.010375645011663437, 0.036685626953840256, 0.038989387452602386, -0.02186826430261135, -0.007814457640051842, -0.023386651650071144, 0.054661933332681656, 0.014433403499424458, 0.049391210079193115, 0.012801573611795902, 0.020332423970103264, 0.040490321815013885, -0.03261914104223251, 0.05776851624250412, 0.04097899794578552, 0.007552666589617729, 0.027313513681292534, -0.026510687544941902, -0.07623349875211716, -0.004699145909398794, -0.00046304258285090327, -0.03616204485297203, 0.011291912756860256, -0.0007286512409336865, 0.05776851624250412, 0.02939038723707199, 0.025219187140464783, -0.04059503600001335, 0.03741864114999771, -0.03394554927945137, 0.01728692278265953, -0.06419111788272858, 0.061224158853292465, 0.0008650006493553519, -0.032758764922618866, -0.014267602004110813, 0.0035298136062920094, 0.05019403621554375, -0.06286471337080002, -0.031030943617224693, 0.024521077051758766, -0.03546393662691116, -0.023177217692136765, 0.13794633746147156, 0.040525227785110474, -0.044504448771476746, -0.020035726949572563, 0.030838964506983757, -0.010515266098082066, 0.055534567683935165, -0.030402645468711853, 0.012199454009532928, 0.05357986316084862, -0.03933843970298767, -0.0404554158449173, -0.00480822566896677, 0.0021750456653535366, 0.036057326942682266, 0.04380633682012558, -0.019197996705770493, 0.021170154213905334, -0.045830853283405304, 0.03345687314867973, 0.0024193839635699987, -0.004782046657055616, 0.004260646179318428, -0.04572613909840584, 0.0006484778132289648, -0.047680843621492386, 0.03979220986366272, 0.01843007653951645, -0.07560519874095917, -0.01851734146475792, 0.08593721687793732, 0.012757941149175167, 0.010174938477575779, 0.025899842381477356, -0.022548919543623924, 0.022130055353045464, -0.030507361516356468, -0.12112190574407578, 0.02265363559126854, -0.027348419651389122, -0.010637435130774975, -0.041607294231653214, 0.04932139813899994, 0.026109276339411736, 0.0051354640163481236, 0.0007777370046824217, -0.07117220759391785, 0.025603147223591805, 0.07239390164613724, -0.02031497098505497, 0.017025133594870567, 0.07588444650173187, -0.007321417797356844, 0.014136706478893757, 0.04202616214752197, -0.08384288847446442, 0.05853643640875816, -0.02357863076031208, 0.03322998806834221, 0.006457508075982332, -0.02939038723707199, 0.0027291697915643454, 0.02567295730113983, -0.011126112192869186, 0.08440137654542923, -0.05647701770067215, 0.00045977020636200905, -0.03139745071530342, -0.014215243980288506, -0.03919881954789162, 0.02541116625070572, 0.007980258204042912, -0.02947765216231346, -0.02094326913356781, 0.019791388884186745, 0.039862021803855896, -0.055115703493356705, 0.01038437057286501, -0.018901299685239792, -0.01872677356004715, -0.027488041669130325, -0.05539494752883911, 0.10422766953706741, 0.005968831945210695, -0.004402449820190668, -0.06447036564350128, 0.008564924821257591, 0.0004384997009765357, -0.06687884032726288, 0.012627046555280685, 0.03829127922654152, 0.021309776231646538, 0.027976717799901962, -0.020908363163471222, -0.022601278498768806, -0.03244461491703987, -0.0016623720293864608, 0.050892144441604614, 0.007801367901265621, 0.01801121234893799, -0.05061290040612221, -0.03172905370593071, -0.022793257609009743, 0.011553703807294369, 0.017723241820931435, -0.01684187911450863, 0.034713469445705414, -0.026493236422538757, -0.006597129628062248, 0.04398086667060852, 0.02219986543059349, 0.023805515840649605, 0.014808637090027332, -0.033666305243968964, -0.06474960595369339, -0.014511940069496632, -0.001665644347667694, 0.06757695227861404, 0.0298092532902956, -0.05759399011731148, 0.04987988620996475, -0.042863890528678894, 0.029983781278133392, -0.008377308025956154, -0.03485308960080147, -0.03829127922654152, -0.031746506690979004, -0.03263659402728081, 0.016606267541646957, -0.024364003911614418, -0.04590066522359848, 0.04761103168129921, -0.0356559157371521, -0.018901299685239792, -0.031798865646123886, -0.011815494857728481, -0.032078105956315994, 0.021798452362418175, -0.003139308886602521, -0.040909186005592346, -0.016108864918351173, 0.019791388884186745, -0.0512412004172802, 0.025009753182530403, 0.01473882608115673, 0.02186826430261135, 0.010506540536880493, 0.029617274180054665, -0.007692288141697645, 0.02603946439921856, 0.0044984398409724236, 0.00022279492986854166, -0.05926945060491562, -0.0011311547132208943, 0.010340739041566849, -0.031205471605062485, -0.03068188950419426, -0.016580088064074516, -0.06331848353147507, -0.006313523277640343, 0.039443157613277435, -0.004391541704535484, 0.013735294342041016, 0.01830790750682354, -0.03829127922654152, -0.007509034592658281, -0.021501757204532623, 0.00014016719069331884, -0.030245572328567505, -0.023735705763101578, -0.0142326969653368, -0.02809888683259487, 0.013281523250043392, 0.04118843004107475, 0.0023233939427882433, -0.03919881954789162, 0.006461871322244406, 0.02600456029176712, 0.07951461523771286, -0.03811674937605858, 0.013508408330380917, -0.030838964506983757, -0.004142840392887592, 0.019372524693608284, -0.020419687032699585, 0.03155452758073807, 0.04949592798948288, 0.0010144396219402552, 0.01848243549466133, -0.03577808663249016, 0.040490321815013885, -0.015463113784790039, 0.028988976031541824, 0.0038919574581086636, 0.009284849278628826, 0.06520337611436844, -0.05179968476295471, -0.013325154781341553, -0.03993183374404907, -0.02022770792245865, -0.021344682201743126, 0.039652589708566666, 0.06447036564350128, 0.0021401403937488794, 0.03244461491703987, 0.007892994210124016, 0.01923290267586708, -0.0440506748855114, 0.0575241781771183, 0.009712440893054008, -0.04167710617184639, -0.03293329104781151, 0.030507361516356468, -0.040280889719724655, 0.022583825513720512, -0.058082666248083115, -0.060002464801073074, -0.01956450380384922, 0.01753126084804535, 0.025097018107771873, 0.049600642174482346, -0.012766667641699314, 0.05825719237327576, 0.0005623049801215529, -0.06876373291015625, -0.009651356376707554, -0.05246289074420929, 0.03487054258584976, -0.024259287863969803, -0.05626758188009262, -0.02286306954920292, -0.04998460412025452, 0.048134613782167435, -0.017426544800400734, 0.004520255606621504, -0.009965505450963974, -0.012696856632828712, -0.030821511521935463, 0.029617274180054665, 0.015864526852965355, 0.00042241046321578324, 0.002901515457779169, -0.0003547811647877097, -0.08614664524793625, 0.04380633682012558, -0.08139950782060623, 0.012871384620666504, -0.015375849790871143, -0.002687719650566578, -0.00004185926809441298, 0.011248281225562096, -0.008804899640381336, 0.02328193373978138, -0.04268936440348625, -0.0023343018256127834, 0.04216578230261803, 0.025760220363736153, -0.017452724277973175, 0.018447529524564743, -0.0062306225299835205, -0.004291188437491655, -0.03253187984228134, 0.006304796785116196, 0.01069851964712143, 0.010253475978970528, 0.01684187911450863, 0.0236658938229084, 0.003739246167242527, 0.0677165687084198, -0.02199043333530426, 0.0028644283302128315, 0.1087653785943985, -0.05881568044424057, 0.019581956788897514, 0.0025110107380896807, 0.015829620882868767, 0.03623185679316521, -0.007037810981273651, 0.026109276339411736, 0.004284644033759832, 0.010480361059308052, -0.06178264319896698, 0.02307250164449215, 0.03068188950419426, 0.055744003504514694, 0.06192226707935333, -0.017714515328407288, -0.008154785260558128, -0.006514229346066713, -0.037139397114515305, -0.026301255449652672, 0.02157156728208065, 0.06673921644687653, 0.021082891151309013, -0.040315791964530945, -0.01111738570034504, -0.048134613782167435, 0.09703715145587921, -0.002934239339083433, 0.04268936440348625, 0.030158307403326035, -0.04607519134879112, 0.025533335283398628, 0.005013294983655214, -0.0018488980131223798, -0.07085806131362915, -0.005829209927469492, -0.05899021029472351, -0.02144939824938774, 0.03158942982554436, 0.013517134822905064, -0.06014208868145943, 0.0030913138762116432, -0.05312609300017357, -0.04122333601117134, 0.010270928032696247, 0.007727193646132946, 0.009651356376707554, 0.03214791789650917, 0.010044042952358723, 0.009101595729589462, -0.014956984668970108, -0.04258464649319649, 0.03185122087597847, 0.04946102201938629, -0.027034269645810127, -0.009712440893054008, 0.0251668281853199, 0.04691292345523834, 0.007369413040578365, 0.03260168805718422, -0.05899021029472351, -0.028517751023173332, 0.011257006786763668, 0.0022688540630042553, -0.005785577930510044, -0.015253680758178234, -0.00852565560489893, 0.009503008797764778, -0.009651356376707554, 0.02160647325217724, -0.0031654878985136747, 0.0013744020834565163, 0.004129751119762659, -0.03125783056020737, 0.06377225369215012, -0.016257213428616524, -0.006435692310333252, -0.06195717304944992, -0.009974231943488121, 0.053649675101041794, 0.01705131120979786, 0.04003655165433884, 0.012216906994581223, 0.0241196658462286, 0.009843336418271065, 0.02420692890882492, 0.03485308960080147, -0.0022284947335720062, 0.0018292636377736926, -0.007020358461886644, 0.02064657211303711, -0.004430810455232859, -0.04118843004107475, 0.028954070061445236, 0.06659960001707077, -0.07755991071462631, 0.014843542128801346, 0.04736669361591339, 0.010157485492527485, 0.036685626953840256, -0.006968000438064337, -0.008080611005425453, -0.03919881954789162, 0.035219598561525345, -0.012321623042225838, 0.0026397246401757, -0.04056013002991676, -0.02642342448234558, 0.012208180502057076, -0.03368375822901726, 0.02127487026154995, -0.05316099897027016, 0.010017863474786282, 0.01300228014588356, 0.0005350350984372199, 0.07274295389652252, -0.01505297515541315, -0.034172434359788895, -0.006762930657714605, 0.023892778903245926, -0.03113565966486931, 0.0019536144100129604, -0.019529597833752632, -0.005942652467638254, 0.006444418337196112, -0.0033727390691637993, -0.05612796172499657, -0.05270722880959511, -0.06429583579301834, -0.02537626214325428, -0.009180133230984211, 0.025568241253495216, 0.03727902099490166, 0.001214055111631751, 0.020088085904717445, 0.00774464663118124, 0.03787241131067276, 0.008787446655333042, -0.008167874999344349, 0.05410344526171684, -0.03214791789650917, 0.03188612684607506, 0.014302507974207401, 0.025446072220802307, 0.011187196709215641, 0.04153748229146004, 0.01801121234893799, 0.003431641962379217, 0.03434696048498154, 0.010480361059308052, -0.08440137654542923, -0.0054757921025156975, -0.04227050021290779, 0.005161643028259277, -0.01905837468802929, 0.0281686969101429, -0.02307250164449215, 0.021833358332514763, 0.02028006501495838, -0.013194259256124496, 0.04761103168129921, -0.01764470525085926, -0.00882671494036913, 0.026981912553310394, 0.023962590843439102, 0.0467383973300457, -0.012365255504846573, 0.030280476436018944, 0.007351960055530071, 0.028308318927884102, -0.025603147223591805, -0.01968667283654213, 0.08321458846330643, 0.01301973219960928, 0.00544524984434247, -0.019529597833752632, 0.028308318927884102, 0.031711600720882416, 0.005052563734352589, -0.02207769639790058, 0.05455721542239189, -0.03623185679316521, -0.029041333124041557, 0.030001232400536537, -0.003433823585510254, -0.019093280658125877, -0.04122333601117134, 0.006248075515031815, -0.022514013573527336, -0.05497608333826065, 0.0238229688256979, -0.05036856234073639, -0.014136706478893757, -0.0455516092479229, 0.013656756840646267, -0.02123996615409851, 0.01881403662264347, 0.01164096686989069, 0.0012096919817849994, -0.007142527494579554, 0.06597130000591278, -0.00029996869852766395, 0.006584040354937315, -0.014154159463942051, 0.022583825513720512, -0.005179096013307571, -0.07993347942829132, -0.016108864918351173, -0.013360060751438141, 0.000762465875595808, -0.05186949670314789, 0.008761268109083176, 0.033631399273872375, 0.008996879681944847, -0.01830790750682354, -0.029564915224909782, -0.012984827160835266, -0.03640638291835785, 0.018115928396582603, 0.008490750566124916, 0.02415456995368004, 0.006566587369889021, 0.009686262346804142, 0.0061826277524232864, -0.002316849073395133, -0.024346550926566124, -0.0012216906761750579, -0.000012953193618159276, -0.03357904031872749, -0.0295125562697649, 0.008935795165598392, 0.028500299900770187, 0.08579759299755096, 0.006269891280680895, 0.01222563348710537, -0.05525532737374306, -0.03001868538558483, -0.04139786213636398, -0.01147516630589962, 0.06206188723444939, 0.00760938785970211, -0.08035234361886978, -0.03338706120848656, 0.03211301192641258, -0.003706522285938263, 0.04087428003549576, 0.05968831852078438, 0.04970536008477211, -0.0473317876458168, 0.012836478650569916, -0.010044042952358723, -0.05326571315526962, 0.041572388261556625, 0.000410957116400823, -0.013464776799082756, 0.03233989700675011, -0.009660082869231701, -0.006474960595369339, 0.05885058641433716, 0.015524198301136494, 0.03335215523838997, -0.0167807936668396, 0.06447036564350128, 0.04775065556168556, -0.07658255845308304, 0.04446954280138016, -0.024433813989162445, 0.006893826182931662, -0.028500299900770187, -0.02504465915262699, 0.017662156373262405, 0.02253146655857563, 0.01538457628339529, -0.00017343644867651165, -0.008783083409070969, -0.03822146728634834, 0.015306039713323116 ]
54,203
nbconvert.exporters.templateexporter
from_filename
Convert a notebook from a filename.
def from_filename( # type:ignore[override] self, filename: str, resources: dict[str, t.Any] | None = None, **kw: t.Any ) -> tuple[str, dict[str, t.Any]]: """Convert a notebook from a filename.""" return super().from_filename(filename, resources, **kw) # type:ignore[return-value]
(self, filename: str, resources: Optional[dict[str, Any]] = None, **kw: Any) -> tuple[str, dict[str, typing.Any]]
[ -0.010772681795060635, -0.03920205309987068, -0.014407367445528507, -0.026730265468358994, -0.017665447667241096, 0.017148708924651146, -0.0027084974572062492, 0.08765284717082977, 0.06288443505764008, -0.01422344334423542, -0.004668162204325199, 0.04792529717087746, -0.023997681215405464, 0.06775403767824173, -0.0055045778863132, -0.016027648001909256, 0.0009125031065195799, 0.02112496644258499, -0.06442589312791824, 0.010518691502511501, -0.05689377337694168, -0.009231224656105042, 0.03394708409905434, 0.0430556945502758, 0.01856754906475544, 0.03734529763460159, -0.005736672319471836, -0.04088364169001579, -0.019723642617464066, -0.030811622738838196, -0.0025442796759307384, -0.020319204777479172, -0.00035854201996698976, 0.05969642475247383, 0.02771119214594364, -0.010772681795060635, -0.05167384073138237, 0.05104324594140053, -0.08737257868051529, -0.021983277052640915, 0.020792152732610703, -0.03380695357918739, 0.03752046450972557, -0.03131960332393646, -0.014328543096780777, 0.019881291314959526, -0.020231621339917183, -0.0900350958108902, -0.0038142299745231867, -0.012541853822767735, 0.022631390020251274, -0.01576489955186844, -0.023804999887943268, 0.016369221732020378, -0.056298211216926575, 0.04281046241521835, 0.0017199068097397685, 0.12429748475551605, 0.012760811485350132, 0.05205920338630676, -0.004891498479992151, -0.04519271478056908, 0.0329311266541481, -0.07938503473997116, -0.010816473513841629, 0.011175562627613544, 0.07553139328956604, -0.03857145458459854, -0.03456016629934311, 0.02073960192501545, 0.058785561472177505, -0.015598493628203869, -0.0032164775766432285, -0.004009101539850235, 0.05048271268606186, -0.003520827740430832, -0.0785442367196083, -0.0005033272900618613, -0.027203211560845375, 0.0069803474470973015, 0.022403676062822342, -0.01823473535478115, -0.041514236479997635, -0.04848582670092583, -0.02941029705107212, -0.0657571479678154, 0.07693271338939667, 0.014170893467962742, -0.02275400608778, 0.03128457069396973, -0.05156874284148216, -0.027273278683423996, -0.01333885733038187, -0.05682370811700821, 0.03429741784930229, -0.08309853821992874, 0.01863761618733406, -0.030636455863714218, 0.03270341083407402, -0.06032701954245567, 0.0036259270273149014, -0.06344496458768845, 0.016544386744499207, -0.030040893703699112, -0.036434438079595566, -0.006222756579518318, 0.01731511577963829, 0.044246818870306015, -0.00655119214206934, -0.05044768005609512, -0.05223437026143074, -0.022438708692789078, 0.001920252456329763, 0.05755940452218056, 0.007313162088394165, -0.008977235294878483, 0.023752449080348015, 0.016938509419560432, 0.035068146884441376, -0.0030062790028750896, -0.05353059619665146, 0.05496695265173912, -0.06439086049795151, 0.02403271570801735, -0.0036565810441970825, 0.04995721951127052, 0.01697354204952717, -0.056298211216926575, 0.014801490120589733, -0.04081357643008232, 0.018427416682243347, 0.013058592565357685, -0.05556251481175423, 0.038781654089689255, 0.0237874835729599, -0.0045280298218131065, 0.022561324760317802, 0.07125735282897949, 0.02932271547615528, 0.0637952983379364, 0.05409112572669983, 0.019653575494885445, 0.04908138886094093, 0.019495926797389984, -0.03149476647377014, -0.041093841195106506, 0.031056853011250496, -0.00853494182229042, -0.05987158790230751, 0.031161952763795853, 0.020073972642421722, 0.021317649632692337, 0.006402301136404276, 0.015808692201972008, 0.0019147784914821386, -0.017823096364736557, 0.022841589525341988, -0.003954362589865923, 0.016132747754454613, -0.03590894117951393, 0.03622423857450485, 0.044316887855529785, 0.031196987256407738, 0.036119136959314346, -0.02017907239496708, 0.023051787167787552, -0.04281046241521835, -0.03776569664478302, 0.013522781431674957, -0.025048675015568733, -0.013803046196699142, -0.031372152268886566, -0.0028989899437874556, 0.04154926910996437, 0.016815893352031708, 0.01702609285712242, 0.03294864296913147, 0.021037383005023003, 0.03349165618419647, 0.043686289340257645, 0.019233178347349167, -0.029462847858667374, -0.04032311215996742, 0.08499033004045486, 0.01742897368967533, 0.024050232023000717, 0.025854436680674553, 0.06228887289762497, 0.04361622408032417, -0.03221294656395912, 0.0642857626080513, 0.027536025270819664, 0.003439813619479537, 0.02748347632586956, -0.048660993576049805, -0.08968476951122284, 0.007085446733981371, 0.00801820307970047, -0.030251093208789825, 0.019093045964837074, -0.0035711878444999456, 0.05650841072201729, 0.017464006319642067, 0.019828742370009422, -0.018304800614714622, 0.021037383005023003, -0.0323881134390831, 0.0034945530351251364, -0.0323881134390831, 0.03678476810455322, 0.009835545904934406, -0.04123397171497345, -0.01728884130716324, 0.030583906918764114, 0.036049071699380875, -0.06099264696240425, -0.047049470245838165, 0.04193463549017906, 0.006165827624499798, -0.025836920365691185, 0.08786304295063019, 0.05752437189221382, -0.042390067130327225, -0.0044294991530478, 0.03526082634925842, -0.0162203311920166, 0.06663297861814499, -0.017507797107100487, 0.013514023274183273, 0.07756330817937851, -0.06898019462823868, -0.05314522981643677, -0.0031704965513199568, -0.02884976752102375, 0.037415362894535065, 0.03149476647377014, -0.016658244654536247, 0.021159999072551727, -0.020231621339917183, 0.019495926797389984, 0.03375440463423729, 0.02851695381104946, -0.004909014794975519, -0.05615807697176933, 0.034209832549095154, -0.06190351024270058, 0.020196588709950447, 0.03703000023961067, -0.07420013099908829, -0.0047207120805978775, 0.08372914046049118, 0.02210589312016964, -0.0004989481531083584, 0.0430556945502758, -0.042880527675151825, 0.02475089393556118, -0.04144417122006416, -0.11659019440412521, 0.0001357533037662506, 0.00397625844925642, -0.01758662238717079, -0.05713900551199913, 0.044492051005363464, 0.008499909192323685, -0.003882106626406312, -0.011902499943971634, -0.060151852667331696, 0.03703000023961067, 0.07406000047922134, -0.01756034791469574, -0.02170301228761673, 0.07476066052913666, 0.021685495972633362, 0.004039755556732416, 0.017507797107100487, -0.0653717890381813, 0.042319998145103455, -0.032896094024181366, 0.011657267808914185, -0.004151423927396536, -0.019636059179902077, -0.0025311424396932125, 0.030093442648649216, 0.0005961103015579283, 0.07455046474933624, -0.05118337646126747, -0.003792334347963333, -0.04172443598508835, -0.01097412221133709, -0.02396264858543873, 0.02412029728293419, 0.02497860975563526, -0.018672648817300797, -0.037555497139692307, 0.0004537882923614234, 0.01366291381418705, -0.019268210977315903, -0.005478302948176861, -0.018620099872350693, 0.009178675711154938, -0.03175751492381096, -0.05430132523179054, 0.10187628865242004, 0.006349751725792885, -0.011981324292719364, -0.03463023155927658, -0.014354817569255829, -0.020319204777479172, -0.05882059410214424, 0.008048857562243938, 0.03706503286957741, 0.04519271478056908, 0.012498063035309315, 0.0025793127715587616, 0.005381961818784475, -0.006555571220815182, 0.02772870846092701, 0.030338674783706665, 0.009677897207438946, 0.00007512960291933268, -0.028394337743520737, -0.023769967257976532, -0.032580792903900146, 0.0047294702380895615, 0.03319387510418892, 0.0033763162791728973, -0.0008933443459682167, -0.03200274705886841, 0.007505844347178936, 0.040638409554958344, 0.011315695010125637, 0.03678476810455322, 0.009450182318687439, -0.062148742377758026, -0.0628143697977066, -0.026957979425787926, 0.00007321372686419636, 0.06666801124811172, 0.03228301182389259, -0.03513821214437485, 0.05440642312169075, -0.07476066052913666, 0.024961091578006744, -0.0268353633582592, -0.041198939085006714, -0.029760628938674927, -0.022246025502681732, -0.026537582278251648, 0.040953706949949265, -0.019180629402399063, -0.0734294056892395, 0.020932285115122795, -0.029462847858667374, 0.007689767982810736, -0.022386157885193825, -0.03261582553386688, -0.0333690382540226, 0.019968874752521515, -0.013172450475394726, -0.0491514578461647, -0.03144221752882004, -0.02412029728293419, -0.05489688739180565, 0.011657267808914185, 0.020354237407445908, 0.023086821660399437, 0.03815105929970741, 0.01318120863288641, -0.041829537600278854, -0.011035430245101452, -0.001239296398125589, 0.02900741621851921, -0.0653717890381813, -0.018865330144762993, -0.006113278213888407, -0.0703815221786499, -0.02620476856827736, -0.029270164668560028, -0.05633324384689331, -0.016544386744499207, 0.043125759810209274, -0.004420740995556116, 0.01816466823220253, 0.021738046780228615, -0.032177913933992386, -0.01036104280501604, -0.021597914397716522, -0.0015874379314482212, -0.03485794737935066, -0.026152217760682106, -0.017034851014614105, -0.002596829319372773, 0.00775545509532094, 0.05938112363219261, -0.01823473535478115, -0.03811602666974068, -0.009520248509943485, -0.00011125749733764678, 0.05335542932152748, -0.03296615928411484, -0.001774646108970046, -0.014757698401808739, 0.013443957082927227, 0.02040678821504116, -0.022999238222837448, 0.05696383863687515, 0.05279489979147911, 0.020599469542503357, -0.000581330677960068, -0.05289999768137932, 0.021002350375056267, -0.00486084446310997, 0.0022278870455920696, -0.01466135773807764, 0.02040678821504116, 0.07658237963914871, -0.021983277052640915, -0.034209832549095154, -0.044492051005363464, -0.014924106188118458, -0.028096556663513184, 0.006222756579518318, 0.0713624507188797, 0.004155803006142378, 0.023927615955471992, 0.03392956778407097, 0.01919814571738243, -0.03249321132898331, 0.040463242679834366, -0.00504476809874177, -0.0905255600810051, -0.028814734891057014, 0.04123397171497345, -0.05328536406159401, 0.0379408597946167, -0.049641918390989304, -0.025416523218154907, -0.018847813829779625, 0.01630791276693344, 0.0110091557726264, 0.030653972178697586, -0.012769569642841816, 0.042880527675151825, 0.01385559607297182, -0.07300900667905807, -0.01879526488482952, -0.052199337631464005, 0.046804238110780716, -0.046488940715789795, -0.06792920082807541, -0.00939763244241476, 0.003671908052638173, 0.053075164556503296, -0.024785926565527916, 0.012927218340337276, 0.018147151917219162, -0.0572090707719326, -0.013084867037832737, 0.03131960332393646, 0.03449009731411934, -0.023332051932811737, 0.007006622385233641, 0.03212536498904228, -0.061272911727428436, 0.019968874752521515, -0.05559754744172096, 0.022876622155308723, -0.02210589312016964, 0.013925662264227867, 0.0033785058185458183, -0.0017308547394350171, -0.026099668815732002, 0.03818609192967415, -0.03399963676929474, -0.03364930301904678, 0.04918649047613144, 0.037660595029592514, -0.020354237407445908, 0.039657484740018845, -0.0013750497018918395, -0.005377582740038633, -0.01839238405227661, -0.00899475160986185, 0.030005861073732376, 0.030583906918764114, 0.023086821660399437, 0.0024150952231138945, 0.013803046196699142, 0.03913198783993721, -0.00837729312479496, -0.0516037754714489, 0.1107747033238411, -0.024137813597917557, 0.03632933646440506, -0.007225579582154751, 0.04715456813573837, 0.05962635576725006, 0.00045460936962626874, 0.006822698749601841, 0.0022486879024654627, 0.017218774184584618, -0.08274821192026138, 0.02275400608778, 0.03674973547458649, 0.02515377476811409, 0.04950178787112236, -0.03151228278875351, 0.005973145831376314, 0.006831456907093525, -0.04596344381570816, -0.023121854290366173, 0.0290949996560812, 0.10558979958295822, 0.041584305465221405, -0.025854436680674553, -0.0019421481993049383, -0.04386145621538162, 0.08800318092107773, -0.019495926797389984, 0.03301870822906494, 0.007050413638353348, -0.06764893978834152, 0.02844688668847084, -0.01840990036725998, -0.006805181968957186, -0.037660595029592514, 0.02457572892308235, -0.026800330728292465, -0.008048857562243938, 0.05458158999681473, -0.021965760737657547, -0.028954867273569107, 0.026905430480837822, -0.05023748427629471, -0.05272483453154564, 0.006441713310778141, -0.018427416682243347, 0.027028046548366547, 0.018760232254862785, 0.02257884107530117, 0.0015206560492515564, -0.007724801078438759, -0.0034901737235486507, 0.02450566180050373, 0.046734172850847244, -0.04165437072515488, -0.029708079993724823, 0.033631786704063416, 0.04091867431998253, -0.010019470006227493, 0.051708873361349106, -0.048731058835983276, -0.05794476717710495, -0.03329897299408913, 0.018497483804821968, 0.0047294702380895615, -0.008005065843462944, -0.016745828092098236, 0.0038207988254725933, -0.010755165480077267, 0.02508370764553547, 0.0006727452273480594, 0.021510330960154533, -0.028271721675992012, -0.01652687042951584, 0.06617754697799683, -0.014845280908048153, -0.030391225591301918, -0.06961079686880112, -0.0314071848988533, 0.056298211216926575, 0.0127783278003335, 0.07980542629957199, -0.0007953611202538013, -0.008351017720997334, 0.03464774787425995, 0.04936165362596512, -0.0174464900046587, -0.014976655133068562, 0.03545350953936577, 0.008013824000954628, 0.027781257405877113, -0.007208062801510096, -0.005430132150650024, 0.004414171911776066, 0.07083695381879807, -0.07630211859941483, 0.02900741621851921, 0.06053721904754639, 0.0110091557726264, 0.043756358325481415, 0.0020789962727576494, 0.01953095942735672, -0.016413012519478798, 0.044492051005363464, -0.025906985625624657, -0.005465165711939335, -0.031196987256407738, -0.017726754769682884, -0.016141505911946297, 0.00829846877604723, 0.0043375371024012566, -0.04277542978525162, 0.028657086193561554, 0.01068509928882122, -0.001820627017877996, 0.07160767912864685, -0.017744271084666252, -0.0303737074136734, -0.00980051327496767, 0.02345466800034046, -0.0450175479054451, 0.0010789104271680117, -0.042144834995269775, -0.001895072404295206, 0.03329897299408913, -0.013330099172890186, -0.08134688436985016, -0.04999225214123726, -0.0729389414191246, -0.040638409554958344, 0.0049396688118577, 0.02925264835357666, 0.03976258262991905, 0.026099668815732002, -0.021002350375056267, 0.015283195301890373, 0.01563352718949318, -0.0030653972644358873, 0.002955918898805976, 0.05233946815133095, -0.036189205944538116, 0.03738033026456833, -0.013566572219133377, 0.03270341083407402, 0.032826025038957596, 0.05857536196708679, 0.021195033565163612, -0.0081101655960083, 0.017753029242157936, 0.033631786704063416, -0.08835350722074509, -0.023402119055390358, -0.022000795230269432, -0.0022508774418383837, -0.005311895627528429, 0.020038940012454987, -0.017131192609667778, 0.019881291314959526, 0.01731511577963829, -0.010667582973837852, 0.03240562975406647, -0.0029252648819237947, 0.007085446733981371, 0.009905612096190453, 0.04718960076570511, 0.010991638526320457, -0.03801092505455017, 0.01684216782450676, 0.005706018302589655, 0.024558210745453835, -0.02571430429816246, -0.0404982790350914, 0.08386927098035812, -0.01784937083721161, -0.00520679634064436, -0.0192156620323658, -0.026800330728292465, -0.006590604316443205, 0.013951936736702919, -0.021808112040162086, 0.038466356694698334, -0.02604711800813675, -0.043195828795433044, 0.041829537600278854, 0.006275305990129709, -0.03046129085123539, -0.011263145133852959, 0.020914768800139427, -0.03028612583875656, -0.04249516502022743, 0.00851304642856121, -0.0369599349796772, -0.021089933812618256, -0.017192499712109566, 0.0047207120805978775, -0.01245427131652832, 0.03575129061937332, 0.01354905590415001, 0.011280662380158901, 0.00767663074657321, 0.08421960473060608, -0.02765864133834839, 0.0014002297539263964, -0.0541611909866333, 0.005487061105668545, 0.0007488327682949603, -0.08527059853076935, -0.02072208561003208, -0.015379535965621471, -0.0016629780875518918, -0.0056009190157055855, 0.012357930652797222, 0.019145594909787178, -0.005110455211251974, -0.018497483804821968, -0.031196987256407738, -0.01904049701988697, -0.058540329337120056, 0.006818319670855999, -0.008718865923583508, 0.0030938617419451475, 0.022123409435153008, 0.01616778038442135, -0.0017505608266219497, -0.016649486497044563, -0.006336614023894072, -0.007970033213496208, 0.014083310961723328, -0.01724504865705967, -0.03177503123879433, -0.001779025187715888, 0.03857145458459854, 0.06523165106773376, -0.00396968936547637, 0.023174403235316277, -0.03706503286957741, -0.022053344175219536, -0.03913198783993721, -0.011123012751340866, 0.0516037754714489, 0.012322897091507912, -0.07237841188907623, -0.019075529649853706, 0.05132351070642471, -0.028902318328619003, 0.07609192281961441, 0.050202447921037674, 0.0572090707719326, -0.040708474814891815, 0.032510727643966675, 0.017183741554617882, -0.053810860961675644, 0.05682370811700821, -0.006897144019603729, -0.0004387349763419479, 0.0074138822965323925, 0.0036193584091961384, 0.011701059527695179, 0.050903111696243286, 0.0038010927382856607, 0.03575129061937332, -0.014976655133068562, 0.040638409554958344, 0.04274039715528488, -0.07945509999990463, 0.04144417122006416, 0.002553038066253066, 0.007181787863373756, -0.005368824582546949, -0.021475298330187798, 0.038466356694698334, -0.0005610772059299052, 0.005946870893239975, -0.010150844231247902, -0.023121854290366173, -0.016658244654536247, 0.010238426737487316 ]
54,204
nbconvert.exporters.templateexporter
from_notebook_node
Convert a notebook from a notebook node instance. Parameters ---------- nb : :class:`~nbformat.NotebookNode` Notebook node resources : dict Additional resources that can be accessed read/write by preprocessors and filters.
def from_notebook_node( # type:ignore[explicit-override, override] self, nb: NotebookNode, resources: dict[str, t.Any] | None = None, **kw: t.Any ) -> tuple[str, dict[str, t.Any]]: """ Convert a notebook from a notebook node instance. Parameters ---------- nb : :class:`~nbformat.NotebookNode` Notebook node resources : dict Additional resources that can be accessed read/write by preprocessors and filters. """ nb_copy, resources = super().from_notebook_node(nb, resources, **kw) resources.setdefault("raw_mimetypes", self.raw_mimetypes) resources["global_content_filter"] = { "include_code": not self.exclude_code_cell, "include_markdown": not self.exclude_markdown, "include_raw": not self.exclude_raw, "include_unknown": not self.exclude_unknown, "include_input": not self.exclude_input, "include_output": not self.exclude_output, "include_output_stdin": not self.exclude_output_stdin, "include_input_prompt": not self.exclude_input_prompt, "include_output_prompt": not self.exclude_output_prompt, "no_prompt": self.exclude_input_prompt and self.exclude_output_prompt, } # Top level variables are passed to the template_exporter here. output = self.template.render(nb=nb_copy, resources=resources) output = output.lstrip("\r\n") return output, resources
(self, nb: nbformat.notebooknode.NotebookNode, resources: Optional[dict[str, Any]] = None, **kw: Any) -> tuple[str, dict[str, typing.Any]]
[ -0.0078911567106843, -0.08220963925123215, 0.00680111488327384, -0.052582867443561554, -0.053328193724155426, 0.04531592130661011, 0.015745047479867935, 0.051539406180381775, 0.025825602933764458, -0.028676481917500496, 0.04494325816631317, 0.056868501007556915, -0.021838100627064705, 0.04430972784757614, -0.046135783195495605, -0.04181288182735443, -0.004008465446531773, -0.007658241782337427, 0.00971720926463604, 0.0009188492549583316, -0.08004818856716156, -0.0157823134213686, 0.032216787338256836, 0.0370614193379879, -0.009120946750044823, 0.005412942264229059, -0.00040760106639936566, -0.026533665135502815, -0.018316427245736122, 0.023869117721915245, 0.00012693861208390445, -0.07825940102338791, 0.02152133546769619, -0.0012006763136014342, 0.0334838442504406, 0.0019984098616987467, -0.06275659054517746, 0.06007340922951698, -0.08504188805818558, -0.008333695121109486, 0.020049313083291054, -0.10442040115594864, 0.0258069708943367, -0.0735638365149498, -0.011235814541578293, 0.0028788279742002487, 0.04009862616658211, -0.06611056625843048, -0.007676874753087759, -0.04773823544383049, 0.04378800094127655, -0.045502252876758575, -0.00674055702984333, 0.06048334017395973, -0.054148055613040924, 0.00733681907877326, -0.0247076116502285, 0.08847039192914963, -0.00910231377929449, 0.05694303289055824, -0.037322282791137695, -0.009959440678358078, -0.026291433721780777, -0.03206772357225418, 0.0022301601711660624, 0.02366415224969387, 0.020571043714880943, -0.05027234926819801, -0.038831569254398346, 0.017533833160996437, 0.0006999092292971909, -0.01740340143442154, 0.03730364888906479, 0.0433780699968338, 0.04658297821879387, -0.069725401699543, -0.02679452858865261, 0.01522331777960062, -0.032272689044475555, 0.029906272888183594, 0.058545488864183426, -0.012269956059753895, -0.050086017698049545, -0.028042953461408615, 0.035645294934511185, -0.06301745027303696, 0.07184958457946777, 0.028695113956928253, 0.0085107097402215, -0.00878554955124855, -0.07490543276071548, -0.04744010418653488, 0.02146543562412262, -0.0447569265961647, 0.044048864394426346, -0.03527263179421425, 0.0023559341207146645, 0.002436289796605706, 0.05593683943152428, -0.0326639860868454, 0.03875703737139702, 0.004839971661567688, -0.03827257454395294, -0.006964155472815037, 0.010639552026987076, 0.018866106867790222, -0.019033804535865784, 0.059477146714925766, -0.004760780371725559, -0.05109221115708351, -0.014543205499649048, 0.024856677278876305, -0.011291714385151863, 0.0262168999761343, 0.011804127134382725, 0.011897292919456959, 0.009791742078959942, 0.030465267598628998, 0.048409029841423035, -0.035701192915439606, -0.03478816896677017, 0.035589396953582764, -0.04483145847916603, -0.011897292919456959, -0.007756066042929888, 0.06707949191331863, 0.03603659197688103, 0.009186163544654846, -0.02221076376736164, 0.0021498044952750206, 0.004728172440081835, -0.015493498183786869, -0.06584969907999039, 0.07617248594760895, -0.0026994836516678333, 0.026011934503912926, -0.02685042843222618, 0.0507940798997879, 0.018735673278570175, 0.016546273604035378, 0.023682786151766777, -0.03916696831583977, 0.050831347703933716, 0.044868726283311844, -0.04751463979482651, -0.033614277839660645, 0.01159916166216135, 0.059775277972221375, -0.03456456959247589, -0.040284961462020874, -0.004171505570411682, 0.052582867443561554, 0.002164943842217326, 0.008380278013646603, -0.001884281518869102, 0.0656260997056961, 0.024036817252635956, -0.001214651158079505, -0.0030884514562785625, -0.025266608223319054, 0.03344658017158508, 0.03786264359951019, 0.05567597597837448, 0.03750861436128616, -0.008599217981100082, 0.023161057382822037, 0.0057390229776501656, -0.07032166421413422, 0.026645462960004807, 0.01803692989051342, -0.027241725474596024, -0.044980522245168686, -0.023216957226395607, 0.0006876811967231333, -0.012707836925983429, 0.0746818333864212, 0.056234970688819885, -0.040583088994026184, -0.019527584314346313, 0.020291544497013092, -0.0007482391083613038, -0.017915813252329826, -0.031862758100032806, 0.06804841756820679, -0.03484406694769859, 0.007388060446828604, 0.025508839637041092, -0.004558144602924585, 0.022490261122584343, -0.017282284796237946, 0.03745271638035774, 0.06216032803058624, -0.03853343799710274, 0.022434363141655922, -0.06927820295095444, -0.052172936499118805, -0.021595869213342667, -0.017645632848143578, -0.025657905265688896, 0.061340466141700745, -0.008464126847684383, 0.03909243643283844, 0.020496509969234467, 0.05459525063633919, -0.01435687392950058, 0.005422258749604225, -0.04360166937112808, 0.05168847367167473, -0.04870716109871864, 0.029664041474461555, 0.029328642413020134, -0.00755575904622674, 0.027074027806520462, 0.007784015499055386, 0.04553952068090439, -0.009316595271229744, -0.022769760340452194, 0.04848356544971466, -0.028900079429149628, -0.03305528312921524, 0.05761382728815079, -0.027651656419038773, -0.022080332040786743, -0.01688167080283165, -0.008226553909480572, -0.024390848353505135, 0.0403594933450222, -0.02036607824265957, 0.026589564979076385, 0.0063539184629917145, -0.0642472431063652, 0.015437599271535873, 0.00545020867139101, -0.0004579689120873809, 0.02338465489447117, 0.008599217981100082, 0.007630291860550642, -0.019974781200289726, -0.020571043714880943, 0.013537013903260231, -0.04065762460231781, -0.011189231649041176, -0.008436176925897598, -0.07587435841560364, 0.03422917425632477, -0.00927932932972908, 0.0771414116024971, -0.00848276074975729, -0.06014794111251831, -0.02528524026274681, 0.020571043714880943, -0.009153555147349834, 0.007122537586838007, -0.0031676425132900476, -0.0017235701670870185, 0.040583088994026184, -0.032626718282699585, -0.07516629248857498, -0.030185770243406296, 0.00684303930029273, 0.01652764156460762, -0.06298018991947174, -0.000214136132854037, 0.002808953635394573, 0.04870716109871864, -0.03022303618490696, -0.0365024209022522, 0.053216394037008286, 0.05098041146993637, -0.015577347949147224, 0.04177561402320862, 0.04952702298760414, 0.0075231511145830154, 0.011515311896800995, 0.03456456959247589, -0.06786208599805832, 0.0485953614115715, 0.01768289878964424, 0.003374936757609248, -0.010509120300412178, -0.019033804535865784, -0.013574279844760895, 0.0022848951630294323, -0.013537013903260231, 0.030428001657128334, -0.08422202616930008, -0.015214000828564167, 0.022080332040786743, 0.007001421879976988, -0.04073215648531914, 0.022359829396009445, 0.03909243643283844, -0.010285521857440472, 0.017226384952664375, -0.014524572528898716, 0.03219815343618393, -0.049564290791749954, -0.0017095953226089478, -0.024744877591729164, 0.008394252508878708, -0.01078861765563488, -0.040284961462020874, 0.06745215505361557, -0.027688922360539436, -0.0035775727592408657, -0.021241838112473488, 0.012549454346299171, 0.03374470770359039, -0.04043402522802353, 0.012456288561224937, 0.022993357852101326, -0.02163313515484333, 0.08325310051441193, 0.010388004593551159, -0.011412830092012882, -0.05761382728815079, 0.05314186215400696, 0.030297569930553436, -0.02958950772881508, 0.021130038425326347, -0.030372101813554764, -0.027577122673392296, -0.046135783195495605, 0.05694303289055824, 0.002580696949735284, -0.019769815728068352, 0.0037196509074419737, -0.024502646178007126, 0.021502703428268433, 0.04524138942360878, -0.004287963267415762, 0.020384712144732475, -0.020571043714880943, -0.024931209161877632, -0.05839642137289047, -0.05556417629122734, -0.004784071817994118, 0.01696552149951458, -0.034955866634845734, -0.026999494060873985, 0.03149009495973587, -0.01261467020958662, 0.028117485344409943, 0.0182512104511261, -0.036744654178619385, -0.055415112525224686, -0.022602060809731483, -0.011748227290809155, -0.007271602749824524, -0.018903372809290886, -0.047589171677827835, 0.05172573775053024, -0.011701644398272038, 0.01600591093301773, -0.02645913138985634, -0.04401159659028053, -0.023477820679545403, -0.015176733955740929, -0.029552241787314415, -0.044458795338869095, -0.020794641226530075, 0.054669782519340515, -0.02586286887526512, 0.03387514129281044, 0.0028695114888250828, -0.008641142398118973, 0.049042560160160065, 0.07319117337465286, 0.026664096862077713, -0.011999775655567646, 0.033856507390737534, 0.007131854072213173, -0.034955866634845734, -0.02534114010632038, -0.027856621891260147, -0.04617304727435112, -0.0419992133975029, -0.03409874066710472, -0.08116617798805237, -0.01302460115402937, 0.008608534000813961, 0.008855423890054226, 0.01261467020958662, -0.037899911403656006, -0.03463910147547722, -0.037266381084918976, -0.005054253153502941, 0.02755849063396454, -0.01449662260711193, -0.049266159534454346, -0.04397433251142502, -0.006260752212256193, 0.0060790786519646645, 0.04304267093539238, -0.04773823544383049, -0.07211045175790787, 0.02383185178041458, 0.012577404268085957, 0.05034688487648964, -0.05057048052549362, 0.04129115119576454, 0.021502703428268433, 0.03631608933210373, 0.02638459950685501, -0.0017154181841760874, 0.03635335713624954, 0.06331558525562286, 0.004711868241429329, 0.03780674561858177, -0.04889349266886711, -0.004469636827707291, 0.006051128730177879, 0.009735842235386372, 0.0053803338669240475, -0.009256037883460522, 0.028341084718704224, 0.0086458008736372, 0.027521222829818726, -0.0576510950922966, -0.03961416333913803, -0.04512958973646164, -0.010499803349375725, 0.09152623265981674, 0.0010219140676781535, 0.05411078780889511, -0.049974218010902405, 0.00837096106261015, -0.023999551311135292, 0.004290292505174875, 0.052992794662714005, -0.038198042660951614, -0.042670007795095444, 0.00884144939482212, -0.04240914434194565, 0.040173161774873734, -0.05712936446070671, 0.005916038062423468, -0.03270125016570091, 0.019015172496438026, 0.041850149631500244, 0.05835915356874466, -0.012493554502725601, 0.06566336750984192, -0.025825602933764458, -0.0716632530093193, 0.0021171963308006525, -0.05835915356874466, 0.046955641359090805, -0.020049313083291054, -0.04870716109871864, 0.07143965363502502, -0.02314242348074913, 0.03108016401529312, -0.027055393904447556, 0.00912560522556305, -0.025732437148690224, 0.023347388952970505, -0.027278991416096687, 0.003605522448197007, 0.018977904692292213, -0.025192074477672577, 0.039129700511693954, 0.042670007795095444, -0.0370614193379879, 0.025732437148690224, -0.10300428420305252, 0.04796183481812477, -0.04989968612790108, 0.013648812659084797, 0.026608197018504143, 0.011729594320058823, 0.01844685897231102, 0.021558603271842003, -0.04963882267475128, 0.03253355249762535, 0.02819201909005642, -0.010108506307005882, -0.06454537808895111, -0.03747134655714035, -0.029664041474461555, -0.04669477790594101, -0.020217012614011765, 0.03994956240057945, -0.00009454888640902936, -0.03484406694769859, -0.01267057005316019, 0.02349645458161831, 0.02025427855551243, 0.056980300694704056, 0.018316427245736122, -0.06491804122924805, 0.0650671049952507, -0.0381607748568058, 0.0010527753038331866, -0.03050253354012966, -0.002734420821070671, 0.03786264359951019, 0.014766803942620754, 0.0244281142950058, -0.027353525161743164, 0.01525126677006483, -0.06514164060354233, 0.05306733027100563, 0.04315447062253952, 0.019769815728068352, -0.0047631096094846725, -0.001201840816065669, 0.03536579757928848, 0.02187536656856537, 0.0032188838813453913, 0.0004710703797172755, 0.052582867443561554, 0.09860684722661972, 0.014347556978464127, -0.05377538874745369, -0.021204572170972824, -0.040918488055467606, 0.09011011570692062, -0.0027204458601772785, 0.017086636275053024, 0.04293087124824524, -0.0321236215531826, 0.04106755554676056, -0.011897292919456959, 0.022341197356581688, 0.013611546717584133, 0.025825602933764458, -0.021074138581752777, -0.060185208916664124, 0.0373409166932106, -0.05265739932656288, -0.0419992133975029, 0.03747134655714035, -0.060185208916664124, -0.0755016878247261, 0.01603386178612709, 0.04147748276591301, 0.018381644040346146, 0.05358905717730522, 0.02338465489447117, 0.005100836046040058, -0.007448618300259113, -0.011934558860957623, 0.021446803584694862, 0.03324161469936371, 0.032104987651109695, -0.017636315897107124, 0.0337633416056633, 0.015642564743757248, 0.0023815548047423363, 0.04773823544383049, -0.059253547340631485, -0.007956372573971748, 0.009325912222266197, 0.026086468249559402, 0.02111140638589859, -0.02860194817185402, 0.003745271358639002, 0.0634273812174797, 0.02824791893362999, 0.008189287967979908, -0.040694888681173325, -0.0009951288811862469, -0.012009091675281525, 0.018456175923347473, 0.06357645243406296, 0.011673694476485252, -0.02604920230805874, -0.06652048975229263, -0.008054196834564209, 0.06845834851264954, -0.002550418023020029, 0.06666956096887589, -0.03480680286884308, 0.009186163544654846, -0.010164406150579453, 0.0009322418482042849, -0.02755849063396454, -0.011636427603662014, 0.0033563035540282726, -0.03191865608096123, 0.035999324172735214, 0.018735673278570175, -0.04408613219857216, 0.023272855207324028, 0.045278653502464294, -0.07833393663167953, 0.01676987297832966, 0.07546442747116089, 0.007993639446794987, 0.0315646268427372, 0.028322450816631317, 0.04136568307876587, -0.044682394713163376, 0.09294235706329346, 0.015512132085859776, -0.022825660184025764, -0.03149009495973587, -0.018595924600958824, -0.04345260187983513, -0.001959978835657239, 0.002021701307967305, 0.008669092319905758, -0.02146543562412262, 0.05090587958693504, -0.039539631456136703, 0.03950236737728119, -0.04934069141745567, -0.013509063981473446, -0.01567983068525791, 0.04177561402320862, -0.029887638986110687, 0.019918881356716156, 0.03991229459643364, -0.011291714385151863, -0.005273193120956421, -0.023757319897413254, -0.05839642137289047, -0.021316369995474815, -0.03939056769013405, -0.027055393904447556, 0.01581026241183281, 0.019341252744197845, 0.010881783440709114, -0.02575107105076313, -0.02742805704474449, 0.020403344184160233, 0.0026389257982373238, -0.012400388717651367, 0.02876964770257473, 0.04125388711690903, -0.06666956096887589, 0.061042334884405136, -0.026608197018504143, -0.004313583951443434, 0.02558337152004242, 0.039465099573135376, 0.023515086621046066, -0.013620862737298012, 0.04751463979482651, 0.027521222829818726, -0.04442152753472328, -0.024111349135637283, -0.05876908451318741, -0.01336931437253952, -0.0455767847597599, 0.053328193724155426, -0.023589620366692543, -0.022173497825860977, 0.009344545193016529, -0.04587491601705551, 0.06499256938695908, 0.0035868892446160316, -0.003409873927012086, -0.044868726283311844, 0.059588946402072906, 0.03283168375492096, -0.0067312405444681644, 0.03827257454395294, -0.0027949786745011806, 0.025136174634099007, -0.00535238441079855, 0.006004545837640762, 0.05753929540514946, 0.003847754094749689, -0.008599217981100082, -0.025154808536171913, 0.027241725474596024, 0.014915869571268559, -0.015791630372405052, 0.015512132085859776, 0.01984434947371483, -0.0362415574491024, -0.03950236737728119, -0.002811282640323043, 0.025154808536171913, -0.034322340041399, -0.03853343799710274, -0.054259851574897766, -0.051539406180381775, -0.028676481917500496, -0.006325968541204929, -0.0647689700126648, -0.0029393858276307583, -0.019453052431344986, 0.011431463062763214, 0.015297849662601948, 0.007681533228605986, -0.025098908692598343, -0.007169120479375124, 0.01253082137554884, 0.032924849539995193, 0.026179634034633636, 0.006489008665084839, -0.0167419221252203, 0.01354632992297411, -0.004509232472628355, -0.02958950772881508, -0.01522331777960062, -0.015745047479867935, 0.019695283845067024, -0.01707731932401657, 0.0065775164403021336, -0.0016234167851507664, 0.024912577122449875, 0.008855423890054226, -0.018372327089309692, -0.053402725607156754, -0.0428190752863884, 0.022900192067027092, -0.014580472372472286, 0.030986996367573738, 0.036055225878953934, -0.002332642674446106, -0.05917901545763016, -0.01128239743411541, -0.00420644273981452, 0.01505561824887991, -0.017673581838607788, -0.028341084718704224, -0.023589620366692543, -0.033036649227142334, 0.04367620125412941, 0.06048334017395973, 0.015214000828564167, 0.03329751268029213, -0.05586230754852295, -0.0631292536854744, 0.022192131727933884, -0.053216394037008286, 0.054967913776636124, 0.03983776271343231, -0.051763005554676056, -0.054259851574897766, 0.04766370356082916, -0.030297569930553436, 0.057800158858299255, 0.03730364888906479, -0.01342521421611309, -0.03555212914943695, 0.08966291695833206, 0.03499313443899155, -0.004637335427105427, 0.06857014447450638, -0.0020042327232658863, 0.024055449292063713, -0.003735954873263836, -0.007667558267712593, 0.0233287550508976, 0.03864523768424988, 0.04408613219857216, 0.03337204456329346, -0.005776289384812117, 0.029049145057797432, 0.06935273855924606, -0.02308652363717556, 0.02025427855551243, 0.019974781200289726, -0.03939056769013405, -0.0004142973630223423, 0.01704937033355236, 0.01855865865945816, -0.007038687821477652, 0.02180083468556404, 0.04032222554087639, -0.019751183688640594, -0.014915869571268559, -0.03352111205458641 ]
54,205
nbconvert.exporters.templateexporter
get_prefix_root_dirs
Get the prefix root dirs.
def get_prefix_root_dirs(self): """Get the prefix root dirs.""" # We look at the usual jupyter locations, and for development purposes also # relative to the package directory (first entry, meaning with highest precedence) root_dirs = [] if DEV_MODE: root_dirs.append(os.path.abspath(os.path.join(ROOT, "..", "..", "share", "jupyter"))) root_dirs.extend(jupyter_path()) return root_dirs
(self)
[ -0.04268936440348625, -0.011103910394012928, 0.002949054818600416, -0.024959072470664978, 0.02017585001885891, 0.07178431004285812, -0.017478544265031815, 0.050205860286951065, 0.035838209092617035, -0.02103898860514164, -0.000981707009486854, -0.04340864717960358, -0.028555480763316154, -0.019546478986740112, 0.003506497945636511, -0.058981094509363174, 0.031180860474705696, 0.003407596843317151, 0.0036930616479367018, -0.024239791557192802, -0.02889714017510414, -0.020841185003519058, 0.015284734778106213, 0.009062948636710644, -0.060131944715976715, 0.020535491406917572, 0.02882521227002144, -0.027782253921031952, 0.026379654183983803, -0.0052282786928117275, -0.04171833395957947, 0.019330695271492004, 0.05592414736747742, 0.020769257098436356, 0.022531498223543167, -0.015752268955111504, 0.04427178576588631, 0.011526488699018955, -0.05052953585982323, -0.022423606365919113, 0.022081946954131126, -0.06297311186790466, 0.021596431732177734, -0.024275755509734154, 0.03787017986178398, 0.04437967762351036, 0.015104915015399456, -0.026577457785606384, 0.05524083226919174, 0.08293317258358002, 0.005610397085547447, 0.01087014377117157, -0.03765439614653587, -0.010798215866088867, -0.020823203027248383, 0.03517287224531174, 0.017901122570037842, -0.031198842450976372, -0.01918683759868145, 0.04218586906790733, -0.023520510643720627, 0.022099928930401802, 0.06164243817329407, -0.006001506466418505, -0.03046157769858837, 0.009314697235822678, -0.05437769368290901, 0.010699314996600151, -0.02828575111925602, 0.020193831995129585, -0.07818591594696045, -0.03438166156411171, -0.0012935830745846033, -0.04427178576588631, 0.03429175168275833, -0.008694317191839218, -0.002321931067854166, -0.020247777923941612, -0.04089116305112839, -0.01319881808012724, -0.06948260962963104, -0.022999031469225883, -0.027404630556702614, 0.0234305988997221, 0.09818194806575775, 0.03634170442819595, -0.012587429024279118, 0.07789820432662964, 0.058153919875621796, -0.05027778819203377, 0.0019252023193985224, -0.014349669218063354, 0.07081327587366104, 0.022117910906672478, -0.010987027548253536, -0.019528497010469437, -0.05707499757409096, -0.04286918789148331, -0.00743107870221138, -0.02548055164515972, -0.02745857648551464, 0.009683329612016678, 0.017469553276896477, 0.028339697048068047, 0.03722282499074936, 0.013513503596186638, -0.030030008405447006, 0.024059971794486046, 0.016498522832989693, -0.02021181397140026, -0.028645392507314682, -0.0427253283560276, 0.021884143352508545, -0.012947069481015205, 0.013981036841869354, 0.03182821348309517, 0.008658353239297867, -0.0037559987977147102, 0.03902103006839752, 0.00012446944310795516, -0.02263939008116722, 0.07430179417133331, 0.02531871385872364, -0.039992060512304306, 0.03601802885532379, -0.002342160791158676, 0.04092712700366974, 0.06085122749209404, -0.05319087952375412, 0.009629382751882076, 0.054161909967660904, 0.022297730669379234, -0.0626494288444519, -0.08041568845510483, 0.01043857540935278, 0.028915122151374817, 0.03450753539800644, -0.011490524746477604, 0.022585444152355194, 0.06279328465461731, 0.007363645825535059, 0.003967287950217724, -0.028681356459856033, 0.04887518659234047, -0.029742296785116196, 0.07257551699876785, 0.029706332832574844, 0.059017058461904526, 0.023088941350579262, -0.006451057270169258, 0.009593418799340725, -0.02087715081870556, 0.0033042000140994787, -0.023124905303120613, -0.057578496634960175, 0.007516493089497089, -0.006271237041801214, -0.002209543250501156, 0.04714891314506531, -0.02860942855477333, -0.04815590754151344, -0.0498102530837059, 0.009728284552693367, -0.061858221888542175, -0.039380669593811035, 0.03693511337041855, -0.005529477726668119, -0.02388015016913414, -0.020931096747517586, 0.01811690628528595, 0.006284723524004221, 0.006657850928604603, 0.028807230293750763, -0.02244158834218979, -0.025013020262122154, -0.011472542770206928, -0.007615394424647093, 0.004263991490006447, -0.021416611969470978, 0.015572447329759598, -0.016912110149860382, 0.007574934978038073, -0.021254772320389748, 0.044235821813344955, -0.04919886589050293, 0.03916488587856293, 0.021632395684719086, -0.02548055164515972, 0.03150453791022301, 0.08724886178970337, -0.04063941165804863, 0.05225581303238869, 0.00930570624768734, 0.023394634947180748, -0.00885165948420763, 0.006545463111251593, 0.08581030368804932, 0.008002008311450481, -0.07012996077537537, -0.01436765119433403, -0.04574631154537201, 0.00938662514090538, -0.009440572001039982, 0.01399901881814003, 0.028141895309090614, -0.002096031792461872, -0.11968846619129181, 0.04326479136943817, -0.00926075130701065, 0.055600471794605255, 0.03486717864871025, -0.04189815744757652, 0.02972431480884552, 0.0138731449842453, 0.0011969296028837562, -0.015635384246706963, -0.016480540856719017, 0.04146658629179001, 0.014925094321370125, 0.00018417544197291136, -0.05793813616037369, -0.06135472655296326, 0.04923482984304428, 0.0029940097592771053, -0.09688723832368851, 0.004263991490006447, 0.0335005447268486, -0.0004456174501683563, 0.02742261253297329, -0.018827198073267937, -0.008141369558870792, -0.01463738176971674, -0.002638864563778043, -0.010366646572947502, -0.0047967093996703625, -0.019816208630800247, 0.04200604930520058, -0.008599910885095596, 0.043984074145555496, 0.010366646572947502, -0.055852219462394714, -0.0370430052280426, 0.07228780537843704, 0.028645392507314682, 0.0138731449842453, 0.027224810793995857, 0.040495555847883224, -0.00287712668068707, 0.04542263597249985, 0.0017554968362674117, -0.018971053883433342, 0.03873331844806671, -0.006046461407095194, -0.05214792117476463, 0.024383647367358208, 0.0029085951391607523, -0.010807206854224205, 0.07084923982620239, 0.0028254282660782337, 0.022963067516684532, 0.017352670431137085, 0.004389865789562464, -0.01880921609699726, -0.015221797861158848, -0.021992037072777748, -0.012362653389573097, 0.05865741893649101, 0.02432970143854618, -0.04729276895523071, 0.03332072123885155, 0.10033979266881943, 0.06218189746141434, -0.04880325868725777, 0.008928083814680576, 0.01877325028181076, -0.007790719158947468, -0.02049952745437622, 0.012056958861649036, -0.07437372207641602, -0.010258754715323448, -0.06059947982430458, -0.011841174215078354, -0.02161441370844841, 0.014484534040093422, -0.032961081713438034, -0.07458950579166412, -0.003448056522756815, -0.05995212495326996, -0.008465046063065529, -0.021344682201743126, 0.03605399280786514, -0.018989035859704018, -0.05182424187660217, -0.013531486503779888, -0.008896615356206894, 0.013747270219027996, -0.011400613933801651, -0.01329771988093853, -0.018971053883433342, 0.0047967093996703625, -0.03956048935651779, 0.05667939409613609, -0.022621408104896545, 0.01051949430257082, 0.021344682201743126, 0.01364836934953928, 0.03164839372038841, -0.005655352026224136, 0.03181023150682449, 0.0020151124335825443, -0.009836176410317421, -0.04121483862400055, 0.07466143369674683, -0.05085321143269539, -0.015797223895788193, -0.016201818361878395, 0.027656380087137222, 0.003407596843317151, -0.03154050186276436, 0.05480926111340523, -0.0017127894097939134, 0.05225581303238869, 0.0034008536022156477, 0.016372648999094963, -0.008483028039336205, 0.014961058273911476, -0.0015487032942473888, 0.0072152940556406975, -0.028969068080186844, -0.0066713374108076096, -0.07354655116796494, -0.04470335319638252, -0.03605399280786514, 0.027440594509243965, 0.0455305278301239, -0.005435071885585785, 0.05743464082479477, -0.0526154525578022, -0.0024612918496131897, -0.00994406919926405, 0.053334735333919525, -0.05150056630373001, -0.026091942563652992, 0.01315386313945055, -0.024635396897792816, 0.0003838042030110955, 0.025138894096016884, 0.06228978931903839, 0.00013163416588213295, 0.010573440231382847, 0.023610420525074005, 0.09868544340133667, -0.04186219349503517, -0.0008614521939307451, 0.05088917538523674, -0.008590919896960258, -0.07422986626625061, 0.0058891186490654945, -0.016498522832989693, 0.08638572692871094, 0.036089956760406494, 0.000029449105568346567, 0.024185845628380775, 0.01642659492790699, -0.047076985239982605, -0.010699314996600151, 0.04214990511536598, -0.01568033918738365, 0.02490512654185295, -0.015995025634765625, -0.012857159599661827, -0.02078723907470703, -0.005435071885585785, -0.04056748375296593, -0.004093162249773741, 0.009413599036633968, 0.013630387373268604, -0.03506498038768768, -0.06894314289093018, -0.013450566679239273, 0.016660360619425774, 0.009143867529928684, 0.02889714017510414, -0.0326194241642952, -0.030317721888422966, -0.003317686729133129, 0.007790719158947468, -0.015401618555188179, -0.03046157769858837, 0.004774231929332018, 0.011580434627830982, -0.03754650056362152, 0.0006175707094371319, 0.03898506611585617, -0.03474130481481552, -0.034489553421735764, 0.01010590698570013, -0.0037897152360528708, 0.04891115054488182, -0.02407795377075672, 0.07559650391340256, -0.04143062233924866, 0.023196833208203316, 0.04441564157605171, 0.03783421590924263, -0.049882180988788605, 0.033950094133615494, -0.023952078074216843, -0.032421618700027466, -0.036000046879053116, -0.029904134571552277, -0.0512847825884819, 0.06358449906110764, 0.01709192991256714, 0.008613397367298603, 0.028339697048068047, -0.039344705641269684, -0.0015565704088658094, 0.08429981023073196, 0.01123877614736557, -0.028141895309090614, -0.03869735449552536, 0.038517531007528305, 0.03923681378364563, 0.06527481228113174, 0.02812391333281994, -0.04783222824335098, -0.01864737644791603, -0.01832370087504387, 0.014151866547763348, 0.018971053883433342, -0.0008968543261289597, -0.026217816397547722, -0.046789269894361496, -0.017469553276896477, -0.0192228015512228, 0.006581427063792944, -0.012461554259061813, -0.06232575327157974, -0.025714319199323654, 0.00034503042115829885, -0.026577457785606384, 0.00940460804849863, 0.044775281101465225, 0.0031513527501374483, 0.09257154911756516, -0.08638572692871094, 0.039416633546352386, -0.05060146376490593, 0.009503508917987347, -0.012065949849784374, -0.03790614381432533, 0.002542210975661874, 0.028789248317480087, 0.01593208871781826, -0.009809203445911407, -0.04153851419687271, -0.017055965960025787, -0.10213799774646759, 0.002427575644105673, 0.047364696860313416, 0.025840193033218384, 0.06822386384010315, -0.01203897688537836, 0.029940098524093628, -0.024473559111356735, 0.044199857860803604, -0.02972431480884552, -0.02573230117559433, -0.00037425121990963817, 0.006909599527716637, 0.0027894640807062387, -0.022531498223543167, -0.0006243140087462962, 0.008019990287721157, 0.004389865789562464, -0.03429175168275833, 0.033824220299720764, 0.008797713555395603, -0.04146658629179001, -0.11594820022583008, -0.03042561374604702, 0.026379654183983803, 0.020067958161234856, -0.02557046338915825, -0.06728880107402802, -0.004967539105564356, -0.0020870405714958906, -0.008901110850274563, -0.0399201326072216, 0.05707499757409096, 0.07074134796857834, -0.05124881863594055, 0.008595415391027927, 0.003933571744710207, 0.01436765119433403, 0.04491914063692093, 0.04128676652908325, 0.0037694855127483606, 0.026451582089066505, 0.0185215026140213, -0.00862688384950161, -0.02305297739803791, 0.08458752185106277, -0.014511507004499435, -0.004810195881873369, -0.02413189969956875, -0.038265783339738846, -0.020265759900212288, 0.0022623655386269093, 0.004639366641640663, -0.0013183084083721042, -0.014178839512169361, -0.032008033245801926, 0.006567940581589937, 0.007970539852976799, -0.02033768780529499, 0.03576628118753433, 0.024113917723298073, 0.040855199098587036, -0.03252951428294182, -0.05286720022559166, 0.010618395172059536, 0.005498009268194437, -0.02828575111925602, 0.047904156148433685, 0.024024007841944695, -0.014502516016364098, -0.07904905080795288, 0.0965995267033577, -0.0320260152220726, -0.0067972117103636265, -0.012245770543813705, 0.051896169781684875, 0.0021938090212643147, -0.0008636999409645796, 0.018000023439526558, -0.017154866829514503, 0.057326748967170715, -0.024761270731687546, 0.0002986704639624804, -0.016642378643155098, 0.04855151101946831, -0.017901122570037842, 0.04009995236992836, 0.049378685653209686, 0.02247755229473114, -0.0008468417800031602, 0.03348255902528763, 0.014133884571492672, 0.06757651269435883, -0.021272754296660423, 0.03619784861803055, 0.06052755191922188, 0.04427178576588631, -0.047328732907772064, 0.006509499158710241, 0.007952557876706123, -0.012902114540338516, 0.0011294969590380788, 0.03680923953652382, -0.010555458255112171, 0.008267243392765522, -0.009971042163670063, 0.006028479430824518, -0.026451582089066505, -0.06610198318958282, -0.017712309956550598, -0.0066039045341312885, 0.004279725719243288, 0.003902103053405881, 0.005286720115691423, 0.02407795377075672, -0.04330075532197952, -0.03305099159479141, 0.03038964979350567, 0.02103898860514164, 0.010555458255112171, -0.006999509409070015, -0.08278931677341461, 0.03657547011971474, -0.02075127512216568, 0.08408402651548386, 0.017757264897227287, 0.009917095303535461, 0.018125897273421288, 0.02078723907470703, 0.010087925009429455, 0.03145059198141098, -0.05290316417813301, 0.009494517929852009, -0.0001019216506392695, 0.06556252390146255, -0.00788512546569109, 0.08055954426527023, -0.036089956760406494, -0.10048364847898483, -0.04578227549791336, 0.043084971606731415, -0.017388634383678436, 0.030641397461295128, 0.05351455509662628, -0.0007187197334133089, 0.030785255134105682, 0.011958057060837746, -0.061246830970048904, 0.018431592732667923, 0.04499106854200363, -0.05441365763545036, 0.01605796255171299, -0.01762240007519722, -0.025210822001099586, 0.019816208630800247, -0.07196412980556488, -0.0006299333763308823, 0.009000011719763279, 0.03511892631649971, -0.03905699402093887, 0.005012494046241045, -0.042833223938941956, -0.05441365763545036, -0.016813209280371666, -0.014358660206198692, -0.03619784861803055, 0.03457946702837944, -0.04128676652908325, 0.03134269639849663, 0.03377027437090874, 0.033158883452415466, -0.0012958308216184378, 0.04495510458946228, 0.002508494770154357, 0.05944862961769104, -0.07045363634824753, 0.0075075021013617516, 0.009809203445911407, -0.032223816961050034, -0.03404000401496887, -0.024563468992710114, -0.0163816399872303, 0.030623415485024452, -0.025264767929911613, -0.0025512021966278553, -0.02927476353943348, 0.007381627801805735, -0.06797211617231369, -0.00015945013728924096, 0.06829579174518585, -0.016579441726207733, 0.0034750294871628284, -0.021218808367848396, -0.023682348430156708, -0.0030344694387167692, 0.03332072123885155, -0.06772036850452423, 0.06556252390146255, 0.007476033642888069, -0.02432970143854618, 0.013441575691103935, -0.04556649178266525, -0.010258754715323448, -0.013684333302080631, -0.06944664567708969, -0.011265749111771584, 0.026415618136525154, -0.022981049492955208, -0.013036980293691158, -0.032385654747486115, 0.03528076410293579, -0.0277462899684906, 0.04880325868725777, 0.035712335258722305, -0.036665383726358414, -0.04865940287709236, -0.027404630556702614, -0.004891115240752697, -0.0022252777125686407, 0.038841210305690765, 0.013396620750427246, -0.03290713578462601, -0.06473534554243088, 0.030353685840964317, -0.028483552858233452, 0.02404198981821537, 0.000176027329871431, 0.004927079193294048, 0.02477925270795822, 0.031846195459365845, 0.016894128173589706, -0.007012995891273022, -0.06890717893838882, 0.012065949849784374, 0.09854158759117126, 0.025084948167204857, -0.014808210544288158, 0.012686329893767834, 0.04045959189534187, 0.02094907872378826, -0.06469938158988953, -0.04589017108082771, 0.03193610534071922, 0.006810698192566633, -0.03592811897397041, -0.041358694434165955, 0.06027580052614212, 0.02231571264564991, -0.0008395365439355373, -0.0032682360615581274, -0.09760651737451553, 0.05484522506594658, 0.028141895309090614, -0.02963440492749214, 0.019996030256152153, -0.0639801025390625, 0.013315701857209206, -0.04063941165804863, 0.006415093317627907, -0.0034098445903509855, 0.06941068172454834, -0.04776030033826828, 0.018332691863179207, -0.020733293145895004, 0.017802221700549126, 0.027926109731197357, 0.007053455803543329, -0.01732569746673107, -0.000582730513997376, -0.02819584123790264, -0.0611029751598835, 0.043120935559272766, -0.01795506849884987, 0.029058977961540222, 0.01307294424623251, 0.0076288809068500996, 0.014439579099416733, 0.002048828871920705, 0.021128898486495018, 0.025264767929911613, -0.02627176232635975, 0.0010963425738736987, 0.06768440455198288, -0.029508529230952263, -0.019564460963010788, 0.017937086522579193, -0.001133430516347289, 0.011031982488930225, 0.03486717864871025, -0.02404198981821537, 0.023520510643720627, 0.03191812336444855, 0.044235821813344955, -0.00815036054700613, -0.05693114176392555, -0.05775831639766693, -0.013828190043568611, -0.024563468992710114, -0.0178202036768198, 0.002245507435873151, -0.023034995421767235, -0.029580457136034966, -0.008676335215568542, -0.09544867277145386, -0.010528485290706158, 0.004711295012384653, 0.0796244814991951, -0.01360341440886259, -0.030317721888422966, -0.03959645330905914 ]
54,206
nbconvert.exporters.templateexporter
get_template_names
Finds a list of template names where each successive template name is the base template
def get_template_names(self): """Finds a list of template names where each successive template name is the base template""" template_names = [] root_dirs = self.get_prefix_root_dirs() base_template: str | None = self.template_name merged_conf: dict[str, t.Any] = {} # the configuration once all conf files are merged while base_template is not None: template_names.append(base_template) conf: dict[str, t.Any] = {} found_at_least_one = False for base_dir in self.extra_template_basedirs: template_dir = os.path.join(base_dir, base_template) if os.path.exists(template_dir): found_at_least_one = True conf_file = os.path.join(template_dir, "conf.json") if os.path.exists(conf_file): with open(conf_file) as f: conf = recursive_update(json.load(f), conf) for root_dir in root_dirs: template_dir = os.path.join(root_dir, "nbconvert", "templates", base_template) if os.path.exists(template_dir): found_at_least_one = True conf_file = os.path.join(template_dir, "conf.json") if os.path.exists(conf_file): with open(conf_file) as f: conf = recursive_update(json.load(f), conf) if not found_at_least_one: # Check for backwards compatibility template names for root_dir in root_dirs: compatibility_file = base_template + ".tpl" compatibility_path = os.path.join( root_dir, "nbconvert", "templates", "compatibility", compatibility_file ) if os.path.exists(compatibility_path): found_at_least_one = True warnings.warn( f"5.x template name passed '{self.template_name}'. Use 'lab' or 'classic' for new template usage.", DeprecationWarning, stacklevel=2, ) self.template_file = compatibility_file conf = self.get_compatibility_base_template_conf(base_template) self.template_name = t.cast(str, conf.get("base_template")) break if not found_at_least_one: paths = "\n\t".join(root_dirs) msg = f"No template sub-directory with name {base_template!r} found in the following paths:\n\t{paths}" raise ValueError(msg) merged_conf = recursive_update(dict(conf), merged_conf) base_template = t.cast(t.Any, conf.get("base_template")) conf = merged_conf mimetypes = [mimetype for mimetype, enabled in conf.get("mimetypes", {}).items() if enabled] if self.output_mimetype and self.output_mimetype not in mimetypes and mimetypes: supported_mimetypes = "\n\t".join(mimetypes) msg = f"Unsupported mimetype {self.output_mimetype!r} for template {self.template_name!r}, mimetypes supported are: \n\t{supported_mimetypes}" raise ValueError(msg) return template_names
(self)
[ 0.0276442039757967, -0.06005122885107994, -0.0005426390562206507, -0.029648559167981148, -0.041039638221263885, 0.023655341938138008, -0.02292107418179512, 0.01504257507622242, -0.005313521716743708, -0.0731886774301529, 0.06398055702447891, 0.013861792162060738, -0.05350235104560852, -0.01995423436164856, -0.0398489311337471, 0.0015094667905941606, 0.04778696596622467, 0.06092441454529762, 0.01079572644084692, -0.024905582889914513, -0.014437300153076649, -0.015667695552110672, 0.026711486279964447, 0.032823771238327026, 0.010875106789171696, -0.04873953014612198, -0.038598690181970596, -0.04405609145760536, 0.017165999859571457, -0.01571730710566044, -0.10041613131761551, -0.030601121485233307, 0.04207158088684082, -0.003319090697914362, 0.0032421909272670746, -0.05516934022307396, -0.010125954635441303, 0.0485013909637928, -0.07374434173107147, 0.004948868416249752, 0.051200322806835175, -0.08993793278932571, -0.001763732056133449, -0.032109349966049194, -0.015340250916779041, 0.05695539712905884, -0.054256465286016464, 0.0358402244746685, -0.04496896639466286, 0.05655849352478981, 0.009912620298564434, -0.05810641124844551, -0.0673145279288292, 0.0315139964222908, -0.05862238258123398, 0.036931704729795456, 0.0020241986494511366, 0.005179567262530327, -0.02758467011153698, -0.026671795174479485, -0.023397356271743774, 0.012720700353384018, -0.02175021357834339, -0.014000708237290382, -0.00003521340113366023, -0.0005711663980036974, -0.009386725723743439, -0.007794157601892948, -0.004626385867595673, 0.013951095752418041, 0.003113197861239314, -0.0024682325311005116, 0.00696562509983778, -0.015588315203785896, 0.03548301383852959, -0.014020552858710289, -0.005601275712251663, 0.013663341291248798, -0.007427023258060217, -0.01673932932317257, -0.03548301383852959, -0.0021941224113106728, -0.03030344657599926, -0.0009507036302238703, 0.08469882607460022, 0.021115170791745186, 0.042150963097810745, 0.0157569982111454, 0.041436538100242615, 0.008007491938769817, -0.03580053523182869, -0.0485013909637928, 0.0633058249950409, 0.03564177453517914, 0.02897382527589798, -0.009828278794884682, -0.00696562509983778, -0.053859561681747437, 0.012859615497291088, -0.03808271884918213, -0.038281168788671494, -0.01368318684399128, -0.009376803413033485, -0.03996800258755684, 0.02758467011153698, 0.0003658937639556825, -0.04945395514369011, 0.05072404071688652, -0.015022729523479939, -0.02714807726442814, -0.07156138122081757, -0.06354396790266037, 0.028060952201485634, -0.027207612991333008, 0.044373612850904465, -0.02143269218504429, -0.059257425367832184, 0.01609436422586441, 0.028279246762394905, -0.003341416362673044, 0.021571608260273933, 0.020658735185861588, -0.014645673334598541, -0.023278284817934036, 0.01076595950871706, -0.016997316852211952, 0.046040598303079605, 0.007501442451030016, 0.0373682975769043, 0.006727484054863453, -0.009729052893817425, 0.04473082348704338, -0.053026068955659866, -0.009585176594555378, 0.02696947194635868, -0.014566292986273766, -0.11160876601934433, -0.0022350528743118048, -0.013693109154701233, 0.046596262603998184, 0.02847769856452942, -0.05493119731545448, 0.06834647804498672, 0.04084118828177452, -0.011301776394248009, 0.03462967649102211, 0.027902191504836082, 0.042587555944919586, -0.06092441454529762, 0.014228926971554756, -0.029053205624222755, 0.003257074626162648, -0.0654887855052948, -0.04877921938896179, -0.015915758907794952, 0.031771983951330185, 0.008315091021358967, 0.04425454139709473, -0.039710015058517456, -0.04330197721719742, 0.02863645926117897, -0.03357788547873497, 0.027227457612752914, 0.011281930841505527, -0.026433654129505157, 0.02087702974677086, -0.04290507733821869, -0.019319191575050354, 0.03131554648280144, -0.010607198812067509, -0.012026121839880943, 0.03663402795791626, -0.03967032581567764, 0.002112261252477765, 0.02011299505829811, 0.04072211682796478, 0.04036490619182587, 0.002464511664584279, -0.024131624028086662, 0.033002376556396484, -0.025381864979863167, -0.042547862976789474, -0.04191282019019127, 0.014437300153076649, -0.022682933136820793, 0.06346458196640015, 0.04933488368988037, 0.04802510887384415, 0.023159215226769447, 0.018922289833426476, 0.0013755125692114234, -0.008672302588820457, 0.018307091668248177, 0.03202996775507927, 0.022682933136820793, -0.00839943252503872, 0.006638181395828724, -0.0017178402049466968, -0.020460283383727074, -0.018852831795811653, -0.0481838695704937, -0.050485897809267044, 0.057471368461847305, -0.03345881402492523, 0.01235356554389, -0.010617121122777462, -0.023615652695298195, 0.004360957536846399, -0.033220674842596054, 0.027723584324121475, 0.009872930124402046, -0.06481405347585678, 0.001979547319933772, 0.01251232624053955, 0.009009668603539467, -0.02186928503215313, 0.03784457966685295, 0.024548370391130447, -0.0775149017572403, -0.012671086937189102, 0.0017364450031891465, 0.04056335613131523, 0.013504580594599247, -0.011629220098257065, -0.02647334523499012, 0.009158506989479065, 0.014615905471146107, 0.03125600889325142, 0.034550294280052185, 0.005437553394585848, 0.024449145421385765, -0.053422972559928894, 0.03701108694076538, 0.04941426217556, 0.012988608330488205, -0.06830678880214691, 0.048144176602363586, -0.030224066227674484, 0.024627750739455223, 0.03978939726948738, -0.03659433871507645, 0.05485181882977486, -0.0020973775535821915, -0.02014276199042797, 0.005030729342252016, -0.05298637971282005, 0.014645673334598541, -0.02415146864950657, -0.005566546693444252, 0.0030040498822927475, 0.037824735045433044, 0.023238595575094223, -0.02903336100280285, -0.036435578018426895, -0.01679886505007744, -0.041436538100242615, -0.028398318216204643, -0.04461175203323364, 0.029390571638941765, 0.016411885619163513, 0.019785551354289055, 0.015231103636324406, -0.04024583473801613, 0.004566850606352091, -0.053581733256578445, -0.03381602466106415, -0.0021507111378014088, 0.005908874329179525, -0.05477243661880493, 0.05937649682164192, 0.018991747871041298, 0.0556059293448925, -0.03824147954583168, 0.02591768279671669, -0.032268110662698746, -0.009332152083516121, 0.04889829084277153, 0.021551763638854027, -0.01323667261749506, 0.013028298504650593, -0.014268617145717144, -0.014357919804751873, 0.03125600889325142, -0.0036614183336496353, 0.036931704729795456, -0.026393964886665344, -0.062075428664684296, -0.06413931399583817, -0.0017748948885127902, 0.005526856519281864, 0.0017686933279037476, 0.013276362791657448, -0.0044701057486236095, -0.0010145800188183784, -0.059297118335962296, -0.045484937727451324, -0.025937527418136597, -0.0731886774301529, 0.04429423063993454, -0.06199604645371437, -0.027167921885848045, 0.01628289371728897, 0.009401609189808369, -0.01484412420541048, -0.059852778911590576, -0.03256578743457794, 0.0057749198749661446, -0.025104032829403877, 0.03423277288675308, 0.002505442127585411, -0.006821748334914446, -0.04314321652054787, 0.10041613131761551, -0.002154432237148285, 0.0188429094851017, 0.001804662519134581, 0.03718969225883484, 0.0552884079515934, 0.00900470744818449, 0.016322582960128784, -0.06417901068925858, 0.08795341849327087, -0.0525100976228714, 0.028160177171230316, 0.0580667220056057, -0.021631143987178802, 0.005303599406033754, 0.009644711390137672, 0.006787019316107035, 0.036276817321777344, -0.027822811156511307, -0.013256517238914967, -0.004127777647227049, 0.009570292197167873, 0.0007479116902686656, -0.01806895062327385, 0.028001416474580765, -0.0291921216994524, 0.010220219381153584, -0.045048344880342484, 0.03002561442553997, -0.007610590197145939, -0.022881383076310158, 0.008721915073692799, -0.006370272487401962, -0.025223104283213615, 0.03280392661690712, 0.036276817321777344, 0.015231103636324406, 0.007223611231893301, -0.032883308827877045, 0.03431215509772301, -0.007923150435090065, 0.04322259873151779, 0.01323667261749506, -0.048541080206632614, -0.05239102616906166, -0.015419631265103817, 0.014506758190691471, 0.010577430948615074, -0.02381410263478756, 0.030045459046959877, -0.011331544257700443, 0.015995139256119728, 0.027723584324121475, -0.026016907766461372, 0.03530440852046013, 0.05052558705210686, -0.005303599406033754, -0.017840731889009476, -0.01906120404601097, 0.002299549290910363, 0.019299345090985298, -0.10073365271091461, -0.027564823627471924, -0.05639973282814026, -0.040206145495176315, 0.008106717839837074, -0.09065235406160355, -0.013832025229930878, 0.04127777740359306, 0.031494151800870895, -0.012532171793282032, 0.0017550498014315963, -0.04484989494085312, -0.05810641124844551, 0.05254978686571121, -0.012740544974803925, 0.00898982398211956, -0.012641320005059242, 0.03792395815253258, -0.0008483774145133793, -0.014645673334598541, 0.028934136033058167, -0.02996608056128025, -0.027048852294683456, -0.00991758145391941, 0.04401640221476555, 0.006945780012756586, 0.03877729922533035, 0.039590947329998016, -0.007610590197145939, 0.02746559865772724, 0.046596262603998184, -0.02530248463153839, -0.008245632983744144, 0.11859423667192459, 0.027961725369095802, -0.03042251616716385, 0.004938945639878511, -0.010160683654248714, -0.009912620298564434, -0.010388902388513088, -0.031831517815589905, -0.061202242970466614, 0.06322644650936127, -0.0831112191081047, 0.02613597735762596, -0.028060952201485634, -0.007779273670166731, -0.04611998051404953, 0.006112286355346441, 0.09684401750564575, 0.05346266180276871, 0.0614800751209259, 0.029727939516305923, -0.03359773010015488, -0.022682933136820793, -0.06338520348072052, 0.0026344351936131716, -0.01609436422586441, -0.005546701606363058, -0.031335391104221344, -0.026393964886665344, 0.07521287351846695, -0.04917612299323082, 0.01973593793809414, -0.04496896639466286, -0.019041359424591064, -0.004876929800957441, 0.02548108994960785, 0.03867807239294052, 0.05445491522550583, 0.012274185195565224, -0.00991758145391941, 0.04834263026714325, -0.08644519746303558, -0.042150963097810745, -0.06386148929595947, -0.009242848493158817, -0.04038475081324577, 0.0009023312595672905, 0.030660657212138176, -0.033220674842596054, 0.028953980654478073, -0.022464636713266373, 0.014963194727897644, 0.00954548642039299, -0.004991039168089628, -0.02075796015560627, -0.008439122699201107, 0.05151784420013428, 0.10446453094482422, 0.047866348177194595, 0.024786511436104774, -0.10120993852615356, 0.04203189164400101, 0.018416238948702812, -0.01912073977291584, 0.017880422994494438, 0.0014003189280629158, -0.009133701212704182, -0.00195722165517509, 0.022444792091846466, -0.00888067577034235, 0.0037060698959976435, 0.007565938867628574, 0.0002389162254985422, 0.025897836312651634, -0.04401640221476555, -0.016630182042717934, -0.04006722941994667, -0.01900167018175125, 0.01665002666413784, -0.02436976507306099, -0.08096794784069061, 0.05770951136946678, -0.03518533706665039, -0.034451067447662354, -0.06751298159360886, -0.04373857006430626, 0.026393964886665344, -0.004214600194245577, 0.019219964742660522, -0.017076697200536728, 0.0021494708489626646, -0.021055636927485466, 0.01439760997891426, 0.05905897542834282, -0.020678579807281494, 0.06521095335483551, -0.022524172440171242, 0.007223611231893301, 0.014804434031248093, 0.02986685372889042, 0.019259655848145485, 0.019656557589769363, 0.004770262632519007, -0.05060496926307678, -0.02059919945895672, -0.044373612850904465, 0.027723584324121475, -0.008230749517679214, 0.04207158088684082, -0.015806611627340317, 0.007739583496004343, -0.04092056676745415, -0.008513541892170906, 0.037824735045433044, 0.04334166646003723, -0.03417323902249336, -0.02115486189723015, -0.04496896639466286, -0.0002462030970491469, 0.04373857006430626, 0.025401709601283073, 0.04361949861049652, -0.02470713108778, -0.017592668533325195, 0.07449845224618912, -0.012174960225820541, -0.009386725723743439, 0.05155753344297409, -0.04266693443059921, -0.004393205977976322, -0.0398489311337471, -0.015330328606069088, 0.021452538669109344, 0.005129954777657986, -0.006727484054863453, -0.008702070452272892, -0.0027907153125852346, 0.03514564782381058, -0.030998023226857185, 0.028934136033058167, 0.019904620945453644, 0.0021891610231250525, -0.0182277113199234, 0.009972156025469303, 0.009441299363970757, 0.029886700212955475, -0.04457206279039383, 0.00028418784495443106, 0.05739198997616768, -0.011678832583129406, -0.0037333567161113024, 0.00020201677398290485, 0.01578676514327526, 0.052192576229572296, 0.029926389455795288, -0.0006462056189775467, 0.01634242758154869, -0.02165098860859871, -0.012948918156325817, 0.01612413302063942, 0.05687601491808891, -0.03326036408543587, 0.01992446556687355, -0.01933903619647026, 0.014357919804751873, 0.03248640522360802, 0.019130662083625793, 0.015270793810486794, -0.07418093085289001, -0.009371842257678509, 0.027485443279147148, 0.030779728665947914, 0.008022376336157322, 0.01726522482931614, -0.036376044154167175, 0.02125408686697483, 0.010845339857041836, 0.08962041139602661, -0.022107426077127457, 0.05794765055179596, 0.01653095707297325, -0.006444691680371761, -0.007069811690598726, 0.031156783923506737, -0.0023231154773384333, -0.05755075067281723, 0.02758467011153698, 0.05755075067281723, 0.003244671504944563, -0.0035497897770255804, 0.10422638803720474, -0.004058320075273514, -0.044770512729883194, 0.032823771238327026, -0.07144230604171753, -0.01945810578763485, 0.04941426217556, -0.006727484054863453, 0.04330197721719742, 0.038995593786239624, -0.03195058926939964, 0.04207158088684082, -0.039650481194257736, 0.006876322440803051, 0.053978633135557175, 0.08009476959705353, 0.006538955960422754, 0.04338135942816734, -0.05116062983870506, 0.002471953397616744, 0.016947703436017036, -0.004809952806681395, 0.00640996266156435, 0.01099417731165886, -0.01736444979906082, -0.02063888870179653, 0.05171629413962364, -0.03611805662512779, 0.012700854800641537, -0.04989054426550865, 0.04739006608724594, -0.00455692782998085, -0.003639092668890953, -0.015905836597085, 0.023913327604532242, 0.025500934571027756, -0.06921965628862381, 0.03546316921710968, 0.004013668745756149, -0.027505289763212204, 0.04790603742003441, 0.02452852576971054, -0.02847769856452942, -0.010388902388513088, 0.019547410309314728, 0.05755075067281723, -0.11343450844287872, 0.04611998051404953, -0.008230749517679214, -0.03750721365213394, -0.022960763424634933, 0.029708093032240868, -0.017592668533325195, -0.0005593833629973233, 0.05639973282814026, -0.01634242758154869, 0.05211319401860237, -0.04739006608724594, -0.002524046925827861, -0.05088280141353607, 0.04135715961456299, 0.006032906007021666, -0.0034654480405151844, 0.007734622340649366, 0.0010952006559818983, -0.004862045869231224, 0.015002884902060032, -0.021571608260273933, -0.01970617100596428, 0.009694324806332588, -0.010428592562675476, -0.0022015641443431377, -0.023794258013367653, 0.014923504553735256, -0.01379233505576849, 0.05763012915849686, -0.030005769804120064, -0.0022710219491273165, -0.057749200612306595, 0.0022722622379660606, 0.03030344657599926, -0.016779020428657532, 0.043659187853336334, 0.02381410263478756, -0.014328151941299438, 0.047707587480545044, 0.02258370816707611, 0.0006852756487205625, 0.03042251616716385, 0.0014276058645918965, -0.01948787458240986, 0.037487369030714035, -0.004204677417874336, 0.02758467011153698, 0.023714877665042877, -0.04012676328420639, 0.07640358060598373, 0.003133042948320508, -0.016699640080332756, 0.003515060758218169, 0.016729407012462616, 0.017473598942160606, -0.023516425862908363, -0.07870560884475708, -0.02059919945895672, 0.055804383009672165, -0.06398055702447891, -0.04350042715668678, -0.0028775373939424753, -0.0256398506462574, 0.026771020144224167, -0.020003845915198326, -0.016163822263479233, -0.02986685372889042, 0.029727939516305923, 0.02520325966179371, 0.030005769804120064, 0.09898728877305984, -0.0018617170862853527, -0.09239871799945831, -0.008761605247855186, -0.0034753705840557814, 0.07557008415460587, 0.07060881704092026, -0.020797649398446083, -0.019527563825249672, 0.03562192991375923, 0.014228926971554756, 0.055963143706321716, 0.03897574916481972, 0.026056597009301186, 0.007402217015624046, -0.07521287351846695, -0.029946234077215195, 0.040761806070804596, -0.014248771592974663, 0.026731330901384354, -0.06834647804498672, -0.019051281735301018, 0.04350042715668678, -0.030104994773864746, 0.014119778759777546, 0.012413101270794868, -0.04330197721719742, 0.01504257507622242, 0.01967640221118927, -0.032228417694568634, -0.06842585653066635, 0.06600475311279297, -0.05211319401860237, 0.005824532825499773, 0.09478013217449188, 0.016689717769622803, 0.016977470368146896, 0.025560470297932625, 0.0026840479113161564, -0.016540879383683205, -0.07235518097877502, -0.016114208847284317, -0.032168883830308914, 0.031930744647979736, 0.035324253141880035, -0.011946741491556168, -0.03847962245345116, 0.00010713245865190402, 0.052192576229572296, -0.035046420991420746, 0.0339747853577137, 0.06945779919624329, 0.04068242758512497, -0.012978686019778252, -0.0065687233582139015, -0.0032942842226475477 ]
54,212
nbconvert.exporters.templateexporter
register_filter
Register a filter. A filter is a function that accepts and acts on one string. The filters are accessible within the Jinja templating engine. Parameters ---------- name : str name to give the filter in the Jinja engine filter : filter
def register_filter(self, name, jinja_filter): """ Register a filter. A filter is a function that accepts and acts on one string. The filters are accessible within the Jinja templating engine. Parameters ---------- name : str name to give the filter in the Jinja engine filter : filter """ return self._register_filter(self.environment, name, jinja_filter)
(self, name, jinja_filter)
[ 0.050157271325588226, -0.07369077950716019, -0.00009119817696046084, -0.0018666774267330766, -0.00972073059529066, 0.009041553363204002, -0.020171577110886574, -0.03541911765933037, 0.045776575803756714, -0.012242177501320839, 0.03217604383826256, -0.043297577649354935, -0.0021585116628557444, 0.009992402046918869, -0.014211793430149555, -0.032362814992666245, 0.0415656752884388, 0.04282215237617493, 0.05168542265892029, -0.009797138161957264, -0.033992841839790344, -0.0037736811209470034, 0.02312600053846836, -0.013065680861473083, -0.006923367734998465, -0.003924373537302017, -0.0010521948570385575, 0.011333777569234371, -0.006804511416703463, -0.046965137124061584, 0.0017966371960937977, -0.06608399003744125, 0.04910454526543617, -0.03246469423174858, 0.014585340395569801, -0.00013537125778384507, -0.011435654014348984, 0.06557460874319077, 0.007942134514451027, -0.01910187304019928, 0.04835744947195053, 0.055488817393779755, -0.04798390343785286, -0.022056294605135918, 0.012089362367987633, 0.0029140966944396496, -0.020052721723914146, -0.004546245560050011, -0.003964699804782867, 0.0627560168504715, -0.016843605786561966, 0.006948836613446474, 0.004325512796640396, 0.0292555782943964, 0.006172027438879013, -0.026980333030223846, 0.004822161514312029, 0.03367023542523384, 0.026131361722946167, 0.014958888292312622, -0.003516867058351636, 0.020867735147476196, 0.0012936212588101625, 0.02276943251490593, -0.001558925025165081, 0.04149775579571724, -0.012530827894806862, 0.008982124738395214, -0.013549595139920712, -0.011384716257452965, -0.03331366553902626, 0.010433867573738098, 0.01833779737353325, 0.030240386724472046, -0.0464557521045208, 0.004376451019197702, -0.03857729211449623, -0.009185878559947014, -0.02964610606431961, -0.03857729211449623, 0.10411793738603592, 0.014890970662236214, -0.02806701697409153, -0.006596513092517853, 0.03125915303826332, 0.006838470231741667, -0.035588908940553665, -0.011384716257452965, 0.02760857343673706, 0.02310902066528797, -0.0389508418738842, -0.0073351189494132996, 0.012182749807834625, 0.03209114447236061, 0.04516531527042389, 0.02074887789785862, 0.026165319606661797, 0.01703038066625595, 0.042041100561618805, 0.018201962113380432, 0.04676138237118721, 0.00517448503524065, 0.004289431497454643, -0.005437666550278664, 0.01242895144969225, -0.007780829444527626, -0.0025723855942487717, 0.03124217316508293, -0.009516977705061436, -0.002606344409286976, 0.04659159108996391, 0.00742001598700881, -0.0024641414638608694, -0.049376219511032104, 0.004162085708230734, 0.05233063921332359, 0.022616617381572723, 0.0003873435198329389, 0.035690788179636, -0.0223279669880867, 0.0007290547946467996, -0.02198837697505951, 0.02478998526930809, 0.000536444247700274, 0.024942800402641296, 0.012462910264730453, -0.016130469739437103, -0.0006998713943175972, -0.004100535064935684, 0.046965137124061584, -0.01642761006951332, 0.006231455132365227, -0.049817685037851334, -0.02236192487180233, 0.04458801448345184, -0.01833779737353325, -0.04136192053556442, 0.013006252236664295, 0.0042172688990831375, 0.09875243902206421, -0.044554054737091064, -0.035962458699941635, -0.066185861825943, 0.02314298041164875, -0.01722564361989498, -0.052670229226350784, -0.012726091779768467, 0.04866307973861694, 0.030800707638263702, -0.0030350752640515566, -0.026335114613175392, 0.07199283689260483, 0.021733686327934265, 0.025842711329460144, 0.02767649106681347, 0.06068452447652817, 0.016138959676027298, 0.02806701697409153, 0.03769436106085777, -0.011741284281015396, 0.030291324481368065, 0.017760496586561203, -0.10900802165269852, 0.03125915303826332, -0.01585879921913147, -0.037999991327524185, 0.021631808951497078, 0.048187658190727234, 0.033500440418720245, 0.005454645957797766, 0.03360231593251228, -0.041260045021772385, 0.0038967819418758154, 0.053451284766197205, 0.012038424611091614, 0.09494903683662415, 0.0028207097202539444, 0.018201962113380432, 0.02602948434650898, -0.040037523955106735, -0.05902054160833359, -0.0076237693428993225, -0.028763175010681152, 0.05610007792711258, -0.011223411187529564, -0.04964789003133774, -0.012556297704577446, -0.004915548488497734, 0.04767827317118645, 0.05294189974665642, 0.04496156424283981, -0.012496869079768658, -0.0031730332411825657, -0.014288200996816158, -0.03609829396009445, -0.01053574401885271, 0.010077298618853092, -0.025061655789613724, -0.03204020857810974, -0.012751560658216476, -0.051481667906045914, 0.0050598736852407455, -0.03214208409190178, 0.03704914450645447, 0.020511165261268616, 0.04109025001525879, 0.05919033661484718, 0.06798568367958069, -0.03647183999419212, -0.0440107136964798, -0.03127613291144371, 0.005870642140507698, -0.01077345572412014, 0.07532080262899399, -0.0203753300011158, 0.053077735006809235, -0.03176853805780411, -0.030800707638263702, 0.047814108431339264, 0.011028147302567959, 0.031938329339027405, -0.029017867520451546, 0.01180071197450161, -0.01259025651961565, 0.021750666201114655, -0.010340480133891106, 0.012344054877758026, 0.002979892073199153, -0.023397671058773994, -0.0021107569336891174, 0.016240837052464485, 0.02973100356757641, 0.06856298446655273, -0.003162421053275466, 0.0020767981186509132, -0.04689721763134003, 0.03407774120569229, -0.0032494408078491688, -0.013710899278521538, -0.0035211117938160896, 0.01282796822488308, -0.014984358102083206, 0.00025084472144953907, -0.048934753984212875, 0.01364298164844513, -0.04672742635011673, -0.030308304354548454, 0.043263617902994156, 0.03042715974152088, -0.030817687511444092, -0.04998747631907463, 0.022056294605135918, -0.02190347947180271, -0.048493288457393646, -0.005081098061054945, 0.009355672635138035, 0.013133598491549492, 0.032328858971595764, -0.0264030322432518, -0.009033063426613808, -0.029408393427729607, -0.002362264785915613, -0.05728863924741745, -0.01382975559681654, -0.01623234711587429, -0.031072380021214485, 0.003185767913237214, 0.036743514239788055, -0.01259025651961565, -0.003805517451837659, 0.03377211093902588, 0.011427165009081364, 0.02076585777103901, -0.01525602862238884, -0.016138959676027298, -0.0544360913336277, 0.042482566088438034, 0.08611973375082016, -0.011647897772490978, 0.036777470260858536, 0.051787298172712326, -0.01667381264269352, -0.007526137866079807, 0.04598033055663109, -0.014950398355722427, -0.04516531527042389, -0.004478327929973602, 0.07599998265504837, -0.037252895534038544, -0.030800707638263702, -0.003465928602963686, 0.010722517967224121, 0.013880694285035133, 0.03258354961872101, -0.05715280398726463, -0.0020863490644842386, -0.008281722664833069, -0.05083645135164261, 0.008481231518089771, -0.04061482474207878, 0.025740833953022957, -0.033924926072359085, 0.0028249546885490417, 0.02436549961566925, -0.02932349592447281, 0.02478998526930809, 0.006503126118332148, 0.02270151488482952, -0.04509739950299263, 0.04350133240222931, -0.005458890460431576, 0.0003878741408698261, -0.01908489316701889, -0.0038607006426900625, 0.006596513092517853, -0.016962463036179543, -0.0023665097542107105, 0.0064988816156983376, -0.037932075560092926, 0.058680951595306396, 0.037151020020246506, 0.00972073059529066, 0.012488380074501038, -0.02278641052544117, 0.004932527896016836, 0.02679356001317501, 0.02881411276757717, -0.0374906100332737, 0.028678277507424355, 0.022277027368545532, -0.05908845737576485, 0.02932349592447281, 0.06044681370258331, 0.008434537798166275, -0.0015568026574328542, 0.006354556418955326, -0.013558084145188332, -0.017089808359742165, -0.0627560168504715, -0.12802499532699585, -0.022497760131955147, 0.00015599862672388554, -0.025112595409154892, 0.03545307368040085, -0.06635566055774689, -0.00004795365748577751, -0.0537908710539341, -0.025044677779078484, 0.03367023542523384, 0.021699726581573486, 0.08027879893779755, -0.002154266694560647, 0.057492390275001526, 0.006150803063064814, 0.033924926072359085, -0.028559422120451927, -0.005989497993141413, 0.06825735419988632, -0.05698300898075104, 0.028304729610681534, 0.02360142394900322, 0.055488817393779755, -0.019831988960504532, -0.05677925422787666, 0.05840928107500076, -0.008120418526232243, 0.01740392856299877, 0.03458712249994278, -0.03446826711297035, -0.04153171554207802, 0.013260944746434689, 0.01864342764019966, 0.02278641052544117, -0.014933419413864613, -0.047338683158159256, -0.023839136585593224, 0.07240033894777298, -0.016147449612617493, -0.06914028525352478, 0.025808751583099365, 0.003945597913116217, 0.07178907841444016, -0.010739496909081936, 0.014194813556969166, -0.0179302915930748, -0.017624661326408386, -0.08387844264507294, -0.0023346731904894114, 0.009686771780252457, -0.016308754682540894, 0.012887396849691868, -0.11220015585422516, 0.006333332043141127, 0.05277210474014282, -0.018999995663762093, -0.0446559339761734, -0.042414646595716476, 0.0009614609298296273, -0.03857729211449623, 0.0528060644865036, 0.02273547276854515, -0.020799817517399788, 0.0021648788824677467, 0.005756030790507793, 0.031123317778110504, -0.0358605831861496, 0.04631991684436798, 0.039290428161621094, -0.0025808752980083227, 0.03414565697312355, 0.017607681453227997, -0.02767649106681347, -0.08075422793626785, -0.05650758370757103, -0.03042715974152088, -0.017140746116638184, 0.014474974013864994, -0.01569749414920807, -0.024093829095363617, 0.028559422120451927, -0.031191235408186913, -0.03380607068538666, 0.01485701184719801, 0.023788198828697205, -0.004707550164312124, 0.001171581563539803, 0.020494187250733376, 0.03387398645281792, -0.042890071868896484, 0.02928953804075718, -0.06852903217077255, -0.01794726960361004, -0.0029947489965707064, -0.026284176856279373, 0.0480857789516449, -0.02273547276854515, 0.02922162041068077, -0.032719384878873825, -0.007878460921347141, 0.029578188434243202, 0.04299194738268852, 0.021462013944983482, 0.021750666201114655, -0.04472384974360466, -0.07946378737688065, 0.015128683298826218, -0.07919211685657501, 0.07178907841444016, -0.008680739440023899, -0.08048255741596222, 0.0640464574098587, 0.014670237898826599, -0.029425373300909996, -0.049749765545129776, 0.071381576359272, -0.02473904751241207, 0.051413752138614655, -0.03548703342676163, -0.0020683081820607185, 0.016843605786561966, -0.029391413554549217, 0.043365493416786194, 0.020579084753990173, -0.06506521999835968, 0.002368632238358259, -0.04095441475510597, -0.053077735006809235, -0.005976763553917408, 0.05885074660181999, -0.0012596623273566365, 0.0008447272703051567, 0.04998747631907463, -0.07538872212171555, -0.005212688818573952, 0.012276136316359043, 0.022667555138468742, -0.037558525800704956, 0.03246469423174858, -0.0014581095892935991, 0.03653975948691368, -0.051787298172712326, -0.01590973697602749, 0.00026663028984330595, 0.044452179223299026, 0.021716706454753876, -0.07022697478532791, 0.06571044027805328, -0.0035380912013351917, 0.005836683325469494, 0.016962463036179543, -0.014924929477274418, 0.007564341649413109, 0.00976317934691906, -0.016741730272769928, -0.007564341649413109, -0.024501334875822067, 0.04217693582177162, 0.04421446844935417, 0.03942626342177391, 0.0036611922550946474, -0.026165319606661797, -0.03939230740070343, 0.0089651457965374, 0.00640973960980773, 0.034722957760095596, -0.10581588000059128, 0.02808399684727192, -0.030308304354548454, -0.02884807251393795, -0.014296690002083778, 0.0220053568482399, -0.019390523433685303, -0.01017917599529028, -0.0051023224368691444, 0.042957987636327744, -0.05368899554014206, -0.037966031581163406, -0.002962912665680051, -0.02512957528233528, 0.06672921031713486, -0.01521357987076044, -0.021631808951497078, 0.044146548956632614, -0.038373541086912155, 0.022854330018162727, -0.06058264896273613, 0.01582483947277069, -0.0028801378794014454, -0.03776228055357933, 0.034722957760095596, -0.015111703425645828, 0.013303392566740513, -0.013872204348444939, -0.05803573504090309, -0.01502680592238903, 0.032685425132513046, -0.02928953804075718, -0.005132036283612251, -0.02190347947180271, 0.0010123992105945945, 0.004830651450902224, 0.01874530501663685, 0.08992312848567963, -0.01996782422065735, -0.008226539939641953, 0.001056439708918333, -0.0503610260784626, 0.0020767981186509132, 0.005756030790507793, -0.05457192659378052, -0.04764431342482567, -0.03336460515856743, -0.09562821686267853, -0.01259025651961565, 0.029985694214701653, -0.04268631711602211, 0.0011758264154195786, 0.07165324687957764, -0.05800177529454231, 0.06132974475622177, 0.026284176856279373, 0.05392671003937721, 0.005055628716945648, 0.015306967310607433, 0.009423590265214443, -0.038781046867370605, -0.01683511771261692, -0.03411170095205307, -0.00620174128562212, -0.006532840430736542, 0.014789094217121601, -0.017709558829665184, 0.025706876069307327, 0.03299105539917946, -0.07178907841444016, -0.013931632041931152, 0.08707057684659958, 0.062382470816373825, -0.02119034342467785, -0.032294899225234985, -0.031938329339027405, 0.002882260363548994, -0.04662554711103439, -0.023703301325440407, -0.06458979845046997, -0.013481677509844303, 0.06635566055774689, 0.03986772894859314, 0.012530827894806862, 0.047033052891492844, 0.013303392566740513, -0.04227881133556366, 0.011978995986282825, -0.034722957760095596, 0.029136722907423973, 0.005110811907798052, -0.003977434244006872, -0.022446822375059128, -0.042957987636327744, -0.01096022967249155, -0.0035211117938160896, -0.028321709483861923, 0.020528145134449005, -0.028746195137500763, 0.02282037027180195, -0.04754243791103363, -0.014950398355722427, -0.025910628959536552, -0.03735477104783058, -0.015298477374017239, -0.003964699804782867, -0.014508933760225773, 0.038441456854343414, 0.10731007158756256, 0.05154958739876747, 0.01633422262966633, -0.009457549080252647, -0.038815002888441086, 0.02959516830742359, -0.00910947099328041, -0.05066665634512901, 0.0730115994811058, -0.018881140276789665, -0.008328416384756565, 0.005730561912059784, -0.0795317068696022, 0.02516353316605091, -0.050632696598768234, -0.009754689410328865, 0.00380339496769011, -0.035962458699941635, -0.010230113752186298, 0.01196201704442501, -0.04883287474513054, -0.01950937882065773, 0.0220053568482399, -0.025384265929460526, -0.009678281843662262, -0.03538515791296959, 0.01989990659058094, 0.003603886580094695, -0.023907054215669632, 0.006566799245774746, 0.0051659950986504555, 0.013396780006587505, 0.03283824026584625, 0.007585565559566021, -0.039969608187675476, 0.03370419144630432, -0.059326171875, -0.029459331184625626, 0.05334940552711487, 0.00477971276268363, 0.05572652816772461, -0.042075056582689285, 0.02557103894650936, -0.01058668177574873, -0.006554064806550741, 0.008498210459947586, 0.012012955732643604, 0.022412864491343498, -0.024246644228696823, 0.03579266369342804, 0.025503121316432953, 0.021360138431191444, -0.05983555316925049, 0.02149597369134426, -0.05919033661484718, -0.04842536896467209, 0.04435030370950699, -0.012649684213101864, -0.0340607613325119, 0.035520993173122406, -0.08448970317840576, -0.02838962711393833, 0.017590701580047607, -0.010331990197300911, -0.0032770324032753706, 0.03626808896660805, 0.024161746725440025, -0.0585111565887928, -0.042007140815258026, 0.015638066455721855, 0.03901875764131546, 0.01282796822488308, 0.047338683158159256, -0.049715805798769, -0.061771210283041, 0.06516709923744202, 0.062382470816373825, -0.02119034342467785, -0.015111703425645828, -0.0163002647459507, 0.03297407552599907, 0.006333332043141127, -0.007445485331118107, 0.014899460598826408, -0.03334762528538704, 0.02436549961566925, 0.06560856103897095, -0.0191528107970953, 0.05372295528650284, 0.05192313343286514, -0.03854333236813545, -0.008871758356690407, -0.041633591055870056, -0.03440035134553909, -0.03221000358462334, 0.041701510548591614, -0.01690303534269333, -0.015315457247197628, -0.03163269907236099, 0.050157271325588226, 0.002655160380527377, -0.028576401993632317, 0.025808751583099365, -0.054232336580753326, 0.013795796781778336, 0.073351189494133, -0.0013838245067745447, 0.07919211685657501, 0.008663760498166084, -0.032108124345541, 0.025044677779078484, 0.032277919352054596, 0.026725642383098602, -0.06458979845046997, -0.0422108918428421, 0.035690788179636, -0.0223279669880867, 0.00955093652009964, 0.052262723445892334, -0.08184091001749039, 0.007912419736385345, 0.020426269620656967, -0.03935834765434265, -0.06265414506196976, 0.01952635869383812, -0.037151020020246506, -0.017556743696331978, 0.04098837450146675, 0.028966927900910378, 0.002126675099134445, -0.05039498582482338, 0.06391061842441559, 0.009499997831881046, 0.03494369238615036, 0.015154152177274227, -0.04642179608345032, 0.07892044633626938, 0.027540655806660652, 0.0366755947470665, -0.041701510548591614, -0.00873592309653759, 0.039596058428287506, 0.020528145134449005, 0.01670777052640915, 0.04353528842329979, -0.08075422793626785, 0.00955093652009964, -0.009983912110328674, 0.05314565449953079, 0.016945483162999153, -0.0770866647362709, 0.10282750427722931, -0.009304733946919441, 0.04394279792904854, -0.013362821191549301 ]
54,213
nbconvert.exporters.exporter
register_preprocessor
Register a preprocessor. Preprocessors are classes that act upon the notebook before it is passed into the Jinja templating engine. Preprocessors are also capable of passing additional information to the Jinja templating engine. Parameters ---------- preprocessor : `nbconvert.preprocessors.Preprocessor` A dotted module name, a type, or an instance enabled : bool Mark the preprocessor as enabled
def register_preprocessor(self, preprocessor, enabled=False): """ Register a preprocessor. Preprocessors are classes that act upon the notebook before it is passed into the Jinja templating engine. Preprocessors are also capable of passing additional information to the Jinja templating engine. Parameters ---------- preprocessor : `nbconvert.preprocessors.Preprocessor` A dotted module name, a type, or an instance enabled : bool Mark the preprocessor as enabled """ if preprocessor is None: msg = "preprocessor must not be None" raise TypeError(msg) isclass = isinstance(preprocessor, type) constructed = not isclass # Handle preprocessor's registration based on it's type if constructed and isinstance( preprocessor, str, ): # Preprocessor is a string, import the namespace and recursively call # this register_preprocessor method preprocessor_cls = import_item(preprocessor) return self.register_preprocessor(preprocessor_cls, enabled) if constructed and callable(preprocessor): # Preprocessor is a function, no need to construct it. # Register and return the preprocessor. if enabled: preprocessor.enabled = True self._preprocessors.append(preprocessor) return preprocessor if isclass and issubclass(preprocessor, HasTraits): # Preprocessor is configurable. Make sure to pass in new default for # the enabled flag if one was specified. self.register_preprocessor(preprocessor(parent=self), enabled) return None if isclass: # Preprocessor is not configurable, construct it self.register_preprocessor(preprocessor(), enabled) return None # Preprocessor is an instance of something without a __call__ # attribute. raise TypeError( "preprocessor must be callable or an importable constructor, got %r" % preprocessor )
(self, preprocessor, enabled=False)
[ 0.0043799057602882385, -0.046993814408779144, -0.03896436095237732, -0.0323328897356987, -0.002652587601915002, 0.05222729593515396, 0.010861270129680634, 0.027242790907621384, -0.028354009613394737, -0.018962416797876358, 0.053553592413663864, -0.03928697109222412, 0.0075948238372802734, 0.020270787179470062, -0.0161216389387846, -0.05792677402496338, 0.08115483820438385, -0.010610350407660007, 0.010180200450122356, -0.07237262278795242, -0.040828339755535126, 0.0164084043353796, 0.02641833759844303, 0.016820630058646202, 0.006918234750628471, 0.0010132032912224531, 0.025074120610952377, -0.01324501447379589, -0.07118971645832062, -0.002114900853484869, 0.04964639991521835, -0.0628734901547432, -0.04254893586039543, -0.03573824092745781, 0.08445265144109726, 0.0030244875233620405, -0.03986050561070442, 0.04523736983537674, -0.07785702496767044, 0.0071781170554459095, 0.03520055115222931, -0.043194159865379333, -0.040900032967329025, -0.04878610372543335, -0.04918040707707405, 0.017232857644557953, -0.02665133588016033, 0.021991383284330368, -0.003931833431124687, 0.0638054832816124, -0.021238623186945915, -0.06753344088792801, -0.005255886819213629, 0.026723027229309082, -0.08079638332128525, 0.0166145171970129, 0.030827367678284645, 0.028067244216799736, 0.02880208194255829, 0.02564765326678753, -0.023658212274312973, 0.015530182980000973, 0.014929765835404396, -0.015494337305426598, 0.0648091658949852, 0.01442792546004057, -0.017367279157042503, 0.0012960488675162196, -0.024643972516059875, 0.011847029440104961, -0.043445080518722534, -0.04588259384036064, 0.05556095391511917, 0.017340393736958504, 0.021686695516109467, -0.02890961989760399, -0.057030629366636276, -0.024124206975102425, 0.021471619606018066, 0.01444584783166647, 0.0664939135313034, 0.0161216389387846, -0.0327988862991333, 0.008782215416431427, 0.053804509341716766, -0.02923223190009594, 0.00944536179304123, 0.025325041264295578, 0.003441194538027048, 0.02012740448117256, -0.040469881147146225, -0.04624105244874954, 0.05939645320177078, 0.018084194511175156, -0.02217061258852482, -0.02647210657596588, 0.031347133219242096, -0.002688433276489377, -0.005587460473179817, -0.04294323921203613, 0.030020838603377342, 0.005408231634646654, -0.011013614945113659, -0.05444973334670067, 0.01444584783166647, 0.043767694383859634, -0.01919541321694851, 0.07721180468797684, -0.020593399181962013, -0.021489543840289116, 0.01984063722193241, -0.034358177334070206, -0.02254699356853962, -0.0332290343940258, 0.04219048097729683, -0.04631274193525314, 0.00981278158724308, 0.013415281660854816, 0.0332648791372776, 0.001987200230360031, -0.040111422538757324, -0.005502326879650354, -0.012716289609670639, -0.010296699590981007, 0.0002786449040286243, 0.020037788897752762, 0.07857394218444824, 0.037243761122226715, 0.04907286912202835, -0.03521847724914551, 0.03896436095237732, 0.024357205256819725, -0.0664580687880516, -0.029931223019957542, 0.0314188227057457, -0.005269329063594341, -0.05208391323685646, 0.007930878549814224, -0.020683012902736664, 0.001147064846009016, 0.00560986390337348, -0.07126140594482422, -0.014266619458794594, 0.050542544573545456, 0.02933976799249649, 0.0065060085617005825, -0.008549218066036701, 0.07147648185491562, -0.0334620326757431, 0.018854878842830658, 0.010968808084726334, 0.02012740448117256, 0.037638064473867416, 0.002719798358157277, 0.017223896458745003, 0.03607877343893051, 0.04140187054872513, 0.030415141955018044, -0.0014427924761548638, -0.01912372186779976, 0.07348383963108063, 0.04946717247366905, -0.026561720296740532, 0.041079260408878326, -0.012008335441350937, 0.03593539074063301, -0.015583951957523823, -0.05953983590006828, 0.017304548993706703, 0.029734071344137192, 0.046957965940237045, -0.06857296824455261, -0.00639847107231617, 0.05247821658849716, 0.011318303644657135, 0.04961055517196655, 0.011838068254292011, 0.03580993041396141, -0.0023120525293052197, 0.050076551735401154, 0.0030289681162685156, 0.04143771901726723, -0.05082930997014046, 0.017609238624572754, -0.008831502869725227, 0.026794718578457832, 0.06194150075316429, -0.024697739630937576, 0.07556289434432983, 0.014168043620884418, 0.03978881239891052, 0.0336771085858345, 0.030666062608361244, 0.03600708395242691, -0.005291732959449291, -0.034161023795604706, -0.01293136365711689, -0.0159513708204031, -0.04796164855360985, 0.05082930997014046, -0.00718707824125886, 0.060220904648303986, 0.02588065154850483, 0.014598192647099495, -0.01319124549627304, 0.0016354635590687394, -0.002672750735655427, 0.056600481271743774, 0.0019222297705709934, -0.034573253244161606, 0.009019693359732628, -0.03914358839392662, 0.02912469394505024, 0.08194344490766525, 0.018675649538636208, -0.017062589526176453, 0.01993025280535221, 0.01572733372449875, -0.02948315069079399, -0.05462896451354027, 0.037351299077272415, 0.07151232659816742, -0.03778144717216492, -0.024142131209373474, -0.012196525931358337, -0.02614949457347393, 0.006851023994386196, -0.024841124191880226, 0.0053365398198366165, -0.003441194538027048, -0.026723027229309082, 0.02258284017443657, -0.046742893755435944, 0.023765750229358673, 0.050255779176950455, -0.0074469600804150105, -0.0010720128193497658, 0.010637233965098858, -0.04968224838376045, 0.0319744348526001, 0.02627495490014553, 0.049969013780355453, -0.015431607142090797, -0.05441388860344887, 0.022134767845273018, -0.00981278158724308, -0.00373468198813498, 0.04953886196017265, -0.03579200804233551, 0.02545050159096718, -0.010995691642165184, -0.01151545625180006, 0.0013408560771495104, -0.037924833595752716, -0.07556289434432983, 0.04810503125190735, -0.05158207193017006, 0.0033762240782380104, -0.020181171596050262, 0.03892851248383522, -0.013961929827928543, -0.047137197107076645, 0.04918040707707405, 0.01305682398378849, 0.014929765835404396, -0.029859531670808792, -0.023747827857732773, 0.059683218598365784, 0.02559388428926468, 0.010260853916406631, -0.027171099558472633, 0.040864184498786926, 0.012599790468811989, 0.00746936397626996, 0.00032345211366191506, -0.07219339162111282, -0.023676136508584023, 0.028479469940066338, 0.03575616329908371, 0.008594024926424026, 0.04570336639881134, -0.05764000862836838, 0.00944536179304123, -0.013926084153354168, -0.006788293831050396, -0.0019479939946904778, 0.020450016483664513, 0.05878707394003868, 0.02885585092008114, -0.024446818977594376, -0.011165959760546684, 0.034573253244161606, 0.0315263606607914, 0.07584966719150543, -0.0012994094286113977, 0.011076345108449459, -0.06975588202476501, -0.023765750229358673, -0.030038760975003242, -0.03607877343893051, -0.0071512325666844845, 0.011103229597210884, 0.02211684361100197, -0.01464299950748682, -0.05427050590515137, -0.007066098973155022, 0.007554497569799423, 0.037458837032318115, -0.053804509341716766, -0.011927681975066662, 0.02233191952109337, 0.03641930967569351, 0.005954879801720381, 0.033479955047369, 0.01915956847369671, -0.037351299077272415, 0.05545341596007347, -0.012142756953835487, 0.0023613404482603073, 0.0021966740023344755, -0.03496755659580231, -0.007110905833542347, 0.020163249224424362, 0.027888014912605286, 0.01899826154112816, -0.007411114405840635, 0.02946522831916809, -0.02632872387766838, 0.0013240533880889416, 0.04161694645881653, -0.030020838603377342, 0.04455630108714104, 0.008387912064790726, 0.017143242061138153, -0.01127349678426981, -0.0957082211971283, 0.001298289280384779, -0.0009090264793485403, -0.04853518307209015, -0.04814087972044945, -0.0027332406025379896, 0.017645083367824554, -0.05176130309700966, 0.01121972780674696, -0.06875219941139221, -0.034698713570833206, -0.08839568495750427, 0.01960764080286026, 0.01644425094127655, -0.0044023096561431885, 0.00557849882170558, -0.03839082643389702, 0.008464084006845951, 0.05613448843359947, -0.007518651895225048, -0.05254990980029106, 0.001776606310158968, -0.009902396239340305, -0.0039766407571733, -0.0652393102645874, 0.033766720443964005, 0.05746078118681908, -0.0327092707157135, 0.04620520770549774, 0.009077942930161953, 0.02001986652612686, -0.04806918650865555, 0.05233483389019966, 0.0318848192691803, -0.015261339955031872, 0.006228203885257244, 0.03451948240399361, 0.01908787712454796, -0.03563070297241211, -0.006376067642122507, -0.0006329020252451301, 0.012384715490043163, 0.0007208361639641225, -0.05864369124174118, -0.018388884142041206, 0.03681361302733421, 0.020808473229408264, -0.003270927118137479, -0.057353243231773376, -0.011748453602194786, -0.037530530244112015, 0.003405348863452673, 0.03864174708724022, 0.0009969606762751937, -0.07742688059806824, -0.06982757151126862, 0.011972489766776562, -0.02245737984776497, 0.0166145171970129, -0.03616838902235031, -0.07086709886789322, -0.018514344468712807, 0.04620520770549774, 0.0334441103041172, -0.020772628486156464, 0.09477623552083969, -0.02645418420433998, 0.04215463250875473, 0.05900214985013008, 0.036849457770586014, 0.0058339000679552555, 0.05487988516688347, 0.00572636304423213, 0.01903410814702511, -0.008159395307302475, 0.026794718578457832, 0.010332545265555382, -0.0633394867181778, -0.03487794101238251, -0.06201319396495819, 0.017680929973721504, -0.026991870254278183, -0.0033762240782380104, -0.047388117760419846, -0.036992840468883514, -0.023694058880209923, -0.005614344961941242, 0.018854878842830658, 0.04760318994522095, 0.01606786996126175, 0.04975393787026405, 0.0331035740673542, -0.005305175203830004, -0.014221811667084694, 0.021417852491140366, -0.07463090866804123, -0.007895031943917274, -0.01969725452363491, 0.0011649877997115254, 0.030217990279197693, -0.11284250766038895, -0.0158707182854414, -0.017062589526176453, -0.0032440428622066975, 0.021686695516109467, 0.06276595592498779, 0.011031538248062134, 0.00485262181609869, 0.0022033951245248318, -0.015333031304180622, 0.03677776828408241, -0.06753344088792801, 0.043911077082157135, -0.05867953598499298, -0.03971711918711662, 0.021382005885243416, -0.02534296363592148, 0.03874928504228592, 0.018836956471204758, 0.06789190322160721, -0.0634828731417656, -0.03580993041396141, -0.03778144717216492, 0.056242022663354874, -0.01310163177549839, -0.007034733891487122, 0.02665133588016033, 0.009866549633443356, 0.028658699244260788, 0.00838343147188425, 0.023998748511075974, 0.017044667154550552, 0.027278635650873184, -0.0062102810479700565, 0.004456078168004751, 0.03507509455084801, 0.0005312456050887704, 0.011945605278015137, -0.05764000862836838, -0.011945605278015137, 0.07749857008457184, -0.02234984189271927, -0.003875824622809887, 0.030755676329135895, -0.0079353591427207, -0.01589760184288025, 0.010619311593472958, -0.01898033916950226, 0.0055381725542247295, -0.015395761467516422, 0.01967933215200901, 0.0640564039349556, 0.001510003348812461, 0.05943229794502258, -0.018406806513667107, -0.04857102781534195, 0.05459311977028847, -0.02550427056849003, 0.027368251234292984, -0.0032731674145907164, -0.024894891306757927, 0.03864174708724022, -0.004440395627170801, 0.07022187858819962, -0.010296699590981007, 0.011354150250554085, 0.014401040971279144, 0.0165786724537611, 0.037387143820524216, 0.0653826966881752, -0.05233483389019966, 0.01950010284781456, 0.04745980724692345, -0.08531294763088226, -0.004695796873420477, -0.011578185483813286, -0.0009756772196851671, 0.0319206640124321, 0.037100378423929214, -0.0068331011570990086, -0.007442479487508535, -0.00956186093389988, 0.020360400900244713, -0.0321178175508976, 0.057209860533475876, 0.020539630204439163, -0.06771267205476761, 0.02987745590507984, -0.013209168799221516, -0.013845431618392467, 0.07678165286779404, 0.016856476664543152, -0.004032650031149387, -0.04509398713707924, 0.026830563321709633, 0.00023635808611288667, -0.006205799989402294, 0.0161216389387846, -0.006550815887749195, -0.0316876657307148, 0.009145153686404228, 0.028336087241768837, 0.016999859362840652, 0.10466966778039932, 0.002744442317634821, 0.007518651895225048, -0.028354009613394737, 0.03989635035395622, 0.018926570191979408, 0.02304883487522602, 0.014786383137106895, -0.004485202953219414, -0.014141159132122993, -0.02007363550364971, -0.037566374987363815, 0.002083535771816969, -0.060220904648303986, -0.044197842478752136, 0.02211684361100197, 0.0318310484290123, 0.02306675724685192, 0.02926807664334774, 0.03559485822916031, 0.04832010716199875, 0.011721569113433361, -0.009785897098481655, 0.02889169566333294, 0.01272525079548359, -0.0625867247581482, 0.026758871972560883, -0.00477196928113699, -0.030934905633330345, -0.010529696941375732, -0.05652879178524017, -0.043946921825408936, 0.07412906736135483, -0.037279609590768814, -0.008387912064790726, -0.027780476957559586, -0.028121011331677437, 0.07283861935138702, 0.033479955047369, 0.021435774862766266, -0.02274414524435997, -0.04946717247366905, -0.043588463217020035, -0.017645083367824554, 0.0023366964887827635, -0.04602597653865814, -0.031006596982479095, -0.03864174708724022, -0.057209860533475876, 0.008674678392708302, 0.017295587807893753, -0.024446818977594376, 0.0065060085617005825, 0.06075859069824219, 0.059683218598365784, -0.04272816702723503, 0.04158110171556473, 0.02634664624929428, -0.024679817259311676, 0.005977283231914043, 0.002114900853484869, -0.03616838902235031, 0.00962459109723568, 0.02602403424680233, -0.012097950093448162, 0.0047406041994690895, 0.053553592413663864, -0.04642027989029884, 0.017860157415270805, 0.007697880733758211, -0.017008820548653603, -0.030845291912555695, 0.015521221794188023, 0.017483778297901154, 0.005775650963187218, 0.03564862534403801, -0.04297908768057823, 0.00013960250362288207, -0.021184854209423065, -0.06140381470322609, 0.013585549779236317, -0.01903410814702511, -0.0018863839795812964, 0.007164674811065197, 0.005488884635269642, -0.003506164997816086, 0.015422645956277847, -0.021131085231900215, 0.016802707687020302, -0.05186883732676506, 0.01108530629426241, 0.024608125910162926, 0.03624008223414421, 0.015073149465024471, 0.05172545462846756, -0.05262159928679466, -0.014185965992510319, -0.005730843637138605, -0.0039139105938375, 0.01935672014951706, 0.0033560609444975853, -0.014141159132122993, -0.030666062608361244, -0.0983608141541481, 0.004736123140901327, -0.04308662563562393, 0.03986050561070442, -0.020933933556079865, 0.017331432551145554, -0.060185059905052185, 0.04251309111714363, 0.020396247506141663, -0.01589760184288025, 0.02597026526927948, -0.022152690216898918, 0.01298513263463974, -0.060220904648303986, 0.05556095391511917, 0.016820630058646202, 0.014033622108399868, 0.03878512978553772, -0.007464882917702198, 0.0035151264164596796, -0.027690863236784935, -0.0041648312471807, -0.02950107492506504, -0.02285168319940567, 0.014141159132122993, 0.031347133219242096, 0.0056860363110899925, -0.01930295117199421, -0.027547478675842285, -0.03518262878060341, -0.008186278864741325, -0.03928697109222412, -0.08803723007440567, -0.013379435986280441, -0.00810114573687315, -0.07050864398479462, -0.028049319982528687, 0.030415141955018044, -0.010807502083480358, -0.0949196144938469, -0.007254288997501135, -0.04301493242383003, -0.007110905833542347, -0.04555998370051384, -0.0011941124685108662, 0.026687180623412132, -0.03632969409227371, 0.009033136069774628, -0.0319565087556839, -0.017313510179519653, 0.08889752626419067, 0.024661894887685776, -0.007240846753120422, -0.0332290343940258, 0.007348384242504835, 0.043731849640607834, -0.11520832777023315, -0.0647016242146492, -0.0009230287396349013, -0.005793573800474405, -0.028515314683318138, 0.0056815557181835175, -0.041150953620672226, -0.0321178175508976, 0.02270830050110817, -0.01279694214463234, -0.02948315069079399, -0.004223080817610025, -0.013280860148370266, 0.0014909602468833327, 0.024823199957609177, 0.03505716845393181, 0.008728446438908577, -0.07477428764104843, -0.028282318264245987, -0.020862242206931114, 0.06212073192000389, 0.018603958189487457, -0.0160320233553648, 0.04201124981045723, 0.05330267176032066, 0.05882291868329048, 0.043337542563676834, 0.03529016673564911, -0.017645083367824554, -0.02272622287273407, -0.05552510917186737, 0.009409516118466854, -0.04817672446370125, 0.05459311977028847, 0.059683218598365784, -0.10180200636386871, 0.006488085724413395, 0.02864077500998974, -0.06240749731659889, 0.00278924941085279, 0.005327578634023666, -0.01980479247868061, -0.050255779176950455, 0.028067244216799736, -0.04659951105713844, -0.0037862102035433054, 0.024643972516059875, 0.02233191952109337, 0.03982465714216232, 0.0635187178850174, -0.024142131209373474, 0.06764098256826401, 0.05778339132666588, -0.03589954599738121, -0.0022963699884712696, -0.06244334205985069, 0.0010288858320564032, 0.027905937284231186, -0.00028872652910649776, -0.014714691787958145, 0.033856336027383804, -0.05330267176032066, -0.06799943745136261, -0.022134767845273018, -0.016964014619588852, -0.01286863349378109, 0.0022750867065042257, 0.07627981156110764, 0.037100378423929214, 0.005824938882142305, -0.018657727167010307 ]
54,225
nbconvert.exporters.exporter
Exporter
Class containing methods that sequentially run a list of preprocessors on a NotebookNode object and then return the modified NotebookNode object and accompanying resources dict.
class Exporter(LoggingConfigurable): """ Class containing methods that sequentially run a list of preprocessors on a NotebookNode object and then return the modified NotebookNode object and accompanying resources dict. """ enabled = Bool(True, help="Disable this exporter (and any exporters inherited from it).").tag( config=True ) file_extension = FilenameExtension( help="Extension of the file that should be written to disk" ).tag(config=True) optimistic_validation = Bool( False, help="Reduces the number of validation steps so that it only occurs after all preprocesors have run.", ).tag(config=True) # MIME type of the result file, for HTTP response headers. # This is *not* a traitlet, because we want to be able to access it from # the class, not just on instances. output_mimetype = "" # Should this converter be accessible from the notebook front-end? # If so, should be a friendly name to display (and possibly translated). export_from_notebook: str = None # type:ignore[assignment] # Configurability, allows the user to easily add filters and preprocessors. preprocessors: List[t.Any] = List( help="""List of preprocessors, by name or namespace, to enable.""" ).tag(config=True) _preprocessors: List[t.Any] = List() default_preprocessors: List[t.Any] = List( [ "nbconvert.preprocessors.TagRemovePreprocessor", "nbconvert.preprocessors.RegexRemovePreprocessor", "nbconvert.preprocessors.ClearOutputPreprocessor", "nbconvert.preprocessors.CoalesceStreamsPreprocessor", "nbconvert.preprocessors.ExecutePreprocessor", "nbconvert.preprocessors.SVG2PDFPreprocessor", "nbconvert.preprocessors.LatexPreprocessor", "nbconvert.preprocessors.HighlightMagicsPreprocessor", "nbconvert.preprocessors.ExtractOutputPreprocessor", "nbconvert.preprocessors.ExtractAttachmentsPreprocessor", "nbconvert.preprocessors.ClearMetadataPreprocessor", ], help="""List of preprocessors available by default, by name, namespace, instance, or type.""", ).tag(config=True) def __init__(self, config=None, **kw): """ Public constructor Parameters ---------- config : ``traitlets.config.Config`` User configuration instance. `**kw` Additional keyword arguments passed to parent __init__ """ with_default_config = self.default_config if config: with_default_config.merge(config) super().__init__(config=with_default_config, **kw) self._init_preprocessors() self._nb_metadata = {} @property def default_config(self): return Config() def from_notebook_node( self, nb: NotebookNode, resources: t.Any | None = None, **kw: t.Any ) -> tuple[NotebookNode, dict[str, t.Any]]: """ Convert a notebook from a notebook node instance. Parameters ---------- nb : :class:`~nbformat.NotebookNode` Notebook node (dict-like with attr-access) resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored """ nb_copy = copy.deepcopy(nb) resources = self._init_resources(resources) if "language" in nb["metadata"]: resources["language"] = nb["metadata"]["language"].lower() # Preprocess nb_copy, resources = self._preprocess(nb_copy, resources) notebook_name = "" if resources is not None: name = resources.get("metadata", {}).get("name", "") path = resources.get("metadata", {}).get("path", "") notebook_name = os.path.join(path, name) self._nb_metadata[notebook_name] = nb_copy.metadata return nb_copy, resources def from_filename( self, filename: str, resources: dict[str, t.Any] | None = None, **kw: t.Any ) -> tuple[NotebookNode, dict[str, t.Any]]: """ Convert a notebook from a notebook file. Parameters ---------- filename : str Full filename of the notebook file to open and convert. resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored """ # Pull the metadata from the filesystem. if resources is None: resources = ResourcesDict() if "metadata" not in resources or resources["metadata"] == "": resources["metadata"] = ResourcesDict() path, basename = os.path.split(filename) notebook_name = os.path.splitext(basename)[0] resources["metadata"]["name"] = notebook_name resources["metadata"]["path"] = path modified_date = datetime.datetime.fromtimestamp( os.path.getmtime(filename), tz=datetime.timezone.utc ) # datetime.strftime date format for ipython if sys.platform == "win32": date_format = "%B %d, %Y" else: date_format = "%B %-d, %Y" resources["metadata"]["modified_date"] = modified_date.strftime(date_format) with open(filename, encoding="utf-8") as f: return self.from_file(f, resources=resources, **kw) def from_file( self, file_stream: t.Any, resources: dict[str, t.Any] | None = None, **kw: t.Any ) -> tuple[NotebookNode, dict[str, t.Any]]: """ Convert a notebook from a notebook file. Parameters ---------- file_stream : file-like object Notebook file-like object to convert. resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored """ return self.from_notebook_node( nbformat.read(file_stream, as_version=4), resources=resources, **kw ) def register_preprocessor(self, preprocessor, enabled=False): """ Register a preprocessor. Preprocessors are classes that act upon the notebook before it is passed into the Jinja templating engine. Preprocessors are also capable of passing additional information to the Jinja templating engine. Parameters ---------- preprocessor : `nbconvert.preprocessors.Preprocessor` A dotted module name, a type, or an instance enabled : bool Mark the preprocessor as enabled """ if preprocessor is None: msg = "preprocessor must not be None" raise TypeError(msg) isclass = isinstance(preprocessor, type) constructed = not isclass # Handle preprocessor's registration based on it's type if constructed and isinstance( preprocessor, str, ): # Preprocessor is a string, import the namespace and recursively call # this register_preprocessor method preprocessor_cls = import_item(preprocessor) return self.register_preprocessor(preprocessor_cls, enabled) if constructed and callable(preprocessor): # Preprocessor is a function, no need to construct it. # Register and return the preprocessor. if enabled: preprocessor.enabled = True self._preprocessors.append(preprocessor) return preprocessor if isclass and issubclass(preprocessor, HasTraits): # Preprocessor is configurable. Make sure to pass in new default for # the enabled flag if one was specified. self.register_preprocessor(preprocessor(parent=self), enabled) return None if isclass: # Preprocessor is not configurable, construct it self.register_preprocessor(preprocessor(), enabled) return None # P
(config=None, **kw)
[ -0.0054491059854626656, -0.06588964909315109, -0.052159301936626434, -0.02808116003870964, 0.004453355446457863, 0.03106340765953064, -0.0020002571400254965, 0.040710676461458206, -0.003340016817674041, -0.028761671856045723, 0.03696785494685173, 0.002664507832378149, 0.020345330238342285, 0.05099842697381973, -0.03248447924852371, -0.026199741289019585, 0.03734814375638962, 0.018584003672003746, 0.020495444536209106, -0.00829625129699707, -0.047996167093515396, -0.040770720690488815, 0.013710331171751022, 0.021936530247330666, 0.006680033635348082, -0.005096340086311102, 0.020615534856915474, -0.017893483862280846, -0.052159301936626434, 0.0025544248055666685, 0.0038303863257169724, -0.0542408712208271, -0.025859486311674118, -0.013119885697960854, 0.06300747394561768, -0.008966756984591484, -0.04999767243862152, 0.05472123250365257, -0.09999534487724304, -0.007580711971968412, 0.03420577570796013, -0.056682709604501724, 0.01015765406191349, -0.07089342176914215, -0.032264310866594315, 0.029922546818852425, -0.023697856813669205, -0.0036902807187289, 0.0004928713897243142, -0.0054491059854626656, 0.02223675511777401, -0.05255960300564766, 0.014901228249073029, 0.06608980149030685, -0.045234084129333496, 0.01878415420651436, 0.023117419332265854, 0.06933224201202393, 0.023377615958452225, 0.005829392466694117, -0.016162177547812462, 0.013169923797249794, 0.024758655577898026, 0.003452601609751582, 0.030222773551940918, -0.008626500144600868, 0.00735554238781333, -0.030903285369277, -0.03852903097867966, 0.017062857747077942, -0.007920968346297741, -0.07465625554323196, 0.07021290808916092, 0.022036604583263397, 0.03112345188856125, -0.029762426391243935, -0.06300747394561768, -0.0287216417491436, 0.0029422170482575893, 0.010042566806077957, 0.03594708815217018, 0.022276785224676132, -0.04415326938033104, -0.05255960300564766, 0.06196669116616249, -0.06488889455795288, 0.1029575765132904, 0.0243583545088768, -0.00846137572079897, 0.030042637139558792, -0.06016533449292183, 0.00073805614374578, 0.048276375979185104, -0.00848639477044344, 0.029442185536026955, -0.03514648228883743, -0.006900199223309755, -0.018333815038204193, 0.003287477185949683, -0.053320176899433136, -0.005499143619090319, 0.012109124101698399, -0.012459388002753258, -0.014050587080419064, 0.013840428553521633, 0.027901023626327515, -0.0265399981290102, 0.0808609277009964, -0.009136884473264217, -0.047996167093515396, -0.04695538058876991, -0.03448598459362984, -0.01755322702229023, -0.04239194467663765, 0.052359454333782196, -0.039329636842012405, -0.008946741931140423, 0.04315251484513283, 0.04291233420372009, -0.032264310866594315, -0.03288478031754494, 0.023857977241277695, -0.04339269548654556, 0.005674275569617748, -0.029662350192666054, 0.011448626406490803, 0.06016533449292183, 0.035446710884571075, 0.033164989203214645, -0.03482624143362045, -0.014590994454920292, 0.017052849754691124, -0.06448858976364136, 0.02329755574464798, 0.0287216417491436, -0.0285014770925045, -0.06833148747682571, 0.05011776462197304, -0.03132360428571701, 0.027901023626327515, 0.05632244050502777, -0.056362468749284744, 0.005499143619090319, 0.02846144698560238, -0.02047542855143547, -0.03596710041165352, 0.02053547464311123, 0.04211173206567764, -0.040230315178632736, 0.001598704606294632, 0.018904244527220726, 0.00587943010032177, 0.007605731021612883, -0.0056942906230688095, 0.05932470038533211, 0.017263008281588554, -0.0015499178553000093, 0.012479403056204319, -0.007440606597810984, -0.02531907893717289, 0.017793407663702965, 0.028581537306308746, 0.023057373240590096, 0.03320502117276192, -0.03668764606118202, 0.024158203974366188, -0.020075127482414246, -0.06100596860051155, 0.01140859629958868, 0.0333050973713398, 0.026159711182117462, -0.04835643619298935, -0.02718048170208931, 0.047675926238298416, 0.009357050992548466, 0.09286998212337494, 0.05564192682504654, 0.006224690470844507, -0.008146137930452824, 0.034025639295578, -0.025919530540704727, -0.015761876478791237, -0.059765033423900604, 0.036627598106861115, -0.014951266348361969, 0.031403664499521255, 0.04175145924091339, -0.033164989203214645, 0.05099842697381973, 0.001598704606294632, 0.04703544080257416, 0.03144369274377823, 0.01845390535891056, 0.05159888043999672, -0.017142917960882187, -0.05324011668562889, -0.01798355020582676, -0.027680857107043266, 0.020175201818346977, 0.026319831609725952, -0.028001099824905396, 0.06360793113708496, 0.056042227894067764, 0.015231477096676826, -0.04187155142426491, 0.01010761596262455, -0.05067818611860275, 0.054280903190374374, -0.06240702420473099, 0.02409815788269043, -0.006910206750035286, -0.02882171794772148, 0.03999013453722, 0.038268834352493286, 0.03304490074515343, -0.04515402391552925, 0.019874976947903633, 0.05464117228984833, -0.01087819691747427, -0.025759410113096237, 0.054120779037475586, 0.05436096340417862, -0.047796014696359634, 0.005639249458909035, -0.000930075824726373, -0.024278294295072556, 0.054761264473199844, -0.0020115156657993793, 0.043632879853248596, -0.007685791235417128, -0.023417646065354347, -0.008656523190438747, -0.031944070011377335, 0.02351772040128708, 0.043112486600875854, -0.009106862358748913, -0.016162177547812462, 0.021816439926624298, -0.051678940653800964, 0.039129484444856644, -0.02712043561041355, 0.006920214276760817, 0.012749606743454933, -0.06657016277313232, 0.015861952677369118, -0.038268834352493286, 0.07273481041193008, 0.024378368631005287, -0.05520159378647804, 0.0018388855969533324, 0.048116255551576614, -0.007065323647111654, -0.010708068497478962, -0.015431627631187439, -0.05368044972419739, 0.02660004422068596, -0.053960658609867096, -0.055721987038850784, -0.0021303552202880383, 0.009677291847765446, -0.018073618412017822, -0.07217438519001007, 0.01914442516863346, 0.020235247910022736, 0.02740064635872841, -0.018123656511306763, -0.02611968107521534, 0.024238264188170433, 0.010387827642261982, -0.004595963284373283, 0.025879500433802605, 0.06524916738271713, -0.048436496406793594, 0.0265399981290102, -0.005494140088558197, -0.060765787959098816, 0.005203921347856522, -0.0173430684953928, 0.01612214744091034, 0.020085133612155914, 0.017273016273975372, -0.02692028507590294, 0.001387295313179493, -0.02978244237601757, 0.05456111207604408, -0.048596616834402084, -0.009241963736712933, 0.018413875252008438, 0.0023655325639992952, -0.027961069718003273, -0.0035801976919174194, 0.03366536647081375, 0.03112345188856125, 0.004823634866625071, 0.01983494684100151, 0.017533211037516594, -0.1077611967921257, -0.03696785494685173, -0.017042841762304306, -0.04703544080257416, -0.02233683131635189, -0.020115157589316368, 0.07265474647283554, -0.03536665067076683, -0.0664500743150711, -0.0006092090625315905, 0.009121873416006565, 0.028641581535339355, -0.03654753789305687, 0.011678799986839294, 0.0330849289894104, -0.00010265547462040558, 0.04983755201101303, 0.03100336156785488, -0.015441635623574257, -0.07277483493089676, 0.05067818611860275, 0.04823634773492813, 0.006855165585875511, 0.01946466602385044, -0.05099842697381973, 0.0257393941283226, -0.0039654881693422794, 0.03686777874827385, 0.030062653124332428, -0.041191037744283676, 0.03272465988993645, -0.015421620570123196, 0.00468102702870965, 0.004958736710250378, -0.032304342836141586, 0.028441431000828743, -0.025719380006194115, 0.01871410198509693, -0.032304342836141586, -0.047796014696359634, -0.013360067270696163, 0.005484132561832666, 0.00016793904069345444, -0.037308111786842346, 0.0253791231662035, 0.011748853139579296, -0.01984495297074318, 0.010087600909173489, -0.060565635561943054, -0.04727562144398689, -0.01957475021481514, 0.003662759903818369, -0.004578449763357639, -0.028481461107730865, 0.000618591089732945, 0.0420316718518734, -0.00962725467979908, 0.053320176899433136, -0.015311537310481071, -0.09623251110315323, -0.01294975820928812, -0.0634077787399292, -0.013229968957602978, -0.03892933204770088, 0.003907944541424513, 0.05344026908278465, -0.035086438059806824, 0.05067818611860275, 0.01669257879257202, -0.020045103505253792, 0.014590994454920292, 0.02589951641857624, 0.0285014770925045, -0.03514648228883743, 0.006439852528274059, 0.007080335170030594, 0.0005970123456791043, -0.07217438519001007, -0.014340805821120739, -0.033164989203214645, 0.005794366355985403, -0.007150387857109308, -0.06336774677038193, 0.015241485089063644, 0.05496141314506531, 0.03084324114024639, -0.01962478831410408, -0.020095141604542732, -0.03440592437982559, -0.04139119014143944, 0.025839470326900482, 0.015921996906399727, 0.01015765406191349, -0.05015779286623001, -0.02509891241788864, 0.000028673950509983115, -0.010117623955011368, 0.039930086582899094, -0.015651794150471687, -0.048316407948732376, -0.013390089385211468, 0.0744561031460762, 0.052679695188999176, -0.043793000280857086, 0.048636648803949356, -0.032144222408533096, 0.04037041962146759, 0.07137378305196762, 0.020225239917635918, -0.009857427328824997, 0.112564817070961, 0.027640827000141144, 0.024118173867464066, 0.024438414722681046, 0.02371787093579769, -0.01893426664173603, -0.011418604291975498, 0.0033550281077623367, -0.03058304451406002, 0.026560014113783836, -0.010678046382963657, -0.010748098604381084, -0.04095085710287094, -0.02862156741321087, -0.03272465988993645, 0.03989005833864212, 0.08110111206769943, 0.04703544080257416, 0.05708301439881325, -0.025619303807616234, -0.005288985557854176, 0.0043032425455749035, -0.03128357231616974, 0.03878922760486603, -0.03612722083926201, -0.03596710041165352, -0.019504697993397713, -0.03958982974290848, 0.034025639295578, -0.0696524828672409, 0.00009038060670718551, -0.015441635623574257, 0.018744124099612236, 0.060445547103881836, 0.04967743158340454, 0.003452601609751582, 0.054280903190374374, -0.017953528091311455, -0.03756830841302872, 0.043592847883701324, -0.06104600057005882, 0.06925218552350998, -0.06284735351800919, -0.044433481991291046, 0.015101378783583641, -0.010517925024032593, 0.011798890307545662, -0.028701627627015114, 0.023337585851550102, -0.046515051275491714, 0.005283981561660767, -0.020345330238342285, 0.010427857749164104, -0.010257729329168797, 0.014691069722175598, 0.043592847883701324, 0.0257393941283226, -0.018684078007936478, 0.02000507339835167, -0.03680773451924324, 0.031363632529973984, 0.001963979797437787, -0.034706152975559235, 0.01728302240371704, 0.039609845727682114, 0.007375557441264391, 0.019915007054805756, -0.03708794713020325, -0.014961273409426212, 0.04627487063407898, -0.014440881088376045, -0.0346861369907856, -0.0041806502267718315, -0.026580028235912323, 0.004600966814905405, -0.026159711182117462, 0.02057550475001335, 0.006850161589682102, -0.019484682008624077, -0.0022054119035601616, 0.08106108009815216, -0.008146137930452824, 0.07273481041193008, -0.02978244237601757, -0.05684283375740051, 0.06516910344362259, -0.014370828866958618, 0.028101174160838127, -0.03328508138656616, -0.012919735163450241, 0.036147236824035645, 0.00776585191488266, 0.07525670528411865, -0.04049051180481911, 0.024238264188170433, -0.023017343133687973, 0.03770841285586357, 0.02579944021999836, 0.059124551713466644, 0.028361370787024498, -0.026319831609725952, 0.036627598106861115, -0.04671519994735718, -0.01415066234767437, -0.014240730553865433, 0.0013397595612332225, 0.05984509363770485, 0.026319831609725952, -0.05287984758615494, -0.0030848244205117226, -0.03626732900738716, 0.06897196918725967, -0.004703544080257416, 0.02898183837532997, 0.0158519446849823, -0.0491570420563221, 0.04291233420372009, -0.04519405588507652, -0.0158519446849823, 0.055241625756025314, 0.005203921347856522, -0.037047915160655975, -0.025299062952399254, 0.03834889829158783, -0.032684627920389175, -0.03950976952910423, 0.032264310866594315, -0.01926451548933983, -0.03886928781867027, 0.0053990683518350124, 0.038969364017248154, 0.016452396288514137, 0.08750593662261963, -0.007890946231782436, 0.006529920268803835, -0.004821132868528366, -0.001426074537448585, 0.005474125035107136, 0.030122697353363037, 0.01018267311155796, 0.012149154208600521, 0.03504640981554985, -0.020445406436920166, -0.02105586603283882, 0.02175639383494854, -0.051879093050956726, -0.018383853137493134, 0.00925697572529316, 0.028901778161525726, 0.008706560358405113, 0.03494633361697197, 0.003182397922500968, 0.05708301439881325, 0.030823225155472755, 0.004093084018677473, 0.024538490921258926, -0.0020427892450243235, -0.07289493083953857, 0.03346521779894829, 0.035026393830776215, -0.007745836395770311, -0.013199945911765099, -0.07393570989370346, -0.03408568352460861, 0.08958750218153, -0.003259956371039152, 0.03940969705581665, -0.0342458039522171, -0.02962232008576393, 0.03096333146095276, 0.014821168035268784, 0.002621975727379322, 0.012009048834443092, -0.030462954193353653, 0.010437864810228348, 0.005539173725992441, 0.021876484155654907, -0.08170156180858612, 0.017673317342996597, -0.0006723816622979939, -0.04967743158340454, 0.041511278599500656, 0.04855658859014511, -0.021556243300437927, -0.0058343964628875256, 0.040870796889066696, 0.02660004422068596, -0.06256714463233948, 0.07037302851676941, 0.03150373697280884, 0.01627226173877716, -0.02275714837014675, 0.016742615029215813, -0.020875729620456696, -0.03798862546682358, -0.0025994586758315563, -0.012729591690003872, 0.007075331173837185, 0.04047049582004547, -0.05255960300564766, 0.02605963684618473, -0.028261294588446617, -0.018764138221740723, -0.0163222998380661, 0.008356296457350254, -0.00518390629440546, 0.01364027801901102, -0.013400097377598286, -0.041511278599500656, -0.018493935465812683, -0.037788473069667816, -0.06536925584077835, 0.016362329944968224, -0.03995010256767273, -0.010938242077827454, -0.007200425490736961, -0.0052339439280331135, 0.014841183088719845, -0.031023375689983368, -0.0010364059126004577, 0.002169134560972452, -0.04099088907241821, 0.010327782481908798, 0.016462404280900955, 0.051718972623348236, -0.03760833665728569, 0.07041306048631668, -0.018393859267234802, 0.012789636850357056, 0.01455096434801817, 0.021416136994957924, 0.014430874027311802, -0.017513196915388107, 0.000730550498701632, -0.00941209215670824, -0.09551197290420532, -0.005499143619090319, -0.04955734312534332, -0.016242239624261856, -0.03150373697280884, 0.048116255551576614, -0.05043800547719002, 0.05520159378647804, 0.022036604583263397, -0.02441839873790741, 0.05303996801376343, -0.014540957286953926, 0.016202209517359734, -0.04663513973355293, 0.07389567792415619, 0.015041333623230457, -0.004098088014870882, 0.029222019016742706, -0.004500891547650099, 0.032264310866594315, -0.024658581241965294, -0.005339023191481829, 0.02089574560523033, 0.014831175096333027, -0.011888958513736725, 0.003475118661299348, 0.0057743508368730545, 0.021396122872829437, -0.002982247155159712, -0.003495133714750409, -0.0019226988079026341, -0.005654260516166687, -0.06164645031094551, -0.005096340086311102, -0.01941462978720665, -0.019644802436232567, 0.005644252989441156, -0.01723298616707325, -0.05255960300564766, -0.06288738548755646, 0.035186514258384705, -0.04903694987297058, 0.013330044224858284, -0.0275607667863369, -0.01330002211034298, 0.009682295843958855, -0.029642336070537567, 0.00811111181974411, -0.0117788752540946, 0.012029063887894154, 0.10391830652952194, 0.030242787674069405, -0.005273974034935236, -0.03792858123779297, -0.008211187086999416, 0.007650765124708414, -0.07061320543289185, -0.05388059839606285, -0.050718218088150024, 0.016632532700896263, -0.05484132468700409, 0.005053807981312275, -0.019614780321717262, 0.0010783125180751085, 0.030563030391931534, -0.05127863958477974, -0.033805474638938904, -0.029662350192666054, -0.010577971115708351, 0.011448626406490803, 0.049917612224817276, 0.053960658609867096, -0.01739310659468174, -0.05091836676001549, -0.010597986169159412, -0.02133607678115368, 0.02303735911846161, 0.008921722881495953, -0.009327027946710587, 0.005434094462543726, 0.03854904696345329, 0.04743574187159538, 0.06993269175291061, -0.011738845147192478, 0.015711838379502296, -0.02766084298491478, -0.07637754827737808, 0.023477690294384956, -0.052839815616607666, 0.06480883806943893, 0.030502984300255775, -0.08590473234653473, -0.02351772040128708, 0.07197423279285431, -0.06128618121147156, 0.049597371369600296, 0.00882665067911148, -0.007520666811615229, -0.04107094928622246, 0.048116255551576614, -0.03426581993699074, -0.055721987038850784, 0.05115854740142822, 0.005374049302190542, 0.026720134541392326, 0.06316759437322617, -0.006564946845173836, 0.024758655577898026, 0.02553924359381199, 0.012269245460629463, -0.019214479252696037, -0.06152636185288429, 0.011428611353039742, 0.04979752376675606, -0.03370539844036102, 0.022436905652284622, 0.05159888043999672, -0.030042637139558792, -0.05844403803348541, -0.004618479870259762, -0.04123106971383095, -0.002394304145127535, 0.02563931979238987, 0.09054823219776154, 0.0231974795460701, -0.014500926248729229, -0.0047310651279985905 ]
54,227
nbconvert.exporters.exporter
__init__
Public constructor Parameters ---------- config : ``traitlets.config.Config`` User configuration instance. `**kw` Additional keyword arguments passed to parent __init__
def __init__(self, config=None, **kw): """ Public constructor Parameters ---------- config : ``traitlets.config.Config`` User configuration instance. `**kw` Additional keyword arguments passed to parent __init__ """ with_default_config = self.default_config if config: with_default_config.merge(config) super().__init__(config=with_default_config, **kw) self._init_preprocessors() self._nb_metadata = {}
(self, config=None, **kw)
[ -0.045953623950481415, -0.0595022588968277, -0.010222585871815681, -0.03340018168091774, -0.009218660183250904, 0.031776439398527145, -0.040087200701236725, 0.016019167378544807, 0.034377917647361755, 0.009690068662166595, -0.003369699465110898, 0.01117413304746151, 0.02962891198694706, 0.023884709924459457, -0.03799205273389816, -0.02418152242898941, 0.09937994927167892, -0.014281938783824444, 0.022924432530999184, -0.01279787439852953, -0.008171085268259048, -0.037119071930646896, -0.024006927385926247, 0.03340018168091774, -0.00012726399290841073, 0.012658197432756424, -0.026416348293423653, -0.05821024999022484, -0.03104313835501671, 0.007682216353714466, -0.012064571492373943, -0.018803970888257027, -0.04099510237574577, 0.04731547087430954, 0.058280088007450104, -0.030624108389019966, -0.010807481594383717, 0.04298549145460129, -0.09847205132246017, 0.03573976457118988, 0.01607154682278633, -0.06138789281249046, 0.021667342633008957, -0.037119071930646896, -0.0010437556775286794, 0.029978103935718536, 0.01259708870202303, 0.025246556848287582, -0.028790852054953575, 0.028808312490582466, 0.0024748959112912416, -0.024652931839227676, -0.002372320741415024, 0.03401126712560654, -0.05901338905096054, 0.041414130479097366, 0.06463537365198135, 0.03195103630423546, 0.001385854440741241, 0.042182352393865585, -0.005259699188172817, 0.029593992978334427, 0.053880274295806885, -0.04682660102844238, 0.009183740243315697, -0.036839719861745834, 0.002016581827774644, -0.016743740066885948, -0.005072008818387985, -0.022802215069532394, 0.02807500958442688, -0.04015704244375229, -0.009445634670555592, 0.04916618391871452, 0.03156692534685135, -0.04832812398672104, -0.08680904656648636, 0.005141847301274538, 0.008703602477908134, 0.03343510255217552, 0.04071574658155441, -0.002096241107210517, -0.026992514729499817, -0.005582701414823532, 0.041134778410196304, -0.0659623071551323, 0.03184628114104271, 0.02952415496110916, 0.07053671777248383, 0.033208128064870834, -0.04742022603750229, 0.05147084966301918, 0.04340452328324318, -0.0015364432474598289, 0.0022271880879998207, -0.007922286167740822, 0.0007845900254324079, -0.013278013095259666, 0.005172401666641235, -0.02690521813929081, -0.03498900309205055, 0.0065124244429171085, 0.007328659761697054, -0.023291083052754402, -0.024740228429436684, 0.03313829004764557, -0.02081182226538658, 0.05597542226314545, -0.032963693141937256, -0.0036556001286953688, -0.017538150772452354, -0.004871223587542772, -0.0284416601061821, 0.006804872304201126, 0.02484498731791973, -0.008555195294320583, 0.005752932745963335, -0.004445646423846483, 0.033085908740758896, -0.006992563139647245, -0.06201643869280815, 0.05527703836560249, -0.016673902049660683, -0.006992563139647245, -0.014482724480330944, 0.032439906150102615, 0.03767777979373932, -0.002608025213703513, 0.022941891103982925, -0.02938447892665863, 0.059851448982954025, -0.013889098539948463, -0.08645985275506973, -0.00875161588191986, 0.04885191470384598, -0.05691824108362198, 0.03924914076924324, 0.040506232529878616, -0.020968958735466003, 0.027481382712721825, 0.02507196180522442, -0.0024901730939745903, 0.0155302993953228, 0.031217733398079872, -0.034255702048540115, 0.011811408214271069, -0.025770343840122223, -0.026730621233582497, -0.0018747227732092142, 0.007721500471234322, 0.009567851200699806, 0.0011905253631994128, -0.005312078166753054, -0.003998244646936655, 0.024897364899516106, -0.006407666951417923, 0.038655515760183334, -0.02975112944841385, 0.05705791711807251, 0.017398474738001823, 0.05293745547533035, 0.022575240582227707, 0.05594050511717796, -0.00893494114279747, -0.08743759244680405, 0.019938843324780464, -0.03470965102314949, -0.0639369934797287, 0.001274549518711865, 0.019956303760409355, 0.030886001884937286, -0.07064147293567657, -0.011139214038848877, 0.04162364453077316, 0.01137491874396801, 0.03785237669944763, -0.0035159236285835505, 0.043858472257852554, -0.001610646490007639, 0.01026623509824276, 0.012937551364302635, -0.011855056509375572, -0.057267431169748306, 0.0013378405710682273, 0.0014676961582154036, 0.04392831027507782, 0.030973300337791443, 0.04026179760694504, 0.034762028604745865, 0.022784756496548653, 0.04783925786614418, -0.013042308390140533, -0.012553440406918526, 0.014264479279518127, 0.014395426027476788, -0.020113440230488777, 0.01026623509824276, -0.04511556401848793, -0.014570022001862526, 0.029454316943883896, 0.03823648765683174, 0.028825771063566208, 0.02769089862704277, -0.02446087636053562, 0.025246556848287582, 0.01722387783229351, -0.00801831390708685, 0.038655515760183334, -0.05443897843360901, 0.015399351716041565, 0.014089883305132389, -0.048432882875204086, 0.043474361300468445, 0.04469653218984604, 0.0023024824913591146, -0.06592738628387451, -0.0023352191783487797, 0.016769928857684135, -0.016385817900300026, -0.023046649992465973, 0.13143573701381683, 0.025019582360982895, 0.007974664680659771, 0.031217733398079872, -0.0017797861946746707, 0.011750299483537674, 0.07549523562192917, -0.031252652406692505, 0.06564803421497345, -0.0358969010412693, -0.03495408594608307, -0.00365778268314898, -0.0320732556283474, 0.029820967465639114, -0.013024848885834217, -0.020864201709628105, 0.019991222769021988, -0.007891731336712837, -0.11460470408201218, 0.003481004387140274, -0.018611915409564972, 0.03161930292844772, 0.030344754457473755, -0.0301526989787817, -0.02091658115386963, -0.02248794212937355, 0.0192579198628664, 0.04885191470384598, -0.012780414894223213, 0.011549513787031174, 0.020095979794859886, -0.042182352393865585, -0.03237006813287735, 0.011217782273888588, -0.01857699640095234, 0.020095979794859886, -0.04005228355526924, -0.047769419848918915, 0.00584459537640214, -0.009960692375898361, -0.026940137147903442, -0.04804877191781998, -0.003476639511063695, 0.10021800547838211, 0.052727941423654556, 0.013330391608178616, -0.02767343819141388, 0.031008219346404076, -0.03214309364557266, -0.03003048337996006, 0.08345680683851242, 0.049969326704740524, 0.009148821234703064, -0.0023177596740424633, -0.00968133844435215, -0.08841532468795776, -0.013941477052867413, -0.012212978675961494, -0.011444756761193275, 0.03512867912650108, 0.051924798637628555, -0.05513736233115196, 0.017250068485736847, -0.011663001030683517, 0.023989466950297356, -0.044277504086494446, -0.01635962910950184, -0.004539491608738899, -0.028563877567648888, -0.03263195976614952, -0.015940599143505096, 0.04277597740292549, 0.019467435777187347, 0.030641568824648857, 0.03418586403131485, -0.024635471403598785, -0.030711406841874123, 0.05705791711807251, -0.06732415407896042, 0.011217782273888588, 0.017861153930425644, -0.04263630136847496, 0.0049454267136752605, 0.003454814897850156, -0.04040147364139557, -0.010632885619997978, 0.06994309276342392, 0.016272330656647682, 0.011924895457923412, -0.022679997608065605, 0.05248350650072098, 0.04099510237574577, 0.04728055000305176, 0.06337828934192657, -0.07214299589395523, -0.03467473015189171, 0.028179766610264778, -0.04822336882352829, 0.021161014214158058, 0.034901704639196396, -0.058838795870542526, -0.036874640733003616, -0.020253116264939308, -0.06086410582065582, -0.008494087494909763, -0.019519813358783722, 0.02156258560717106, -0.014247019775211811, -0.025019582360982895, 0.04015704244375229, -0.0548580102622509, 0.03353985771536827, 0.018611915409564972, -0.011811408214271069, -0.1062939390540123, -0.06407666951417923, -0.016123924404382706, 0.07500636577606201, -0.0012767319567501545, -0.08464405685663223, 0.01794845052063465, -0.01344387885183096, -0.037782538682222366, 0.023972006514668465, -0.029995564371347427, -0.041134778410196304, -0.040471311658620834, -0.04473145306110382, 0.05199463665485382, -0.04539491608738899, 0.004766466096043587, 0.030100321397185326, -0.01962457038462162, 0.0502137616276741, 0.041134778410196304, -0.02559574879705906, -0.009917043149471283, -0.03586198389530182, -0.02442595735192299, -0.04064590856432915, -0.008533371612429619, 0.0310605987906456, -0.06208627671003342, 0.05073754861950874, 0.0034613623283803463, 0.019415056332945824, 0.0040680826641619205, 0.06187676265835762, -0.0009182649664580822, -0.02519417740404606, -0.01053685788065195, -0.03896978870034218, -0.008795265108346939, 0.0027411545161157846, 0.03708415478467941, 0.006342193577438593, -0.06145773082971573, -0.00875161588191986, -0.061038702726364136, -0.015617596916854382, 0.05779121816158295, 0.007092955522239208, -0.001713221543468535, -0.029297180473804474, -0.05716267600655556, -0.02077690325677395, -0.05014392361044884, 0.020986419171094894, 0.046198055148124695, -0.03214309364557266, -0.006621547043323517, -0.03195103630423546, -0.019711868837475777, 0.039074547588825226, -0.0336795337498188, -0.03298115357756615, 0.013181985355913639, 0.056219857186079025, 0.01847223937511444, -0.00437580794095993, 0.06460046023130417, -0.06526391953229904, 0.007573094218969345, 0.021737180650234222, 0.01649930514395237, -0.017398474738001823, 0.05520720034837723, 0.015888219699263573, 0.0216848012059927, 0.003188556293025613, 0.0172413382679224, -0.020340414717793465, -0.018803970888257027, 0.016551684588193893, -0.01677865907549858, 0.0008058688836172223, 0.010117827914655209, -0.03767777979373932, -0.01786988228559494, -0.05705791711807251, -0.006281084846705198, 0.05119149759411812, 0.04885191470384598, 0.03558263182640076, 0.08394567668437958, 0.04832812398672104, -0.02781311608850956, 0.010632885619997978, 0.024146603420376778, -0.032928772270679474, -0.08157116919755936, 0.015451731160283089, -0.006839791778475046, 0.0361064188182354, 0.001040482078678906, -0.034657273441553116, -0.0018256176263093948, -0.02185939811170101, -0.006036650855094194, 0.06955897808074951, 0.023692654445767403, -0.036595284938812256, 0.06613689661026001, 0.039563413709402084, -0.007298105861991644, 0.0413442924618721, -0.04616313800215721, 0.015766004100441933, -0.039563413709402084, -0.046582166105508804, 0.02028803527355194, 0.016534224152565002, -0.015320784412324429, -0.03573976457118988, 0.005927528254687786, -0.07305089384317398, -0.07133985310792923, -0.013129605911672115, 0.015844572335481644, -0.000937906967010349, -0.011235241778194904, 0.020602308213710785, -0.019013484939932823, -0.02482752688229084, -0.0014807909028604627, -0.023291083052754402, 0.039947524666786194, 0.02627667225897312, -0.047629743814468384, 0.0011981638381257653, 0.014823186211287975, 0.039563413709402084, -0.022714916616678238, -0.018751591444015503, -0.016630252823233604, 0.02039279229938984, -0.013932746835052967, -0.03500646352767944, 0.0010573959443718195, -0.016630252823233604, 0.036455608904361725, -0.004297239705920219, 0.03238752484321594, 0.02182447910308838, -0.008515911176800728, -0.016272330656647682, 0.0415538065135479, -0.04549967497587204, 0.033452559262514114, -0.021527666598558426, -0.04260138422250748, 0.053112052381038666, -0.036874640733003616, 0.04329976439476013, -0.01006544940173626, 0.03249228373169899, 0.05887371301651001, -0.012998659163713455, 0.041763320565223694, 0.0033216855954378843, 0.023343462496995926, 0.0009291771566495299, 0.02377995103597641, 0.010432100854814053, 0.037363506853580475, 0.0015244397800415754, -0.037258751690387726, 0.04682660102844238, -0.047909095883369446, -0.00009152640996035188, -0.028773393481969833, -0.008585750125348568, 0.032300230115652084, 0.013810530304908752, 0.03228276968002319, -0.04850272089242935, -0.06585754454135895, 0.026346510276198387, 0.006123948842287064, 0.03338272124528885, 0.005333902779966593, 0.015888219699263573, 0.04092526063323021, -0.07043195515871048, 0.011479675769805908, 0.04668692499399185, 0.02797025255858898, -0.01339150033891201, 0.008171085268259048, 0.09511980414390564, -0.0220863725990057, -0.05066771060228348, -0.02315140701830387, 0.04637265205383301, -0.02587510272860527, 0.04211251437664032, -0.041274454444646835, 0.02182447910308838, 0.09819269180297852, 0.007241362240165472, 0.020427711308002472, -0.02922734245657921, 0.07954586297273636, 0.013871639035642147, 0.006394572090357542, 0.014386696740984917, -0.027009975165128708, 0.0703970417380333, -0.025141799822449684, -0.01150586549192667, 0.011916165240108967, -0.07071130722761154, -0.02054992876946926, 0.006342193577438593, -0.018524616956710815, 0.004474018234759569, 0.04274106025695801, -0.012387573719024658, 0.08715824037790298, 0.05195971950888634, -0.01720641925930977, -0.004722817335277796, 0.011601893231272697, -0.04193791747093201, 0.00859011523425579, 0.033487480133771896, -0.031235193833708763, -0.02077690325677395, -0.08059343695640564, -0.04487112909555435, 0.06487981230020523, -0.04354419931769371, -0.021387988701462746, 0.02835436351597309, -0.0810823068022728, 0.019851546734571457, 0.047001197934150696, 0.06641625612974167, -0.05395011231303215, -0.037642862647771835, -0.04197283834218979, 0.034255702048540115, 0.0514359325170517, -0.0326668806374073, -0.023814871907234192, 0.01476207748055458, -0.055172283202409744, -0.014718428254127502, 0.02755122259259224, -0.043229926377534866, -0.02950669452548027, 0.02926226146519184, 0.039563413709402084, -0.03160184621810913, 0.039179302752017975, 0.01988646574318409, -0.025421151891350746, -0.0629243403673172, 0.04026179760694504, -0.009183740243315697, -0.021527666598558426, 0.02678300067782402, -0.014142261818051338, 0.011828867718577385, 0.023360921069979668, -0.04783925786614418, 0.03273671865463257, 0.05227399244904518, -0.004530761856585741, -0.01690087653696537, -0.0007082043448463082, 0.004264503251761198, -0.02510688081383705, -0.009594040922820568, -0.04825828596949577, -0.017232608050107956, -0.011959814466536045, -0.03729366883635521, 0.055172283202409744, -0.023727573454380035, -0.005582701414823532, 0.0062592606991529465, -0.01565251685678959, 0.041798241436481476, -0.050912145525217056, -0.014954132959246635, 0.01643819734454155, -0.08527260273694992, -0.0046005998738110065, 0.004897412844002247, 0.06044507771730423, -0.032422445714473724, 0.03493662551045418, -0.05457865446805954, 0.018384940922260284, -0.008005218580365181, -0.010301154106855392, 0.01716277003288269, 0.0014196822885423899, 0.0013989490689709783, -0.009960692375898361, -0.06648609042167664, 0.04057607054710388, 0.006250530481338501, -0.02519417740404606, -0.007263186387717724, -0.04466161131858826, -0.0031994685996323824, 0.0639369934797287, 0.0210737157613039, 0.018507158383727074, 0.000040000177250476554, -0.023814871907234192, 0.0415538065135479, -0.020707065239548683, 0.03027491644024849, -0.008716696873307228, 0.016665171831846237, 0.024233901873230934, -0.046966277062892914, -0.019729329273104668, -0.014334317296743393, -0.03331288322806358, 0.054927848279476166, 0.05300729349255562, -0.02624175325036049, -0.03823648765683174, -0.013251823373138905, -0.016010437160730362, -0.017250068485736847, 0.02418152242898941, 0.005333902779966593, -0.03680479899048805, -0.025683047249913216, 0.03837616369128227, -0.0021726267877966166, -0.03238752484321594, -0.001843077247031033, 0.0216848012059927, -0.05782613903284073, -0.02458309195935726, 0.0035071936435997486, -0.00988212414085865, -0.03883011266589165, -0.01649930514395237, 0.028232146054506302, -0.04927094280719757, 0.022173671051859856, -0.021370530128479004, 0.002348313806578517, -0.024129142984747887, 0.05073754861950874, 0.024408496916294098, 0.017092932015657425, -0.011855056509375572, -0.00033064084709621966, -0.05632461607456207, -0.10741135478019714, -0.01756433956325054, -0.08422502875328064, -0.0010737644042819738, -0.016682632267475128, -0.0305542703717947, 0.003448267700150609, -0.017136581242084503, 0.05436914041638374, -0.0037254386115819216, -0.045674268156290054, -0.019781706854701042, -0.03455251455307007, 0.029681291431188583, 0.052308909595012665, 0.030728865414857864, -0.03666512295603752, -0.01807066798210144, 0.04522031918168068, 0.03436046093702316, -0.006761223543435335, -0.05772138014435768, -0.004336523823440075, 0.016123924404382706, 0.008476627059280872, -0.00432124687358737, 0.06138789281249046, 0.05356600135564804, 0.00695327902212739, -0.019310299307107925, -0.06833680719137192, 0.018873808905482292, -0.0637274757027626, 0.04731547087430954, -0.0038672976661473513, -0.07996489107608795, 0.02521163783967495, 0.017573069781064987, 0.010563047602772713, 0.044277504086494446, -0.01241376344114542, -0.0005816223565489054, 0.0014207735657691956, 0.032946232706308365, -0.030082860961556435, -0.050632789731025696, 0.05171528458595276, 0.018611915409564972, 0.01091223955154419, 0.03392396867275238, -0.01702309399843216, 0.061806924641132355, 0.04420766234397888, 0.008088151924312115, -0.0015571765834465623, -0.02587510272860527, -0.009585310705006123, 0.03404618799686432, -0.024722769856452942, 0.0403316356241703, 0.015800923109054565, -0.027219489216804504, -0.0397380106151104, -0.03603658080101013, -0.06226087361574173, 0.0405411534011364, -0.016368359327316284, 0.08282826095819473, 0.034901704639196396, 0.02664332278072834, 0.020707065239548683 ]
54,234
nbconvert.exporters.exporter
_init_preprocessors
Register all of the preprocessors needed for this exporter, disabled unless specified explicitly.
def _init_preprocessors(self): """ Register all of the preprocessors needed for this exporter, disabled unless specified explicitly. """ self._preprocessors = [] # Load default preprocessors (not necessarily enabled by default). for preprocessor in self.default_preprocessors: self.register_preprocessor(preprocessor) # Load user-specified preprocessors. Enable by default. for preprocessor in self.preprocessors: self.register_preprocessor(preprocessor, enabled=True)
(self)
[ -0.03499264642596245, -0.03546689450740814, -0.034298211336135864, -0.00311859673820436, -0.008968347683548927, 0.027015136554837227, 0.010789116844534874, 0.0037622174713760614, -0.045663200318813324, 0.030792172998189926, 0.027370821684598923, -0.006156741175800562, 0.02416965365409851, 0.03509426862001419, 0.0014566155150532722, -0.06273608654737473, 0.021087050437927246, 0.04176760092377663, 0.021612107753753662, -0.06859642267227173, -0.03570401668548584, -0.029081497341394424, 0.03882049769163132, 0.026456201449036598, -0.015760241076350212, 0.05233653262257576, 0.002481327624991536, -0.029030684381723404, -0.04200472682714462, -0.007909760810434818, -0.002153165638446808, -0.013753159902989864, -0.03424740210175514, -0.022526727989315987, 0.05416576936841011, 0.019986119121313095, -0.03077523596584797, 0.056841880083084106, -0.07154352962970734, 0.04678107053041458, 0.060737479478120804, 0.002561780158430338, 0.0066394563764333725, -0.05345439910888672, -0.025660144165158272, 0.0181738194078207, -0.02051117829978466, 0.00018194460426457226, 0.03932861611247063, 0.019257811829447746, -0.006351520773023367, -0.031740669161081314, 0.03929474204778671, 0.05941636115312576, -0.0231703482568264, 0.01616673730313778, 0.0785217359662056, 0.049253929406404495, 0.00429151114076376, 0.0013264092849567533, -0.00270998221822083, 0.014371374621987343, -0.005191309843212366, -0.034349024295806885, 0.04579870030283928, -0.037567127496004105, 0.011110926978290081, 0.009959184564650059, -0.020223243162035942, 0.043664589524269104, -0.05545301362872124, -0.07059504091739655, 0.006427739281207323, -0.010772179812192917, 0.03204553946852684, -0.010941553860902786, -0.047865062952041626, -0.02931862138211727, 0.003093190724030137, 0.0070078447461128235, 0.06503957509994507, 0.015336805954575539, -0.056909628212451935, 0.004543454851955175, 0.056808002293109894, -0.07648924738168716, 0.029979178681969643, 0.0005928086466155946, 0.0041242544539272785, 0.02555852010846138, -0.027591006830334663, -0.023813968524336815, 0.04867805540561676, 0.026591701433062553, -0.02295016311109066, -0.024881023913621902, 0.0021023533772677183, 0.032960157841444016, -0.010196308605372906, -0.03502652049064636, 0.007753090001642704, -0.03956574201583862, -0.0036394214257597923, -0.0536576472222805, 0.017648760229349136, -0.003412883961573243, 0.0002268022217322141, 0.04447758570313454, -0.02689657360315323, 0.0006716733332723379, 0.025423021987080574, -0.04153047874569893, -0.0038807792589068413, -0.020765239372849464, 0.03141885623335838, -0.05887436494231224, -0.002481327624991536, 0.018326254561543465, 0.06832543015480042, 0.005851868074387312, -0.07493101060390472, 0.018444817513227463, -0.030741361901164055, 0.028861310333013535, -0.002976746065542102, -0.044985704123973846, 0.07554075866937637, 0.08068972080945969, 0.03760100528597832, -0.022035542875528336, 0.05789199471473694, 0.03648313507437706, -0.08400945365428925, -0.07249202579259872, 0.021103987470269203, -0.06636068969964981, 0.026625575497746468, 0.042275723069906235, 0.025660144165158272, -0.006525129079818726, -0.0028348956257104874, -0.06344746053218842, -0.05087991803884506, 0.026100516319274902, 0.013101070187985897, 0.021205611526966095, 0.016649452969431877, 0.0870581790804863, -0.05701125040650368, -0.0038701933808624744, 0.015446898527443409, 0.011678329668939114, -0.006508191581815481, -0.044104959815740585, 0.05640150606632233, 0.01795363239943981, 0.016768015921115875, 0.02543995901942253, 0.02704901061952114, -0.017919758334755898, 0.06019547954201698, 0.023576846346259117, -0.035229768604040146, 0.00020946786389686167, -0.015074276365339756, 0.01919006183743477, -0.015006527304649353, -0.0673091858625412, 0.012288075871765614, 0.01924087479710579, 0.045663200318813324, -0.06751243025064468, -0.029013747349381447, 0.02272997610270977, 0.05128641426563263, 0.026083579286932945, 0.0015455367974936962, 0.059009864926338196, -0.034010276198387146, 0.06859642267227173, 0.03221491351723671, 0.006707205902785063, -0.05209941044449806, 0.016082050278782845, 0.021103987470269203, -0.014362906105816364, 0.056130506098270416, -0.04725531488656998, 0.0024114607367664576, 0.004632376134395599, 0.11171901971101761, 0.024051092565059662, 0.004263987764716148, 0.01829238049685955, -0.005885742604732513, -0.029454119503498077, -0.007969041354954243, -0.05250590667128563, 0.0024411012418568134, 0.033061783760786057, -0.06297321617603302, 0.04928780347108841, 0.011983202770352364, 0.01633611135184765, -0.026320703327655792, 0.007757324259728193, 0.0047128284350037575, 0.02217104285955429, -0.017614884302020073, 0.0008542795549146831, 0.014904902316629887, -0.049152303487062454, 0.05904373899102211, 0.05782424658536911, -0.024626964703202248, -0.03026711381971836, 0.043427467346191406, 0.018919063732028008, -0.026202140375971794, -0.006279536988586187, 0.027929754927754402, 0.07879273593425751, -0.009425656870007515, -0.016310706734657288, 0.014506873674690723, -0.0021446968894451857, -0.027540195733308792, -0.021595170721411705, -0.03763487935066223, 0.0019171007443219423, 0.001154918223619461, 0.010882272385060787, -0.06575094163417816, 0.02079911343753338, 0.0190206877887249, -0.015912678092718124, 0.016759546473622322, -0.008328961208462715, -0.041496604681015015, 0.011542830616235733, 0.04295321926474571, 0.04407108575105667, -0.0014386194525286555, -0.10663780570030212, -0.0035399142652750015, 0.01236429437994957, 0.02589726820588112, 0.014049564488232136, -0.0051447320729494095, 0.04752631485462189, 0.033569905906915665, -0.03167291730642319, -0.00984062347561121, -0.01230501290410757, -0.08489019423723221, -0.011932390742003918, -0.04457920789718628, 0.03719450533390045, -0.017132168635725975, 0.017377762123942375, -0.03321421891450882, 0.022933224216103554, 0.023932531476020813, 0.019596559926867485, 0.06138109788298607, 0.00593232037499547, 0.01946105994284153, 0.032519787549972534, -0.0037368114572018385, -0.01369387935847044, 0.0439017117023468, 0.02056199125945568, -0.03953186795115471, 0.02516896091401577, -0.005779884289950132, -0.0014322679489850998, -0.018106069415807724, -0.01592961512506008, 0.03460308536887169, 0.05775649845600128, 0.0999983474612236, -0.051252540200948715, 0.009434125386178493, -0.01690351404249668, 0.03197779133915901, -0.01795363239943981, 0.013787034898996353, 0.01712370105087757, -0.021476609632372856, -0.021832294762134552, 0.00846022553741932, 0.04979592561721802, 0.03621213883161545, 0.03882049769163132, 0.03141885623335838, -0.005470776930451393, -0.008532210253179073, -0.06158434599637985, -0.022916287183761597, -0.015269055962562561, -0.00923087727278471, -0.01441371813416481, 0.04434208571910858, -0.008608427830040455, -0.04769568890333176, 0.0441388376057148, -0.0034848677460104227, 0.04725531488656998, -0.025406083092093468, -0.01009468361735344, 0.030199365690350533, 0.030114678665995598, 0.004357143305242062, -0.0006584409857168794, 0.009239345788955688, -0.06436207890510559, 0.013956408947706223, 0.00211505638435483, 0.014981120824813843, 0.005847633816301823, -0.04295321926474571, 0.05311565101146698, 0.012220325879752636, -0.007918229326605797, 0.0009273220784962177, -0.012288075871765614, 0.02882743626832962, -0.024101905524730682, -0.016259893774986267, -0.021358048543334007, -0.059788983315229416, -0.01768263429403305, -0.014659310691058636, 0.024525338783860207, 0.03621213883161545, -0.09613662213087082, -0.02140885964035988, -0.01763182133436203, -0.05172678828239441, -0.008625365793704987, -0.001191968796774745, 0.01039955671876669, -0.02689657360315323, 0.032248787581920624, -0.06978204101324081, -0.007414341904222965, -0.04783118888735771, -0.008189227432012558, 0.002001787768676877, -0.049084555357694626, 0.03192697837948799, -0.016090519726276398, 0.007642996963113546, 0.0726952776312828, 0.04183535277843475, -0.07818298786878586, -0.038989871740341187, -0.03699125722050667, 0.01547230500727892, -0.009468000382184982, 0.08814217150211334, 0.06442982703447342, -0.021883107721805573, 0.04224184900522232, 0.01039108820259571, -0.019596559926867485, 0.009391781874001026, 0.017149105668067932, 0.016082050278782845, -0.06703818589448929, -0.004894905257970095, 0.01946105994284153, -0.0006912571843713522, 0.0015709428116679192, -0.027353882789611816, 0.011119396425783634, 0.062397342175245285, 0.038718871772289276, -0.010433431714773178, -0.008125712163746357, 0.020155493170022964, 0.04966042563319206, -0.01873275265097618, -0.02383090741932392, -0.01425281260162592, -0.026151329278945923, 0.004581563640385866, 0.04424045979976654, 0.028251565992832184, -0.054741643369197845, -0.013372069224715233, 0.0067283776588737965, -0.03641538694500923, 0.00712217204272747, -0.00354203162714839, -0.022374290972948074, 0.008362836204469204, 0.047932811081409454, 0.029894491657614708, -0.008909067139029503, 0.06426045298576355, -0.0575532503426075, 0.04102235659956932, 0.05440289527177811, 0.02794669196009636, -0.0044079553335905075, 0.05345439910888672, -0.01294863410294056, 0.05460614338517189, 0.054911017417907715, 0.011712204664945602, -0.033620718866586685, 0.00010890211706282571, -0.05599500983953476, -0.04935555160045624, -0.04041261225938797, 0.011136333458125591, 0.001510603353381157, 0.01192392222583294, -0.014684716239571571, -0.0030508472118526697, 0.038278501480817795, -0.004022629931569099, 0.026540888473391533, 0.06321033835411072, -0.005915383342653513, -0.010509650222957134, 0.008282382972538471, -0.027421632781624794, 0.025710957124829292, -0.07174678146839142, -0.024576151743531227, -0.009891435503959656, -0.035399142652750015, 0.044274333864450455, -0.03963349014520645, 0.031249482184648514, 0.02112092450261116, -0.01829238049685955, 0.01056046225130558, 0.04109010472893715, -0.010746773332357407, -0.0017138520488515496, -0.04928780347108841, 0.011466612108051777, 0.011661392636597157, -0.04772956296801567, 0.07791198790073395, -0.016107456758618355, -0.03407802805304527, -0.014701654203236103, 0.00793940108269453, -0.008731224574148655, -0.03404415398836136, 0.08265446126461029, -0.027811193838715553, 0.03976899012923241, 0.011534362100064754, 0.009256282821297646, -0.031012360006570816, 0.019494935870170593, 0.009137721732258797, -0.033959466964006424, 0.007206859067082405, 0.0022696100641041994, 0.0685286745429039, 0.004333854652941227, 0.05321727693080902, -0.007863182574510574, 0.028319314122200012, 0.016547828912734985, 0.028674999251961708, -0.007024782244116068, -0.03953186795115471, -0.08929391950368881, 0.02423740364611149, -0.037228383123874664, 0.01128030102699995, 0.003698702435940504, -0.0026422326918691397, -0.009078440256416798, -0.007236499339342117, 0.02543995901942253, 0.002080123173072934, -0.0029640430584549904, -0.007727683987468481, 0.011077052913606167, -0.027862004935741425, 0.014506873674690723, -0.012440511956810951, -0.005906914360821247, 0.019833682104945183, 0.008337429724633694, -0.01851256564259529, -0.004446064587682486, 0.0043825493194162846, 0.06581869721412659, -0.004772109445184469, 0.09369763731956482, 0.029013747349381447, 0.03959961608052254, 0.0022039776667952538, -0.03631376102566719, 0.005817993078380823, 0.04037873446941376, -0.026354577392339706, 0.007922464050352573, 0.032739974558353424, -0.06066972762346268, 0.027591006830334663, -0.0033620717003941536, -0.0629054605960846, -0.03185923025012016, 0.044206585735082626, 0.014193532057106495, 0.0002561779983807355, -0.027472445741295815, 0.026862699538469315, -0.059958357363939285, 0.06774955987930298, 0.03433208912611008, -0.024406777694821358, 0.018919063732028008, -0.0651073232293129, -0.0077615585178136826, 0.05118479207158089, -0.0502362959086895, 0.004333854652941227, -0.01863112859427929, 0.005563932470977306, 0.00009302331454819068, -0.016429267823696136, -0.025795644149184227, 0.01546383649110794, -0.04783118888735771, 0.0252367090433836, 0.03987061604857445, -0.003251978661864996, 0.08529669046401978, -0.005123560316860676, 0.030080802738666534, 0.006910454947501421, 0.08543219417333603, -0.04586644843220711, 0.05399639531970024, -0.03233347460627556, -0.030233239755034447, 0.0061143976636230946, -0.004547689110040665, -0.01907150074839592, 0.007846245542168617, -0.06175372004508972, -0.05616438388824463, -0.015074276365339756, 0.01829238049685955, -0.020155493170022964, 0.04058198630809784, 0.05050729587674141, 0.05074441805481911, 0.06199084594845772, -0.012872415594756603, 0.03128335624933243, -0.03970124199986458, -0.008273914456367493, -0.030690548941493034, -0.015014995820820332, -0.06598807126283646, 0.012389699928462505, -0.09674637019634247, -0.01846175454556942, 0.05460614338517189, -0.09945634752511978, -0.019935308024287224, -0.007537138182669878, -0.06934167444705963, 0.023593783378601074, 0.030250176787376404, 0.014024158008396626, -0.006084756925702095, -0.05846786871552467, 0.002625295426696539, 0.012118701823055744, -0.010382619686424732, -0.06798668205738068, -0.0068554081954061985, -0.0841449499130249, -0.010475775226950645, 0.02877662517130375, 0.04600194841623306, -0.04380008950829506, -0.021866168826818466, 0.0038172639906406403, 0.029521869495511055, -0.049084555357694626, -0.0003702407411765307, 0.024101905524730682, 0.0004710711364168674, 0.013820909895002842, 0.010907678864896297, -0.031147858127951622, -0.014600029215216637, 0.04085298255085945, 0.0034213527105748653, -0.020443428307771683, 0.05301402881741524, -0.07472775876522064, 0.003281619166955352, 0.029200058430433273, -0.008337429724633694, -0.011390394531190395, -0.026591701433062553, -0.009942247532308102, -0.0006383278523571789, 0.018919063732028008, 0.010137027129530907, -0.02467777580022812, 0.009222408756613731, -0.06382007896900177, 0.02361072041094303, -0.010382619686424732, -0.04579870030283928, 0.048542559146881104, -0.023255035281181335, 0.019156187772750854, 0.0190206877887249, -0.004873733967542648, 0.019867558032274246, -0.07384701818227768, 0.05640150606632233, 0.0027353884652256966, 0.038617245852947235, -0.005153200589120388, 0.03321421891450882, -0.0378042533993721, -0.024322090670466423, -0.013795503415167332, -0.010933084413409233, 0.01114480197429657, 0.004111551214009523, -0.03472164645791054, 0.014786341227591038, -0.024372903630137444, 0.025423021987080574, -0.04319034144282341, -0.02201860584318638, 0.012559073977172375, -0.06019547954201698, -0.045663200318813324, 0.08854866772890091, 0.004005692433565855, -0.007278842851519585, 0.01308413315564394, 0.0002238911110907793, 0.04007386416196823, -0.09816911071538925, 0.05772262066602707, -0.019545746967196465, 0.010518118739128113, 0.04183535277843475, -0.054301269352436066, -0.008773567155003548, 0.0181738194078207, 0.019427185878157616, 0.0072492025792598724, 0.020206306129693985, -0.01990143209695816, 0.00045254587894305587, -0.007994447834789753, -0.044545333832502365, -0.01729307509958744, -0.04064973443746567, 0.002676107455044985, 0.00248767901211977, -0.044545333832502365, -0.001057528192177415, 0.001759371254593134, -0.022713039070367813, -0.041056230664253235, 0.01907150074839592, -0.020443428307771683, -0.09491712599992752, -0.008019853383302689, -0.025016523897647858, 0.022865476086735725, -0.06175372004508972, 0.010899210348725319, -0.038888245820999146, -0.01934249885380268, 0.03133416920900345, 0.02073136530816555, 0.02726919576525688, 0.05318340286612511, 0.054301269352436066, 0.011542830616235733, -0.03848174959421158, 0.023407472297549248, -0.013846315443515778, -0.09213940054178238, -0.030453424900770187, -0.02682882361114025, -0.0115851741284132, -0.017835071310400963, -0.014100376516580582, -0.017699571326375008, -0.041394978761672974, 0.030351800844073296, -0.013566848821938038, -0.02095155045390129, 0.013566848821938038, -0.041394978761672974, 0.010450368747115135, 0.02660863846540451, 0.01863112859427929, -0.02140885964035988, -0.01979980804026127, -0.04495183005928993, -0.007422810886055231, 0.05338665097951889, 0.013795503415167332, -0.012076358310878277, 0.050812166184186935, 0.01425281260162592, -0.006838470697402954, 0.03719450533390045, 0.015675554051995277, 0.010950022377073765, -0.027963628992438316, -0.05931473523378372, 0.04613744840025902, -0.02899681031703949, 0.026710262522101402, 0.020274054259061813, -0.05863724276423454, 0.023881718516349792, -0.006406567525118589, -0.043224215507507324, 0.047865062952041626, -0.015819521620869637, 0.002160575706511736, -0.027286134660243988, 0.0058984458446502686, -0.046645570546388626, -0.02217104285955429, 0.060229357331991196, -0.017496323212981224, 0.07648924738168716, 0.07662475109100342, -0.019054563716053963, 0.029623493552207947, 0.04867805540561676, -0.03136804327368736, -0.016844233497977257, -0.03604276478290558, -0.01895293779671192, -0.011661392636597157, -0.014837153255939484, -0.008223102428019047, 0.022526727989315987, -0.031130921095609665, -0.06500569730997086, -0.06517507135868073, -0.07215327769517899, -0.042614471167325974, -0.027303071692585945, 0.12818215787410736, 0.04691656678915024, 0.05799362063407898, -0.017597947269678116 ]
54,235
nbconvert.exporters.exporter
_init_resources
null
def _init_resources(self, resources): # Make sure the resources dict is of ResourcesDict type. if resources is None: resources = ResourcesDict() if not isinstance(resources, ResourcesDict): new_resources = ResourcesDict() new_resources.update(resources) resources = new_resources # Make sure the metadata extension exists in resources if "metadata" in resources: if not isinstance(resources["metadata"], ResourcesDict): new_metadata = ResourcesDict() new_metadata.update(resources["metadata"]) resources["metadata"] = new_metadata else: resources["metadata"] = ResourcesDict() if not resources["metadata"]["name"]: resources["metadata"]["name"] = "Notebook" # Set the output extension resources["output_extension"] = self.file_extension return resources
(self, resources)
[ -0.00647297827526927, -0.03139679133892059, -0.035743746906518936, -0.05808596312999725, -0.010544690303504467, 0.025929877534508705, 0.0343390554189682, 0.09680993854999542, 0.026138681918382645, -0.001835355069488287, 0.048215143382549286, 0.09073558449745178, -0.01665700413286686, 0.015394678339362144, -0.035003434866666794, 0.007858688943088055, -0.03612339496612549, 0.0712217390537262, -0.039635125547647476, -0.048063285648822784, -0.024620095267891884, 0.00031113243312574923, 0.014160825870931149, 0.04430478438735008, 0.005642500706017017, 0.04206486791372299, 0.010876880958676338, -0.02539837174117565, 0.06343898177146912, -0.013752705417573452, -0.028017934411764145, 0.0134489880874753, 0.050872672349214554, 0.04430478438735008, -0.01572686992585659, 0.0008850516169331968, -0.03395940735936165, 0.050606921315193176, -0.1074400469660759, 0.014227264560759068, 0.017046142369508743, -0.019437916576862335, -0.02927076816558838, -0.08078884333372116, 0.02646138332784176, 0.0572507381439209, 0.024050625041127205, -0.009571844711899757, 0.0393693745136261, -0.05315055325627327, 0.043241772800683975, -0.011598209850490093, -0.019779598340392113, 0.043583452701568604, -0.052619047462940216, 0.032706573605537415, -0.03441498428583145, 0.06472977995872498, -0.0471900999546051, 0.01724545657634735, -0.034794628620147705, -0.04103982076048851, -0.023822836577892303, -0.032194048166275024, -0.02473399043083191, -0.019380969926714897, 0.017008177936077118, -0.04897443950176239, 0.0025626160204410553, 0.05258108302950859, -0.00303005613386631, -0.012177171185612679, -0.001488927286118269, -0.011085687205195427, 0.0010197076480835676, -0.008916954509913921, -0.035022418946027756, -0.015223837457597256, -0.013135779649019241, -0.031131038442254066, -0.00303717446513474, -0.014094388112425804, -0.07486634701490402, -0.02697390504181385, 0.03828737884759903, 0.01996942237019539, 0.005903508048504591, -0.01602109521627426, 0.018450835719704628, -0.003907989244908094, -0.07463856041431427, 0.027581339702010155, 0.038040611892938614, -0.050455059856176376, 0.05539046972990036, -0.009064067155122757, -0.026935940608382225, -0.018716586753726006, 0.04844293370842934, -0.01602109521627426, -0.013505935668945312, -0.0997711792588234, 0.006738730706274509, 0.03348485007882118, 0.01016504317522049, -0.06826049834489822, 0.01356288231909275, 0.004686265252530575, -0.01602109521627426, -0.00868916604667902, -0.016913264989852905, -0.02429739572107792, 0.030599532648921013, 0.020140262320637703, 0.015897709876298904, -0.024430271238088608, -0.03663591668009758, -0.03395940735936165, 0.10265649855136871, -0.03426312282681465, -0.057668350636959076, 0.02537938952445984, 0.008432905189692974, 0.006700766272842884, 0.013221200555562973, 0.024050625041127205, -0.015309257432818413, 0.004916426260024309, -0.010506725870072842, 0.007550226058810949, 0.021981550380587578, 0.017852891236543655, -0.05091063678264618, 0.03526918962597847, -0.0025009233504533768, -0.06734934449195862, -0.010364358313381672, 0.06609650701284409, 0.003231743350625038, -0.009937255643308163, 0.02494279481470585, 0.045253898948431015, -0.0030893757939338684, 0.0537959523499012, -0.04616505280137062, -0.03657896816730499, 0.05660533905029297, 0.03323807939887047, -0.0787387490272522, -0.029156874865293503, 0.00029897186323069036, -0.007654628716409206, -0.03426312282681465, -0.006136041600257158, -0.016116006299853325, 0.022228321060538292, 0.004982864484190941, -0.03204219043254852, 0.01867862232029438, -0.03452887758612633, 0.014379123225808144, 0.004399157594889402, -0.009220671840012074, 0.015499080531299114, 0.005784868262708187, 0.01580279879271984, -0.013790669851005077, -0.08777434378862381, 0.030162939801812172, 0.012632747180759907, 0.013553391210734844, -0.05341630429029465, 0.02127920277416706, -0.008171897381544113, 0.00028206571005284786, 0.03409228473901749, 0.046924345195293427, -0.1008341908454895, -0.00818138848990202, 0.06267968565225601, 0.022304249927401543, -0.021469026803970337, -0.03228896111249924, 0.06951332837343216, -0.0045320335775613785, 0.006349592935293913, 0.018574219197034836, 0.05459321290254593, 0.03232692554593086, -0.01290799118578434, 0.026518329977989197, 0.05558029189705849, -0.04430478438735008, 0.024677041918039322, -0.03902769088745117, -0.02648036554455757, 0.012205644510686398, -0.04441867768764496, 0.012775114737451077, 0.029821256175637245, -0.07581546902656555, 0.04487425088882446, 0.021298186853528023, 0.017150545492768288, 0.02393673174083233, 0.006653310265392065, -0.06195835769176483, 0.017767470329999924, -0.059452690184116364, 0.017757980152964592, -0.013401532545685768, -0.050379130989313126, -0.005438440479338169, -0.038629062473773956, -0.0036208813544362783, 0.012063276953995228, 0.010184025391936302, 0.010611128062009811, -0.017558664083480835, -0.02517058327794075, 0.012423941865563393, 0.035440027713775635, -0.014701822772622108, -0.05580808222293854, -0.021374115720391273, -0.012423941865563393, 0.026803065091371536, -0.03369365260004997, -0.03498445451259613, 0.038553133606910706, -0.03629423305392265, 0.022968631237745285, 0.018346432596445084, -0.021089380607008934, 0.022304249927401543, 0.006112313829362392, 0.03304825350642204, -0.008997629396617413, -0.0020809390116482973, 0.011000266298651695, 0.038477204740047455, 0.02856842242181301, -0.014436069875955582, -0.07657475769519806, -0.012756132520735264, 0.0005344715318642557, 0.00540996715426445, -0.00750277005136013, -0.013895072974264622, -0.03705352917313576, 0.06267968565225601, -0.006283154711127281, -0.016913264989852905, -0.029099928215146065, -0.013790669851005077, -0.023234384134411812, 0.009937255643308163, -0.06321119517087936, 0.03737622871994972, -0.037831805646419525, 0.008171897381544113, -0.03380754962563515, 0.0012047854252159595, 0.06845031678676605, -0.0002328302653040737, -0.010895863175392151, -0.005357765592634678, 0.04119167849421501, -0.04529186338186264, -0.015128925442695618, 0.11632378399372101, 0.07581546902656555, 0.006653310265392065, -0.024107571691274643, 0.03879990428686142, -0.004750330466777086, 0.07353758811950684, -0.06765305995941162, -0.008798315189778805, 0.026442401111125946, 0.030618514865636826, -0.03498445451259613, 0.041799113154411316, 0.03800264373421669, 0.12133511900901794, -0.09506355971097946, -0.029764309525489807, 0.013145270757377148, -0.038401275873184204, -0.041153714060783386, 0.04867072030901909, 0.053757987916469574, -0.07346165925264359, -0.027714217081665993, -0.013173744082450867, 0.024828901514410973, -0.06715951859951019, -0.03272555395960808, 0.04122964292764664, 0.018507782369852066, -0.03409228473901749, -0.021506991237401962, 0.10986978560686111, 0.010611128062009811, -0.03633220121264458, -0.041419465094804764, 0.018450835719704628, -0.018621675670146942, -0.013657794333994389, 0.036901671439409256, 0.053036659955978394, 0.02308252640068531, 0.06222411245107651, 0.034585826098918915, -0.019143689423799515, -0.011503297835588455, 0.07410705834627151, 0.04240654781460762, -0.017701031640172005, 0.03257369622588158, -0.03259268030524254, 0.009078304283320904, -0.057440560311079025, -0.004572371020913124, 0.0861038938164711, -0.012879517860710621, 0.022968631237745285, -0.009064067155122757, -0.005727921146899462, 0.007303455378860235, -0.04441867768764496, -0.012813080102205276, -0.018213555216789246, -0.0002881459950003773, -0.009457951411604881, 0.03287741541862488, -0.021791726350784302, -0.024354342371225357, 0.002346691908314824, -0.03251674771308899, 0.031700506806373596, -0.05504878610372543, -0.036237288266420364, -0.004536779131740332, -0.04449460655450821, -0.03756605088710785, 0.07103192061185837, -0.0471900999546051, -0.016751915216445923, -0.05178382620215416, -0.056643303483724594, 0.0607055239379406, 0.05937676131725311, 0.03101714514195919, 0.009842343628406525, -0.06590668857097626, -0.0796499028801918, -0.0161539725959301, -0.021943585947155952, -0.018593203276395798, 0.009918272495269775, 0.07577750086784363, -0.01933351345360279, 0.030200904235243797, -0.03881888464093208, 0.010288428515195847, 0.03160559758543968, 0.04551965370774269, -0.02596784196794033, -0.08830584585666656, 0.027714217081665993, -0.017359349876642227, -0.008959664963185787, 0.00843765027821064, 0.02460111305117607, -0.04031849279999733, -0.03902769088745117, -0.006748221814632416, -0.0437353141605854, 0.003096494358032942, -0.017757980152964592, 0.03578171133995056, -0.0016965466784313321, -0.01240495964884758, -0.03593356907367706, -0.047569744288921356, -0.009253891184926033, -0.040849994868040085, 0.021260220557451248, 0.005528606474399567, -0.0059177447110414505, 0.025132618844509125, 0.003518851241096854, 0.0471900999546051, -0.004126286134123802, -0.012139206752181053, 0.010316901840269566, 0.027448464184999466, 0.023481154814362526, -0.002557870466262102, 0.023253366351127625, -0.03340891748666763, 0.02710678242146969, 0.020216193050146103, 0.029745327308773994, 0.01143686007708311, 0.09923967719078064, 0.02444925531744957, 0.015233328565955162, 0.012879517860710621, 0.007597681600600481, -0.036009497940540314, -0.019238602370023727, 0.002155682072043419, -0.013040867634117603, 0.014587928541004658, 0.03828737884759903, -0.015499080531299114, -0.008556289598345757, 0.01918165571987629, 0.014312684535980225, -0.004389666020870209, 0.056719232350587845, 0.007711575832217932, 0.026442401111125946, -0.024677041918039322, 0.009064067155122757, -0.03485157713294029, -0.0060933311469852924, -0.03426312282681465, -0.050493024289608, 0.01308832410722971, 0.01983654499053955, -0.07444874197244644, 0.05083470791578293, -0.012604273855686188, 0.028150809928774834, -0.014084897004067898, -0.04153336212038994, 0.013952020555734634, 0.043165843933820724, -0.07285422086715698, 0.0434315949678421, 0.028302669525146484, -0.0859520360827446, 0.04191300645470619, -0.04183707758784294, 0.08276300132274628, -0.010430796071887016, -0.0036279999185353518, 0.011531772091984749, 0.008005802519619465, 0.011835489422082901, -0.044684428721666336, 0.04810125008225441, 0.0025127872359007597, 0.0324598029255867, -0.0008025970892049372, -0.03367467224597931, 0.02220933884382248, -0.037547070533037186, -0.010041657835245132, 0.06472977995872498, -0.024506201967597008, -0.02112734504044056, -0.0575544573366642, 0.018517272546887398, -0.02797996997833252, 0.008926445618271828, -0.002982600126415491, 0.026062753051519394, 0.06226207688450813, 0.04198893532156944, 0.0006424335879273713, -0.021791726350784302, -0.03619932383298874, 0.049733731895685196, -0.0036991836968809366, -0.05660533905029297, -0.017150545492768288, 0.02076668106019497, 0.05288480222225189, 0.03676879405975342, 0.0028663333505392075, -0.04476035758852959, -0.052543118596076965, -0.0012101242318749428, -0.02797996997833252, 0.014644875191152096, 0.05106249451637268, -0.004513051360845566, 0.03773689270019531, -0.020500928163528442, 0.041799113154411316, -0.05633958801627159, -0.0018970476230606437, 0.06503349542617798, 0.06211021915078163, 0.027581339702010155, -0.010971792973577976, 0.0075359889306128025, -0.07524599879980087, -0.0026053262408822775, 0.02927076816558838, -0.020026369020342827, 0.03701556473970413, -0.07171528041362762, -0.050948601216077805, 0.04286212474107742, -0.0094864247366786, 0.011674139648675919, -0.005167942028492689, 0.06905775517225266, -0.01268969476222992, -0.025436336174607277, -0.01342051476240158, -0.04502611234784126, 0.07422094792127609, 0.012376486323773861, -0.00015630770940333605, -0.001927893958054483, -0.0008702216437086463, 0.049088332802057266, -0.011531772091984749, -0.001464013010263443, -0.028017934411764145, -0.009253891184926033, -0.049999482929706573, 0.0015672295121476054, 0.046203017234802246, -0.061692606657743454, -0.023689961060881615, -0.01481571700423956, -0.04787346348166466, -0.04897443950176239, 0.013439496979117393, 0.007616664282977581, -0.03990088030695915, 0.018574219197034836, -0.018223047256469727, 0.024506201967597008, 0.011000266298651695, 0.028454529121518135, -0.03204219043254852, 0.0613129585981369, -0.0572507381439209, -0.025341425091028214, 0.009026102721691132, 0.0503411665558815, 0.0029090435709804296, 0.017577646300196648, -0.05987030267715454, -0.04054627940058708, 0.0054953875951468945, -0.025853946805000305, -0.005685211159288883, 0.04980966076254845, -0.0537959523499012, 0.02632850594818592, 0.05140417814254761, 0.03933141008019447, 0.0340353362262249, -0.02040601521730423, 0.0006335356156341732, 0.015337730757892132, 0.010971792973577976, -0.019380969926714897, 0.03519326075911522, -0.04521593451499939, 0.03344688564538956, 0.03534511849284172, 0.029764309525489807, 0.02027313970029354, 0.00010099197970703244, 0.006601108703762293, 0.0032673352397978306, 0.016751915216445923, 0.03268758952617645, 0.013392041437327862, 0.022323232144117355, 0.02027313970029354, 0.023101508617401123, 0.020728716626763344, -0.06526128947734833, 0.033276043832302094, 0.03179541975259781, -0.03665490075945854, 0.04350752383470535, 0.05789613723754883, 0.018298976123332977, -0.057022951543331146, 0.03737622871994972, 0.008224098943173885, -0.025113636627793312, 0.04362141713500023, -0.016913264989852905, 0.006155023816972971, -0.05603586882352829, -0.012708676978945732, -0.02040601521730423, -0.030618514865636826, 0.026575276628136635, -0.040774066001176834, 0.014122861437499523, 0.03462379053235054, -0.021222256124019623, -0.016097024083137512, -0.018555236980319023, -0.05690905824303627, 0.016191937029361725, 0.000653704337310046, -0.04810125008225441, 0.05402374267578125, -0.0343390554189682, 0.03151068463921547, -0.02602478861808777, -0.050189308822155, -0.03526918962597847, 0.0020239921286702156, -0.07448670268058777, -0.040432386100292206, 0.04088796302676201, -0.009239654056727886, 0.024715006351470947, -0.05330241098999977, -0.014189299196004868, -0.0031581867951899767, -0.0014924865681678057, -0.04271026700735092, -0.0003820196143351495, 0.048860542476177216, -0.04817717894911766, 0.02963143400847912, 0.03323807939887047, -0.004664910025894642, 0.06051570177078247, 0.06230004131793976, 0.017786452546715736, 0.05778224393725395, 0.04217876121401787, 0.05869339779019356, -0.0390656553208828, 0.019874511286616325, -0.04198893532156944, -0.024126553907990456, 0.015831271186470985, 0.020937521010637283, -0.01438861433416605, -0.00330767291598022, -0.02293066680431366, -0.022190356627106667, 0.006601108703762293, -0.02215239219367504, 0.001227920176461339, 0.029005015268921852, 0.01503401342779398, -0.0072085438296198845, -0.027068817988038063, 0.021886639297008514, 0.004968627821654081, 0.008931190706789494, -0.009510152973234653, -0.01809016987681389, 0.021943585947155952, 0.018450835719704628, -0.013952020555734634, -0.03217506781220436, -0.06013605371117592, -0.008812551386654377, 0.017264438793063164, 0.011607700958848, -0.011341948062181473, 0.03585764020681381, -0.03202321007847786, 0.010516216978430748, 0.046772487461566925, -0.03132086247205734, 0.016419723629951477, 0.04145743325352669, 0.009457951411604881, -0.04559558257460594, -0.004935408476740122, -0.025834964588284492, 0.028435545042157173, -0.022551020607352257, 0.0031320862472057343, 0.014075404964387417, -0.007464805152267218, -0.012205644510686398, 0.032194048166275024, 0.03872397541999817, -0.004097812809050083, 0.007811232935637236, 0.002130767796188593, -0.06977908313274384, 0.00962404627352953, -0.02676510065793991, -0.06685580313205719, 0.003124967683106661, -0.015631956979632378, 0.03158661350607872, 0.02099446766078472, -0.02733457088470459, -0.007042448502033949, -0.0467345230281353, -0.0462789461016655, -0.039559196680784225, -0.02272186055779457, -0.03513631224632263, -0.05106249451637268, 0.01911521703004837, 0.06366676837205887, 0.03971105441451073, -0.04787346348166466, -0.04426681622862816, -0.0005819273646920919, 0.054403387010097504, 0.021184291690587997, 0.04350752383470535, -0.06845031678676605, 0.011152124963700771, -0.018279993906617165, 0.020747698843479156, 0.01722647435963154, 0.01384761743247509, -0.007474296726286411, -0.025151601061224937, -0.003692065132781863, 0.017701031640172005, -0.02818877622485161, -0.012974429875612259, -0.0015494335675612092, -0.05106249451637268, -0.018441343680024147, 0.00461508147418499, -0.05971844121813774, 0.07346165925264359, 0.023557083681225777, 0.022835755720734596, 0.01107619609683752, 0.0062451898120343685, 0.07262643426656723, -0.0045794895850121975, 0.06108517199754715, 0.019020305946469307, 0.00026352828717790544, 0.021506991237401962, -0.033731620758771896, 0.01143686007708311, 0.04772160202264786, 0.015983130782842636, 0.020595839247107506, -0.026954922825098038, 0.05835171416401863, 0.018953867256641388, -0.042292654514312744, -0.008238336071372032, 0.018298976123332977, 0.020178228616714478, 0.016998685896396637, -0.03395940735936165, -0.04377327859401703, 0.01638175919651985, 0.014844190329313278, 0.07076616585254669, 0.0465826615691185, 0.03644609451293945, -0.035383082926273346 ]
54,244
nbconvert.exporters.exporter
from_file
Convert a notebook from a notebook file. Parameters ---------- file_stream : file-like object Notebook file-like object to convert. resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored
def from_file( self, file_stream: t.Any, resources: dict[str, t.Any] | None = None, **kw: t.Any ) -> tuple[NotebookNode, dict[str, t.Any]]: """ Convert a notebook from a notebook file. Parameters ---------- file_stream : file-like object Notebook file-like object to convert. resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored """ return self.from_notebook_node( nbformat.read(file_stream, as_version=4), resources=resources, **kw )
(self, file_stream: Any, resources: Optional[dict[str, Any]] = None, **kw: Any) -> tuple[nbformat.notebooknode.NotebookNode, dict[str, typing.Any]]
[ -0.019702119752764702, -0.061025865375995636, -0.005989408120512962, -0.04436598718166351, -0.04867582395672798, 0.03857124596834183, -0.015482824295759201, 0.0856897309422493, 0.019774554297327995, -0.004260040353983641, -0.012522073462605476, 0.043315690010786057, -0.05682468041777611, 0.045706018805503845, -0.009090499952435493, -0.00971524603664875, -0.008981849066913128, -0.03922315314412117, -0.03272217884659767, 0.0020202368032187223, -0.06276428699493408, 0.01766490563750267, 0.009633757174015045, 0.07583867758512497, 0.0034451547544449568, 0.03398977965116501, -0.014686047099530697, -0.00165127485524863, -0.03864368051290512, -0.0046855914406478405, 0.016515012830495834, -0.04193943738937378, -0.027869082987308502, 0.010475805029273033, 0.03542035445570946, 0.004997964017093182, -0.02091539278626442, 0.047263357788324356, -0.10082849860191345, -0.00687220087274909, 0.03063969314098358, -0.03277650475502014, -0.0019557250197976828, -0.02332383207976818, -0.009506996721029282, 0.022545164451003075, 0.027343934401869774, -0.05276836082339287, -0.009823896922171116, 0.009688083082437515, 0.04284486547112465, -0.04588710516691208, -0.012024087831377983, -0.003135045524686575, -0.05164562910795212, 0.027887191623449326, -0.04780661314725876, 0.0957580953836441, 0.026963654905557632, 0.04295351728796959, -0.014269550330936909, -0.024084392935037613, 0.037484731525182724, -0.06671195477247238, 0.008384265936911106, 0.007664450444281101, 0.03712255880236626, -0.04766174405813217, -0.042808648198843, -0.0018957405118271708, 0.007243426516652107, 0.01051202230155468, 0.03810042142868042, -0.01573634333908558, 0.01507538091391325, 0.005206212867051363, -0.06301780790090561, 0.022762468084692955, -0.051464542746543884, -0.008741910569369793, 0.02017294242978096, -0.008764546364545822, 0.0027774013578891754, -0.01734800636768341, -0.00037518684985116124, -0.09090500324964523, 0.14704155921936035, 0.04161348566412926, -0.04519898071885109, 0.023034095764160156, -0.055050041526556015, -0.03639821708202362, 0.017357060685753822, -0.07352077960968018, 0.06352484971284866, -0.0535651370882988, 0.0014215224655345082, -0.005686089862138033, -0.009805788286030293, -0.045706018805503845, -0.0007333969115279615, -0.05812849849462509, -0.03214270621538162, 0.0012144057545810938, -0.03806420415639877, 0.02080674283206463, 0.03058536723256111, 0.03864368051290512, -0.02946263737976551, -0.026003900915384293, -0.051862932741642, -0.01905021071434021, 0.0067001692950725555, 0.0889492779970169, 0.01499389298260212, -0.005853593815118074, 0.05026938021183014, 0.03936802223324776, 0.02433791197836399, -0.00936212856322527, -0.049400169402360916, 0.042446479201316833, -0.039404239505529404, 0.04700983688235283, -0.011616645380854607, 0.02033592015504837, 0.03415275365114212, -0.06721899658441544, 0.02614877000451088, 0.007048759143799543, -0.0040744272992014885, -0.06392323970794678, -0.04853095859289169, 0.04049075394868851, 0.0044456529431045055, -0.006424013990908861, 0.00621576514095068, 0.04780661314725876, 0.027724213898181915, 0.03648876026272774, 0.08286479860544205, -0.014097518287599087, -0.012503964826464653, -0.024681976065039635, -0.051790498197078705, -0.012585453689098358, 0.031780533492565155, 0.01536511816084385, -0.07569380849599838, 0.035456571727991104, 0.019140753895044327, -0.015048217959702015, 0.0620037280023098, 0.047263357788324356, -0.0022511212155222893, 0.006351579446345568, 0.02636607177555561, -0.025804705917835236, 0.007990404963493347, 0.0129657331854105, 0.012630724348127842, 0.08750058710575104, 0.01793653517961502, 0.05678846314549446, -0.03922315314412117, -0.02192947268486023, -0.058889057487249374, -0.05628142133355141, 0.0017757712630555034, -0.03362760692834854, -0.021386215463280678, -0.00989633146673441, -0.012449638918042183, 0.060482610017061234, 0.02406628429889679, -0.004561095032840967, 0.05102993920445442, -0.008035676553845406, 0.03601793944835663, 0.004857623018324375, -0.05331161990761757, 0.0026642228476703167, 0.006781658157706261, 0.031780533492565155, -0.0056679812259972095, 0.04233782738447189, 0.014667938463389874, 0.010484859347343445, 0.01637919805943966, -0.04657523334026337, 0.04813256859779358, 0.028249362483620644, 0.02107837051153183, 0.02576848864555359, -0.03681471571326256, -0.057440370321273804, 0.009986873716115952, -0.008800762705504894, -0.013255470432341099, -0.005799268372356892, -0.0031237276270985603, 0.06609626859426498, 0.03500385954976082, 0.031943511217832565, -0.04346055909991264, 0.039295587688684464, -0.054253265261650085, 0.03705012425780296, -0.035782527178525925, 0.054144613444805145, -0.0029426419641822577, -0.009697137400507927, -0.005663454066962004, 0.009434563107788563, 0.02870207652449608, -0.02663770131766796, -0.034333840012550354, 0.03138214349746704, -0.009434563107788563, -0.0400199294090271, 0.11517047882080078, 0.03154512122273445, -0.04653901606798172, -0.01723935455083847, -0.0036873568315058947, -0.009887277148663998, 0.04834987223148346, -0.0012653360608965158, 0.02455521561205387, 0.03250487521290779, -0.022291645407676697, -0.015156869776546955, 0.0011182039743289351, 0.011381234042346478, 0.07181857526302338, 0.008529135026037693, -0.020897286012768745, 0.028358014300465584, -0.027832865715026855, 0.03259541839361191, 0.009869168512523174, -0.04121509566903114, 0.024989821016788483, -0.047372009605169296, 0.015482824295759201, -0.019032102078199387, 0.030820779502391815, -0.024211153388023376, -0.07576624304056168, -0.02203812450170517, 0.040056146681308746, -0.01291140727698803, 0.022382186725735664, 0.00278871925547719, -0.023088421672582626, 0.028213145211338997, -0.009226314723491669, -0.10915843397378922, 0.020372137427330017, -0.02359546162188053, -0.023178964853286743, -0.08271992951631546, 0.02683689445257187, 0.015509986318647861, 0.02977048233151436, 0.01616189442574978, -0.061605341732501984, 0.035239268094301224, 0.08952874690294266, -0.037267427891492844, 0.09047039598226547, 0.05896149203181267, 0.0009082577889785171, 0.023686004802584648, 0.05747658759355545, -0.1070578396320343, 0.05316675081849098, -0.009167461656033993, 0.0552673414349556, -0.004511296283453703, -0.047951482236385345, 0.0019772290252149105, -0.0065688821487128735, 0.00252161780372262, 0.09119474142789841, -0.037376079708337784, -0.007533163297921419, -0.02187514677643776, -0.0008975057862699032, -0.04273621737957001, 0.02518901601433754, -0.009013538248836994, -0.044583290815353394, -0.018688039854168892, 0.0010593511397019029, 0.05700576677918434, -0.07591111212968826, 0.03605415299534798, -0.006731859408318996, -0.013192090205848217, -0.009805788286030293, -0.044583290815353394, 0.12016844004392624, -0.013907378539443016, -0.017085431143641472, -0.06776225566864014, 0.01787315495312214, 0.03248676657676697, -0.04860338941216469, 0.017040161415934563, 0.04436598718166351, 0.0013785145711153746, 0.020100507885217667, -0.038716115057468414, 0.000494590203743428, -0.03176242485642433, -0.003938612993806601, 0.0394766740500927, 0.0047897156327962875, -0.008415956050157547, -0.046611446887254715, -0.013518044725060463, -0.025641730055212975, 0.044112466275691986, -0.023939523845911026, -0.012893298640847206, 0.056426290422677994, -0.032631635665893555, -0.015084435231983662, 0.03730364516377449, 0.04958125203847885, 0.0069672707468271255, 0.014332929626107216, -0.022563273087143898, -0.07011637091636658, -0.020209159702062607, 0.0067001692950725555, 0.08373400568962097, 0.016623662784695625, -0.035728201270103455, 0.060699913650751114, -0.02337815798819065, 0.028774511069059372, -0.024627650156617165, -0.028466666117310524, -0.04690118506550789, -0.023975741118192673, -0.03565576672554016, -0.016569338738918304, -0.024989821016788483, -0.03605415299534798, 0.04853095859289169, -0.024247370660305023, -0.05479652062058449, -0.06055504456162453, -0.013834943994879723, -0.022671924903988838, 0.015645800158381462, 0.005156414117664099, -0.02486306056380272, -0.03147268667817116, 0.03958532586693764, -0.05486895516514778, 0.02294355258345604, -0.007460729219019413, 0.01032188255339861, 0.02000996470451355, 0.041541051119565964, 0.009190097451210022, 0.017166920006275177, 0.01616189442574978, -0.008126218803226948, -0.04498167708516121, 0.033428411930799484, -0.0016942827496677637, -0.015926484018564224, -0.026492832228541374, -0.03214270621538162, -0.03389923647046089, -0.0003511364047881216, 0.01872425712645054, -0.004377746023237705, 0.02460954152047634, 0.012340988032519817, -0.039730194956064224, 0.009887277148663998, -0.024681976065039635, 0.0024310750886797905, -0.03147268667817116, -0.02850288338959217, -0.02524334006011486, -0.038027986884117126, 0.00463126553222537, 0.041867002844810486, -0.009832951240241528, -0.014233333058655262, 0.0292996596544981, 0.022961661219596863, 0.10169770568609238, -0.049545034766197205, 0.034333840012550354, -0.019231297075748444, -0.008855088613927364, 0.004785188473761082, -0.01230477076023817, 0.03451492637395859, 0.06768982112407684, 0.018706148490309715, 0.028955597430467606, -0.027869082987308502, 0.040526971220970154, -0.022327862679958344, 0.01979266293346882, 0.002852099249139428, -0.008520080707967281, 0.05262349173426628, -0.028032060712575912, 0.0027457112446427345, -0.0310018640011549, -0.046357929706573486, -0.012694104574620724, 0.022110559046268463, 0.03694147616624832, -0.030024003237485886, 0.01813572831451893, -0.01616189442574978, 0.04548871889710426, -0.06779847294092178, 0.06218481436371803, 0.03293948248028755, -0.026565266773104668, -0.03976641222834587, 0.06098965182900429, -0.05559329688549042, 0.022671924903988838, -0.08757302165031433, -0.058671753853559494, -0.011381234042346478, 0.015356063842773438, 0.0276336707174778, 0.05012451112270355, -0.01611662283539772, 0.044329769909381866, -0.011797730810940266, -0.08829736709594727, 0.016904346644878387, -0.03509439900517464, 0.007573907729238272, -0.0027094942051917315, -0.04440220445394516, -0.051211025565862656, -0.08293723315000534, 0.048168785870075226, 0.0075014736503362656, 0.01369007583707571, -0.012766539119184017, -0.010475805029273033, -0.026655809953808784, 0.023305723443627357, 0.011852056719362736, -0.003205216256901622, -0.005572911351919174, -0.0027411840856075287, -0.0675811693072319, 0.014142789877951145, -0.07011637091636658, 0.021386215463280678, 0.0008505366859026253, 0.018651822581887245, -0.001413599937222898, 0.012513019144535065, -0.007288697641342878, 0.011498939245939255, -0.028575317934155464, 0.01745665818452835, 0.031508903950452805, 0.01654217578470707, -0.04755309596657753, 0.023776547983288765, 0.00017684146587271243, -0.028738293796777725, -0.0076553961262106895, 0.02940831147134304, -0.011489884927868843, -0.006627735216170549, 0.006586990784853697, 0.03958532586693764, -0.0016490112757310271, 0.07757709920406342, -0.021748388186097145, 0.007429039105772972, 0.0754765048623085, -0.05320296809077263, 0.015781614929437637, -0.011507993564009666, 0.018869126215577126, 0.025007929652929306, -0.011933544650673866, 0.035728201270103455, 0.007890807464718819, -0.0017859573708847165, -0.03969397768378258, 0.02348680980503559, 0.025641730055212975, 0.0637059360742569, 0.06888498365879059, -0.011326908133924007, -0.014812806621193886, 0.016198111698031425, -0.0250803641974926, 0.003608131781220436, 0.013255470432341099, 0.051573194563388824, 0.020535113289952278, -0.06247455254197121, 0.017357060685753822, -0.03009643591940403, 0.09597539901733398, 0.008384265936911106, 0.04585088789463043, 0.034714121371507645, -0.047951482236385345, 0.026438506320118904, 0.03762960061430931, 0.008370684459805489, -0.07417268306016922, -0.024790626019239426, -0.08503782749176025, -0.018316814675927162, 0.02486306056380272, 0.0074471477419137955, -0.0636335015296936, -0.027579346671700478, -0.05171806365251541, -0.05428948253393173, -0.008719274774193764, 0.010231339372694492, -0.008728329092264175, 0.024700084701180458, -0.00941645447164774, 0.0075512719340622425, -0.03330165147781372, -0.06555300951004028, 0.03900584951043129, 0.019521033391356468, -0.020480787381529808, 0.006505502387881279, 0.021005935966968536, 0.044003814458847046, -0.00744262058287859, 0.031997837126255035, -0.05421704798936844, -0.016632717102766037, 0.0015380963450297713, 0.01979266293346882, -0.009479834698140621, -0.03313867747783661, 0.0047127543948590755, 0.0057177795097231865, 0.00504323560744524, 0.02855720929801464, -0.010801759548485279, 0.0013468245742842555, 0.012503964826464653, -0.02107837051153183, 0.050776418298482895, 0.00920367892831564, -0.017755448818206787, -0.007324914913624525, 0.029335876926779747, 0.055303558707237244, 0.019557250663638115, 0.054253265261650085, 0.016940563917160034, 0.03451492637395859, -0.018316814675927162, 0.024989821016788483, 0.041649702936410904, 0.022925443947315216, 0.0030445025768131018, -0.012748430483043194, 0.0013705920428037643, -0.029064249247312546, -0.03542035445570946, 0.02971615642309189, 0.09083256870508194, -0.07678031921386719, 0.015337955206632614, 0.04588710516691208, 0.012286662124097347, 0.052116453647613525, -0.006464757956564426, -0.007750466000288725, -0.01872425712645054, 0.030404282733798027, -0.012340988032519817, -0.009479834698140621, -0.01787315495312214, -0.02354113571345806, 0.04892934486269951, -0.030875105410814285, 0.021965689957141876, -0.030241305008530617, 0.015428498387336731, 0.021060261875391006, 0.021639736369252205, 0.05244240537285805, -0.03590928763151169, -0.044583290815353394, -0.030060218647122383, 0.023649787530303, -0.024953603744506836, 0.006641316693276167, 0.002867944072932005, -0.004364164546132088, -0.002182082273066044, 0.006808820646256208, -0.040526971220970154, -0.07764953374862671, -0.08090907335281372, -0.025007929652929306, 0.007718776352703571, 0.04364164546132088, 0.03864368051290512, 0.010385262779891491, 0.02567794732749462, 0.016668934375047684, 0.030512932687997818, 0.006206710822880268, 0.008280142210423946, 0.03478655591607094, -0.04498167708516121, 0.003377247601747513, 0.02475440874695778, -0.0081669632345438, -0.004158179275691509, 0.044583290815353394, 0.020517004653811455, 0.025496860966086388, 0.02850288338959217, -0.017737340182065964, -0.07692518830299377, -0.0015777087537571788, -0.05305809900164604, 0.017845991998910904, -0.023142747581005096, 0.04708227142691612, -0.02406628429889679, 0.00914935301989317, 0.02412061020731926, -0.019973747432231903, 0.035184942185878754, -0.029046140611171722, 0.0072343721985816956, 0.028267471119761467, 0.00800851359963417, 0.04990720748901367, -0.005758523941040039, 0.043786510825157166, 0.003845806699246168, 0.04465572535991669, -0.033482737839221954, -0.0036036046221852303, 0.0867038145661354, -0.0019749654456973076, 0.01459550391882658, 0.013753456063568592, 0.03053104132413864, 0.007682559080421925, 0.007623706478625536, -0.01622527465224266, 0.04990720748901367, -0.035728201270103455, -0.027977734804153442, 0.03824529051780701, -0.014314820989966393, -0.04429355263710022, -0.004423017147928476, -0.027579346671700478, -0.023233290761709213, -0.045814670622348785, 0.01824438013136387, -0.052804578095674515, -0.0340622141957283, -0.06345241516828537, -0.005704198498278856, -0.032052163034677505, 0.014260496012866497, 0.00011643242032732815, 0.021965689957141876, -0.027452586218714714, 0.08192314952611923, 0.019249405711889267, 0.008044730871915817, -0.015645800158381462, 0.02075241692364216, 0.00907239131629467, -0.031201058998703957, -0.024211153388023376, -0.015093489550054073, -0.004694645758718252, -0.05508625879883766, 0.008171490393579006, 0.026655809953808784, 0.01781882904469967, -0.018208162859082222, -0.022853009402751923, -0.00749694649130106, -0.0062791453674435616, 0.01032188255339861, 0.0012642042711377144, -0.006016571074724197, 0.007736884988844395, 0.018814800307154655, 0.002286206465214491, 0.024989821016788483, -0.026655809953808784, -0.003202952677384019, -0.026438506320118904, -0.039042066782712936, -0.019176971167325974, 0.01638825237751007, 0.005156414117664099, 0.07931552082300186, -0.00004028448529425077, -0.007736884988844395, -0.016198111698031425, -0.015709180384874344, -0.052804578095674515, -0.026764459908008575, 0.05486895516514778, 0.015066326595842838, -0.058889057487249374, -0.060591261833906174, 0.017592471092939377, -0.008932050317525864, 0.04740822687745094, 0.045343849807977676, 0.02850288338959217, -0.04030966758728027, 0.021911364048719406, -0.02587714046239853, -0.04237404465675354, -0.010711216367781162, 0.008144327439367771, -0.021694062277674675, 0.025931466370821, -0.018008969724178314, -0.010593511164188385, 0.036416325718164444, 0.013092493638396263, 0.01894156076014042, -0.011218256317079067, 0.050993721932172775, 0.03824529051780701, -0.07902578264474869, 0.02540631778538227, -0.020535113289952278, -0.011553265154361725, -0.0625469833612442, -0.017302734777331352, 0.01728462614119053, 0.028720185160636902, 0.0015380963450297713, 0.0007786683272570372, -0.012178010307252407, -0.029009923338890076, 0.028321797028183937 ]
54,245
nbconvert.exporters.exporter
from_filename
Convert a notebook from a notebook file. Parameters ---------- filename : str Full filename of the notebook file to open and convert. resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored
def from_filename( self, filename: str, resources: dict[str, t.Any] | None = None, **kw: t.Any ) -> tuple[NotebookNode, dict[str, t.Any]]: """ Convert a notebook from a notebook file. Parameters ---------- filename : str Full filename of the notebook file to open and convert. resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored """ # Pull the metadata from the filesystem. if resources is None: resources = ResourcesDict() if "metadata" not in resources or resources["metadata"] == "": resources["metadata"] = ResourcesDict() path, basename = os.path.split(filename) notebook_name = os.path.splitext(basename)[0] resources["metadata"]["name"] = notebook_name resources["metadata"]["path"] = path modified_date = datetime.datetime.fromtimestamp( os.path.getmtime(filename), tz=datetime.timezone.utc ) # datetime.strftime date format for ipython if sys.platform == "win32": date_format = "%B %d, %Y" else: date_format = "%B %-d, %Y" resources["metadata"]["modified_date"] = modified_date.strftime(date_format) with open(filename, encoding="utf-8") as f: return self.from_file(f, resources=resources, **kw)
(self, filename: str, resources: Optional[dict[str, Any]] = None, **kw: Any) -> tuple[nbformat.notebooknode.NotebookNode, dict[str, typing.Any]]
[ -0.004107909742742777, -0.018103884533047676, -0.0018415158847346902, -0.026755942031741142, -0.008851999416947365, 0.029300665482878685, -0.02657417580485344, 0.07597815245389938, 0.051766932010650635, -0.02253897301852703, -0.03128191456198692, 0.04315122589468956, -0.02610158547759056, 0.0654357299208641, -0.011278574354946613, -0.017676735296845436, 0.000524281058460474, 0.008561174385249615, -0.05325741320848465, -0.003907966893166304, -0.0503491573035717, -0.009524533525109291, 0.051185280084609985, 0.057110849767923355, 0.016786081716418266, 0.0020369142293930054, -0.011142250150442123, 0.0009440467110835016, -0.03180903568863869, -0.00908375158905983, -0.01619534194469452, -0.030627556145191193, -0.008338510990142822, 0.024229396134614944, 0.029028015211224556, -0.009806270711123943, -0.028646307066082954, 0.04951303452253342, -0.10229785740375519, -0.051766932010650635, 0.03788001462817192, -0.05071268975734711, 0.01306896936148405, -0.02017601579427719, -0.012596378102898598, 0.021248435601592064, 0.020394135266542435, -0.08630245178937912, -0.009769917465746403, -0.022066380828619003, 0.034989938139915466, -0.019994249567389488, -0.022030027583241463, 0.010442451573908329, -0.04064285755157471, 0.025429051369428635, -0.005625654943287373, 0.10942307859659195, 0.02219361811876297, 0.032863277941942215, -0.006361806765198708, -0.05049457028508186, 0.017767617478966713, -0.0515124574303627, -0.011414899490773678, 0.016704287379980087, 0.05071268975734711, -0.039915792644023895, -0.03947955742478371, 0.00388297438621521, 0.048895031213760376, -0.010133449919521809, 0.049440328031778336, -0.01078780647367239, 0.040024854242801666, -0.0025969804264605045, -0.07808663696050644, 0.000016508036424056627, -0.02006695605814457, 0.0020380502101033926, -0.01618625409901142, -0.02466563507914543, -0.02602887898683548, -0.03308139741420746, -0.009342768229544163, -0.05558401718735695, 0.10324303805828094, 0.033717576414346695, -0.03024584800004959, 0.01063330564647913, -0.07234283536672592, -0.030627556145191193, -0.0030718438792973757, -0.0669989138841629, 0.026737766340374947, -0.05198505148291588, 0.021793732419610023, -0.022011851891875267, 0.01055151131004095, -0.03780730813741684, -0.007243371568620205, -0.055293191224336624, -0.012469141744077206, 0.005675640422850847, -0.04187886416912079, 0.011878401972353458, 0.007138856220990419, 0.06997987627983093, -0.007002531550824642, -0.06303641945123672, -0.05871038883924484, -0.023793157190084457, 0.03277239203453064, 0.028246423229575157, 0.038207195699214935, -0.01049698144197464, 0.025538111105561256, 0.047513607889413834, 0.03904331848025322, -0.032445214688777924, -0.032281626015901566, 0.010587864555418491, -0.04373287782073021, 0.026174291968345642, -0.04431452974677086, 0.011114985682070255, 0.029446078464388847, -0.06405431032180786, 0.020884903147816658, -0.023993100970983505, -0.012850849889218807, -0.005398447625339031, -0.036007825285196304, 0.07317895442247391, 0.03431740403175354, -0.003994306083768606, -0.014005063101649284, 0.05980098620057106, 0.028210069984197617, 0.0402793250977993, 0.06478136777877808, -0.01575910486280918, 0.028918957337737083, 0.022757092490792274, -0.040024854242801666, -0.05507507175207138, 0.016413461416959763, -0.023066094145178795, -0.053548239171504974, 0.028228245675563812, 0.031209206208586693, -0.012323728762567043, 0.04438723623752594, 0.008811102248728275, 0.006816221866756678, -0.0038170842453837395, 0.020012427121400833, -0.01313258707523346, 0.00024708802811801434, -0.013686972670257092, 0.0013496119063347578, 0.07881370186805725, 0.0290461927652359, 0.05024009943008423, -0.039334144443273544, -0.0076069035567343235, -0.05798332393169403, -0.06379983574151993, -0.015986312180757523, -0.00291961501352489, -0.012360082007944584, -0.031318265944719315, -0.0077386838383972645, 0.060600753873586655, -0.010778718627989292, -0.023556862026453018, 0.03237250819802284, 0.0027378490194678307, 0.008842911571264267, 0.02935519441962242, -0.016013577580451965, -0.029409725219011307, -0.021593790501356125, 0.0627455934882164, -0.006907104514539242, 0.018485592678189278, 0.021557437255978584, 0.04078827053308487, 0.033063217997550964, -0.024502044543623924, 0.0669989138841629, 0.01921265758574009, 0.01883094757795334, 0.04216969013214111, -0.05256669968366623, -0.07277907431125641, 0.022084558382630348, 0.03471728786826134, -0.006048260722309351, 0.03551705926656723, -0.007379695773124695, 0.06990716606378555, 0.04140627384185791, 0.017731264233589172, -0.024883752688765526, 0.027955597266554832, -0.06794409453868866, 0.03713477402925491, -0.018340179696679115, 0.02226632460951805, 0.013686972670257092, -0.02490193024277687, 0.0012326000723987818, 0.05071268975734711, 0.022484444081783295, -0.0033717576880007982, -0.07197929918766022, 0.07179753482341766, 0.01948530599474907, -0.05096716061234474, 0.06518125534057617, 0.06510855257511139, -0.0615822896361351, -0.005057636648416519, 0.0006327725714072585, -0.01553189754486084, 0.07117953151464462, 0.00908375158905983, 0.03628047555685043, 0.05020374432206154, -0.05496601015329361, -0.0344628170132637, -0.008402129635214806, -0.0267195887863636, 0.07481484860181808, -0.003946592565625906, -0.02215726487338543, 0.029155252501368523, -0.010415187105536461, 0.03217256814241409, 0.01781305857002735, -0.005493874661624432, 0.0027832905761897564, -0.06783504039049149, 0.05394812300801277, -0.03684395179152489, 0.04187886416912079, 0.006875295657664537, -0.07466943562030792, -0.0008134024683386087, 0.03744377940893173, -0.011560311540961266, 0.015177453868091106, 0.021939145401120186, -0.027028590440750122, 0.02359321527183056, -0.03784366324543953, -0.10716918110847473, -0.011305839754641056, 0.022866152226924896, -0.0185946524143219, -0.08579351007938385, 0.007711418904364109, -0.004312396049499512, 0.019503481686115265, -0.003982945345342159, -0.052675761282444, 0.04209698364138603, 0.08528456836938858, -0.037480130791664124, 0.05841956287622452, 0.07325166463851929, 0.012869026511907578, 0.007043429184705019, 0.024611104279756546, -0.08353961259126663, 0.03126373514533043, -0.04064285755157471, 0.004907679744064808, -0.025429051369428635, -0.04740455001592636, 0.01185113750398159, -0.0012053352547809482, -0.0050894455052912235, 0.0724155381321907, -0.04315122589468956, -0.02777383103966713, -0.017422262579202652, -0.016059018671512604, -0.03520805761218071, 0.02095760963857174, 0.012505494989454746, -0.018267473205924034, -0.03269968926906586, -0.0016529337735846639, 0.018794594332575798, -0.06634455919265747, 0.012769055552780628, -0.006398160010576248, 0.009070118889212608, -0.03010043501853943, -0.0507490411400795, 0.09175543487071991, -0.030573025345802307, -0.005198505241423845, -0.03126373514533043, -0.003967041149735451, 0.027210356667637825, -0.049949273467063904, 0.023575039580464363, 0.03455369919538498, 0.02517457865178585, 0.006634455639868975, 0.006770780310034752, 0.024847399443387985, -0.03333586826920509, 0.04024297371506691, 0.006829854100942612, 0.039297789335250854, -0.011596664786338806, -0.023138800635933876, -0.009051942266523838, -0.027319416403770447, 0.041224509477615356, -0.010424274951219559, -0.01483209803700447, 0.020212369039654732, -0.009824447333812714, 0.006934369448572397, 0.01417774148285389, 0.047513607889413834, 0.005184872541576624, 0.0014416308840736747, -0.047586314380168915, -0.06201852858066559, -0.015259248204529285, 0.009242796339094639, 0.062418412417173386, 0.03308139741420746, -0.009779006242752075, 0.07336071878671646, -0.05394812300801277, 0.0032081683166325092, -0.04366017132997513, -0.0336994007229805, -0.0286644846200943, 0.006816221866756678, -0.047622669488191605, 0.0045486921444535255, 0.008865632116794586, -0.05311200022697449, 0.04809525981545448, -0.02819189243018627, -0.014568537473678589, -0.05085810273885727, -0.04438723623752594, -0.010260685347020626, -0.006957090459764004, -0.0029059825465083122, -0.04987656697630882, -0.07379695773124695, -0.010506069287657738, -0.047659020870923996, 0.008883808739483356, -0.015795458108186722, 0.0019074060255661607, 0.050530921667814255, 0.03037308342754841, -0.019394421949982643, -0.029191605746746063, -0.0016563418321311474, -0.006843486335128546, -0.04558689147233963, 0.016486167907714844, -0.008547541685402393, -0.05623837187886238, -0.032826922833919525, -0.04624124616384506, -0.04035203158855438, -0.0021539260633289814, 0.02048501744866371, -0.007647800724953413, 0.04064285755157471, 0.0021334774792194366, -0.038825199007987976, 0.005766523536294699, -0.01055151131004095, 0.008574807085096836, -0.04362381994724274, -0.03653494641184807, -0.046386659145355225, -0.00179380236659199, -0.015441014431416988, 0.06616279482841492, -0.03357216343283653, -0.019158126786351204, 0.04831337928771973, -0.0015734111657366157, 0.050530921667814255, -0.06220029667019844, 0.017067819833755493, -0.013259823434054852, 0.01150578260421753, 0.025265460833907127, -0.009011045098304749, 0.08259443193674088, 0.0631454810500145, 0.03386298939585686, 0.0043532936833798885, -0.042860403656959534, 0.017949383705854416, -0.00184719602111727, -0.005589301697909832, -0.0031172854360193014, 0.013941445387899876, 0.04984021186828613, 0.006407248321920633, -0.016586139798164368, -0.02359321527183056, -0.047622669488191605, -0.027628418058156967, -0.010896866209805012, 0.06278194487094879, -0.005334829445928335, 0.01738590933382511, 0.0050758132711052895, 0.041224509477615356, -0.04078827053308487, 0.028028303757309914, 0.02846454083919525, -0.07983158528804779, -0.03615323826670647, 0.06212759017944336, -0.05329376459121704, 0.05085810273885727, -0.08913800120353699, -0.010506069287657738, -0.01963071897625923, 0.01575910486280918, 0.034135639667510986, 0.04198792576789856, -0.01419591810554266, 0.05333011969923973, -0.008933794684708118, -0.10840518772602081, 0.002803739160299301, -0.01828565075993538, 0.01944895274937153, -0.042896755039691925, -0.041115447878837585, -0.01595904678106308, -0.019194480031728745, 0.06678079813718796, -0.00941547378897667, 0.018685536459088326, -0.0016188526060432196, -0.06463595479726791, 0.003471728879958391, 0.033172279596328735, 0.039915792644023895, -0.03664400801062584, 0.011633018031716347, 0.04318758100271225, -0.05103986710309982, 0.012014727108180523, -0.06285465508699417, 0.021593790501356125, 0.0005935793160460889, -0.004912223666906357, -0.00805677380412817, 0.0056165666319429874, -0.025828935205936432, 0.007325166370719671, -0.025429051369428635, -0.009779006242752075, 0.019994249567389488, 0.01972160115838051, -0.052384935319423676, 0.03798907622694969, -0.018449239432811737, -0.026665059849619865, -0.004862238187342882, 0.007402416784316301, 0.010642394423484802, 0.014750303700566292, 0.006857119034975767, 0.03266333416104317, 0.0012871298240497708, 0.04660477861762047, -0.025010989978909492, -0.07157941907644272, 0.08979236334562302, 0.004062468186020851, 0.019812485203146935, -0.020848549902439117, 0.040606506168842316, 0.0356261171400547, 0.020466841757297516, 0.014723039232194424, -0.014168652705848217, -0.005989186931401491, -0.04787714034318924, 0.025229107588529587, 0.01695876009762287, 0.020939432084560394, 0.06914374977350235, -0.03733471781015396, 0.0010968436254188418, 0.03382663428783417, -0.052857525646686554, 0.006398160010576248, 0.01592269353568554, 0.09880794584751129, 0.05209410935640335, -0.06750786304473877, 0.02192096970975399, -0.033444926142692566, 0.10549693554639816, -0.0035058099310845137, 0.025192756205797195, 0.02099396288394928, -0.08259443193674088, 0.04551418498158455, 0.007456946652382612, -0.009379121474921703, -0.011387634091079235, 0.013196204788982868, -0.026156114414334297, -0.018394710496068, 0.05954651162028313, -0.022975211963057518, -0.039879441261291504, 0.006557205226272345, -0.04693195968866348, -0.06914374977350235, -0.017049642279744148, 0.01016980316489935, 0.03506264463067055, 0.024392984807491302, 0.009751740843057632, 0.0056938170455396175, -0.020194193348288536, -0.019467128440737724, 0.035262588411569595, 0.013005350716412067, -0.03237250819802284, -0.027319416403770447, 0.024774692952632904, 0.03151820972561836, -0.008565718308091164, 0.05329376459121704, -0.052348583936691284, -0.021775556728243828, -0.030463967472314835, 0.05976463109254837, 0.0148139214143157, -0.0038693419191986322, -0.022284500300884247, 0.014223182573914528, 0.00921553187072277, 0.022320853546261787, 0.024029454216361046, 0.04326028749346733, -0.03333586826920509, 0.007779581006616354, 0.05936474725604057, 0.014432213269174099, -0.05263940617442131, -0.03637135773897171, 0.001020729192532599, 0.06830763071775436, 0.03548070415854454, 0.10513339936733246, 0.0050894455052912235, -0.018294738605618477, 0.014950246550142765, 0.03904331848025322, -0.015068394131958485, 0.008483923971652985, 0.022448090836405754, 0.01460489071905613, 0.012850849889218807, -0.01986701413989067, -0.010987749323248863, 0.0005626222700811923, 0.0956815779209137, -0.08513915538787842, 0.037589188665151596, 0.05729261413216591, 0.012796320021152496, 0.06681714951992035, 0.002717400435358286, 0.020539548248052597, 0.004248778335750103, 0.060528047382831573, -0.023538686335086823, -0.012968997471034527, -0.005407535936683416, -0.007325166370719671, -0.0024788326118141413, -0.017849411815404892, -0.01603175327181816, -0.019067244604229927, 0.017576763406395912, 0.00945182703435421, 0.019321715459227562, 0.033408574759960175, -0.041733454912900925, -0.05020374432206154, -0.0371893048286438, 0.024956459179520607, -0.04366017132997513, 0.02041231095790863, -0.03393569588661194, -0.010760542005300522, 0.02215726487338543, 0.004721369594335556, -0.07459673285484314, -0.047077372670173645, -0.10018937289714813, -0.029773255810141563, 0.0013848290545865893, 0.04784078896045685, 0.036007825285196304, 0.015659132972359657, -0.015450102277100086, 0.014459478668868542, -0.008774749003350735, 0.00523031409829855, 0.03217256814241409, 0.027664771303534508, -0.038279902189970016, 0.01855829916894436, 0.00023586966563016176, -0.0018721888773143291, 0.017494969069957733, 0.04278769716620445, 0.01650434546172619, 0.009133736602962017, 0.02273891493678093, -0.0065435729920864105, -0.08433938026428223, -0.016640668734908104, -0.03900696337223053, 0.005802876781672239, -0.02746482938528061, 0.04017026722431183, -0.03024584800004959, 0.023484155535697937, 0.009869889356195927, -0.005998275242745876, 0.03769825026392937, -0.0036444065626710653, 0.02466563507914543, 0.01804935559630394, 0.021702850237488747, 0.0058255973272025585, -0.03675306588411331, 0.03504446893930435, 0.0014529912732541561, 0.047586314380168915, -0.033408574759960175, -0.019267186522483826, 0.0654357299208641, -0.015322865918278694, 0.002640149788931012, 0.005493874661624432, -0.026156114414334297, -0.012051080353558064, 0.02312062308192253, -0.0021539260633289814, 0.03346310555934906, -0.004076100420206785, -0.02750118263065815, 0.04853149875998497, -0.015441014431416988, -0.0430058129131794, 0.01592269353568554, -0.011942020617425442, -0.028519071638584137, -0.020321428775787354, 0.019957896322011948, -0.035262588411569595, -0.03980673477053642, -0.029991375282406807, 0.0053666383028030396, -0.0017358644399791956, 0.03266333416104317, 0.009560886770486832, 0.021448377519845963, 0.007566005922853947, 0.11996550112962723, -0.008511188440024853, 0.017013289034366608, -0.06529031693935394, -0.003099108813330531, 0.006516308058053255, -0.050567276775836945, -0.024992812424898148, -0.022884327918291092, 0.010896866209805012, 0.0056938170455396175, 0.012078344821929932, -0.006098246201872826, 0.008665690198540688, -0.0024674723390489817, -0.031699974089860916, -0.0024265749379992485, -0.045950423926115036, 0.0010298175038769841, -0.01924901083111763, -0.00950635690242052, 0.024683810770511627, 0.00523031409829855, 0.014150476083159447, -0.0031786314211785793, -0.00652539636939764, 0.0006878703716211021, -0.005375726614147425, -0.019049067050218582, -0.023720450699329376, 0.004712281282991171, 0.018721889704465866, 0.06267288327217102, -0.026774119585752487, 0.0033785738050937653, 0.0013621082762256265, -0.036425888538360596, -0.05721990764141083, -0.030264023691415787, 0.04551418498158455, 0.011414899490773678, -0.034299228340387344, -0.04911315068602562, 0.05605660751461983, -0.04038838669657707, 0.07779581099748611, 0.03397204726934433, 0.057147201150655746, -0.016558874398469925, 0.041769806295633316, 0.022793445736169815, -0.04689560458064079, 0.04900408908724785, -0.008429394103586674, -0.012314640916883945, -0.002858269028365612, 0.0022925224620848894, 0.011087720282375813, 0.03558976575732231, 0.005557492841035128, 0.01959436573088169, -0.014868451282382011, 0.030627556145191193, 0.04213333874940872, -0.07306989282369614, 0.013950533233582973, 0.03106379508972168, -0.002127797110006213, -0.04420546814799309, -0.013714238069951534, 0.027664771303534508, -0.007620535790920258, -0.0005319492775015533, -0.025010989978909492, -0.012114698067307472, -0.008520277217030525, 0.022720739245414734 ]
54,246
nbconvert.exporters.exporter
from_notebook_node
Convert a notebook from a notebook node instance. Parameters ---------- nb : :class:`~nbformat.NotebookNode` Notebook node (dict-like with attr-access) resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored
def from_notebook_node( self, nb: NotebookNode, resources: t.Any | None = None, **kw: t.Any ) -> tuple[NotebookNode, dict[str, t.Any]]: """ Convert a notebook from a notebook node instance. Parameters ---------- nb : :class:`~nbformat.NotebookNode` Notebook node (dict-like with attr-access) resources : dict Additional resources that can be accessed read/write by preprocessors and filters. `**kw` Ignored """ nb_copy = copy.deepcopy(nb) resources = self._init_resources(resources) if "language" in nb["metadata"]: resources["language"] = nb["metadata"]["language"].lower() # Preprocess nb_copy, resources = self._preprocess(nb_copy, resources) notebook_name = "" if resources is not None: name = resources.get("metadata", {}).get("name", "") path = resources.get("metadata", {}).get("path", "") notebook_name = os.path.join(path, name) self._nb_metadata[notebook_name] = nb_copy.metadata return nb_copy, resources
(self, nb: nbformat.notebooknode.NotebookNode, resources: Optional[Any] = None, **kw: Any) -> tuple[nbformat.notebooknode.NotebookNode, dict[str, typing.Any]]
[ -0.011280066333711147, -0.04667488858103752, 0.00026649495703168213, -0.05318262055516243, -0.07802046090364456, 0.04049254581332207, 0.0403117761015892, 0.06862040609121323, 0.04754258692264557, -0.01784202829003334, 0.010683524422347546, 0.05394185334444046, -0.014705663546919823, 0.038793303072452545, -0.055026475340127945, -0.021656280383467674, -0.02299398183822632, 0.0023613120429217815, -0.012771421112120152, 0.018284915015101433, -0.06833116710186005, -0.01169583760201931, 0.02384360134601593, 0.0349971279501915, -0.005554167088121176, 0.01890857331454754, 0.02198166772723198, -0.00574849545955658, -0.003839109092950821, 0.03705791011452675, 0.019071266055107117, -0.07259734719991684, 0.00770081439986825, -0.01950511522591114, 0.025380149483680725, 0.013973543420433998, -0.05079645290970802, 0.0324663445353508, -0.08958975970745087, -0.027007082477211952, 0.02753131464123726, -0.09595286846160889, 0.020878968760371208, -0.05878650024533272, 0.01723644696176052, 0.0038097340147942305, 0.051736459136009216, -0.05339954420924187, -0.003082133363932371, -0.057087257504463196, 0.02359052374958992, -0.05737648904323578, -0.0020054203923791647, 0.041721783578395844, -0.0457710362970829, 0.01116256508976221, -0.0357925184071064, 0.08474511653184891, -0.012319494970142841, 0.07953892648220062, -0.029682481661438942, -0.024819761514663696, -0.022505901753902435, -0.029248632490634918, 0.004135120194405317, 0.0016427499940618873, 0.02959209680557251, -0.06605346500873566, -0.0357925184071064, -0.010602178052067757, 0.0042526209726929665, -0.012436996214091778, 0.04906105622649193, 0.05191722884774208, 0.03723867982625961, -0.04895259439945221, -0.030984027311205864, 0.014841240830719471, -0.033804044127464294, 0.043782565742731094, 0.00844197254627943, -0.0007970840088091791, -0.05217030644416809, -0.045337188988924026, 0.01582643948495388, -0.05430339649319649, 0.06937963515520096, 0.032195188105106354, 0.007479371037334204, -0.004589305724948645, -0.08749282360076904, -0.03886561095714569, 0.010493715293705463, -0.06377575546503067, 0.04439718276262283, -0.03691329434514046, -0.0013749840436503291, 0.015492013655602932, 0.055171094834804535, -0.02445822022855282, 0.027404775843024254, -0.010448522865772247, -0.0582803413271904, 0.01644105836749077, -0.014777971431612968, 0.012066417373716831, -0.011108334176242352, 0.03890176862478256, 0.0022155658807605505, -0.04916951805353165, -0.016314519569277763, 0.02702515944838524, -0.017724527046084404, 0.04446949064731598, 0.009228323586285114, 0.015763169154524803, 0.044686414301395416, 0.005405031610280275, 0.03588290140032768, -0.020842814818024635, -0.024584759026765823, 0.04305948317050934, -0.03454520180821419, 0.0046028634533286095, -0.010791986249387264, 0.06565576791763306, 0.03926330804824829, -0.0015557543374598026, -0.014850279316306114, -0.0046909889206290245, 0.014109121635556221, -0.0318698026239872, -0.049422599375247955, 0.08864974975585938, 0.0027838624082505703, 0.03268326818943024, -0.014533931389451027, 0.06073881685733795, -0.00043017679126933217, -0.029411327093839645, 0.02293975092470646, -0.03788945451378822, 0.04772335663437843, 0.03582867234945297, -0.0520256906747818, -0.04772335663437843, -0.011831415817141533, 0.03055018000304699, -0.027639778330922127, -0.03431020304560661, -0.022415516898036003, 0.043023329228162766, 0.01784202829003334, 0.019993193447589874, -0.01571797765791416, 0.02852555178105831, 0.0036899736151099205, -0.02248782478272915, 0.0020788584370166063, -0.011225835420191288, 0.026898618787527084, 0.04924182593822479, 0.06851194053888321, 0.03494289889931679, -0.014588162302970886, 0.026229768991470337, -0.000012525050806289073, -0.07483889907598495, 0.002510447520762682, 0.017914336174726486, -0.023518215864896774, -0.03150826320052147, 0.00429781386628747, -0.0006106646615080535, -0.016495289281010628, 0.05687033385038376, 0.05791880190372467, -0.059618040919303894, -0.0025895345024764538, 0.004727143328636885, -0.007655621971935034, 0.008505241945385933, -0.03458135575056076, 0.06012419983744621, -0.06807809323072433, 0.015537207014858723, -0.008252163417637348, 0.018727801740169525, 0.016350673511624336, -0.019938962534070015, 0.03275557607412338, 0.06757193803787231, -0.033099040389060974, 0.021204356104135513, -0.055677250027656555, -0.03882945701479912, -0.017417218536138535, -0.004966663662344217, -0.013630080036818981, 0.08373279869556427, 0.014425469562411308, 0.056038789451122284, 0.031381722539663315, 0.0608111247420311, 0.00003622467193054035, -0.012111609801650047, -0.05104953050613403, 0.0661257728934288, -0.04193870723247528, 0.023626677691936493, 0.02939325012266636, 0.0009942365577444434, 0.01139756664633751, 0.0030188639648258686, 0.028254397213459015, -0.012988345697522163, -0.03508751466870308, 0.03807022422552109, 0.018872419372200966, -0.02998979203402996, 0.043927181512117386, -0.02686246484518051, -0.024078601971268654, -0.028543628752231598, -0.000748501974157989, -0.028344782069325447, 0.04038408398628235, -0.023301290348172188, 0.04783181846141815, 0.005070606712251902, -0.08575742691755295, 0.01209353283047676, -0.015971055254340172, -0.02409668080508709, 0.04960336908698082, 0.004388198722153902, -0.003301317570731044, -0.017227409407496452, -0.015501052141189575, -0.007031964138150215, -0.01814933679997921, -0.034400586038827896, -0.009309669956564903, -0.05560494214296341, 0.028001317754387856, -0.0028471320401877165, 0.07136811316013336, -0.04078177735209465, -0.06948810070753098, -0.034707896411418915, 0.022307053208351135, 0.007479371037334204, 0.028742477297782898, 0.01381085067987442, -0.0037668009754270315, 0.0436379499733448, -0.032737500965595245, -0.08843282610177994, -0.03409327566623688, -0.009255439043045044, 0.008351587690412998, -0.078237384557724, 0.01612471044063568, 0.007971969433128834, 0.03785330057144165, -0.0041057453490793705, -0.004645796492695808, 0.046964120119810104, 0.0608111247420311, -0.026048999279737473, 0.0848897323012352, 0.02232513017952442, 0.013729503378272057, 0.015257013030350208, 0.04613257944583893, -0.07227196544408798, 0.037925608456134796, 0.005441185552626848, 0.004356564022600651, -0.0051790690049529076, -0.011596414260566235, -0.007804757449775934, -0.02469322271645069, -0.014208544977009296, 0.035864826291799545, -0.08655281364917755, 0.0007417231099680066, 0.022975904867053032, 0.0079674506559968, -0.037130217999219894, 0.03398481383919716, 0.012762382626533508, -0.02863401360809803, 0.01139756664633751, -0.0062456135638058186, 0.062438059598207474, -0.07281427085399628, 0.024982454255223274, -0.024385912343859673, 0.008175336755812168, 0.001104393508285284, -0.04042023792862892, 0.043276406824588776, -0.019938962534070015, 0.011939877644181252, -0.025145146995782852, 0.008432934060692787, 0.03664213791489601, -0.0516279935836792, 0.019270112738013268, 0.01970396190881729, -0.023102443665266037, 0.053254928439855576, 0.007660141214728355, -0.02848939783871174, -0.06496883928775787, 0.05715956538915634, 0.028615936636924744, -0.031327489763498306, 0.013485463336110115, -0.026754003018140793, -0.03340635076165199, -0.05506262928247452, 0.05072414502501488, 0.0069009060971438885, -0.02051742747426033, 0.00627724826335907, -0.015600476413965225, 0.02344590611755848, 0.03609982877969742, -0.010493715293705463, 0.0129069983959198, 0.0010066645918413997, -0.01950511522591114, -0.058244187384843826, -0.05347185209393501, -0.015844516456127167, 0.007560717407613993, -0.03085748851299286, -0.010032751597464085, 0.027007082477211952, -0.02848939783871174, 0.003201893763616681, 0.014787009917199612, -0.028724398463964462, -0.04681950435042381, -0.009237362071871758, -0.01698336936533451, -0.015356436371803284, -0.021638203412294388, -0.06590884923934937, 0.0369856022298336, -0.019685884937644005, 0.0006072751712054014, -0.032394036650657654, -0.019342420622706413, -0.024313604459166527, -0.03705791011452675, -0.015446821227669716, -0.07104272395372391, -0.017372025176882744, 0.039552539587020874, -0.013232385739684105, 0.008686012588441372, -0.013440270908176899, 0.0014337344327941537, 0.023933986201882362, 0.05705110356211662, 0.020047426223754883, -0.024114757776260376, 0.03976946324110031, 0.007515524979680777, -0.026175538077950478, 0.0015772207407280803, -0.03835945576429367, -0.04371025785803795, -0.03196018934249878, -0.035521361976861954, -0.07144042104482651, 0.02152974158525467, 0.010086982510983944, -0.024132834747433662, 0.028164012357592583, -0.026808233931660652, -0.0154016287997365, -0.034201737493276596, -0.010096020996570587, 0.011325258761644363, 0.003409779630601406, -0.04168562963604927, -0.056436486542224884, 0.001332051120698452, -0.0009772893972694874, 0.047253355383872986, -0.03651559725403786, -0.060919586569070816, 0.027694009244441986, -0.012870844453573227, 0.05940111726522446, -0.06345037370920181, 0.029971715062856674, 0.02142127975821495, 0.03452712669968605, 0.03085748851299286, -0.010276790708303452, 0.05585801973938942, 0.04132409021258354, 0.012699113227427006, 0.03179749473929405, -0.054267242550849915, 0.007669179700314999, 0.010050828568637371, 0.028923247009515762, 0.00550897466018796, -0.0026053518522530794, 0.043674103915691376, 0.0359913669526577, 0.023301290348172188, -0.061787284910678864, -0.042047169059515, -0.03685906156897545, -0.022361285984516144, 0.07838200032711029, -0.007520044222474098, 0.04117947071790695, -0.05112183839082718, 0.020987430587410927, -0.035611748695373535, 0.02293975092470646, 0.03454520180821419, -0.025036685168743134, -0.035720210522413254, 0.03503328189253807, -0.046457964926958084, 0.04208332300186157, -0.05994343012571335, -0.004835605155676603, -0.01469662506133318, 0.022397439926862717, 0.029067862778902054, 0.04425256699323654, -0.008220529183745384, 0.06598115712404251, -0.0357925184071064, -0.08778205513954163, -0.005233299918472767, -0.020481273531913757, 0.03125518187880516, 0.007755045313388109, -0.051338762044906616, 0.05546032637357712, -0.029013631865382195, 0.043023329228162766, -0.004440170247107744, 0.01768837310373783, -0.025795919820666313, -0.011126411147415638, -0.031887877732515335, 0.017381062731146812, 0.0274770837277174, -0.016061440110206604, 0.02178282104432583, 0.038431763648986816, -0.042047169059515, 0.009196688421070576, -0.07520043849945068, 0.0741158202290535, -0.04515641927719116, 0.03926330804824829, 0.019993193447589874, 0.00930063147097826, 0.013666233979165554, 0.052351076155900955, -0.04371025785803795, 0.028164012357592583, 0.012274302542209625, 0.004108004737645388, -0.07151272892951965, -0.02697092667222023, -0.018411453813314438, -0.024530528113245964, -0.005115799140185118, 0.07599583268165588, -0.00610099732875824, -0.047506432980298996, 0.0022472005803138018, -0.010493715293705463, 0.025741688907146454, 0.06211267411708832, 0.022361285984516144, -0.05922034755349159, 0.06287191063165665, -0.0347982794046402, 0.01865549385547638, -0.02350013703107834, -0.008785435929894447, 0.028869016095995903, 0.01303353812545538, 0.01634163409471512, -0.038287147879600525, -0.005364358425140381, -0.0524233840405941, 0.05072414502501488, 0.016549520194530487, 0.006408306770026684, 0.005753014702349901, -0.04334871470928192, 0.022108206525444984, 0.04446949064731598, -0.00829283706843853, -0.002025756984949112, 0.044939495623111725, 0.10224367678165436, -0.0007863507489673793, -0.06366729736328125, -0.014027774333953857, -0.04945875331759453, 0.09291592985391617, -0.005992535036057234, 0.006421864498406649, 0.05737648904323578, -0.03454520180821419, 0.07990046590566635, -0.003509203204885125, 0.026934772729873657, -0.005608398467302322, 0.02677207998931408, -0.03629867359995842, -0.0383233018219471, 0.03280980885028839, -0.05036260187625885, -0.053508006036281586, 0.0282724741846323, -0.05217030644416809, -0.043131791055202484, -0.00506608746945858, 0.062040362507104874, 0.004523776471614838, 0.058244187384843826, 0.026283999904990196, 0.012563535012304783, -0.028652090579271317, -0.03962484747171402, 0.03367750719189644, 0.02344590611755848, 0.03393058478832245, -0.029519788920879364, 0.03756406530737877, 0.004094447009265423, 0.003312615677714348, 0.0791773870587349, -0.05191722884774208, -0.01448873896151781, 0.01169583760201931, 0.0266093872487545, 0.02888709306716919, -0.030767103657126427, -0.03487059101462364, 0.05762957036495209, 0.00788610428571701, -0.0035837709438055754, -0.039950232952833176, 0.0159349013119936, 0.0014529412146657705, 0.019830500707030296, 0.04884413257241249, 0.0034188181161880493, -0.02868824452161789, -0.04613257944583893, 0.008216009475290775, 0.08626358211040497, -0.007723410613834858, 0.08221432566642761, -0.017769720405340195, 0.013485463336110115, -0.0023545329459011555, -0.01333180908113718, -0.030965950340032578, -0.0012970268726348877, 0.016603751108050346, -0.025687457993626595, 0.033044807612895966, 0.004019879270344973, -0.02037281170487404, 0.03926330804824829, 0.06088343262672424, -0.08590204268693924, 0.02324705943465233, 0.06937963515520096, 0.0009580825571902096, 0.028597859665751457, 0.03734714165329933, 0.050832606852054596, -0.03136364743113518, 0.07729737460613251, -0.009282554499804974, -0.024168988689780235, -0.055026475340127945, -0.0159349013119936, -0.015844516456127167, -0.0019455403089523315, -0.012699113227427006, 0.008274760097265244, -0.025832075625658035, 0.036172136664390564, -0.016323557123541832, 0.02803747169673443, -0.058750346302986145, 0.019378574565052986, -0.008808032609522343, 0.05256799980998039, -0.023482060059905052, 0.01220199465751648, 0.03664213791489601, -0.02021011896431446, -0.010773909278213978, -0.016106633469462395, -0.06655962020158768, -0.03161672502756119, -0.05249569192528725, -0.01809510588645935, -0.01899895817041397, 0.03705791011452675, 0.01504912693053484, -0.038937922567129135, -0.03958869352936745, 0.007113310974091291, 0.001787366229109466, -0.02378937043249607, 0.009671210311353207, 0.04848259314894676, -0.05444801226258278, 0.05687033385038376, -0.0432402528822422, -0.01860126294195652, 0.022650517523288727, 0.0639926865696907, 0.010231598280370235, -0.008428415283560753, 0.07097041606903076, 0.004352044779807329, -0.029754789546132088, -0.00586147652938962, -0.04837413132190704, -0.01748952642083168, -0.06073881685733795, 0.06153420731425285, -0.023228982463479042, -0.031020181253552437, 0.012590650469064713, -0.03901023045182228, 0.04674719646573067, 0.011090257205069065, 0.007804757449775934, -0.013476424850523472, 0.04273409768939018, 0.03237595781683922, -0.007583313621580601, 0.023717062547802925, -0.005170030519366264, 0.027187852188944817, -0.03613598272204399, 0.003825551364570856, 0.05423108860850334, 0.02319282852113247, 0.009372939355671406, -0.018528955057263374, 0.033044807612895966, 0.01618797890841961, 0.000720256648492068, 0.00007548571738880128, 0.022343207150697708, -0.030477872118353844, -0.018113182857632637, 0.011813338845968246, 0.015455859713256359, -0.03159864619374275, -0.01778779737651348, -0.03514174371957779, -0.04859105497598648, -0.02536207251250744, 0.019649730995297432, -0.04461410641670227, -0.01799568347632885, -0.021602049469947815, 0.02666361816227436, 0.026790156960487366, 0.013467386364936829, -0.018691647797822952, -0.004989259876310825, 0.022307053208351135, 0.03481635823845863, 0.03984177112579346, 0.04331256076693535, -0.033894430845975876, 0.011325258761644363, -0.00021113405819050968, -0.009101783856749535, -0.020951276645064354, -0.0033939622808247805, 0.01588067039847374, -0.012970268726348877, 0.00761042907834053, -0.016052402555942535, 0.04230024665594101, -0.003730646800249815, -0.04081793129444122, -0.03074902668595314, -0.03756406530737877, 0.021059738472104073, -0.026193615049123764, 0.018239721655845642, 0.025488611310720444, -0.01492258720099926, -0.023970140144228935, -0.004962144419550896, 0.009788711555302143, -0.017977604642510414, -0.057195719331502914, -0.03141787648200989, -0.02066204510629177, -0.04772335663437843, 0.04475872591137886, 0.052351076155900955, 0.013575849123299122, 0.014000658877193928, -0.019089343026280403, -0.0483018234372139, -0.004885317292064428, -0.05607494339346886, 0.04598796367645264, 0.0326651930809021, -0.043023329228162766, -0.060919586569070816, 0.034057121723890305, -0.041757937520742416, 0.07961123436689377, 0.035412900149822235, 0.01164160668849945, -0.024132834747433662, 0.08749282360076904, 0.0367867536842823, 0.01063833199441433, 0.08380510658025742, -0.016603751108050346, -0.005477339960634708, -0.035521361976861954, -0.027892855927348137, 0.03575636446475983, 0.022758979350328445, 0.04052869975566864, 0.03105633705854416, 0.004489881917834282, 0.03774483874440193, 0.0694519430398941, -0.0649326890707016, 0.011786223389208317, 0.02697092667222023, -0.022975904867053032, -0.019975116476416588, 0.018239721655845642, 0.04023946821689606, -0.006584557704627514, 0.024783607572317123, 0.023228982463479042, -0.03161672502756119, -0.018474724143743515, -0.04121562838554382 ]
54,264
nbconvert.exporters.base
ExporterNameError
An exporter name error.
class ExporterNameError(NameError): """An exporter name error."""
null
[ 0.0009812630014494061, -0.013162439689040184, -0.04196253791451454, 0.009239621460437775, 0.0011884620180353522, -0.03713720291852951, 0.010177881456911564, 0.052899960428476334, -0.00850688572973013, -0.016191678121685982, 0.029791971668601036, 0.006581219844520092, 0.05629556626081467, 0.015012151561677456, -0.010892745107412338, 0.014556425623595715, 0.038638416677713394, 0.09464804083108902, 0.00042305447277612984, 0.0028549893759191036, -0.06473096460103989, -0.029005620628595352, 0.029595384374260902, -0.03256206959486008, -0.021946335211396217, 0.10587140917778015, 0.04732402041554451, -0.007943930104374886, 0.007041413802653551, -0.04264165833592415, -0.08049372583627701, -0.07059285789728165, 0.0069967349991202354, 0.0573321208357811, 0.017969902604818344, 0.013421578332781792, -0.022089308127760887, 0.04575131833553314, -0.08578372001647949, -0.02141018770635128, 0.005254252813756466, 0.049897532910108566, 0.0038178223185241222, -0.020302146673202515, 0.03451007604598999, -0.004722572397440672, -0.0504336804151535, 0.008024352602660656, -0.05608110874891281, 0.01746056228876114, -0.030506836250424385, 0.00881517119705677, 0.039103079587221146, 0.02489515021443367, 0.025967447087168694, 0.066339410841465, 0.08035074919462204, 0.06823380291461945, -0.042748887091875076, 0.012322474271059036, -0.026289137080311775, 0.0421769954264164, 0.048110369592905045, -0.03057832270860672, 0.005803804844617844, 0.013421578332781792, 0.02491302229464054, -0.02811204083263874, -0.051041316241025925, 0.05740360543131828, 0.037351660430431366, -0.013680716045200825, -0.06247914582490921, 0.0171746164560318, 0.09014439582824707, -0.02489515021443367, -0.0767764300107956, -0.021767619997262955, 0.014672590419650078, -0.014181121252477169, 0.05751083791255951, -0.0297204852104187, -0.0710575133562088, -0.010865937918424606, 0.04135490208864212, -0.028862647712230682, -0.013627101667225361, -0.06051326543092728, -0.021034883335232735, 0.05661725625395775, -0.026181906461715698, -0.040854498744010925, -0.028773289173841476, 0.005714446771889925, -0.04264165833592415, -0.041712336242198944, -0.0026941450778394938, -0.04500070959329605, -0.020320018753409386, -0.019712384790182114, 0.029184337705373764, -0.015119381248950958, -0.010454891249537468, 0.00975789874792099, -0.008171793073415756, -0.026307007297873497, -0.014109634794294834, -0.03374159708619118, 0.00647399015724659, -0.028916262090206146, -0.004606407135725021, 0.020194917917251587, -0.036475952714681625, -0.01660272479057312, 0.01025830302387476, -0.05225658416748047, 0.010347661562263966, -0.024501975625753403, -0.021338701248168945, -0.005634024739265442, 0.029327310621738434, 0.04181956499814987, -0.073416568338871, 0.02548491396009922, 0.0556521899998188, -0.025145353749394417, -0.00369272124953568, 0.01851498708128929, 0.07009244710206985, -0.0024417084641754627, 0.024644948542118073, 0.013082017190754414, -0.06601772457361221, -0.059512458741664886, 0.006661642342805862, 0.03710145875811577, 0.013984533958137035, 0.04503645375370979, -0.0340990275144577, 0.020177045837044716, -0.008953675627708435, 0.021803362295031548, -0.023983698338270187, 0.010571056976914406, 0.013224990107119083, 0.008104774169623852, -0.04385692626237869, 0.016978029161691666, -0.03390244022011757, 0.007881379686295986, -0.005656364373862743, -0.0033777339849621058, -0.0292558241635561, -0.02198207937180996, 0.006773339584469795, -0.006831422448158264, 0.005231913644820452, -0.009355787187814713, -0.03640446811914444, -0.023519037291407585, 0.02505599521100521, -0.06626792252063751, 0.007742874324321747, -0.0029733888804912567, 0.0012632993748411536, 0.004052387084811926, 0.0007344114128500223, -0.03520707041025162, -0.02957751229405403, 0.021571030840277672, -0.004360672552138567, 0.019337080419063568, -0.04532239958643913, 0.009588117711246014, -0.03731591999530792, 0.015396391041576862, 0.038817133754491806, 0.09464804083108902, 0.00048504662117920816, -0.009293236769735813, 0.033545009791851044, -0.00618357677012682, -0.03013153187930584, 0.00684482604265213, 0.035010483115911484, 0.004896820988506079, -0.02287565916776657, 0.04757422208786011, 0.019015392288565636, -0.018237976357340813, 0.02607467770576477, 0.012331410311162472, 0.02796906791627407, 0.014967472292482853, -0.0002670967660378665, -0.06401610374450684, -0.0509340837597847, -0.008631986565887928, 0.0608706995844841, 0.026164034381508827, -0.03913882374763489, 0.08606966584920883, -0.029791971668601036, 0.025681501254439354, 0.011241242289543152, 0.059762660413980484, 0.03974645957350731, -0.07245150208473206, -0.06162130832672119, 0.002933177864179015, 0.021517416462302208, -0.021017011255025864, 0.010821258649230003, 0.06805508583784103, -0.0005919970571994781, 0.013421578332781792, 0.04017537459731102, -0.009293236769735813, 0.022679071873426437, 0.021374443545937538, 0.014520682394504547, 0.03963922709226608, 0.10973167419433594, -0.002350116614252329, 0.020051945000886917, -0.06033455207943916, 0.03710145875811577, -0.0326693020761013, 0.015539363957941532, -0.04818185791373253, 0.02124934270977974, -0.0260568056255579, -0.039103079587221146, 0.024823663756251335, -0.025288326665759087, -0.018443500623106956, -0.026843156665563583, -0.029184337705373764, -0.013385835103690624, -0.03172210603952408, -0.023090118542313576, -0.0060852826572954655, -0.05361482501029968, 0.043320778757333755, 0.06705427914857864, -0.051899150013923645, -0.0028393517713993788, 0.030542578548192978, -0.04249868541955948, 0.011089333333075047, 0.04539388790726662, -0.02008768729865551, -0.03988942876458168, -0.01383262500166893, 0.01572701521217823, -0.04946861416101456, -0.0881427749991417, -0.05325739458203316, 0.045965775847435, -0.0177643783390522, -0.04514368250966072, 0.007595433853566647, -0.00836391281336546, 0.008386252447962761, 0.00815838947892189, -0.03125744313001633, 0.017853736877441406, -0.013287541456520557, 0.005879759322851896, 0.009945550002157688, 0.12331409752368927, 0.06576751917600632, -0.019158365204930305, 0.008556032553315163, -0.01687079854309559, -0.021606775000691414, -0.01705845072865486, 0.030810654163360596, 0.005535730626434088, 0.03992517292499542, 0.0843539908528328, -0.04146213084459305, -0.016772504895925522, 0.06723298877477646, -0.01019575260579586, -0.00618804432451725, -0.009588117711246014, -0.03638659417629242, -0.015977218747138977, 0.024430489167571068, 0.013600294478237629, 0.010812323540449142, -0.022393126040697098, -0.02098126895725727, -0.025091739371418953, 0.022518226876854897, -0.02460920438170433, -0.04206976667046547, 0.02954176999628544, 0.0007427887176163495, 0.03595767542719841, 0.02126721478998661, -0.01921197958290577, 0.0034603902604430914, -0.08035074919462204, -0.02080255188047886, 0.020445119589567184, -0.002065287670120597, -0.026378493756055832, 0.003844629740342498, 0.005978052970021963, 0.020588092505931854, -0.01777331531047821, 0.026896771043539047, 0.05600962042808533, 0.02360839582979679, 0.039817944169044495, -0.017255038022994995, -0.011625481769442558, 0.05100557208061218, -0.058761849999427795, 0.03622575104236603, 0.002259641420096159, -0.07870656251907349, -0.0005774763412773609, 0.031543388962745667, -0.012939044274389744, 0.034724537283182144, -0.0010024855146184564, 0.004012176301330328, -0.06734022498130798, -0.04496496915817261, 0.04760996624827385, -0.022178666666150093, -0.030471092090010643, -0.02183910645544529, 0.04124767333269119, -0.028755418956279755, 0.02677167020738125, -0.01602189801633358, 0.017996709793806076, -0.013278605416417122, -0.03170423209667206, 0.04103321209549904, -0.023233091458678246, -0.004349502734839916, -0.018729446455836296, -0.038674160838127136, 0.06258637458086014, -0.00005776857869932428, -0.024859407916665077, 0.10472762584686279, -0.06380164623260498, -0.002283097943291068, 0.0689486637711525, 0.002338946796953678, -0.018425628542900085, -0.03681551292538643, -0.030685551464557648, -0.027003999799489975, 0.03504622355103493, -0.025556400418281555, -0.007881379686295986, -0.022196538746356964, -0.05547347292304039, -0.045501116663217545, 0.030399605631828308, -0.005973585415631533, 0.044786252081394196, -0.02809416875243187, -0.0030783845577389, -0.00014136721438262612, -0.0023880936205387115, -0.023215219378471375, -0.05972691625356674, 0.04006814584136009, 0.058761849999427795, 0.029756229370832443, -0.0509340837597847, -0.024251772090792656, -0.0065588802099227905, 0.005044261459261179, -0.04060429334640503, -0.008006480522453785, 0.0241624154150486, -0.032848015427589417, 0.0019256658852100372, 0.0329195037484169, 0.029881330206990242, 0.030524708330631256, 0.01851498708128929, -0.03781632333993912, -0.005026389844715595, 0.022643327713012695, 0.0060093286447227, -0.030238762497901917, -0.050147734582424164, -0.0120812077075243, -0.04517942667007446, 0.014744076877832413, -0.00055988400708884, -0.007010138593614101, -0.02375136874616146, 0.026449980214238167, -0.005325739271938801, -0.034724537283182144, 0.05243530124425888, -0.0468951016664505, 0.03960348665714264, 0.028630316257476807, 0.06887718290090561, -0.04035409167408943, -0.066339410841465, -0.0667683333158493, -0.017826929688453674, 0.03903159499168396, -0.004273548256605864, -0.048682261258363724, 0.03338416665792465, -0.04414287209510803, -0.03231186792254448, 0.007202258333563805, 0.08413953334093094, 0.06734022498130798, -0.01345732156187296, -0.02114211395382881, -0.07920697331428528, 0.027879709377884865, 0.024859407916665077, -0.023536909371614456, -0.04750273749232292, -0.029595384374260902, -0.026718055829405785, -0.058475904166698456, 0.009543439373373985, -0.03903159499168396, -0.023376064375042915, -0.010017036460340023, -0.032079536467790604, 0.040282607078552246, 0.010946360416710377, -0.012438639998435974, 0.03361649438738823, 0.013618165627121925, 0.018979648128151894, -0.03985368832945824, 0.0003674849576782435, 0.034885380417108536, -0.02023066021502018, -0.02895200625061989, -0.012697777710855007, -0.0003216889454051852, 0.011965041980147362, -0.05443691834807396, 0.015199802815914154, -0.07305913418531418, -0.034885380417108536, -0.02153528854250908, 0.036029163748025894, 0.01019575260579586, -0.02124934270977974, 0.06716150790452957, -0.02957751229405403, -0.00990087166428566, 0.020480863749980927, 0.05629556626081467, 0.029077107086777687, -0.003761973697692156, 0.05618833750486374, 0.01222418062388897, 0.02314373292028904, 0.02955964021384716, 0.018264783546328545, 0.015056829899549484, -0.035904061049222946, 0.016486559063196182, -0.019551539793610573, 0.029077107086777687, 0.019623026251792908, 0.02258971333503723, 0.035457272082567215, -0.03724443167448044, 0.027415048331022263, 0.033705852925777435, 0.010830194689333439, -0.0019122621743008494, -0.009838320314884186, -0.018961776047945023, 0.008631986565887928, 0.010740837082266808, 0.0008723579230718315, -0.012054400518536568, -0.00011805035319412127, -0.017969902604818344, 0.040568552911281586, 0.03513558208942413, 0.036350853741168976, 0.0881427749991417, -0.02080255188047886, -0.023947956040501595, 0.05475860834121704, -0.03497473895549774, 0.008314765989780426, -0.06383738666772842, 0.031829334795475006, -0.07491778582334518, 0.06390887498855591, -0.0159950889647007, 0.02723633125424385, -0.03202592208981514, -0.023554779589176178, 0.051041316241025925, -0.006719724740833044, 0.05936948582530022, 0.02153528854250908, -0.0034693260677158833, -0.0383882150053978, 0.008944740518927574, 0.012796071358025074, 0.06358718127012253, -0.005392757710069418, -0.020016200840473175, 0.03685125708580017, -0.05315016582608223, -0.03188294917345047, -0.008346041664481163, 0.0036703816149383783, 0.033294808119535446, -0.00392728578299284, 0.07942143082618713, -0.016647404059767723, 0.02666443958878517, 0.03256206959486008, -0.0022261322010308504, 0.0105442488566041, 0.0381380133330822, -0.05676022917032242, 0.05618833750486374, 0.0006255062762647867, 0.018389886245131493, 0.024519847705960274, 0.02898774854838848, 0.0314897745847702, -0.05997711792588234, 0.002560107968747616, -0.05164894834160805, -0.012751393020153046, 0.022089308127760887, 0.021159984171390533, -0.027879709377884865, 0.04196253791451454, -0.005491051822900772, -0.026986129581928253, -0.050326451659202576, 0.015664465725421906, 0.04614449292421341, -0.002747759921476245, 0.02941666729748249, 0.054508406668901443, 0.001005277968943119, -0.03978220000863075, 0.027843967080116272, 0.05007624626159668, -0.023090118542313576, 0.013939854688942432, -0.0031856142450124025, -0.02123147062957287, -0.051470231264829636, -0.04560834541916847, -0.02312586084008217, -0.015441070310771465, -0.03717294707894325, 0.04017537459731102, -0.024073056876659393, -0.015307032503187656, 0.030381735414266586, 0.05722489207983017, 0.03508196771144867, 0.008640922605991364, -0.012921173125505447, 0.024198157712817192, 0.01136634312570095, -0.04946861416101456, -0.03361649438738823, -0.05139874666929245, -0.036064907908439636, -0.023536909371614456, -0.030971497297286987, 0.009257493540644646, 0.034724537283182144, -0.02896987833082676, -0.024519847705960274, -0.015396391041576862, -0.07556115835905075, 0.0319901779294014, 0.0210884977132082, 0.017969902604818344, -0.05886907875537872, 0.03476027771830559, -0.030060045421123505, -0.014172186143696308, 0.032687172293663025, 0.014869178645312786, -0.02155316062271595, 0.08564075082540512, 0.02532406896352768, -0.008721345104277134, 0.011625481769442558, -0.011044654063880444, 0.0030471093486994505, -0.014359837397933006, -0.0311502143740654, -0.0177643783390522, -0.013636037707328796, -0.03481389209628105, -0.014904921874403954, 0.06551731377840042, -0.02693251520395279, -0.0008260034373961389, 0.05443691834807396, -0.008118178695440292, 0.030792782083153725, -0.00793499406427145, 0.020123431459069252, -0.0028594573959708214, 0.024251772090792656, 0.014556425623595715, -0.006576751824468374, 0.01644187979400158, -0.0547228641808033, -0.07230852544307709, 0.031829334795475006, 0.031829334795475006, -0.12474382668733597, 0.0123135382309556, 0.003985368646681309, 0.024948766455054283, -0.00947195291519165, 0.03828098624944687, -0.013475192710757256, 0.034599434584379196, 0.01908687874674797, -0.051613204181194305, 0.0395677424967289, -0.06766191124916077, 0.030971497297286987, 0.015959346666932106, -0.059619687497615814, 0.07327359914779663, -0.048253342509269714, 0.008332637138664722, 0.06862697750329971, -0.02884477563202381, -0.007809893228113651, 0.017094193026423454, 0.03656531125307083, -0.05136300250887871, -0.02535981312394142, -0.030649809166789055, -0.01921197958290577, 0.030667681246995926, -0.06837677210569382, 0.03100724145770073, 0.0038044187240302563, 0.031221700832247734, 0.0018251379951834679, 0.007984140887856483, -0.04189104959368706, -0.045930035412311554, -0.008252215571701527, -0.019283466041088104, 0.0032638025004416704, 0.0611209012567997, -0.09200304001569748, -0.02212505228817463, 0.010776580311357975, 0.014726205728948116, -0.0013884005602449179, 0.025234712287783623, -0.0050531974993646145, -0.0357789620757103, 0.007984140887856483, -0.024198157712817192, 0.016200613230466843, 0.008457738906145096, 0.06741170585155487, -0.026021061465144157, 0.008895592764019966, -0.0013828157680109143, -0.04936138167977333, 0.006750999949872494, 0.04321355000138283, 0.0006774456705898046, 0.013332219794392586, -0.02126721478998661, 0.008515821769833565, 0.001439781510271132, -0.011625481769442558, -0.04954009875655174, -0.010142138227820396, 0.01820223405957222, -0.005169362761080265, 0.004170786589384079, 0.027021871879696846, -0.010410211980342865, 0.004416521172970533, -0.017969902604818344, 0.022357381880283356, 0.015450005419552326, -0.052471041679382324, 0.011822069063782692, -0.003098490182310343, 0.006692917551845312, -0.01851498708128929, -0.01676356978714466, -0.09221749752759933, -0.008261150680482388, 0.04067578166723251, 0.003225825261324644, 0.0139755979180336, 0.025967447087168694, 0.002682975260540843, 0.0003085644857492298, 0.02196420729160309, -0.027986939996480942, -0.020588092505931854, -0.06247914582490921, -0.05486583709716797, 0.0395677424967289, 0.05754657834768295, 0.035171326249837875, 0.04818185791373253, -0.06977076083421707, 0.12567314505577087, 0.04982604458928108, -0.029094979166984558, 0.02666443958878517, 0.05064813792705536, 0.03978220000863075, 0.054222460836172104, 0.031203828752040863, -0.002200441900640726, -0.01937282457947731, -0.05493732541799545, -0.0016006259247660637, 0.049504354596138, 0.0210884977132082, 0.06419482082128525, -0.03888862207531929, 0.016236357390880585, 0.02534194104373455, -0.007617773022502661, -0.04657341167330742, 0.06619644165039062, -0.03860267624258995, -0.0748462975025177, 0.04500070959329605, 0.02375136874616146, -0.012813943438231945, -0.015181931667029858, -0.010865937918424606, 0.0031208295840770006, 0.0005484349676407874, -0.02854095958173275, 0.023197347298264503, 0.009918742813169956, -0.0072871483862400055, -0.010722965002059937 ]
54,265
nbconvert.exporters.exporter
FilenameExtension
A trait for filename extensions.
class FilenameExtension(Unicode): # type:ignore[type-arg] """A trait for filename extensions.""" default_value = "" info_text = "a filename extension, beginning with a dot" def validate(self, obj, value): """Validate the file name.""" # cast to proper unicode value = super().validate(obj, value) # check that it starts with a dot if value and not value.startswith("."): msg = "FileExtension trait '{}' does not begin with a dot: {!r}" raise TraitError(msg.format(self.name, value)) return value
(default_value: Any = traitlets.Undefined, allow_none: bool = False, read_only: bool = None, help: 'str | None' = None, config: 't.Any' = None, **kwargs: 't.Any') -> 'None'
[ 0.031480565667152405, -0.014347805641591549, 0.025857778266072273, 0.022843681275844574, 0.0070549254305660725, -0.05344293266534805, 0.025928283110260963, 0.007865735329687595, 0.034917693585157394, -0.03304930776357651, 0.10018786787986755, -0.007235595025122166, 0.03354284167289734, 0.00034013245021924376, -0.019600441679358482, 0.02294943854212761, 0.03579900786280632, 0.04135129228234291, -0.015749096870422363, 0.0449470579624176, -0.021944738924503326, 0.01810220628976822, 0.023196207359433174, -0.023636864498257637, -0.0031815466936677694, 0.07995288074016571, 0.011880123987793922, -0.009315498173236847, 0.03245001286268234, -0.06793174892663956, -0.06077546998858452, -0.015978237614035606, 0.05404222756624222, 0.03631016984581947, -0.024095147848129272, -0.03017622046172619, -0.017388341948390007, 0.04547584429383278, -0.09391290694475174, 0.003809483489021659, -0.029365411028265953, 0.0627143606543541, -0.014224421232938766, -0.012259089387953281, -0.022138629108667374, 0.01599586382508278, -0.06779073923826218, 0.08876603096723557, -0.06007042154669762, 0.035569868981838226, 0.01636601611971855, -0.028942380100488663, -0.008852807804942131, -0.04078724980354309, -0.054923541843891144, 0.0640539601445198, 0.04572261497378349, 0.05749697983264923, -0.026421818882226944, 0.04984716698527336, -0.022931812331080437, -0.03419501706957817, 0.07473549991846085, -0.07417145371437073, -0.0067068058997392654, -0.009782594628632069, 0.029453542083501816, -0.039482906460762024, -0.011598103679716587, 0.00870298407971859, 0.017502913251519203, -0.021451203152537346, 0.015608086250722408, 0.04219735413789749, 0.06468851119279861, -0.00032140451367013156, -0.0609164834022522, 0.04205634444952011, 0.04205634444952011, 0.0035605118609964848, 0.028801368549466133, -0.027779044583439827, -0.03586951270699501, -0.007226781919598579, 0.0339834988117218, -0.031762588769197464, -0.018066953867673874, -0.0623265840113163, 0.015308438800275326, 0.08079894632101059, -0.08975310623645782, -0.007354572415351868, 0.002264979062601924, 0.011166258715093136, -0.037720274180173874, -0.027831923216581345, 0.05351343750953674, -0.004582837224006653, -0.023354843258857727, -0.008636885322630405, 0.002134985290467739, 0.0386015884578228, 0.028131570667028427, 0.050305452197790146, -0.00482519855722785, -0.03438890352845192, -0.012585176154971123, -0.006129544693976641, -0.03631016984581947, -0.031903598457574844, -0.040963515639305115, -0.02344297431409359, 0.0029744375497102737, -0.0007992424070835114, 0.05280838534235954, -0.08086945116519928, -0.03363097459077835, -0.03047586791217327, 0.010690349154174328, 0.028202075511217117, 0.021504081785678864, 0.06458275020122528, -0.06669791042804718, 0.015132175758481026, 0.007918613962829113, -0.01774968020617962, 0.01481490209698677, 0.008720610290765762, 0.0233724694699049, 0.007843702100217342, 0.002987657207995653, 0.026633335277438164, -0.01732664927840233, -0.010487646795809269, 0.0251350998878479, 0.012082826346158981, 0.05453576147556305, 0.016022304072976112, -0.039341893047094345, 0.05636889860033989, -0.0023663302417844534, 0.05041120946407318, 0.020763777196407318, -0.016727356240153313, 0.010011736303567886, 0.015757909044623375, 0.01831372268497944, -0.0076718456111848354, -0.027250254526734352, -0.00835486501455307, -0.013554622419178486, 0.010646283626556396, -0.03560512140393257, -0.006429191678762436, 0.02661570906639099, -0.041104525327682495, -0.0140745984390378, -0.048895347863435745, 0.002001686254516244, -0.015396570786833763, 0.021363072097301483, -0.014136290177702904, -0.05273788049817085, 0.007217968348413706, 0.023143328726291656, 0.02219150774180889, 0.022790802642703056, -0.03116329200565815, -0.0034261115361005068, 0.05072848126292229, 0.020129231736063957, 0.005768205504864454, 0.040540482848882675, 0.07811974734067917, 0.038425326347351074, 0.0180493276566267, 0.024042269214987755, 0.027690911665558815, 0.00386897218413651, 0.016762608662247658, 0.07159801572561264, 0.004032015334814787, -0.02569914050400257, 0.04540533944964409, 0.05235010012984276, 0.03743825480341911, 0.004543178249150515, 0.057673241943120956, 0.04688594862818718, -0.02092241495847702, 0.01494709961116314, -0.008711797185242176, -0.027884801849722862, 0.009456507861614227, -0.017987636849284172, -0.011183884926140308, 0.00596650131046772, -0.02737363986670971, -0.03396587446331978, -0.04843706265091896, -0.056122127920389175, 0.02527610957622528, 0.003232222283259034, -0.046145644038915634, -0.03944765403866768, -0.011104566976428032, 0.07311388105154037, -0.005464151967316866, -0.05968264117836952, -0.04262038692831993, 0.0008543245494365692, -0.04455927759408951, -0.0375087596476078, 0.05658041313290596, 0.016965311020612717, -0.0669446736574173, 0.005746172741055489, 0.024747321382164955, 0.008473842404782772, 0.06983538717031479, 0.10159797221422195, 0.08249107003211975, 0.03705047443509102, 0.005873963236808777, 0.049882419407367706, -0.0060678524896502495, 0.05608687549829483, 0.006341060157865286, 0.004162009339779615, 0.027920054271817207, 0.007235595025122166, -0.017079882323741913, -0.0008069539326243103, 0.03761451691389084, -0.021257314831018448, 0.06507629156112671, 0.021257314831018448, 0.0031220577657222748, 0.013492930680513382, 0.019547563046216965, -0.006905101705342531, 0.007165089715272188, -0.023636864498257637, 0.024341916665434837, -0.005644821561872959, -0.062291331589221954, -0.006147170905023813, 0.0523853525519371, -0.02920677326619625, 0.0006664943648502231, 0.05199757590889931, 0.009729715995490551, -0.03645118325948715, -0.001671193283982575, -0.02379550039768219, 0.019547563046216965, -0.07198579609394073, -0.06472375988960266, 0.06282012164592743, 0.008866026997566223, -0.0669446736574173, -0.0007601340766996145, 0.019988220185041428, 0.038777854293584824, -0.014929473400115967, -0.06028193607926369, -0.016436520963907242, 0.03320794180035591, -0.006653927266597748, 0.0350763313472271, 0.024200905114412308, 0.03234425559639931, -0.02504696696996689, -0.00031176512129604816, 0.010699162259697914, -0.019283168017864227, 0.006477664224803448, -0.002795971231535077, 0.054994046688079834, 0.009262618608772755, -0.00018617775640450418, -0.03634542599320412, -0.0038711754605174065, -0.007632186636328697, 0.03697996959090233, -0.014453563839197159, -0.045511096715927124, -0.03179784119129181, -0.048824843019247055, 0.01091067772358656, -0.0037918570451438427, -0.006570202298462391, -0.008522314950823784, 0.008306392468512058, -0.037720274180173874, -0.022226760163903236, -0.011844871565699577, -0.04149230197072029, 0.08376016467809677, -0.057602737098932266, -0.0313219279050827, 0.03031723015010357, -0.0072091552428901196, -0.020605141296982765, -0.08700340241193771, -0.02617505006492138, -0.03401875123381615, -0.02996470406651497, -0.02014685794711113, 0.03250288963317871, 0.03846057876944542, -0.0027078399434685707, -0.05954163148999214, 0.03965916857123375, 0.05915385112166405, 0.13713258504867554, 0.024694442749023438, -0.008050811477005482, 0.0033732326701283455, 0.032538145780563354, -0.01748528704047203, 0.049177367240190506, -0.02219150774180889, -0.0488600954413414, -0.010655096732079983, -0.021874234080314636, 0.025928283110260963, 0.018278470262885094, -0.02344297431409359, -0.0018397447420284152, -0.0014971336349844933, 0.004529958125203848, 0.005058747250586748, -0.03038773499429226, -0.05679192766547203, 0.010399514809250832, 0.04618089646100998, 0.0055038114078342915, 0.05143353343009949, 0.04064624011516571, 0.008262326940894127, -0.032890670001506805, -0.023531107231974602, -0.013536996208131313, -0.03419501706957817, -0.03245001286268234, -0.022984690964221954, 0.00210744421929121, 0.07043468207120895, 0.02183898165822029, 0.0032961175311356783, -0.00018714170437306166, -0.006310214288532734, -0.09038764983415604, -0.019406553357839584, -0.10117494314908981, -0.006138357799500227, -0.03571087867021561, -0.002273792400956154, -0.012153332121670246, 0.021045798435807228, -0.03250288963317871, -0.0253289882093668, -0.013660379685461521, 0.009386003017425537, -0.03306693211197853, 0.041739072650671005, -0.0075528682209551334, 0.02506459504365921, -0.019212663173675537, -0.005684480536729097, 0.04385422542691231, -0.016762608662247658, -0.08411268889904022, 0.013924774713814259, -0.018278470262885094, 0.04269089177250862, 0.027479397132992744, -0.09884827584028244, 0.0028180042281746864, 0.05495879426598549, 0.01073441468179226, -0.05326667055487633, 0.037861283868551254, -0.03775552660226822, -0.006927134469151497, 0.01873675361275673, 0.0006626385729759932, -0.014665079303085804, 0.03319031745195389, 0.03193885087966919, 0.006944761145859957, 0.010311383754014969, 0.023337217047810555, -0.031004656106233597, -0.02316095493733883, -0.06733245402574539, -0.02280842885375023, -0.02786717563867569, 0.048190295696258545, 0.03354284167289734, 0.0007166191353462636, -0.019001148641109467, 0.06909508258104324, 0.040328968316316605, 0.08206804096698761, 0.04639241471886635, -0.03431839868426323, -0.027479397132992744, 0.0325733982026577, 0.009764968417584896, -0.0006868747295811772, -0.040328968316316605, -0.07593408972024918, 0.03796704486012459, 0.007425077725201845, -0.01312277838587761, -0.08333712816238403, -0.011571664363145828, -0.0053319549188017845, -0.03634542599320412, -0.01502641849219799, -0.010716788470745087, 0.07029367238283157, 0.02169797196984291, 0.038354821503162384, 0.032749660313129425, -0.05538182333111763, 0.03690946474671364, 0.017370715737342834, -0.07537004351615906, 0.010337823070585728, -0.058660317212343216, -0.056897684931755066, 0.03666269779205322, -0.10180949419736862, -0.04515857249498367, -0.05111626163125038, -0.07452398538589478, 0.01587248034775257, -0.03652168810367584, 0.039412401616573334, 0.04099876806139946, 0.06870730221271515, 0.03572850301861763, -0.005838710814714432, -0.026298435404896736, 0.035904765129089355, -0.01628669910132885, -0.01937130093574524, -0.007367792073637247, 0.07452398538589478, 0.031974103301763535, -0.0200058463960886, 0.047449991106987, -0.031551070511341095, -0.04395998269319534, -0.030229099094867706, 0.007486769463866949, -0.039694420993328094, -0.06743821501731873, 0.10752040892839432, 0.026157423853874207, -0.04360745847225189, -0.00015808585158083588, -0.01564333774149418, 0.047062214463949203, 0.013730885460972786, 0.019336048513650894, 0.03405400738120079, 0.007425077725201845, -0.012347221374511719, 0.028695611283183098, -0.017520539462566376, -0.003961510024964809, 0.056686170399188995, -0.00386236235499382, 0.05390121415257454, 0.002397176343947649, -0.05502929911017418, 0.04276139661669731, -0.009738529101014137, -0.05340768024325371, 0.024729695171117783, 0.047696758061647415, -0.01351936999708414, -0.014012905769050121, 0.025170352309942245, -0.02913626842200756, 0.015061670914292336, 0.011104566976428032, 0.055593341588974, -0.05837829411029816, 0.03066975623369217, 0.04737948626279831, 0.04445352032780647, 0.009465320967137814, 0.064829520881176, -0.031145665794610977, -0.0027078399434685707, 0.01635720394551754, -0.038566336035728455, 0.029929451644420624, -0.03831956908106804, 0.007112210616469383, -0.01459457352757454, 0.015105736441910267, -0.017732053995132446, 0.020763777196407318, -0.06620436906814575, -0.049177367240190506, 0.006482070777565241, 0.040963515639305115, 0.012497044168412685, 0.061445269733667374, -0.006944761145859957, 0.0009898267453536391, 0.034283146262168884, 0.031039908528327942, 0.01824321784079075, -0.04836655780673027, -0.0697648823261261, -0.015114549547433853, -0.02948879450559616, 0.025663888081908226, -0.007839295081794262, -0.047626253217458725, -0.010091055184602737, 0.027920054271817207, 0.049670904874801636, 0.0079274270683527, 0.027990559116005898, 0.03775552660226822, -0.010972369462251663, -0.022297265008091927, 0.01747647300362587, -0.05961213633418083, 0.024835452437400818, 0.0007612357148900628, 0.04829605296254158, -0.011518784798681736, 0.05217383801937103, 0.01270855963230133, -0.04332543909549713, 0.02189186029136181, -0.024377169087529182, -0.018913015723228455, -0.012690933421254158, 0.040822502225637436, 0.0138983353972435, -0.02878374233841896, -0.006274961866438389, -0.046498171985149384, -0.002304638270288706, -0.0015588256064802408, -0.0021636278834193945, 0.029665058478713036, -0.010496459901332855, -0.016789047047495842, 0.00737219862639904, -0.056968189775943756, 0.0022715891245752573, 0.029682684689760208, -0.013351920060813427, -0.05862506479024887, 0.027003487572073936, 0.003031722968444228, 0.009632770903408527, -0.002210998674854636, 0.05192707106471062, -0.01776730641722679, 0.042796649038791656, 0.019635694101452827, -0.0011258797021582723, -0.027215002104640007, 0.05425374209880829, 0.04515857249498367, 0.06588710099458694, -0.019124532118439674, 0.0051248460076749325, -0.015326065011322498, -0.010831359773874283, 0.0017383935628458858, -0.014717957936227322, -0.011536411009728909, -0.047449991106987, 0.004715034272521734, 0.022755548357963562, -0.035834260284900665, -0.0034084850922226906, -0.04452402517199516, 0.004488095641136169, 0.03095177747309208, -0.012576363049447536, 0.009280245751142502, -0.028960006311535835, -0.016048742458224297, -0.025117473676800728, 0.03994118794798851, -0.026915354654192924, 0.025187978520989418, 0.001767036272212863, -0.029118642210960388, 0.03283778950572014, 0.03697996959090233, 0.008729423396289349, -0.014101037755608559, 0.04646291956305504, -0.012435352429747581, -0.017652736976742744, -0.01634838990867138, 0.019882462918758392, -0.014938286505639553, -0.042585134506225586, -0.0009352953638881445, -0.010575777851045132, 0.004245734307914972, -0.0640539601445198, 0.0035847481340169907, -0.018930641934275627, -0.061374764889478683, 0.04438301548361778, -0.010417141020298004, 0.010381888598203659, 0.0006923829787410796, -0.037720274180173874, -0.023813126608729362, 0.054218489676713943, -0.02042887732386589, -0.1062513142824173, -0.01565215177834034, -0.017573418095707893, -0.008680950850248337, -0.028184449300169945, -0.017784934490919113, -0.03095177747309208, -0.02695060707628727, -0.023125700652599335, 0.024324290454387665, 0.005728546530008316, 0.02633368782699108, -0.06877780705690384, -0.009615144692361355, 0.04092826321721077, -0.06419496983289719, 0.07205630093812943, -0.06225607916712761, -0.06377194076776505, 0.04660392925143242, -0.045440591871738434, 0.03306693211197853, 0.056686170399188995, -0.0062661487609148026, -0.03329607471823692, 0.03378961235284805, 0.024535804986953735, 0.007063738536089659, -0.015898920595645905, 0.04385422542691231, -0.010655096732079983, -0.02793768048286438, -0.02934778481721878, 0.008244700729846954, -0.03606340289115906, 0.03683895990252495, -0.03458279371261597, 0.025117473676800728, -0.09920080006122589, -0.024447673931717873, -0.01580197550356388, -0.04487655311822891, 0.047767262905836105, -0.03796704486012459, -0.05397172272205353, 0.007975899614393711, 0.024306664243340492, -0.010399514809250832, -0.005609569139778614, 0.05411273241043091, 0.024905957281589508, 0.014004092663526535, -0.016603970900177956, -0.019177410751581192, 0.003254255047068, -0.03061687760055065, -0.006028193514794111, 0.0263865664601326, 0.023002317175269127, 0.02619267627596855, -0.0331198126077652, -0.008619259111583233, 0.05019969493150711, -0.04448877274990082, 0.01817271299660206, 0.02078140340745449, -0.04339594393968582, 0.04850756749510765, 0.03606340289115906, -0.049106862396001816, -0.003016300033777952, -0.006878662388771772, -0.007275253999978304, -0.00605463283136487, -0.007288473658263683, -0.01648940145969391, -0.014330179430544376, -0.05474727973341942, -0.006548169068992138, 0.05294939503073692, -0.0013660379918292165, 0.02906576357781887, 0.041739072650671005, -0.016824299469590187, -0.043219681829214096, -0.017952382564544678, -0.028519349172711372, 0.017291396856307983, 0.037579264491796494, 0.05517030879855156, 0.013889522291719913, 0.029594551771879196, -0.007693878374993801, 0.019388927146792412, 0.022861307486891747, -0.03824906423687935, -0.011078127659857273, -0.06148052215576172, 0.0008223769254982471, -0.026298435404896736, 0.04653342440724373, 0.027708537876605988, 0.04219735413789749, -0.06994114816188812, 0.05220909044146538, -0.016251444816589355, -0.04191533476114273, -0.03736774995923042, -0.029312532395124435, 0.012400100007653236, 0.0256815142929554, -0.006869849283248186, 0.005750579293817282, -0.013475303538143635, -0.010646283626556396, 0.040187958627939224, 0.008993818424642086, 0.03128667548298836, 0.062009312212467194, 0.017520539462566376, 0.019529936835169792, -0.0228260550647974, -0.011606916785240173, -0.05090474709868431, 0.023425348103046417, 0.02575201913714409, -0.007596933748573065, 0.032044608145952225, -0.016595158725976944, -0.021504081785678864, -0.009148048236966133, -0.040399473160505295, 0.027109244838356972, 0.0011809618445113301, 0.007376605179160833, -0.04984716698527336, -0.002220913302153349, -0.027638033032417297, 0.0263865664601326 ]
54,287
nbconvert.exporters.exporter
validate
Validate the file name.
def validate(self, obj, value): """Validate the file name.""" # cast to proper unicode value = super().validate(obj, value) # check that it starts with a dot if value and not value.startswith("."): msg = "FileExtension trait '{}' does not begin with a dot: {!r}" raise TraitError(msg.format(self.name, value)) return value
(self, obj, value)
[ 0.05300474166870117, 0.002782147377729416, 0.010114556178450584, 0.020332233980298042, -0.015786269679665565, -0.060635775327682495, 0.05575466528534889, 0.02727578766644001, 0.0069091785699129105, -0.018321353942155838, 0.08043521642684937, -0.006260368973016739, 0.03406465798616409, -0.012202777899801731, -0.018888525664806366, 0.03581773117184639, 0.028478877618908882, 0.041730064898729324, -0.007519317325204611, 0.05008295178413391, -0.04197068139910698, 0.0033170932438224554, -0.007441976107656956, -0.03200221434235573, 0.010767662897706032, 0.09081616997718811, 0.025264905765652657, -0.022600919008255005, 0.034374020993709564, -0.04777989163994789, -0.03488963469862938, -0.00021886583999730647, 0.06919490545988083, 0.026278940960764885, -0.027705462649464607, -0.027825770899653435, -0.029114797711372375, 0.0060326410457491875, -0.11412175744771957, -0.004773692227900028, -0.01075906865298748, 0.08084770292043686, -0.02174156904220581, 0.018630720674991608, -0.003589936997741461, 0.011970753781497478, -0.072597935795784, 0.12292150408029556, -0.0367458313703537, 0.05520467832684517, -0.008816936984658241, -0.03784579783678055, -0.010784849524497986, -0.03174440935254097, -0.04430811479687691, 0.06256072223186493, 0.04967046156525612, 0.03416777774691582, 0.009547384455800056, 0.05413908511400223, -0.033359989523887634, -0.04121445119380951, 0.08304763585329056, -0.07761654257774353, 0.002242904854938388, -0.010887972079217434, 0.050323568284511566, -0.0460611917078495, -0.05589216202497482, 0.027516404166817665, 0.012572298757731915, -0.02022911235690117, 0.025316467508673668, 0.03425371274352074, 0.05159540846943855, 0.0014114832738414407, -0.05468906834721565, 0.0447206050157547, 0.032655321061611176, -0.01692061312496662, 0.03770830109715462, -0.011291866190731525, -0.03519899770617485, -0.030558506026864052, 0.018269792199134827, -0.0239071324467659, -0.011394988745450974, -0.05259225517511368, 0.017736995592713356, 0.08139768242835999, -0.052935995161533356, -0.023804010823369026, -0.004967046435922384, -0.0030915136449038982, -0.04905173182487488, -0.015451123006641865, 0.05874520540237427, -0.019902558997273445, -0.014866764657199383, -0.012005127035081387, 0.011627012863755226, 0.029149170964956284, 0.0018057103734463453, 0.0579889751970768, 0.01761668734252453, -0.017032328993082047, -0.00020731832773890346, -0.02156969904899597, -0.02076190896332264, -0.009676286950707436, -0.0263476874679327, -0.04276128485798836, 0.0007465608068741858, 0.04148944467306137, 0.0699511393904686, -0.09899718314409256, -0.034683387726545334, -0.025797704234719276, -0.012632452882826328, 0.01233168039470911, 0.02828982099890709, 0.04991108179092407, -0.04905173182487488, -0.0009426001342944801, 0.024903979152441025, 0.009951279498636723, 0.013165250420570374, -0.007115422748029232, 0.054482825100421906, 0.015691740438342094, 0.005392424762248993, 0.006586921866983175, -0.031331922858953476, -0.03523337468504906, 0.014557398855686188, 0.01325977873057127, 0.057404618710279465, 0.010681727901101112, -0.016791710630059242, 0.018441662192344666, 0.017960427328944206, 0.044273741543293, 0.02095096744596958, -0.053245361894369125, 0.014351154677569866, 0.03506150469183922, 0.019094768911600113, 0.026639867573976517, -0.037433311343193054, -0.0040754699148237705, -0.030661627650260925, 0.011721542105078697, -0.027344534173607826, -0.02028067409992218, 0.008709518238902092, -0.03478651121258736, -0.017453409731388092, -0.05874520540237427, -0.010260645300149918, -0.008808343671262264, 0.014101943001151085, -0.005465469788759947, -0.04592369496822357, 0.003128036158159375, 0.02688048593699932, 0.034597452729940414, 0.02089940570294857, -0.0172643531113863, -0.015794863924384117, 0.045270588248968124, 0.013551958836615086, -0.00814664363861084, 0.009392702020704746, 0.0783727690577507, 0.03176159784197807, 0.020074428990483284, 0.03360060602426529, 0.021483764052391052, 0.0005019144155085087, 0.03932388126850128, 0.03746768459677696, 0.03351467102766037, 0.0019260194385424256, 0.05503280833363533, 0.03478651121258736, 0.04166131466627121, 0.014299592934548855, 0.05073605850338936, 0.053382858633995056, -0.01916351728141308, 0.011145777069032192, 0.009994246996939182, -0.014926919713616371, 0.010406735353171825, -0.017066702246665955, -0.016611246392130852, 0.021002527326345444, -0.012082468718290329, -0.0163792222738266, -0.03873952478170395, -0.004163553472608328, 0.0007938250782899559, -0.011257492005825043, -0.02107127569615841, -0.048192378133535385, 0.005976783111691475, 0.07087923586368561, 0.011661387048661709, -0.042073804885149, -0.022910285741090775, -0.027396095916628838, -0.0637294352054596, -0.042967528104782104, 0.04991108179092407, 0.019936932250857353, -0.06008579209446907, 0.010398142039775848, 0.009315360337495804, 0.0015865759924054146, 0.08077895641326904, 0.09280986338853836, 0.10257208347320557, 0.025041475892066956, -0.035095877945423126, 0.042658161371946335, -0.002419071737676859, 0.04138632491230965, -0.023924319073557854, -0.017857303842902184, 0.016851864755153656, 0.008309920318424702, -0.01820104569196701, -0.002926088636741042, 0.04362063482403755, -0.019335387274622917, 0.10559699684381485, 0.026330500841140747, 0.003426660317927599, -0.011712947860360146, 0.009289579465985298, 0.008498976938426495, -0.026227379217743874, -0.015554245561361313, 0.021243145689368248, -0.0007803977350704372, -0.03966762125492096, 0.009152083657681942, 0.032741256058216095, -0.036195844411849976, 0.008834123611450195, 0.05197352170944214, 0.04719553142786026, -0.04076759144663811, -0.009702067822217941, -0.04468622803688049, -0.0010736511321738362, -0.06180449202656746, -0.060773272067308426, 0.08002272248268127, 0.002483523217961192, -0.06204511225223541, -0.004700647667050362, 0.029028862714767456, 0.04973921179771423, -0.03519899770617485, -0.03657396137714386, 0.004081915132701397, 0.04568307474255562, 0.005078761838376522, 0.034683387726545334, -0.04922360181808472, 0.01912914402782917, -0.019936932250857353, -0.005151806399226189, 0.008468899875879288, -0.03702082112431526, 0.0133972754701972, 0.014651927165687084, 0.05039231851696968, 0.0013062128564342856, 0.003989534918218851, -0.038808271288871765, 0.012434802949428558, 0.013973040506243706, 0.01682608388364315, -0.037398938089609146, -0.0221368707716465, -0.0672699585556984, -0.0637638121843338, 0.007368931081146002, -0.0210369024425745, -0.03653958439826965, -0.03293031454086304, 0.0011257492005825043, -0.046473678201436996, -0.013044941239058971, 0.0025114519521594048, -0.06781994551420212, 0.03980511799454689, -0.04104258120059967, -0.029114797711372375, 0.04413624480366707, -0.031641289591789246, -0.02303059585392475, -0.06276696175336838, -0.006582625210285187, -0.009839563630521297, -0.025333654135465622, -0.015872204676270485, 0.021982187405228615, 0.035405244678258896, 0.01157545205205679, -0.046026814728975296, 0.0340818427503109, 0.08861622959375381, 0.12127155065536499, 0.03146941587328911, -0.018544785678386688, -0.009513010270893574, 0.04547683149576187, -0.010707507841289043, 0.047573648393154144, -0.0358521044254303, -0.0336349792778492, 0.0019399839220568538, -0.019679127261042595, 0.028358569368720055, -0.002517897170037031, -0.040939461439847946, -0.00009379005496157333, -0.0011074880603700876, -0.010879377834498882, 0.03036944940686226, -0.03647083789110184, -0.004752208478748798, 0.0151675371453166, 0.029372602701187134, 0.00958175864070654, 0.044789351522922516, 0.04812363162636757, 0.027653900906443596, -0.008722408674657345, 0.0032247130293399096, -0.02129470743238926, -0.04001136124134064, -0.03461464121937752, -0.0263476874679327, 0.002270833821967244, 0.0557890385389328, 0.03653958439826965, -0.0411800779402256, 0.011704354546964169, 0.00005656272332998924, -0.0690574124455452, -0.041730064898729324, -0.07081048935651779, -0.014265219680964947, 0.0029067532159388065, -0.02089940570294857, -0.0006665337714366615, 0.024371182546019554, -0.035181812942028046, -0.02258373238146305, -0.004356907214969397, 0.016765929758548737, -0.022772789001464844, -0.0007170206517912447, -0.014540211297571659, 0.04750489816069603, -0.024371182546019554, -0.0065353610552847385, 0.05455157533288002, -0.02289309911429882, -0.09803470969200134, 0.03932388126850128, -0.001544682658277452, 0.040939461439847946, 0.012340273708105087, -0.050667308270931244, 0.02095096744596958, 0.06977926939725876, 0.03568023443222046, -0.03884264454245567, 0.03002570942044258, -0.029561659321188927, -0.011034061200916767, 0.001803562045097351, -0.016233131289482117, -0.016972173005342484, -0.004290307871997356, 0.02983665093779564, 0.02284153737127781, 0.02045254409313202, 0.028839804232120514, -0.009908312000334263, -0.0314522311091423, -0.047436151653528214, -0.028547625988721848, -0.008885684423148632, 0.0144972437992692, 0.02896011434495449, 0.003673723665997386, -0.043276894837617874, 0.07555410265922546, 0.030163204297423363, 0.05613277852535248, 0.03870514780282974, -0.006737308576703072, -0.028530439361929893, 0.054345328360795975, 0.009177863597869873, -0.0004729113425128162, -0.022686854004859924, -0.07081048935651779, 0.023168090730905533, 0.0358521044254303, -0.04100820794701576, -0.06173574551939964, -0.010724695399403572, -0.01241761539131403, -0.05410471186041832, 0.0020302156917750835, -0.0025802000891417265, 0.044376861304044724, 0.0040045734494924545, 0.013792576268315315, 0.0327584445476532, -0.04747052490711212, 0.04747052490711212, 0.009470042772591114, -0.05991392210125923, 0.031331922858953476, -0.04997982829809189, -0.04901735484600067, 0.02997414767742157, -0.09879094362258911, -0.06682310253381729, -0.05376097187399864, -0.0672699585556984, 0.025883639231324196, -0.025969574227929115, 0.018888525664806366, 0.047436151653528214, 0.08861622959375381, 0.023408709093928337, 0.009444262832403183, -0.025075849145650864, 0.028891365975141525, -0.04396437481045723, -0.024646174162626266, -0.016018293797969818, 0.033136557787656784, 0.022704042494297028, -0.024989914149045944, 0.025522712618112564, -0.010329393669962883, -0.032122522592544556, -0.028942927718162537, 0.010045807808637619, -0.047883015125989914, -0.07844152301549911, 0.10965313017368317, 0.013208217918872833, -0.059707678854465485, -0.013594926334917545, 0.014840983785688877, 0.01650812476873398, 0.0380864180624485, 0.0637638121843338, 0.03301624953746796, -0.004034650977700949, -0.03801766782999039, 0.03086787275969982, -0.008043521083891392, -0.002324543194845319, 0.0642106756567955, 0.001544682658277452, 0.059226442128419876, 0.0032118228264153004, -0.03270688280463219, 0.04901735484600067, -0.023408709093928337, -0.047883015125989914, 0.03179597109556198, 0.04107695817947388, -0.009865344502031803, -0.01761668734252453, 0.038052041083574295, -0.03215689957141876, 0.0016016146400943398, 0.03657396137714386, 0.03922076150774956, -0.06754495203495026, 0.025333654135465622, 0.042176924645900726, 0.024182124063372612, 0.003800477832555771, 0.051732905209064484, -0.018304167315363884, 0.014806610532104969, 0.00017844951071310788, -0.015038634650409222, 0.008928651921451092, -0.025883639231324196, -0.011394988745450974, -0.008339997380971909, -0.0014114832738414407, -0.031022556126117706, 0.009169270284473896, -0.08084770292043686, -0.05183602496981621, 0.021260332316160202, 0.006084201857447624, 0.0473674014210701, 0.05530780181288719, -0.006780276075005531, -0.0014533766079694033, 0.05410471186041832, 0.009908312000334263, 0.011334833689033985, -0.03370372951030731, -0.09507854282855988, -0.012271526269614697, -0.05104542523622513, 0.02997414767742157, -0.013577738776803017, -0.07789153605699539, -0.029200732707977295, 0.03045538440346718, 0.026588305830955505, 0.019266638904809952, 0.02303059585392475, 0.05121729522943497, 0.00004434383299667388, -0.00838726107031107, 0.012941819615662098, -0.0402863547205925, 0.010535637848079205, -0.03843015804886818, 0.03946137800812721, 0.0011977198300883174, 0.028496064245700836, -0.008877091109752655, -0.026158630847930908, 0.024285247549414635, -0.02519615925848484, -0.005710384342819452, -0.026450810953974724, 0.029028862714767456, -0.0037704005371779203, -0.004301049746572971, -0.020211925730109215, -0.051251668483018875, 0.01075906865298748, 0.005469766445457935, 0.0030872169882059097, 0.02758515253663063, 0.002898159669712186, -0.010991093702614307, 0.004949859343469143, -0.03523337468504906, -0.001310509629547596, 0.028410129249095917, -0.0025651613250374794, -0.06479503214359283, 0.020865032449364662, -0.015837831422686577, 0.0008142346632666886, -0.004408468492329121, 0.056029655039310455, -0.01025205198675394, 0.0349755696952343, -0.0014222251484170556, -0.009624726139008999, -0.015451123006641865, 0.07376664876937866, 0.03241470456123352, 0.09198488295078278, -0.043551888316869736, 0.003899303264915943, -0.03306781128048897, -0.04485809803009033, 0.0318647176027298, -0.016946393996477127, -0.02205093577504158, -0.044033121317625046, 0.009392702020704746, 0.019111957401037216, -0.018871339038014412, -0.00045545579632744193, -0.06627311557531357, 0.00421941140666604, -0.01899164728820324, -0.027069542557001114, 0.024010254070162773, -0.020641600713133812, -0.016301879659295082, -0.03222564607858658, 0.030781937763094902, -0.030747562646865845, 0.020022867247462273, 0.006664263550192118, 0.0020334383007138968, 0.052798498421907425, 0.02519615925848484, 0.025557085871696472, 0.012091062031686306, 0.030575692653656006, 0.006604108959436417, -0.015665961429476738, -0.014024601317942142, 0.028496064245700836, -0.0035168922040611506, -0.0345458909869194, -0.00023309883545152843, 0.017736995592713356, 0.016551092267036438, -0.05836708843708038, -0.009994246996939182, -0.007875948213040829, -0.033669356256723404, 0.029613221064209938, -0.007252918556332588, 0.0035834917798638344, 0.004109844099730253, -0.03994261473417282, -0.008894278667867184, 0.05162978172302246, -0.025694582611322403, -0.11487798392772675, -0.01491832546889782, -0.015691740438342094, -0.006780276075005531, -0.038189537823200226, -0.013912885449826717, -0.01851041056215763, -0.010234865359961987, -0.025694582611322403, -0.0007991960155777633, 0.0019475031876936555, 0.02828982099890709, -0.07376664876937866, -0.020916592329740524, 0.03329123929142952, -0.06744182854890823, 0.07163546234369278, -0.06716684252023697, -0.05565154179930687, 0.05283287167549133, -0.018149483948946, 0.044479984790086746, 0.033411551266908646, -0.03860202804207802, -0.034683387726545334, 0.07417914271354675, 0.02430243417620659, 0.04599244147539139, -0.022016560658812523, 0.01313087623566389, 0.003194635733962059, -0.04289878159761429, -0.04300190135836601, 0.008808343671262264, -0.04138632491230965, 0.026227379217743874, -0.01792605221271515, 0.02165563404560089, -0.08538506925106049, -0.04685179144144058, -0.017736995592713356, -0.06276696175336838, 0.04578619822859764, -0.05778273195028305, -0.03375529125332832, -0.006058421451598406, 0.017857303842902184, -0.020040055736899376, -0.023546205833554268, 0.04777989163994789, 0.01899164728820324, -0.009255205281078815, 0.00781579315662384, -0.015279253013432026, 0.009126302786171436, -0.00015857703692745417, -0.007390414830297232, 0.020263485610485077, 0.027825770899653435, 0.021311894059181213, -0.026450810953974724, -0.05424220860004425, 0.025436775758862495, -0.04547683149576187, 0.011601232923567295, -0.015390968881547451, -0.02657111920416355, 0.06317945569753647, 0.07472912222146988, -0.031194426119327545, 0.026278940960764885, -0.021861879155039787, -0.009109116159379482, 0.004376242868602276, 0.008309920318424702, -0.01757371984422207, -0.05352035164833069, -0.03688332438468933, -0.021002527326345444, 0.00846030656248331, 0.005770538933575153, 0.0345458909869194, 0.02014317736029625, -0.02806638926267624, -0.04698928818106651, -0.013826950453221798, -0.02165563404560089, -0.009633319452404976, 0.032878752797842026, 0.09102240949869156, -0.02266966737806797, 0.017857303842902184, 0.00898880697786808, 0.0010387400398030877, 0.022343114018440247, -0.01780574396252632, -0.005396721418946981, -0.04537370800971985, -0.0015285698464140296, -0.021225959062576294, 0.04344876483082771, 0.048364248126745224, 0.04331126809120178, -0.07060424238443375, 0.05407033860683441, -0.01033798698335886, -0.026089882478117943, -0.02266966737806797, 0.0029561659321188927, 0.014591772109270096, 0.050323568284511566, 0.030077269300818443, 0.018836963921785355, -0.003804774722084403, -0.04578619822859764, 0.04530496150255203, 0.017298726364970207, 0.033669356256723404, 0.054448451846838, 0.008894278667867184, 0.02205093577504158, -0.009908312000334263, -0.023563392460346222, -0.03050694428384304, 0.039117638021707535, 0.03887701779603958, -0.01766824722290039, 0.009435669519007206, -0.03612709790468216, 0.008370074443519115, -0.004013167228549719, -0.025608647614717484, 0.03146941587328911, 0.00832280982285738, 0.022824350744485855, -0.03354904428124428, 0.011248898692429066, -0.023889945819973946, 0.012864477932453156 ]
54,288
nbconvert.exporters.html
HTMLExporter
Exports a basic HTML document. This exporter assists with the export of HTML. Inherit from it if you are writing your own HTML template and need custom preprocessors/filters. If you don't need custom preprocessors/ filters, just change the 'template_file' config option.
class HTMLExporter(TemplateExporter): """ Exports a basic HTML document. This exporter assists with the export of HTML. Inherit from it if you are writing your own HTML template and need custom preprocessors/filters. If you don't need custom preprocessors/ filters, just change the 'template_file' config option. """ export_from_notebook = "HTML" anchor_link_text = Unicode("¶", help="The text used as the text for anchor links.").tag( config=True ) exclude_anchor_links = Bool(False, help="If anchor links should be included or not.").tag( config=True ) require_js_url = Unicode( "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js", help=""" URL to load require.js from. Defaults to loading from cdnjs. """, ).tag(config=True) mathjax_url = Unicode( "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS_CHTML-full,Safe", help=""" URL to load Mathjax from. Defaults to loading from cdnjs. """, ).tag(config=True) mermaid_js_url = Unicode( "https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.7.0/mermaid.esm.min.mjs", help=""" URL to load MermaidJS from. Defaults to loading from cdnjs. """, ) jquery_url = Unicode( "https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js", help=""" URL to load jQuery from. Defaults to loading from cdnjs. """, ).tag(config=True) jupyter_widgets_base_url = Unicode( "https://unpkg.com/", help="URL base for Jupyter widgets" ).tag(config=True) widget_renderer_url = Unicode("", help="Full URL for Jupyter widgets").tag(config=True) html_manager_semver_range = Unicode( "*", help="Semver range for Jupyter widgets HTML manager" ).tag(config=True) @default("file_extension") def _file_extension_default(self): return ".html" @default("template_name") def _template_name_default(self): return "lab" theme = Unicode( "light", help="Template specific theme(e.g. the name of a JupyterLab CSS theme distributed as prebuilt extension for the lab template)", ).tag(config=True) sanitize_html = Bool( False, help=( "Whether the HTML in Markdown cells and cell outputs should be sanitized." "This should be set to True by nbviewer or similar tools." ), ).tag(config=True) skip_svg_encoding = Bool( False, help=("Whether the svg to image data attribute encoding should occur"), ).tag(config=True) embed_images = Bool( False, help="Whether or not to embed images as base64 in markdown cells." ).tag(config=True) output_mimetype = "text/html" @property def default_config(self): c = Config( { "NbConvertBase": { "display_data_priority": [ "application/vnd.jupyter.widget-view+json", "application/javascript", "text/html", "text/markdown", "image/svg+xml", "text/vnd.mermaid", "text/latex", "image/png", "image/jpeg", "text/plain", ] }, "HighlightMagicsPreprocessor": {"enabled": True}, } ) if super().default_config: c2 = super().default_config.copy() c2.merge(c) c = c2 return c language_code = Unicode( "en", help="Language code of the content, should be one of the ISO639-1" ).tag(config=True) @validate("language_code") def _valid_language_code(self, proposal): if self.language_code not in iso639_1: self.log.warning( '"%s" is not an ISO 639-1 language code. ' 'It has been replaced by the default value "en".', self.language_code, ) return proposal["trait"].default_value return proposal["value"] @contextfilter def markdown2html(self, context, source): """Markdown to HTML filter respecting the anchor_link_text setting""" cell = context.get("cell", {}) attachments = cell.get("attachments", {}) path = context.get("resources", {}).get("metadata", {}).get("path", "") renderer = IPythonRenderer( escape=False, attachments=attachments, embed_images=self.embed_images, path=path, anchor_link_text=self.anchor_link_text, exclude_anchor_links=self.exclude_anchor_links, ) return MarkdownWithMath(renderer=renderer).render(source) def default_filters(self): """Get the default filters.""" yield from super().default_filters() yield ("markdown2html", self.markdown2html) def from_notebook_node( # type:ignore[explicit-override, override] self, nb: NotebookNode, resources: Optional[Dict[str, Any]] = None, **kw: Any ) -> Tuple[str, Dict[str, Any]]: """Convert from notebook node.""" langinfo = nb.metadata.get("language_info", {}) lexer = langinfo.get("pygments_lexer", langinfo.get("name", None)) highlight_code = self.filters.get( "highlight_code", Highlight2HTML(pygments_lexer=lexer, parent=self) ) resources = self._init_resources(resources) filter_data_type = WidgetsDataTypeFilter( notebook_metadata=self._nb_metadata, parent=self, resources=resources ) self.register_filter("highlight_code", highlight_code) self.register_filter("filter_data_type", filter_data_type) html, resources = super().from_notebook_node(nb, resources, **kw) soup = BeautifulSoup(html, features="html.parser") # Add image's alternative text missing_alt = 0 for elem in soup.select("img:not([alt])"): elem.attrs["alt"] = "No description has been provided for this image" missing_alt += 1 if missing_alt: self.log.warning("Alternative text is missing on %s image(s).", missing_alt) # Set input and output focusable for elem in soup.select(".jp-Notebook div.jp-Cell-inputWrapper"): elem.attrs["tabindex"] = "0" for elem in soup.select(".jp-Notebook div.jp-OutputArea-output"): elem.attrs["tabindex"] = "0" return str(soup), resources def _init_resources(self, resources): def resources_include_css(name): env = self.environment code = """<style type="text/css">\n%s</style>""" % (env.loader.get_source(env, name)[0]) return markupsafe.Markup(code) def resources_include_lab_theme(name): # Try to find the theme with the given name, looking through the labextensions _, theme_path = find_lab_theme(name) with open(theme_path / "index.css") as file: data = file.read() # Embed assets (fonts, images...) for asset in os.listdir(theme_path): local_url = f"url({Path(asset).as_posix()})" if local_url in data: mime_type = mimetypes.guess_type(asset)[0] # Replace asset url by a base64 dataurl with open(theme_path / asset, "rb") as assetfile: base64_data = base64.b64encode(assetfile.read()) base64_str = base64_data.replace(b"\n", b"").decode("ascii") data = data.replace(local_url, f"url(data:{mime_type};base64,{base64_str})") code = """<style type="text/css">\n%s</style>""" % data return markupsafe.Markup(code) def resources_include_js(name, module=False): """Get the resources include JS for a name. If module=True, import as ES
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ 0.02640395052731037, -0.11442410945892334, -0.006674390286207199, -0.00412627262994647, 0.013485100120306015, 0.03359740227460861, -0.043160706758499146, 0.021265771239995956, -0.026131313294172287, 0.00833643414080143, 0.03856780380010605, 0.007298312149941921, 0.009191049262881279, 0.04618069902062416, -0.04263640567660332, -0.05192707106471062, 0.008755877614021301, 0.01942022144794464, 0.054401785135269165, -0.04320265352725983, -0.07206034660339355, -0.05918343737721443, 0.005358387250453234, 0.0029675608966499567, 0.002604480367153883, -0.03009505197405815, 0.0024576750583946705, -0.004207539837807417, -0.016756756231188774, 0.002791919047012925, -0.024914927780628204, -0.07575144618749619, -0.026823394000530243, -0.008546155877411366, 0.05293373391032219, -0.05159151554107666, 0.008205357939004898, 0.040266551077365875, -0.02499881573021412, 0.0022060091141611338, -0.01685113087296486, -0.03294726461172104, 0.060819268226623535, -0.10209248214960098, -0.035023510456085205, -0.00025068287504836917, -0.031101714819669724, 0.011912187561392784, -0.042992930859327316, -0.016012245789170265, 0.03227615728974342, -0.0023174239322543144, 0.004957294557243586, 0.08309170603752136, -0.03607211634516716, 0.03164699301123619, -0.013925515115261078, 0.07667422294616699, -0.0017170957289636135, 0.004980888217687607, -0.01456516608595848, 0.0024393245112150908, 0.014470791444182396, 0.002183726290240884, -0.017595643177628517, 0.04571931064128876, 0.03265365585684776, 0.0035574028734117746, -0.034625038504600525, -0.0019425464561209083, -0.027054088190197945, -0.022754795849323273, 0.04806819185614586, 0.025502149015665054, -0.006050468422472477, -0.02908838726580143, -0.027096033096313477, -0.034415315836668015, -0.023321043699979782, 0.02655075676739216, 0.07919088006019592, 0.02189493551850319, 0.0023423281963914633, -0.04150390625, 0.07810033112764359, -0.07310895621776581, 0.05154957249760628, 0.05456956475973129, 0.038903359323740005, -0.03919696807861328, -0.02403409592807293, -0.028647972270846367, 0.027284782379865646, -0.025732841342687607, 0.009432229213416576, 0.0031903900671750307, 0.0010073190787807107, -0.010800663381814957, 0.008787335827946663, -0.014198153279721737, 0.017794879153370857, 0.04668403044342995, 0.019053207710385323, -0.019734803587198257, 0.031185604631900787, 0.00002013245648413431, -0.04982985556125641, 0.07294117659330368, -0.03122754767537117, -0.04811013862490654, -0.023132294416427612, -0.03141629695892334, -0.007382200565189123, -0.06413286924362183, 0.05100429803133011, 0.01047559455037117, -0.025669924914836884, 0.02422284707427025, 0.034792814403772354, -0.025942564010620117, -0.07231201231479645, 0.013558502309024334, -0.061406489461660385, -0.03233907371759415, 0.006884112022817135, 0.034981563687324524, 0.03061935491859913, 0.02248215675354004, -0.02091973088681698, -0.02214660309255123, -0.009788756258785725, 0.018969319760799408, -0.07386395335197449, 0.004815732594579458, 0.03905016556382179, -0.013967459090054035, -0.05599566921591759, 0.0024878226686269045, -0.006889354903250933, 0.11668910831212997, 0.012279200367629528, -0.04601292312145233, -0.003712072502821684, 0.030535466969013214, -0.053646788001060486, -0.03546392545104027, -0.004055491648614407, 0.007497547660022974, -0.04035043716430664, -0.029193248599767685, 0.019504109397530556, 0.004052869975566864, 0.004545716103166342, -0.0021575111895799637, 0.05184318125247955, 0.030703244730830193, 0.030493522062897682, 0.013181003741919994, 0.014722457155585289, 0.012111423537135124, 0.0453837551176548, -0.005929878447204828, 0.0396164134144783, 0.06945979595184326, -0.04311876371502876, 0.03317796066403389, -0.00020939392561558634, -0.055198729038238525, 0.001106936833821237, 0.04873930290341377, 0.02290160022675991, -0.01368433516472578, -0.014313500374555588, 0.024516455829143524, 0.0043333726935088634, 0.10033082216978073, 0.03240199014544487, 0.019892094656825066, 0.005804045591503382, -0.01077969092875719, -0.0609031580388546, -0.005657240282744169, -0.06690119206905365, 0.07747116684913635, -0.011482258327305317, 0.003421083791181445, 0.025837702676653862, -0.03359740227460861, 0.04093765839934349, 0.027494503185153008, 0.01613807864487171, 0.0014732943382114172, -0.03026282787322998, -0.023614654317498207, -0.031919628381729126, -0.03145824372768402, -0.00451425788924098, -0.06287454068660736, -0.003539052326232195, 0.014670026488602161, -0.008944626897573471, 0.01049132365733385, 0.029004499316215515, 0.026865338906645775, 0.011723438277840614, -0.007932719774544239, -0.031143659725785255, 0.017742447555065155, -0.03619794920086861, 0.00747133232653141, -0.03972127288579941, -0.004092192742973566, 0.0015532507095485926, 0.0566667802631855, 0.042384736239910126, -0.05494706332683563, -0.04378987103700638, 0.04827791452407837, -0.03569461777806282, -0.024747150018811226, 0.022209519520401955, -0.00775969959795475, -0.003164174733683467, 0.021664243191480637, -0.0005642822361551225, -0.018874945119023323, 0.1004147082567215, 0.003856256138533354, 0.037519197911024094, -0.03705780953168869, -0.008551398292183876, -0.007445117458701134, 0.04028752073645592, 0.038924332708120346, 0.01174441073089838, -0.025669924914836884, 0.025355342775583267, 0.019336333498358727, -0.05469539761543274, 0.013642391189932823, -0.05020735412836075, 0.006386023014783859, 0.04156682267785072, -0.008907925337553024, -0.012363089248538017, -0.029402969405055046, 0.046642087399959564, 0.029843386262655258, -0.03261170908808708, -0.05796705186367035, -0.008200114592909813, -0.024684233590960503, -0.004047627095133066, -0.01142982766032219, -0.015613773837685585, -0.021402090787887573, 0.017553698271512985, -0.0031143659725785255, -0.00747133232653141, -0.0333876796066761, 0.0028653214685618877, -0.11652132868766785, -0.011639549396932125, 0.0406859926879406, 0.05159151554107666, -0.030157968401908875, -0.01135642547160387, 0.05276595801115036, -0.02053174562752247, -0.006406995467841625, 0.09512972086668015, 0.06245509535074234, -0.02694922685623169, -0.008409836329519749, 0.016033217310905457, -0.0536048449575901, 0.019514596089720726, 0.008126712404191494, -0.04857152700424194, -0.008535669185221195, 0.0034577851183712482, -0.049536243081092834, -0.0025297668762505054, 0.027452558279037476, 0.007728241384029388, -0.06635592132806778, -0.012667185626924038, 0.018098974600434303, -0.00678973738104105, -0.024180902168154716, -0.01651557721197605, 0.05435984209179878, -0.0008670677780173719, -0.02130771614611149, -0.041797518730163574, 0.015844468027353287, -0.01880154199898243, -0.00741890212520957, -0.023803403601050377, -0.002498308662325144, -0.04154585301876068, -0.009788756258785725, 0.10771302133798599, -0.022733822464942932, -0.07063423842191696, -0.02078341133892536, 0.006223489064723253, -0.003942766226828098, 0.024117985740303993, 0.020238135010004044, 0.05259818211197853, 0.006317863706499338, 0.03959544003009796, 0.02348882146179676, -0.03512836992740631, -0.0562053918838501, 0.040623076260089874, 0.019304875284433365, 0.020080843940377235, 0.023593680933117867, -0.03120657615363598, -0.022377295419573784, -0.03439434617757797, -0.009704867377877235, 0.04112640768289566, -0.0651395320892334, 0.06291648745536804, -0.009820214472711086, 0.029633663594722748, 0.03412170708179474, -0.012017047964036465, 0.05935121700167656, 0.01997598446905613, 0.0009221197105944157, -0.031143659725785255, -0.05687650293111801, -0.040602102875709534, -0.059099551290273666, -0.011996076442301273, -0.07780671864748001, 0.013589960522949696, 0.011419341899454594, -0.02906741574406624, -0.0018049166537821293, -0.027452558279037476, -0.02447451278567314, 0.034646011888980865, -0.0003163847140967846, -0.01884348690509796, -0.021234313026070595, 0.03105976991355419, 0.04341237246990204, -0.018172377720475197, 0.04173460230231285, -0.002683125901967287, -0.05083651840686798, -0.014439333230257034, -0.051130130887031555, -0.044544871896505356, -0.01843453012406826, -0.0008356095640920103, 0.021192368119955063, -0.03913405165076256, 0.04223793372511864, 0.011094273068010807, -0.01706085354089737, 0.03621892258524895, 0.052472349256277084, 0.054779283702373505, -0.03273754194378853, 0.04517403617501259, 0.0013959595235064626, 0.010821634903550148, -0.05347901210188866, -0.002820755587890744, -0.05175929516553879, -0.033450596034526825, -0.01096844021230936, -0.06656564027070999, -0.031730879098176956, 0.02035348303616047, 0.023572709411382675, -0.019650915637612343, -0.020405912771821022, -0.03225518390536308, -0.06123870983719826, 0.01784730888903141, 0.011587118729948997, -0.02017521858215332, -0.05352095514535904, 0.00999847799539566, -0.05473734065890312, 0.010874065570533276, 0.060819268226623535, -0.04517403617501259, -0.05763150006532669, -0.004592903424054384, 0.07365422695875168, 0.029151303693652153, -0.010916009545326233, 0.03921794146299362, -0.016379257664084435, 0.07520616799592972, 0.03496059402823448, 0.010140039958059788, -0.008268274366855621, 0.07545783370733261, 0.008761120028793812, 0.026299091055989265, 0.017406893894076347, -0.039658356457948685, -0.02309034951031208, -0.062790647149086, 0.023362986743450165, -0.0078068869188427925, 0.012583296746015549, 0.024097012355923653, -0.03523322939872742, -0.06132259964942932, -0.015372593887150288, -0.031521160155534744, 0.00351545843295753, 0.08170753717422485, 0.03177282586693764, 0.03399587422609329, -0.02717992104589939, -0.007838345132768154, 0.02810269594192505, -0.04903291165828705, 0.026655616238713264, 0.005783073604106903, 0.00009462049638386816, -0.020217163488268852, -0.04251056909561157, 0.012834962457418442, -0.03085004910826683, -0.02405506931245327, -0.05037513002753258, 0.03395392745733261, -0.007812130264937878, 0.04425125941634178, -0.032674625515937805, 0.021391604095697403, -0.005077884532511234, -0.016400229185819626, 0.020133275538682938, -0.0372675321996212, 0.08468558639287949, -0.07096979022026062, -0.03982613608241081, 0.047816526144742966, 0.058889828622341156, -0.016557522118091583, -0.034016843885183334, 0.03493962064385414, -0.05603761598467827, 0.06346175819635391, -0.025481175631284714, 0.022041741758584976, 0.021444035694003105, 0.011419341899454594, 0.02443256787955761, 0.016253424808382988, -0.008467510342597961, 0.027033116668462753, -0.06337787210941315, 0.034058790653944016, -0.05289179086685181, -0.051088184118270874, 0.0221046581864357, 0.025900619104504585, -0.0012799572432413697, 0.008472752757370472, -0.030514495447278023, 0.01978723332285881, 0.04869735985994339, -0.04941041022539139, -0.0674884170293808, -0.04202821105718613, -0.023530764505267143, -0.03085004910826683, -0.05121401697397232, 0.037540167570114136, -0.00806379597634077, -0.031143659725785255, -0.029402969405055046, 0.08942529559135437, -0.026613673195242882, 0.048613470047712326, -0.03980516269803047, -0.07398978620767593, 0.05511483922600746, -0.012740587815642357, 0.028081724420189857, -0.0018154027638956904, -0.012583296746015549, 0.06597842276096344, 0.024914927780628204, 0.03825322166085243, -0.052472349256277084, 0.022041741758584976, -0.040056828409433365, 0.035946283489465714, 0.05486317351460457, 0.0733606219291687, -0.021622298285365105, 0.02990630269050598, 0.02231437899172306, 0.0011652656830847263, -0.002993775997310877, -0.01709231175482273, 0.016767242923378944, 0.0752481147646904, 0.018581334501504898, -0.007487061433494091, -0.04370598495006561, -0.023782430216670036, 0.05100429803133011, 0.032318100333213806, 0.023593680933117867, 0.001827199594117701, -0.04462875798344612, 0.010465108789503574, -0.07109562307596207, -0.003997818101197481, 0.06769813597202301, 0.0008768984698690474, -0.015781551599502563, -0.05276595801115036, 0.058470387011766434, -0.0531434565782547, -0.028207557275891304, 0.014806346036493778, -0.02481006644666195, -0.06484591960906982, 0.03321990370750427, 0.0006638999911956489, 0.01845550164580345, 0.06958562880754471, -0.011681493371725082, -0.027054088190197945, -0.012111423537135124, 0.016232453286647797, -0.013894056901335716, 0.03399587422609329, 0.010769205167889595, 0.0014457684010267258, 0.03439434617757797, 0.04307682067155838, 0.01902174949645996, 0.029340052977204323, 0.010601427406072617, 0.019483137875795364, -0.007854074239730835, 0.009720596484839916, 0.009212021715939045, 0.013222947716712952, 0.02290160022675991, 0.07721950113773346, 0.02015424706041813, 0.04500625655055046, -0.024306735023856163, -0.020909244194626808, -0.05234651267528534, 0.044922370463609695, 0.04018266126513481, 0.026068396866321564, -0.033115044236183167, -0.0881669670343399, -0.047606807202100754, 0.044125426560640335, 0.03884044289588928, 0.031688936054706573, -0.03544295206665993, -0.010800663381814957, 0.0018678330816328526, 0.024977844208478928, 0.013254405930638313, 0.013023711740970612, -0.02929810993373394, -0.01387308444827795, 0.0111676761880517, 0.06656564027070999, -0.04366403818130493, 0.011513716541230679, 0.0015768443699926138, -0.025648953393101692, 0.02850116789340973, 0.025166593492031097, -0.025481175631284714, -0.010790176689624786, -0.00256777903996408, 0.03433142974972725, -0.060399822890758514, 0.05649900063872337, 0.06929202377796173, -0.008100497536361217, -0.03061935491859913, 0.02189493551850319, -0.031101714819669724, -0.008692961186170578, -0.007885532453656197, -0.030891994014382362, -0.018906403332948685, 0.030136995017528534, -0.022796738892793655, 0.04924263432621956, -0.0442093163728714, -0.02054223231971264, -0.022398268803954124, 0.022817712277173996, -0.02170618623495102, 0.008341677486896515, -0.005531407427042723, -0.036554478108882904, -0.03932280093431473, -0.031709909439086914, -0.013527044095098972, 0.02892060950398445, -0.024872982874512672, -0.025334371253848076, 0.03647058829665184, -0.01570814847946167, -0.010365490801632404, 0.006480397656559944, -0.03825322166085243, -0.007224909495562315, 0.016169536858797073, -0.010978925973176956, 0.06786591559648514, 0.035359062254428864, -0.030912965536117554, 0.052682068198919296, -0.0322132408618927, 0.04225890338420868, 0.048194024711847305, 0.012205798178911209, 0.013506071642041206, -0.02134966105222702, 0.03240199014544487, 0.04785847291350365, -0.061574265360832214, 0.005096235312521458, -0.004553580656647682, -0.002226981334388256, 0.035589758306741714, 0.0364496149122715, -0.010056151077151299, 0.007434631232172251, 0.0018586578080430627, -0.03881946951150894, 0.03561072796583176, 0.02097216062247753, -0.014250583946704865, -0.052262626588344574, 0.05763150006532669, -0.007466089446097612, -0.012562324292957783, 0.030912965536117554, 0.006008523982018232, 0.024306735023856163, -0.00455882353708148, 0.003696343395859003, 0.022754795849323273, 0.03317796066403389, -0.06962757557630539, 0.027830058708786964, -0.000004413574970385525, 0.04265737533569336, 0.02501978911459446, -0.015089469961822033, -0.00794320646673441, 0.005893177352845669, -0.05154957249760628, 0.022587018087506294, 0.00707810465246439, 0.008168656378984451, -0.01212190929800272, -0.013306836597621441, -0.007151506841182709, -0.044544871896505356, 0.03590434044599533, -0.05708622187376022, 0.05180123820900917, -0.015624260529875755, 0.020888272672891617, 0.0026372491847723722, -0.012142881751060486, -0.0029963974375277758, 0.005245661828666925, -0.05356289818882942, 0.04429320618510246, -0.0049074855633080006, -0.026697561144828796, 0.013044684194028378, -0.026844365522265434, -0.002170618623495102, -0.04597097635269165, -0.023237153887748718, -0.027892975136637688, 0.03626086562871933, -0.008892196230590343, -0.0020775548182427883, 0.0018049166537821293, 0.030598383396863937, 0.04831986129283905, -0.019535567611455917, -0.031709909439086914, -0.015372593887150288, -0.050165411084890366, 0.0036150761879980564, 0.04133613035082817, 0.040811825543642044, 0.03122754767537117, -0.032129351049661636, -0.012258227914571762, -0.01980820670723915, 0.016452660784125328, 0.01387308444827795, -0.00012779911048710346, 0.03141629695892334, 0.002794540487229824, 0.04106349125504494, 0.025082705542445183, -0.005578594747930765, 0.05683455616235733, -0.07373812049627304, -0.053856510668992996, 0.03504448011517525, -0.03135338053107262, 0.012405033223330975, 0.0524304024875164, -0.06077732518315315, 0.01300274021923542, 0.008561884984374046, -0.07130534946918488, 0.0271589495241642, -0.001242600497789681, -0.07835199683904648, -0.04387376084923744, 0.03919696807861328, -0.06618814170360565, -0.06736258417367935, 0.014376416802406311, 0.055576227605342865, 0.047061529010534286, 0.029025470837950706, 0.008687717840075493, 0.01975577510893345, 0.060399822890758514, 0.02111896686255932, -0.017690017819404602, -0.05528261885046959, 0.024600345641374588, 0.06975340843200684, 0.010842607356607914, 0.022041741758584976, 0.04135710373520851, -0.04106349125504494, -0.005203717388212681, 0.030724216252565384, -0.010124310851097107, 0.01821432262659073, -0.016809187829494476, 0.08749585598707199, 0.017794879153370857, -0.03179379552602768, 0.006281162146478891 ]
54,300
nbconvert.exporters.html
_init_resources
null
def _init_resources(self, resources): def resources_include_css(name): env = self.environment code = """<style type="text/css">\n%s</style>""" % (env.loader.get_source(env, name)[0]) return markupsafe.Markup(code) def resources_include_lab_theme(name): # Try to find the theme with the given name, looking through the labextensions _, theme_path = find_lab_theme(name) with open(theme_path / "index.css") as file: data = file.read() # Embed assets (fonts, images...) for asset in os.listdir(theme_path): local_url = f"url({Path(asset).as_posix()})" if local_url in data: mime_type = mimetypes.guess_type(asset)[0] # Replace asset url by a base64 dataurl with open(theme_path / asset, "rb") as assetfile: base64_data = base64.b64encode(assetfile.read()) base64_str = base64_data.replace(b"\n", b"").decode("ascii") data = data.replace(local_url, f"url(data:{mime_type};base64,{base64_str})") code = """<style type="text/css">\n%s</style>""" % data return markupsafe.Markup(code) def resources_include_js(name, module=False): """Get the resources include JS for a name. If module=True, import as ES module""" env = self.environment code = f"""<script {'type="module"' if module else ""}>\n{env.loader.get_source(env, name)[0]}</script>""" return markupsafe.Markup(code) def resources_include_url(name): """Get the resources include url for a name.""" env = self.environment mime_type, encoding = mimetypes.guess_type(name) try: # we try to load via the jinja loader, but that tries to load # as (encoded) text data = env.loader.get_source(env, name)[0].encode("utf8") except UnicodeDecodeError: # if that fails (for instance a binary file, png or ttf) # we mimic jinja2 pieces = split_template_path(name) for searchpath in self.template_paths: filename = os.path.join(searchpath, *pieces) if os.path.exists(filename): with open(filename, "rb") as f: data = f.read() break else: msg = f"No file {name!r} found in {searchpath!r}" raise ValueError(msg) data = base64.b64encode(data) data = data.replace(b"\n", b"").decode("ascii") src = f"data:{mime_type};base64,{data}" return markupsafe.Markup(src) resources = super()._init_resources(resources) resources["theme"] = self.theme resources["include_css"] = resources_include_css resources["include_lab_theme"] = resources_include_lab_theme resources["include_js"] = resources_include_js resources["include_url"] = resources_include_url resources["require_js_url"] = self.require_js_url resources["mathjax_url"] = self.mathjax_url resources["mermaid_js_url"] = self.mermaid_js_url resources["jquery_url"] = self.jquery_url resources["jupyter_widgets_base_url"] = self.jupyter_widgets_base_url resources["widget_renderer_url"] = self.widget_renderer_url resources["html_manager_semver_range"] = self.html_manager_semver_range resources["should_sanitize_html"] = self.sanitize_html resources["language_code"] = self.language_code resources["should_not_encode_svg"] = self.skip_svg_encoding return resources
(self, resources)
[ 0.009526552632451057, -0.08914664387702942, -0.004487180151045322, -0.0018219841876998544, 0.01312326081097126, 0.0377679280936718, 0.02258514240384102, 0.08035136759281158, -0.0660640299320221, 0.038782767951488495, 0.06407415121793747, 0.06303940713405609, 0.002887813840061426, 0.04091193899512291, -0.03225596249103546, -0.020097792148590088, 0.008725625462830067, 0.009785236790776253, -0.006024362985044718, -0.07346638292074203, -0.054960496723651886, -0.009989199228584766, -0.004074280150234699, -0.002078181365504861, 0.00148246088065207, 0.032872822135686874, 0.002145339734852314, 0.03159930184483528, 0.014307240024209023, -0.02358008176088333, -0.02358008176088333, -0.012894424609839916, 0.005034397356212139, 0.006865087430924177, -0.0007505579851567745, -0.013978909701108932, -0.007382456213235855, 0.02286372520029545, -0.02455512434244156, 0.00838734582066536, 0.013043666258454323, 0.000257751700701192, 0.05480130389332771, -0.09718576073646545, -0.022386154159903526, 0.023500487208366394, -0.013640630058944225, 0.0232418030500412, -0.06140770763158798, -0.024316338822245598, 0.0392802394926548, -0.006158679723739624, -0.00746205123141408, 0.04174768924713135, -0.04676218703389168, 0.07079994678497314, -0.05277162790298462, 0.06777532398700714, -0.0359969362616539, -0.01715276949107647, -0.009397209621965885, -0.019182447344064713, 0.00805901549756527, -0.0049796756356954575, -0.023838765919208527, 0.026166927069425583, -0.008551510982215405, -0.026087332516908646, -0.013740124180912971, 0.019739612936973572, -0.016346868127584457, 0.043419189751148224, -0.0030768525321036577, -0.0055069937370717525, 0.0005804853863082826, -0.039061352610588074, 0.01828700117766857, -0.031937580555677414, -0.031798288226127625, -0.0015346952714025974, 0.03870317339897156, -0.007078999187797308, -0.01818750612437725, -0.053408388048410416, 0.08468931168317795, -0.018804369494318962, 0.009412134066224098, -0.0016105594113469124, 0.00895446166396141, -0.043180402368307114, -0.05145830661058426, 0.0017834302270784974, 0.037190865725278854, -0.016714995726943016, 0.023361194878816605, -0.006098983343690634, -0.008407244458794594, -0.026306219398975372, 0.03323100134730339, 0.013809769414365292, 0.0012069868389517069, 0.019142650067806244, 0.007884901016950607, -0.043896760791540146, 0.04409574717283249, -0.02202797494828701, -0.02718176506459713, 0.02178918942809105, -0.03699187561869621, -0.03551936522126198, 0.0011385846883058548, -0.0404144711792469, 0.004395148251205683, -0.018774520605802536, -0.013799820095300674, -0.023599980399012566, -0.07728695124387741, 0.02980840764939785, 0.046563200652599335, -0.011153279803693295, -0.07370516657829285, 0.042026273906230927, -0.023739272728562355, -0.023739272728562355, 0.06232305243611336, -0.011939282529056072, 0.005288106855005026, 0.03834499418735504, -0.02133151702582836, -0.024873504415154457, 0.010367277078330517, 0.050503164529800415, -0.04556826129555702, -0.005954716820269823, 0.0004890752607025206, -0.034564223140478134, -0.02562965825200081, 0.05647280439734459, 0.0020682318136096, 0.0822218582034111, 0.021570302546024323, 0.02230655960738659, -0.017560694366693497, 0.01897350884974003, -0.04942862689495087, -0.040036391466856, 0.026166927069425583, -0.02254534512758255, -0.08357497304677963, 0.034663714468479156, 0.04978680610656738, -0.017610441893339157, -0.001129878917708993, 0.010954291559755802, 0.010854797437787056, -0.003069390542805195, -0.014257492497563362, 0.006899910047650337, 0.046801988035440445, -0.01612798124551773, 0.019938601180911064, 0.017351757735013962, -0.0198291577398777, 0.043379392474889755, -0.009252944029867649, 0.06522827595472336, -0.03370857238769531, -0.036295417696237564, 0.038404691964387894, 0.007924698293209076, 0.011302520520985126, -0.04704077169299126, -0.008556485176086426, 0.0028803518507629633, 0.016844337806105614, 0.02614702843129635, 0.016834387555718422, -0.026545004919171333, 0.0038056462071835995, 0.04087214171886444, -0.025948040187358856, -0.021172327920794487, -0.0457274504005909, 0.0668201819062233, 0.006685997825115919, 0.008919638581573963, 0.040135886520147324, 0.007675963453948498, 0.02728126011788845, 0.03350958600640297, -0.01664534956216812, 0.02352038584649563, -0.03818580508232117, -0.020396273583173752, -0.06172608956694603, -0.03146000951528549, 0.039061352610588074, -0.1002899706363678, -0.007740634493529797, 0.008944512344896793, -0.07887885719537735, 0.01996845006942749, 0.02600773610174656, -0.0026092305779457092, 0.0551992803812027, 0.015431522391736507, -0.037847526371479034, 0.006700922269374132, -0.009536501951515675, 0.06761613488197327, -0.06737735122442245, -0.04903065413236618, -0.04564785584807396, 0.040135886520147324, 0.006626301445066929, -0.02198817767202854, -0.04700097441673279, 0.018625279888510704, -0.02344079129397869, 0.003223606152459979, 0.007039201911538839, -0.011730344966053963, -0.04119052365422249, -0.02728126011788845, -0.039956796914339066, -0.03088294342160225, 0.0450906902551651, 0.0294303297996521, -0.031340617686510086, 0.02793792076408863, -0.038086310029029846, 0.03707147017121315, 0.09822049736976624, 0.002972383750602603, -0.012983969412744045, -0.017550744116306305, 0.054721709340810776, 0.043379392474889755, -0.01583944819867611, 0.01799846813082695, -0.01893371157348156, 0.04883166402578354, 0.032355453819036484, -0.07748594135046005, 0.004559313412755728, -0.006094008684158325, -0.0007430959376506507, 0.001665281131863594, -0.037011776119470596, -0.06705896556377411, -0.01366052869707346, 0.01030758023262024, -0.011541306041181087, -0.05854228138923645, -0.05874126777052879, -0.022008076310157776, 0.03673319146037102, -0.02648530714213848, 0.015232534147799015, -0.03142021223902702, 0.029987497255206108, -0.08811189979314804, 0.025709254667162895, 0.07131731510162354, -0.008213231340050697, -0.02887316420674324, -0.006248224526643753, 0.042822226881980896, -0.07585424184799194, 0.006929758470505476, 0.1018022820353508, 0.08230145275592804, -0.012755133211612701, 0.02385866641998291, 0.020077893510460854, -0.00752174761146307, 0.010586163960397243, -0.015232534147799015, 0.0024077552370727062, 0.02535107545554638, 0.029330836609005928, -0.018625279888510704, 0.043180402368307114, 0.03446472808718681, 0.03464381769299507, -0.08397295325994492, -0.0009246725239790976, -0.004656319972127676, -0.03762863948941231, -0.008571409620344639, 0.03790722042322159, 0.0625220388174057, -0.03820570185780525, -0.024913301691412926, -0.01096424087882042, 0.013322249054908752, -0.0030445170123130083, -0.005939792841672897, -0.005616437178105116, 0.017212465405464172, -0.037011776119470596, -0.019281940534710884, 0.07613282650709152, 0.010496619157493114, -0.06781512498855591, -0.03211667016148567, 0.006641225889325142, -0.023082612082362175, 0.018396444618701935, 0.061089325696229935, 0.07867986708879471, 0.0015434009255841374, 0.07091933488845825, 0.033867765218019485, 0.003452442353591323, -0.01710302196443081, 0.026743991300463676, 0.05587584152817726, -0.009834983386099339, 0.014814659021794796, -0.014148049056529999, 0.01471516489982605, -0.0027311109006404877, -0.02704247459769249, 0.07521747797727585, -0.027878224849700928, 0.04847348481416702, -0.011849737726151943, 0.012008927762508392, 0.03191768005490303, -0.01967991702258587, 0.032216161489486694, -0.027440451085567474, -0.0072879367507994175, -0.0013854542048648, -0.00521348649635911, -0.00037527899257838726, -0.05699017271399498, -0.008949486538767815, -0.07008358836174011, 0.06502929329872131, 0.0022286660969257355, -0.0721132680773735, -0.0009650919819250703, -0.05706976726651192, -0.019092902541160583, 0.05515948310494423, -0.015272331424057484, -0.018167607486248016, -0.02849508635699749, -0.012715335935354233, -0.012088523246347904, 0.03687248378992081, 0.04986640065908432, -0.045488666743040085, -0.03834499418735504, -0.08341578394174576, -0.03382796794176102, -0.01033742818981409, 0.024117350578308105, -0.03408665210008621, 0.07816249877214432, -0.018436241894960403, 0.06224345788359642, -0.010407074354588985, -0.016058335080742836, 0.024435730651021004, 0.02053556591272354, 0.029689015820622444, -0.05905964970588684, 0.05137871205806732, 0.04795611649751663, -0.0019873930141329765, -0.02268463559448719, 0.025112289935350418, -0.05619422346353531, -0.00758144399151206, -0.0036713292356580496, -0.029470128938555717, -0.03607653081417084, -0.023838765919208527, 0.06506908684968948, -0.021112630143761635, -0.028156807646155357, -0.041309915482997894, -0.05070215091109276, 0.0050667328760027885, -0.03782762587070465, -0.04727955907583237, -0.03197737783193588, 0.03721076250076294, -0.040235381573438644, 0.021590201184153557, 0.027261361479759216, -0.04031497612595558, -0.06451192498207092, -0.00925791822373867, 0.07784412056207657, 0.057348351925611496, 0.012287511490285397, 0.03884246572852135, -0.01549121830612421, 0.0495082251727581, 0.013939112424850464, 0.031798288226127625, -0.016008587554097176, 0.07354597747325897, 0.03341009095311165, 0.0076560648158192635, 0.0712377205491066, -0.05969640985131264, -0.009367361664772034, -0.03299221768975258, -0.03818580508232117, -0.037429649382829666, -0.028315996751189232, 0.005056783556938171, 0.007700837217271328, -0.006735744886100292, 0.013600832782685757, -0.006297971587628126, -0.023022916167974472, 0.051537901163101196, -0.01639661379158497, 0.002723648678511381, -0.007397380191832781, 0.00008876732317730784, 0.025430671870708466, -0.058144304901361465, -0.016943830996751785, -0.022664736956357956, 0.03394735977053642, -0.0065317824482917786, -0.08277902007102966, 0.04767753183841705, -0.03687248378992081, -0.016535906121134758, -0.04851328209042549, -0.02994769997894764, -0.04807550832629204, 0.04747854545712471, -0.03492240235209465, 0.016884135082364082, 0.03500199690461159, -0.06168629229068756, 0.04043436795473099, -0.053925756365060806, 0.08190347254276276, -0.05038377270102501, -0.03941953182220459, 0.008243079297244549, 0.06331799179315567, -0.024575022980570793, -0.0392802394926548, 0.032594241201877594, -0.03830519691109657, 0.036673493683338165, -0.004897593054920435, -0.036295417696237564, 0.00329325208440423, -0.006327819544821978, -0.0016889109974727035, 0.05507988855242729, -0.031380414962768555, -0.008113737218081951, -0.05559725686907768, 0.03130081668496132, -0.011232874356210232, 0.013481439091265202, 0.014217695221304893, 0.02240605279803276, 0.013352097012102604, 0.00785007793456316, -0.04238445311784744, 0.012884475290775299, 0.040235381573438644, -0.011481610126793385, 0.013541135936975479, -0.04536927118897438, 0.017650239169597626, -0.025291379541158676, -0.007750583812594414, 0.017918873578310013, -0.013650579378008842, -0.04373757168650627, -0.0545625202357769, 0.05273183062672615, -0.002510980237275362, 0.026505205780267715, 0.016436411067843437, -0.02990790270268917, 0.016625450924038887, -0.020077893510460854, 0.02479390986263752, -0.052930817008018494, -0.005830349400639534, 0.06650180369615555, 0.01771988533437252, 0.03854398429393768, -0.019530676305294037, 0.029589520767331123, -0.08811189979314804, -0.019739612936973572, 0.06598443537950516, 0.024853605777025223, 0.018306899815797806, 0.02137131430208683, -0.000041429932025494054, 0.022983118891716003, -0.015640459954738617, 0.002195086795836687, 0.02535107545554638, 0.05348798260092735, -0.022605041041970253, 0.03703167289495468, -0.012148220092058182, -0.04087214171886444, 0.07040196657180786, 0.030445169657468796, 0.014655468985438347, 0.011770142242312431, -0.032554443925619125, 0.04767753183841705, -0.006223350763320923, -0.011153279803693295, 0.01012351643294096, 0.028136909008026123, -0.02624652162194252, -0.03108193166553974, 0.06884986162185669, -0.05328899621963501, -0.02877367101609707, 0.009645945392549038, -0.08691797405481339, -0.037051573395729065, 0.07207346707582474, -0.03356928005814552, -0.027221564203500748, 0.034703515470027924, -0.01757064275443554, 0.004305603448301554, -0.03153960406780243, 0.07032237201929092, -0.0305048655718565, 0.015849396586418152, -0.06331799179315567, -0.038782767951488495, -0.013352097012102604, 0.05985560268163681, 0.010655809193849564, 0.029231343418359756, -0.012287511490285397, 0.006283047143369913, 0.011063735000789165, 0.01002899743616581, -0.07903804630041122, 0.022425951436161995, 0.024316338822245598, 0.03711126744747162, 0.048155106604099274, 0.036016833037137985, 0.01426744181662798, -0.07362557202577591, -0.027400651946663857, 0.005924868863075972, 0.014386835508048534, -0.01836659573018551, 0.01846608892083168, -0.03177838772535324, -0.029231343418359756, 0.018217355012893677, 0.052891019731760025, 0.0218488872051239, -0.01075530331581831, 0.0038628552574664354, 0.028335897251963615, 0.004803073592483997, 0.017033375799655914, 0.03605663403868675, -0.0035917339846491814, 0.0020732067059725523, -0.0001680516143096611, 0.03171869367361069, -0.013859516941010952, 0.017739783972501755, 0.004459819290786982, -0.004221033770591021, 0.06276082992553711, 0.021669797599315643, 0.014297290705144405, -0.021689696237444878, 0.013322249054908752, 0.03723066300153732, -0.010068794712424278, 0.05667179450392723, 0.050224579870700836, -0.0015943916514515877, -0.04361817613244057, -0.003330562263727188, -0.013909263536334038, 0.009725539945065975, 0.0025445595383644104, -0.05042356997728348, 0.0038553932681679726, 0.0221672672778368, -0.007556570693850517, -0.00112241692841053, -0.04926943778991699, -0.014944002032279968, 0.020794250071048737, 0.00991457886993885, -0.05782592296600342, 0.01789897307753563, -0.03703167289495468, 0.02883336693048477, -0.025112289935350418, -0.06085054203867912, -0.0103573277592659, 0.026306219398975372, -0.018485989421606064, -0.006939707789570093, 0.0660640299320221, 0.016137929633259773, 0.004623984452337027, 0.01583944819867611, -0.000317759026074782, 0.019719714298844337, -0.007680938113480806, -0.0655466616153717, 0.028574682772159576, 0.052612438797950745, -0.0254505705088377, 0.028813468292355537, -0.006457161623984575, 0.022425951436161995, 0.05197567492723465, 0.052612438797950745, 0.03516118600964546, 0.020694755017757416, 0.03740975260734558, 0.08397295325994492, -0.061566900461912155, -0.007661039475351572, -0.0031987326219677925, -0.006676048506051302, 0.03275343030691147, -0.0008195819682441652, -0.03199727460741997, -0.013640630058944225, -0.011829839088022709, -0.034982096403837204, 0.018913812935352325, -0.03074365109205246, -0.022664736956357956, -0.012983969412744045, 0.0632781982421875, 0.01497384998947382, -0.03239525109529495, 0.02752004563808441, 0.016933882609009743, 0.03910114988684654, 0.03209676966071129, -0.0020931053441017866, -0.009302690625190735, 0.019888853654265404, -0.04612542688846588, 0.012745183892548084, -0.030723752453923225, 0.028853265568614006, 0.021152427420020103, -0.061049528419971466, -0.0019799310248345137, -0.006188528146594763, -0.06299961358308792, 0.002252295846119523, 0.06355677545070648, -0.04333959519863129, -0.036295417696237564, 0.039638418704271317, -0.0029972572810947895, -0.026405712589621544, 0.014705215580761433, -0.02700267732143402, 0.04397635534405708, -0.025768950581550598, 0.013670478016138077, 0.009432032704353333, -0.01808801293373108, 0.015192736871540546, 0.011461710557341576, -0.040334876626729965, 0.004972213413566351, -0.023540284484624863, -0.020774351432919502, 0.002316966885700822, -0.0026117179077118635, -0.005019473377615213, -0.08293821662664413, -0.02783842571079731, 0.014685316942632198, 0.020794250071048737, -0.014426632784307003, -0.003051979001611471, 0.0020732067059725523, -0.039996594190597534, 0.022067774087190628, -0.012406904250383377, -0.025888344272971153, -0.03806641325354576, -0.04170789197087288, 0.0163568165153265, 0.02455512434244156, 0.06785491853952408, 0.007720735855400562, -0.0315794013440609, -0.07533687353134155, 0.021072832867503166, 0.02286372520029545, 0.04883166402578354, -0.03687248378992081, 0.002519686007872224, 0.013352097012102604, 0.05281142517924309, -0.008218205533921719, 0.004114077892154455, 0.00850673858076334, -0.03945932909846306, -0.01284467801451683, 0.05639320984482765, -0.029271140694618225, -0.02835579589009285, 0.033350393176078796, -0.06777532398700714, 0.0034773158840835094, -0.011193077079951763, -0.07971461117267609, 0.02596793882548809, 0.001246784464456141, -0.026166927069425583, -0.039160843938589096, 0.023122409358620644, -0.01258599292486906, -0.08389335870742798, 0.00625817384570837, 0.06570585072040558, 0.06439252942800522, 0.015391725115478039, -0.02292342111468315, 0.02825630083680153, 0.06662119179964066, -0.0005089740734547377, -0.024336237460374832, -0.06459151953458786, 0.044135548174381256, 0.059497423470020294, -0.004795611836016178, -0.024972999468445778, -0.0036141201853752136, -0.025848545134067535, 0.006591478828340769, 0.035041794180870056, -0.07163569331169128, 0.026783790439367294, -0.0006199721246957779, 0.12377055734395981, 0.038882263004779816, 0.026505205780267715, -0.002499787136912346 ]
54,313
nbconvert.exporters.html
default_filters
Get the default filters.
def default_filters(self): """Get the default filters.""" yield from super().default_filters() yield ("markdown2html", self.markdown2html)
(self)
[ -0.021548021584749222, -0.0854838490486145, 0.04323768988251686, -0.026116130873560905, -0.017537645995616913, 0.0033176338765770197, -0.01584673672914505, -0.01846720278263092, 0.050922028720378876, 0.04476039111614227, 0.039413224905729294, -0.007790574803948402, -0.02328319475054741, 0.06239541992545128, -0.005316182039678097, 0.013394476845860481, -0.01555459015071392, 0.007308090105652809, 0.056800372898578644, -0.021813608705997467, -0.03792593255639076, -0.03273811936378479, 0.01238524354994297, -0.03017077036201954, 0.0016178721562027931, 0.06034154072403908, -0.02960418350994587, -0.04837238788604736, -0.003218038473278284, -0.025974484160542488, -0.03898828476667404, -0.04709756374359131, 0.022999901324510574, -0.01474012155085802, 0.00947263091802597, -0.03863416612148285, -0.058358486741781235, 0.08420903235673904, -0.04157333821058273, 0.060943540185689926, 0.02478819154202938, -0.015342120081186295, 0.005519798956811428, -0.027107657864689827, -0.043025217950344086, -0.03217153251171112, -0.005139123182743788, 0.031020652502775192, -0.012022272683680058, -0.007648927625268698, 0.02314154803752899, 0.01855573244392872, 0.0259567778557539, 0.03525235131382942, -0.03633240610361099, -0.03583664447069168, 0.01714811660349369, 0.052090615034103394, 0.04582274332642555, 0.09037066251039505, -0.007848118431866169, 0.023300901055336, 0.019299378618597984, -0.021300138905644417, -0.03658029064536095, 0.03364111855626106, -0.003970537334680557, 0.01217277254909277, -0.0185026153922081, 0.07323139905929565, -0.06303282827138901, -0.030542593449354172, 0.016386765986680984, 0.05715448781847954, -0.018785908818244934, -0.01903378963470459, -0.017068440094590187, -0.022433314472436905, 0.0086935730651021, -0.005015182308852673, 0.08010127395391464, 0.04051098972558975, -0.06710517406463623, 0.0025363632012158632, 0.038315463811159134, -0.05502978712320328, 0.01692679338157177, -0.027656540274620056, 0.039271578192710876, 0.009145072661340237, -0.03018847666680813, 0.0038288903888314962, 0.02328319475054741, 0.008038456551730633, -0.0210699625313282, 0.03916534408926964, -0.04398133605718613, 0.035694997757673264, 0.031959060579538345, 0.006369680166244507, 0.0013423248892650008, 0.09384101629257202, -0.0032357443124055862, -0.02539019100368023, 0.012217037379741669, -0.02749718725681305, -0.0008100427221506834, 0.005506519693881273, -0.005798666272312403, -0.007617942523211241, -0.050497088581323624, -0.04217533767223358, 0.015448355115950108, 0.0184140857309103, 0.017741262912750244, 0.00277981860563159, -0.0191046129912138, 0.02843559719622135, 0.020910611376166344, 0.0011453472543507814, -0.07415210455656052, 0.014173533767461777, -0.045645684003829956, -0.014837503433227539, -0.008485529571771622, 0.05690660700201988, 0.024451781064271927, -0.005347167141735554, 0.05556096136569977, 0.014536503702402115, -0.001705294824205339, 0.033003706485033035, -0.045716509222984314, -0.03551793843507767, 0.03286205977201462, -0.056233786046504974, 0.0210699625313282, 0.011057304218411446, 0.030772769823670387, 0.11048451066017151, -0.06958399713039398, -0.008728984743356705, 0.03208300098776817, 0.025638073682785034, -0.09228289872407913, -0.05375496670603752, 0.03372964635491371, 0.031339358538389206, 0.01192489080131054, 0.020715845748782158, 0.032986000180244446, 0.05290508270263672, 0.018113086000084877, 0.03364111855626106, 0.02583283744752407, 0.07078799605369568, -0.004010375123471022, 0.008706852793693542, 0.021441785618662834, 0.017741262912750244, 0.03009994700551033, -0.01400532852858305, -0.016953352838754654, 0.07181493192911148, 0.011570774018764496, 0.0016886956291273236, 0.054215315729379654, -0.05269261449575424, 0.048407796770334244, 0.03707605227828026, 0.024593427777290344, -0.003149428404867649, -0.056835781782865524, 0.027709657326340675, 0.04656638950109482, 0.09568241983652115, 0.015315561555325985, 0.08569632470607758, -0.029869770631194115, -0.016864823177456856, 0.010419894009828568, -0.008746691048145294, -0.0657949447631836, 0.027815893292427063, 0.02422160468995571, -0.058252252638339996, 0.017865203320980072, -0.013270535506308079, -0.04646015539765358, -0.00777729507535696, 0.037784285843372345, -0.02381437085568905, -0.0163602065294981, -0.033570293337106705, -0.03429623320698738, -0.030719652771949768, -0.019742025062441826, -0.024912133812904358, 0.035730406641960144, -0.006219180300831795, -0.025036074221134186, -0.01723664626479149, 0.00488238874822855, -0.0035478100180625916, 0.009738218039274216, 0.03334011882543564, 0.017307469621300697, 0.01268624234944582, -0.0752144604921341, 0.006201474461704493, -0.023513371124863625, 0.003014421323314309, 0.015935266390442848, -0.01216392032802105, 0.015749355778098106, -0.015891002491116524, 0.02431013435125351, 0.011685862205922604, -0.07585186511278152, 0.021955255419015884, 0.0412900447845459, -0.05233849585056305, 0.005325034726411104, 0.029303183779120445, 0.04238780960440636, -0.003937338944524527, 0.05903130769729614, -0.07273563742637634, -0.04918685555458069, -0.015820179134607315, 0.007923368364572525, -0.030383240431547165, -0.03068424016237259, 0.02276972495019436, 0.026204660534858704, 0.006139503791928291, 0.048301562666893005, -0.03626158460974693, -0.0748603418469429, 0.011730127036571503, 0.030454063788056374, 0.02011384814977646, 0.042600277811288834, 0.028931360691785812, -0.0036717508919537067, -0.03647405281662941, -0.015448355115950108, -0.02905530296266079, 0.02436325140297413, 0.03008224070072174, 0.010207423008978367, -0.024115370586514473, -0.02053878828883171, -0.0011154686799272895, -0.010703187435865402, -0.010588099248707294, -0.01239409577101469, 0.023035312071442604, -0.016501853242516518, -0.0736563429236412, 0.029179243370890617, -0.022982195019721985, -0.041431691497564316, 0.021990668028593063, 0.04107757657766342, 0.013429888524115086, 0.021512608975172043, -0.004059066530317068, 0.00685659097507596, 0.02222084440290928, 0.06947775930166245, 0.018015703186392784, -0.0184140857309103, 0.0020915037021040916, -0.013943358324468136, -0.003899713745340705, 0.006945120170712471, 0.006351974327117205, -0.047203801572322845, 0.00923360139131546, 0.026045307517051697, -0.02167196199297905, -0.023655017837882042, 0.01603264920413494, 0.04815991595387459, -0.03693440556526184, 0.020326318219304085, 0.04157333821058273, -0.018644262105226517, -0.056162960827350616, 0.03286205977201462, 0.03806757926940918, 0.004074559081345797, -0.02962188981473446, -0.0011674795532599092, -0.0116061856970191, -0.024912133812904358, -0.03268500044941902, 0.008073868229985237, -0.01804226264357567, -0.07167328894138336, -0.0709296390414238, 0.061085186898708344, 0.05903130769729614, -0.028648067265748978, 0.03767805173993111, -0.02960418350994587, -0.008835219778120518, 0.03376505896449089, -0.015094238333404064, 0.009879864752292633, 0.023123841732740402, 0.004824844654649496, -0.01028709951788187, -0.026505660265684128, -0.05120532214641571, 0.018679672852158546, 0.05248014256358147, 0.003523464547470212, 0.0842798501253128, -0.0529404953122139, 0.01711270585656166, -0.02105225808918476, 0.006794620305299759, 0.05541931465268135, 0.005749975331127644, 0.007803854066878557, -0.027320127934217453, 0.047310035675764084, 0.01131403911858797, -0.000756925146561116, 0.03365882486104965, 0.0344378799200058, 0.02753259986639023, -0.06179342046380043, -0.009640836156904697, 0.007432030979543924, -0.018803615123033524, -0.009052116423845291, -0.11629202961921692, 0.014819798059761524, 0.0011044024722650647, -0.015368678607046604, -0.007755163125693798, -0.056304607540369034, 0.024434074759483337, -0.008157971315085888, -0.011376009322702885, -0.006905281916260719, -0.012863300740718842, 0.08371326327323914, -0.03438476473093033, 0.05821684002876282, 0.03394211828708649, 0.031038356944918633, -0.02739095129072666, -0.029267773032188416, -0.001091123092919588, -0.037784285843372345, -0.013766299933195114, 0.06062483415007591, 0.046778857707977295, -0.019122319296002388, 0.012287860736250877, 0.05382578819990158, -0.01346530020236969, 0.03767805173993111, 0.08123444765806198, 0.034508705139160156, -0.041360870003700256, 0.006011136341840029, 0.05977495387196541, -0.00952574796974659, -0.05283426120877266, -0.0039993091486394405, -0.05800436809659004, -0.030223889276385307, 0.02847100980579853, -0.037713464349508286, 0.07103587687015533, 0.009065396152436733, 0.07960550487041473, -0.020308611914515495, 0.02384978160262108, -0.02112308144569397, -0.03902369737625122, 0.019901376217603683, 0.06614906340837479, 0.028099186718463898, -0.028187716379761696, 0.014182386919856071, -0.08838760852813721, -0.04125463217496872, 0.019352495670318604, -0.049930501729249954, -0.0633869469165802, -0.008520941250026226, 0.020450258627533913, -0.03753640502691269, -0.03185282647609711, 0.04486662894487381, 0.0028971198480576277, 0.01052612904459238, -0.018803615123033524, 0.01457191538065672, -0.029232360422611237, 0.04837238788604736, 0.05917295441031456, 0.019653495401144028, -0.006068680435419083, -0.01586444303393364, -0.029267773032188416, -0.05956248566508293, -0.03863416612148285, 0.03259647265076637, -0.011057304218411446, 0.06714058667421341, 0.013668917119503021, -0.044087570160627365, 0.02328319475054741, 0.01087139267474413, -0.007228414062410593, 0.04961179569363594, 0.00447958055883646, 0.05871260166168213, -0.013332505710422993, -0.015262443572282791, 0.03059571050107479, -0.0328974723815918, -0.004709756467491388, -0.01656382344663143, -0.014757826924324036, -0.05078038200736046, -0.03234859183430672, 0.03073735721409321, -0.01087139267474413, -0.0024013561196625233, -0.05846472084522247, 0.008990146219730377, 0.04646015539765358, 0.05952707305550575, 0.000704360892996192, 0.026682717725634575, -0.030772769823670387, 0.025655778124928474, -0.022964488714933395, -0.045185331255197525, 0.084633968770504, -0.03107376955449581, -0.04270651191473007, -0.001000933931209147, 0.056162960827350616, 0.008038456551730633, -0.07684339582920074, 0.043025217950344086, -0.02632860094308853, 0.057791899889707565, -0.019848259165883064, -0.0316934734582901, 0.04769956320524216, 0.06292659789323807, 0.004196286667138338, -0.034614939242601395, -0.002912612631917, 0.010977627709507942, -0.026788953691720963, -0.05860636755824089, -0.0342608243227005, -0.05386120080947876, -0.01760846935212612, 0.02742636390030384, -0.014439121820032597, -0.03997981175780296, -0.056198373436927795, -0.012270155362784863, 0.023088430985808372, -0.056198373436927795, -0.07592269033193588, -0.028825126588344574, -0.023035312071442604, -0.0642368271946907, -0.03813840448856354, 0.02223854884505272, 0.022521842271089554, -0.03845711052417755, -0.050957441329956055, 0.04592897742986679, 0.008835219778120518, -0.0005231525865383446, -0.030542593449354172, -0.01342103537172079, 0.01846720278263092, -0.021884432062506676, -0.03581893816590309, 0.01080056931823492, 0.005108138080686331, 0.051984380930662155, 0.03372964635491371, 0.027054540812969208, -0.03658029064536095, 0.029940593987703323, -0.06278494745492935, 0.011889479123055935, 0.007600236684083939, 0.05230308696627617, -0.02069813944399357, -0.023991428315639496, -0.06147471442818642, -0.035571057349443436, -0.0032313179690390825, 0.00925130769610405, -0.023655017837882042, -0.046141449362039566, -0.01960037834942341, 0.02478819154202938, -0.07514363527297974, -0.036173053085803986, 0.06232459843158722, 0.02896677330136299, 0.030772769823670387, 0.015802472829818726, -0.023566488176584244, -0.013934505172073841, -0.03859875723719597, 0.02429242804646492, 0.010048070922493935, -0.055631786584854126, -0.003074178472161293, 0.0173871461302042, -0.011243215762078762, 0.0014607327757403255, -0.014350592158734798, -0.009330983273684978, 0.008892764337360859, -0.04005063697695732, 0.03128623962402344, -0.02535477839410305, 0.016236266121268272, -0.003476986661553383, 0.03951945900917053, 0.014023033902049065, -0.010172011330723763, 0.005878342781215906, -0.005714563652873039, 0.01947643607854843, -0.005497667007148266, -0.035571057349443436, 0.03813840448856354, 0.05240932106971741, -0.01588214933872223, -0.056800372898578644, -0.029232360422611237, -0.06547623872756958, -0.0019144451944157481, 0.034650351852178574, -0.011331744492053986, -0.021760491654276848, 0.0656178891658783, 0.059350013732910156, 0.035163819789886475, 0.029887476935982704, 0.03385358676314354, -0.0834299698472023, -0.004585815593600273, 0.0201315525919199, 0.015749355778098106, 0.015156208537518978, 0.025142308324575424, -0.07450622320175171, -0.007193001918494701, 0.0033884572330862284, -0.017803233116865158, 0.01714811660349369, 0.03912993147969246, -0.012580007314682007, 0.04447709769010544, 0.02384978160262108, 0.03369423374533653, -0.03011765331029892, -0.04607062414288521, -0.04925767704844475, 0.0030033551156520844, 0.03390670567750931, -0.05432155355811119, -0.04748709499835968, -0.09037066251039505, 0.011526509188115597, -0.0030675388406962156, 0.052515555173158646, 0.05598590150475502, -0.0097647774964571, 0.004917800426483154, -0.021955255419015884, -0.04125463217496872, 0.01059695240110159, -0.018343262374401093, -0.017068440094590187, -0.05641084164381027, -0.058358486741781235, -0.03482741117477417, -0.018679672852158546, 0.01135830394923687, 0.03902369737625122, 0.019865965470671654, 0.010118894279003143, -0.02369042858481407, 0.04575192183256149, -0.014802091754972935, -0.018360968679189682, -0.0020726912189275026, -0.040865104645490646, -0.001225023646838963, 0.03750099241733551, 0.04238780960440636, -0.002602760214358568, -0.023584194481372833, -0.008326176553964615, -0.02160113863646984, 0.009888717904686928, -0.004233911633491516, -0.0063342684879899025, 0.051948968321084976, -0.07071717083454132, -0.007746309973299503, -0.011818655766546726, -0.04911603033542633, 0.036721937358379364, -0.0320298857986927, 0.028258539736270905, 0.010641216300427914, 0.031959060579538345, -0.015536884777247906, 0.018104232847690582, -0.04341474920511246, 0.013527270406484604, 0.033959824591875076, -0.0031582813244313, 0.01654611900448799, -0.029887476935982704, 0.014332886785268784, 0.03178200498223305, -0.06685729324817657, 0.018378673121333122, -0.004643359687179327, -0.04504368454217911, 0.02539019100368023, -0.0505325011909008, -0.001125981449149549, 0.020379435271024704, -0.05485272780060768, 0.00440211733803153, 0.04012145847082138, -0.0049355062656104565, 0.028807420283555984, -0.05435696244239807, 0.023460254073143005, 0.03286205977201462, 0.06179342046380043, 0.026682717725634575, -0.05559637397527695, 0.02167196199297905, 0.005404711235314608, 0.038811225444078445, 0.0044087572023272514, 0.008401426486670971, -0.012916418723762035, 0.004537124652415514, 0.03385358676314354, -0.04221075028181076, -0.018892142921686172, 0.007060208357870579, 0.0009002318838611245, 0.008826366625726223, -0.03760723024606705, -0.021353255957365036, 0.004988623782992363, 0.017891762778162956, -0.013615800067782402, 0.02847100980579853, 0.011216657236218452, -0.06901741027832031, 0.005727842915803194, -0.014324033632874489, 0.05828766152262688, -0.003401736728847027, 0.027231600135564804, -0.08796267211437225, -0.040865104645490646, 0.019281672313809395, 0.0008078294922597706, -0.04504368454217911, -0.031516414135694504, -0.015492619946599007, -0.0464247427880764, 0.026310894638299942, 0.026682717725634575, -0.036208465695381165, -0.10354381799697876, -0.004304734990000725, -0.0011608399217948318, 0.02062731608748436, 0.016625793650746346, 0.011800950393080711, -0.005479961168020964, 0.01852031983435154, -0.05283426120877266, 0.011393715627491474, -0.00014275342982728034, 0.010127747431397438, -0.008782102726399899, 0.022327078506350517, -0.00474959472194314, 0.00952574796974659, 0.04656638950109482, 0.006099666003137827, -0.06413059681653976, 0.01373974047601223, 0.056198373436927795, 0.08123444765806198, 0.022929077968001366, 0.05393202230334282, -0.06650317460298538, -0.022539548575878143, 0.05577343329787254, 0.009065396152436733, 0.058393899351358414, -0.10446452349424362, -0.029409419745206833, 0.01689138263463974, -0.03429623320698738, -0.0000617284094914794, 0.04235239699482918, -0.014926033094525337, 0.019193142652511597, -0.0037956919986754656, -0.048266150057315826, -0.02636401355266571, -0.0074187517166137695, -0.022397901862859726, -0.06448470801115036, 0.036137644201517105, -0.0036186333745718002, 0.014120416715741158, 0.012500330805778503, 0.00766220735386014, -0.03387129306793213, 0.07493115961551666, 0.041360870003700256, -0.013996475376188755, 0.04366263002157211, -0.017581909894943237, -0.009711659513413906, -0.01564311981201172, -0.002708995249122381, 0.012854448519647121, 0.02948024310171604, 0.031038356944918633, -0.019122319296002388, -0.04444168880581856, 0.05106367543339729, 0.03017077036201954, -0.007294810842722654, 0.052515555173158646, 0.004517205525189638, 0.08973325788974762, 0.020220082253217697, 0.05874801427125931, 0.011668155901134014 ]
54,316
nbconvert.exporters.html
from_notebook_node
Convert from notebook node.
def from_notebook_node( # type:ignore[explicit-override, override] self, nb: NotebookNode, resources: Optional[Dict[str, Any]] = None, **kw: Any ) -> Tuple[str, Dict[str, Any]]: """Convert from notebook node.""" langinfo = nb.metadata.get("language_info", {}) lexer = langinfo.get("pygments_lexer", langinfo.get("name", None)) highlight_code = self.filters.get( "highlight_code", Highlight2HTML(pygments_lexer=lexer, parent=self) ) resources = self._init_resources(resources) filter_data_type = WidgetsDataTypeFilter( notebook_metadata=self._nb_metadata, parent=self, resources=resources ) self.register_filter("highlight_code", highlight_code) self.register_filter("filter_data_type", filter_data_type) html, resources = super().from_notebook_node(nb, resources, **kw) soup = BeautifulSoup(html, features="html.parser") # Add image's alternative text missing_alt = 0 for elem in soup.select("img:not([alt])"): elem.attrs["alt"] = "No description has been provided for this image" missing_alt += 1 if missing_alt: self.log.warning("Alternative text is missing on %s image(s).", missing_alt) # Set input and output focusable for elem in soup.select(".jp-Notebook div.jp-Cell-inputWrapper"): elem.attrs["tabindex"] = "0" for elem in soup.select(".jp-Notebook div.jp-OutputArea-output"): elem.attrs["tabindex"] = "0" return str(soup), resources
(self, nb: nbformat.notebooknode.NotebookNode, resources: Optional[Dict[str, Any]] = None, **kw: Any) -> Tuple[str, Dict[str, Any]]
[ -0.0036673143040388823, -0.09201106429100037, 0.01694289781153202, -0.032801296561956406, -0.06491764634847641, 0.056850507855415344, 0.021632874384522438, 0.018864549696445465, 0.05140899121761322, -0.0031916573643684387, 0.03713928535580635, 0.04703294858336449, -0.021233322098851204, 0.034703925251960754, -0.03616894781589508, -0.04102064669132233, -0.04307548329234123, 0.010102951899170876, -0.012309999205172062, -0.007306089159101248, -0.10061093419790268, -0.01685727946460247, 0.018436459824442863, 0.022431977093219757, 0.013270826078951359, 0.013851127587258816, -0.012024604715406895, -0.015934504568576813, -0.022888608276844025, 0.027588097378611565, 0.010816437192261219, -0.08866243809461594, -0.0031488484237343073, -0.0042999377474188805, 0.02380186878144741, 0.007810285314917564, -0.04737542197108269, 0.0348941870033741, -0.0538824088871479, -0.0015268585411831737, -0.015325663611292839, -0.10220914334058762, 0.012252920307219028, -0.08402002602815628, -0.002494820160791278, 0.0016802578466013074, 0.05137094110250473, -0.04551084712147713, -0.02020590379834175, -0.08234571665525436, 0.04162948578596115, -0.01744709350168705, -0.006564064417034388, 0.06153097003698349, -0.0397268608212471, -0.015420795418322086, -0.04208611696958542, 0.08166076987981796, 0.01782761886715889, 0.07960592955350876, -0.022717371582984924, -0.006031328812241554, -0.023954078555107117, -0.008190810680389404, -0.03624505177140236, 0.011996065266430378, 0.03479905426502228, -0.054605405777692795, -0.04965857416391373, -0.005517619661986828, 0.003246357897296548, -0.012262433767318726, 0.03740565478801727, 0.05038157477974892, 0.040716227144002914, -0.05201783403754234, -0.0151163749396801, 0.00802433118224144, -0.03257298097014427, 0.06008497253060341, 0.06031328812241554, 0.022717371582984924, -0.03399994969367981, -0.04608163610100746, 0.03734857589006424, -0.07659977674484253, 0.052740830928087234, 0.028234990313649178, 0.01769443415105343, -0.021632874384522438, -0.06472738087177277, -0.062482282519340515, 0.00205364846624434, -0.04958247020840645, 0.04539668932557106, -0.0007229984039440751, 0.011092317290604115, -0.001294975751079619, 0.0639282837510109, -0.013175694271922112, 0.047413475811481476, 0.030860615894198418, -0.020091746002435684, -0.00950838066637516, -0.00008933430217439309, 0.012719064019620419, -0.023135948926210403, 0.05704076960682869, 0.017085593193769455, -0.042618852108716965, -0.006240617949515581, -0.003890872932970524, -0.007534404285252094, 0.02321205474436283, 0.019996613264083862, 0.014897572807967663, 0.03464684635400772, 0.03019469603896141, 0.045929424464702606, -0.03392384573817253, -0.03582647442817688, 0.031869009137153625, -0.05863897502422333, 0.00804335717111826, -0.02245100401341915, 0.07644756883382797, 0.03611186891794205, 0.011606027372181416, -0.036187972873449326, -0.019539983943104744, 0.02469610422849655, -0.010616661049425602, -0.05936197564005852, 0.08318287134170532, 0.03384774178266525, 0.009817557409405708, -0.018855037167668343, 0.028387200087308884, 0.013984311372041702, 0.007201444823294878, 0.023231079801917076, -0.04414095729589462, 0.04688074067234993, 0.028786752372980118, -0.08470497280359268, -0.04322769492864609, -0.0017099863616749644, 0.03367650508880615, -0.025419101119041443, -0.06712469458580017, -0.020757663995027542, 0.05243641138076782, 0.024163367226719856, 0.012024604715406895, 0.03217342868447304, 0.03367650508880615, 0.030499117448925972, -0.031773876398801804, -0.003272519214078784, -0.0044569047167897224, 0.04627189785242081, 0.013927232474088669, 0.05201783403754234, 0.038223784416913986, -0.019958561286330223, 0.017932262271642685, 0.005760204512625933, -0.06860874593257904, 0.009089802391827106, 0.019749272614717484, -0.027797386050224304, -0.03668265789747238, -0.02431557886302471, 0.026237232610583305, -0.012167301960289478, 0.08470497280359268, 0.04379848390817642, -0.02570449560880661, 0.0005808959249407053, -0.009979280643165112, -0.008752086199820042, 0.003581695957109332, -0.046386055648326874, 0.05940002575516701, -0.0343804769217968, -0.009408492594957352, 0.004932561423629522, -0.002770701190456748, 0.0017409040592610836, -0.020358113572001457, 0.04653826728463173, 0.03479905426502228, -0.04943025857210159, 0.012747603468596935, -0.04650021344423294, -0.0352366603910923, -0.012861761264503002, -0.005227468907833099, -0.02155676856637001, 0.07519183307886124, 0.023402316495776176, 0.05810623988509178, 0.004782729782164097, 0.08036698400974274, -0.028234990313649178, -0.013156668283045292, -0.04307548329234123, 0.06944590061903, -0.046652425080537796, -0.004385556094348431, 0.027683228254318237, -0.008832947351038456, 0.0033153281547129154, 0.012909326702356339, 0.044521480798721313, -0.03968880698084831, -0.024619998410344124, 0.04497811198234558, -0.007087287027388811, -0.037500787526369095, 0.05449124798178673, -0.03384774178266525, -0.007229984272271395, -0.01473584957420826, 0.00662590004503727, -0.015002217143774033, 0.052702777087688446, -0.02960488200187683, 0.03443755581974983, 0.003957464825361967, -0.06621143221855164, -0.005317843519151211, 0.013946258462965488, -0.014060416258871555, 0.033467214554548264, 0.01727585680782795, 0.030632300302386284, -0.021670926362276077, -0.04098259285092354, -0.010017333552241325, -0.03708220645785332, -0.0345517136156559, -0.014383862726390362, -0.03599771112203598, 0.01613428071141243, -0.019635114818811417, 0.08432444930076599, -0.008519014343619347, -0.0608079731464386, -0.03571231663227081, 0.010911568067967892, -0.012814195826649666, 0.019406799226999283, 0.006649682763963938, -0.00243417383171618, 0.016781173646450043, -0.0017040406819432974, -0.05224614962935448, -0.01591547764837742, -0.009555946104228497, 0.01409846916794777, -0.10289409011602402, 0.0011320633348077536, 0.027074387297034264, 0.042961325496435165, -0.029376566410064697, -0.007719910703599453, 0.048555050045251846, 0.03401897847652435, -0.031450431793928146, 0.031012825667858124, 0.007933956570923328, 0.027873491868376732, -0.001205790089443326, 0.031450431793928146, -0.05662219226360321, 0.0342092402279377, 0.012671498581767082, -0.008452421985566616, -0.022336846217513084, -0.02794959582388401, -0.012233894318342209, -0.020358113572001457, 0.008752086199820042, 0.021689951419830322, -0.0801386684179306, 0.007986278273165226, 0.03226856142282486, 0.006763840559870005, -0.045206427574157715, 0.025095654651522636, 0.02456291951239109, -0.03095574863255024, 0.010026846081018448, -0.011158909648656845, 0.05137094110250473, -0.034837108105421066, 0.027873491868376732, -0.020339086651802063, 0.0037457977887243032, -0.021499689668416977, -0.05072404816746712, 0.08683591336011887, -0.021823136135935783, -0.006545038428157568, -0.023916026577353477, -0.006621143314987421, 0.018445972353219986, -0.04908778518438339, 0.006164512597024441, 0.011919960379600525, 0.009893662296235561, 0.04044985771179199, 0.014431429095566273, -0.031450431793928146, -0.0673530101776123, 0.051599256694316864, 0.025989890098571777, -0.01601061038672924, 0.030670354142785072, -0.015344689600169659, -0.0642707496881485, -0.0642707496881485, 0.03226856142282486, 0.025989890098571777, -0.03276324272155762, 0.020757663995027542, -0.020148824900388718, 0.044445376843214035, 0.028349148109555244, 0.014945138245821, 0.013765509240329266, 0.003921790514141321, -0.025970863178372383, -0.0877491757273674, -0.05247446522116661, -0.018360354006290436, -0.007425003219395876, -0.04943025857210159, -0.021670926362276077, 0.00963205099105835, -0.018236683681607246, 0.009674860164523125, 0.017799079418182373, -0.015744240954518318, -0.04847894608974457, 0.009912688285112381, -0.02912922576069832, 0.010873515158891678, -0.02477220818400383, -0.047489579766988754, 0.023021791130304337, -0.0030109079089015722, 0.017123647034168243, -0.011168423108756542, -0.03247784823179245, -0.012015092186629772, -0.0017242560861632228, -0.02570449560880661, -0.03831891715526581, -0.003712501609697938, 0.029757091775536537, -0.010150517337024212, 0.027511991560459137, 0.0037743370048701763, -0.006568821147084236, 0.0449020080268383, 0.0818890854716301, 0.04494005814194679, -0.002972855232656002, 0.05479566752910614, -0.002340231789276004, -0.05829650163650513, -0.03713928535580635, -0.025266891345381737, -0.052322253584861755, -0.012081683613359928, -0.04360821843147278, -0.061340708285570145, -0.002418715041130781, 0.0005707882228307426, 0.011929473839700222, 0.002293855184689164, -0.02812083251774311, -0.02676996774971485, -0.035807449370622635, -0.011339658871293068, 0.02947169914841652, 0.0022879093885421753, -0.043379902839660645, -0.055366456508636475, -0.0029799900949001312, 0.025247866287827492, 0.05863897502422333, -0.04832673445343971, -0.06369996815919876, 0.01744709350168705, -0.013137642294168472, 0.03320084884762764, -0.043684326112270355, 0.01722829043865204, 0.015696676447987556, 0.05525229871273041, 0.024239473044872284, 0.009912688285112381, 0.04676658287644386, 0.029167277738451958, 0.010207596234977245, 0.020472271367907524, -0.045130323618650436, -0.019673166796565056, -0.0017575520323589444, 0.02125234715640545, 0.014574125409126282, 0.0006254887557588518, 0.03247784823179245, 0.025590337812900543, 0.011358685791492462, -0.07465910166501999, -0.031031852588057518, -0.051180675625801086, -0.027854464948177338, 0.07077773660421371, 0.020224928855895996, 0.021747030317783356, -0.039650753140449524, 0.021157216280698776, -0.008452421985566616, 0.012880787253379822, 0.04650021344423294, -0.009137367829680443, -0.012148275971412659, 0.010588121600449085, -0.062063705176115036, 0.032211482524871826, -0.04497811198234558, -0.039574649184942245, -0.03302961215376854, 0.03786228597164154, 0.015106861479580402, 0.05677440017461777, -0.013651351444423199, 0.07035916298627853, 0.000450982159236446, -0.049011681228876114, -0.006516498979181051, -0.01621989905834198, 0.07271841913461685, -0.033904820680618286, -0.055023983120918274, 0.06548843532800674, -0.021081112325191498, 0.013128128834068775, -0.012956892140209675, 0.013537193648517132, -0.0013413523556664586, 0.034114107489585876, -0.026731915771961212, 0.029661960899829865, 0.04467369243502617, -0.023992130532860756, 0.03099380061030388, 0.03209732472896576, -0.043341852724552155, 0.01259539369493723, -0.07172904908657074, 0.04532058537006378, -0.06624948233366013, 0.00653076870366931, 0.020148824900388718, 0.01798934116959572, 0.0022379655856639147, 0.029414620250463486, -0.06316722929477692, 0.03679681196808815, 0.04052596166729927, -0.02498149685561657, -0.08919516950845718, -0.035255685448646545, -0.02545715495944023, -0.027074387297034264, -0.027721280232071877, 0.0683804303407669, -0.020985979586839676, -0.03797644376754761, -0.020605454221367836, 0.022032424807548523, 0.019958561286330223, 0.052322253584861755, 0.0071776616387069225, -0.07914929836988449, 0.06761937588453293, -0.03434242308139801, 0.022222688421607018, -0.011444304138422012, -0.013632325455546379, 0.04912583902478218, 0.006178782321512699, 0.015182966366410255, -0.028044728562235832, 0.0004346314526628703, -0.07914929836988449, 0.05171341076493263, 0.026237232610583305, 0.037881311029195786, -0.0077579631470143795, -0.0031322003342211246, 0.060998234897851944, 0.055366456508636475, 0.011006699874997139, 0.015154426917433739, 0.046690475195646286, 0.11118954420089722, -0.016191359609365463, -0.05338772386312485, -0.04627189785242081, -0.019825376570224762, 0.10487282276153564, -0.02197534590959549, 0.011834342032670975, 0.02570449560880661, -0.013451575301587582, 0.043684326112270355, -0.004635275807231665, 0.026712888851761818, 0.01492611225694418, 0.019673166796565056, -0.025970863178372383, -0.06678222119808197, 0.018855037167668343, -0.05863897502422333, -0.05178951844573021, 0.024467788636684418, -0.050495732575654984, -0.0663255900144577, 0.013499141670763493, 0.06617338210344315, 0.0333530567586422, 0.06472738087177277, 0.02684607170522213, 0.017351962625980377, -0.006787623278796673, -0.03763397037982941, 0.022850554436445236, 0.03232564032077789, 0.03112698346376419, -0.04535863548517227, 0.05171341076493263, 0.011767750605940819, 0.010407371446490288, 0.0528549887239933, -0.03536984324455261, -0.0049230484291911125, 0.011682132259011269, 0.019597062841057777, 0.024163367226719856, -0.02134747989475727, -0.007838824763894081, 0.06758132576942444, 0.006516498979181051, 0.008590362966060638, -0.04619579389691353, -0.002632760675624013, -0.003802876453846693, 0.02032005973160267, 0.05639387667179108, 0.02273639664053917, -0.02058642916381359, -0.07172904908657074, -0.038813598453998566, 0.08135634660720825, -0.0023497447837144136, 0.05430098623037338, -0.022203661501407623, 0.0018360354006290436, -0.010274187661707401, -0.024619998410344124, -0.035464975982904434, 0.0007741315057501197, 0.006768596824258566, -0.04828868433833122, 0.025647416710853577, 0.028577463701367378, -0.030118592083454132, 0.037500787526369095, 0.0480223149061203, -0.08089971542358398, 0.03200219199061394, 0.04676658287644386, 0.0016552858287468553, 0.013432549312710762, -0.006040841806679964, 0.030251774936914444, -0.05662219226360321, 0.07112020999193192, 0.009027967229485512, -0.01803690753877163, -0.04162948578596115, -0.014393376186490059, -0.03816670551896095, 0.004552036058157682, -0.015230532735586166, -0.0005773284938186407, -0.034114107489585876, 0.03727247193455696, 0.001366324257105589, 0.0390419140458107, -0.03731052204966545, -0.014307757839560509, -0.016999974846839905, 0.04946831241250038, -0.009446544572710991, 0.02439168281853199, 0.03879457339644432, -0.02612307481467724, -0.006930320058017969, -0.011710671707987785, -0.057915978133678436, -0.0009703399846330285, -0.025723522529006004, -0.013270826078951359, 0.008295455016195774, 0.023706737905740738, 0.02939559333026409, -0.026731915771961212, -0.058677028864622116, 0.02151871658861637, 0.0054082185961306095, -0.024924417957663536, 0.029281435534358025, 0.06586895883083344, -0.04079233109951019, 0.04646215960383415, -0.04691879078745842, -0.043379902839660645, 0.03946049138903618, 0.051941726356744766, 0.022793475538492203, -0.030860615894198418, 0.053159408271312714, 0.036187972873449326, -0.02062448114156723, -0.02460097149014473, -0.045130323618650436, 0.006421367637813091, -0.04440732300281525, 0.045130323618650436, -0.015297124162316322, -0.0335242934525013, 0.01579180732369423, -0.042923275381326675, 0.018055934458971024, 0.025818653404712677, 0.001091632409952581, -0.0151163749396801, 0.03850917890667915, 0.027968622744083405, 0.005484323482960463, 0.027492966502904892, 0.013080563396215439, 0.022565161809325218, 0.00015800725668668747, 0.012233894318342209, 0.0770564079284668, 0.011510895565152168, -0.014745362102985382, -0.005617507267743349, 0.023820895701646805, 0.027454912662506104, -0.005684099160134792, 0.01600109599530697, 0.03108893148601055, -0.028862858191132545, -0.013546707108616829, 0.019749272614717484, 0.018522078171372414, -0.017675409093499184, -0.035255685448646545, -0.04227638244628906, -0.041401173919439316, -0.023611605167388916, 0.012852247804403305, -0.0739360973238945, 0.007529648020863533, -0.023554526269435883, 0.017256829887628555, 0.011625053361058235, -0.008666467852890491, -0.00908028893172741, -0.011339658871293068, -0.026712888851761818, 0.00785309448838234, 0.007529648020863533, 0.02134747989475727, -0.0047684600576758385, -0.003976491279900074, -0.01325180009007454, -0.03980296477675438, 0.023497449234128, -0.012614419683814049, 0.05449124798178673, 0.0008163460879586637, -0.012043631635606289, -0.017047541216015816, 0.05357798561453819, 0.012538314796984196, -0.02311692200601101, -0.03588355332612991, -0.026275284588336945, -0.0018479268765076995, -0.028786752372980118, 0.02456291951239109, -0.004216697998344898, 0.0007117015775293112, -0.03595965728163719, 0.021651899442076683, 0.007501108571887016, -0.009161151014268398, -0.02968098782002926, -0.0005722746718674898, -0.0009245579713024199, -0.03807157278060913, 0.03137432411313057, 0.07762719690799713, 0.006364288739860058, 0.06617338210344315, -0.04364627227187157, -0.044521480798721313, 0.00912785530090332, -0.055328406393527985, 0.03980296477675438, 0.044787850230932236, -0.041096750646829605, -0.06731496006250381, 0.0031131741125136614, -0.05662219226360321, 0.05772571638226509, 0.030480090528726578, -0.0021594821009784937, -0.03447560966014862, 0.07610509544610977, 0.03371455892920494, -0.01647675409913063, 0.07781746238470078, 0.02442973665893078, 0.0004937912453897297, -0.007976765744388103, -0.007715153973549604, 0.010835463181138039, 0.04025959596037865, 0.031107958406209946, 0.024296551942825317, 0.013537193648517132, 0.04611968621611595, 0.06111239269375801, -0.029661960899829865, 0.03911801800131798, 0.03078451193869114, -0.020434217527508736, 0.0060218158178031445, 0.029738066717982292, 0.02197534590959549, 0.008599875494837761, 0.00009423951269127429, 0.018360354006290436, -0.026180153712630272, -0.02562839165329933, -0.037196364253759384 ]
54,321
nbconvert.exporters.html
markdown2html
Markdown to HTML filter respecting the anchor_link_text setting
@contextfilter def markdown2html(self, context, source): """Markdown to HTML filter respecting the anchor_link_text setting""" cell = context.get("cell", {}) attachments = cell.get("attachments", {}) path = context.get("resources", {}).get("metadata", {}).get("path", "") renderer = IPythonRenderer( escape=False, attachments=attachments, embed_images=self.embed_images, path=path, anchor_link_text=self.anchor_link_text, exclude_anchor_links=self.exclude_anchor_links, ) return MarkdownWithMath(renderer=renderer).render(source)
(self, context, source)
[ 0.009509330615401268, -0.08972906321287155, 0.064057357609272, -0.035616446286439896, 0.02905048057436943, -0.005642899312078953, -0.020394552499055862, -0.00360518554225564, 0.03378773108124733, 0.03331748768687248, 0.022049106657505035, -0.039953120052814484, 0.021787861362099648, 0.058205459266901016, -0.035198453813791275, 0.0000677605057717301, -0.010502062737941742, 0.010902638547122478, 0.08025456964969635, -0.007789465133100748, -0.028249328956007957, -0.007314869202673435, -0.025932954624295235, -0.041450925171375275, -0.015047731809318066, -0.004382390528917313, -0.000865919457282871, -0.02516663447022438, 0.0096660777926445, 0.011790872551500797, -0.0035072185564786196, -0.053468212485313416, 0.009883781895041466, 0.012113075703382492, 0.013410594314336777, -0.03727100044488907, -0.02171819470822811, 0.05837962403893471, 0.0006253560422919691, -0.013898251578211784, -0.035633862018585205, 0.027918418869376183, 0.04155542328953743, -0.029869049787521362, -0.04625784233212471, -0.053085051476955414, -0.029851634055376053, -0.03558161482214928, -0.03032187558710575, -0.03377031534910202, 0.022310351952910423, -0.004476003348827362, 0.05486151948571205, 0.0657641589641571, -0.031506188213825226, 0.0032916911877691746, -0.04368022084236145, 0.06858561187982559, 0.0223626010119915, -0.009004255756735802, -0.018130427226424217, 0.040963269770145416, 0.021195704117417336, 0.0023403228260576725, 0.021840110421180725, 0.03502429276704788, -0.020081058144569397, 0.024226151406764984, -0.02478347346186638, -0.008647220209240913, -0.05879761651158333, -0.013053558766841888, 0.03514620661735535, 0.007036207709461451, -0.01595338247716427, -0.012313363142311573, -0.019645649939775467, 0.003069632686674595, 0.036504682153463364, -0.0031523604411631823, 0.06113141030073166, 0.06457984447479248, 0.029869049787521362, -0.005050742998719215, 0.0615842342376709, -0.06548549979925156, 0.0413115955889225, 0.04733765497803688, 0.07057107239961624, -0.00891717430204153, 0.04646683856844902, -0.020394552499055862, -0.02175302803516388, -0.033491652458906174, 0.00019715858798008412, 0.03793282434344292, 0.015065147541463375, 0.02281542681157589, 0.025567209348082542, -0.02967746928334236, 0.022710928693413734, 0.07109356671571732, 0.034989457577466965, 0.01584017463028431, -0.004243059549480677, -0.03291691094636917, 0.00008143507147906348, 0.000003001940285685123, 0.0005203136242926121, -0.015160937793552876, -0.05601099878549576, 0.0011951974593102932, -0.0040035848505795, -0.08561880141496658, 0.03727100044488907, 0.00554710952565074, -0.019088326022028923, -0.012417861260473728, -0.028684737160801888, -0.03274274989962578, -0.01807817816734314, -0.02429581619799137, -0.07057107239961624, -0.04437687620520592, 0.0012354727368801832, 0.02948589064180851, -0.01258331723511219, -0.030861781910061836, -0.000505618576426059, -0.059111110866069794, -0.032586000859737396, -0.008904111571609974, -0.05123891681432724, 0.031715184450149536, 0.02107379026710987, 0.0008789817220531404, -0.01809559389948845, -0.02218843810260296, 0.0290853139013052, 0.07558698207139969, -0.029363974928855896, -0.03859464451670647, -0.004184279590845108, -0.020986707881093025, -0.0559065006673336, -0.018025929108262062, 0.013297387398779392, 0.038002487272024155, 0.013462843373417854, -0.01633654162287712, 0.05925044044852257, -0.007206017151474953, 0.02112603932619095, 0.03814182057976723, 0.05106475576758385, 0.055627841502428055, -0.0033221698831766844, 0.03364839777350426, 0.042495906352996826, 0.04921862110495567, 0.06541582942008972, 0.00028410431696102023, -0.03032187558710575, 0.1104893609881401, -0.01010148599743843, -0.02689085341989994, 0.022275518625974655, -0.08248385787010193, 0.014716820791363716, -0.00039268439286388457, 0.027639755979180336, -0.022066522389650345, -0.009161002933979034, 0.0017187766497954726, 0.034136056900024414, 0.08520080894231796, 0.010676225647330284, 0.08777843415737152, 0.008124729618430138, -0.032377004623413086, -0.05273672565817833, 0.015108688734471798, -0.018670333549380302, 0.03340457007288933, 0.012313363142311573, 0.012095659039914608, 0.012147908098995686, -0.021665945649147034, 0.00816827081143856, -0.026629608124494553, 0.014499115757644176, -0.04277456924319267, -0.03446696698665619, -0.043993715196847916, -0.059703268110752106, -0.028789235278964043, -0.03943062946200371, -0.03143652155995369, -0.02560204267501831, 0.01804334484040737, -0.04148576036095619, -0.02022038958966732, -0.03249891847372055, 0.04890512675046921, 0.010171151719987392, 0.021143455058336258, -0.002351208124309778, 0.06088757887482643, -0.09676527231931686, -0.022641262039542198, -0.04246107488870621, 0.0012550661340355873, -0.019436653703451157, 0.03330007195472717, 0.022258102893829346, 0.015396058559417725, -0.019628232344985008, 0.07872192561626434, -0.030617954209446907, 0.045282524079084396, -0.021265370771288872, -0.08109055459499359, 0.009927323088049889, 0.019541151821613312, 0.06454501301050186, -0.03338715434074402, 0.10108453035354614, 0.014159496873617172, 0.01442074216902256, -0.03265566751360893, 0.032829832285642624, -0.03162810206413269, 0.0002917239617090672, 0.03765416145324707, 0.07064073532819748, -0.03180226683616638, 0.0005499758408404887, -0.011399004608392715, -0.07335769385099411, 0.03612152114510536, -0.023842990398406982, 0.056742485612630844, 0.08150854706764221, 0.024853140115737915, 0.03622601926326752, -0.03361356630921364, 0.011242257431149483, 0.021369868889451027, -0.032586000859737396, -0.04385438561439514, -0.012217573821544647, -0.01779080741107464, -0.0058083548210561275, -0.01688515767455101, -0.02152661606669426, -0.006465821992605925, 0.0036770279984921217, 0.0020290054380893707, -0.024487396702170372, -0.014769069850444794, 0.029799384996294975, -0.0920976921916008, -0.02753525786101818, -0.015195770189166069, 0.045979179441928864, -0.006909938994795084, -0.06489334255456924, 0.056672822684049606, -0.00408413540571928, 0.015430890955030918, 0.04542185738682747, 0.001242003869265318, 0.028719570487737656, -0.002438289811834693, -0.005830124951899052, 0.012287238612771034, -0.0011854007607325912, 0.041241928935050964, -0.01386341918259859, 0.0003959499590564519, 0.0107545992359519, -0.017921429127454758, -0.050507429987192154, 0.021700778976082802, 0.03612152114510536, -0.05339854583144188, 0.010519478470087051, 0.06043475493788719, 0.010493353940546513, -0.009544163011014462, 0.005081221926957369, 0.05472218990325928, 0.013192889280617237, -0.020568715408444405, -0.04709382727742195, 0.055836837738752365, -0.009796700440347195, -0.044028546661138535, -0.009613828733563423, 0.025776205584406853, -0.06106174364686012, -0.003879493335261941, 0.025445295497775078, 0.0361911877989769, -0.10275650024414062, 0.01786918006837368, -0.017233483493328094, 0.02584587223827839, 0.05621999502182007, -0.007349702063947916, 0.05813579633831978, 0.028144830837845802, -0.005076867528259754, 0.00612620310857892, -0.023738492280244827, -0.031732600182294846, 0.0166761614382267, 0.03943062946200371, 0.018687749281525612, 0.02755267545580864, -0.064823679625988, 0.02478347346186638, 0.013314804062247276, 0.012217573821544647, 0.07363635301589966, 0.0009753159247338772, 0.04469037055969238, -0.036713678389787674, 0.057230144739151, 0.04911412298679352, 0.017938846722245216, 0.05507051572203636, 0.03558161482214928, -0.01698094606399536, -0.07698029279708862, -0.04221724718809128, -0.028493158519268036, -0.01751214638352394, -0.023111503571271896, -0.09321233630180359, 0.00360518554225564, 0.016928697004914284, 0.004312725272029638, -0.008220519870519638, 0.024870555847883224, -0.0021868410985916853, -0.03126235678792, -0.00596510199829936, -0.026107117533683777, -0.021230537444353104, 0.04117226600646973, 0.0612010732293129, 0.01688515767455101, 0.014577489346265793, -0.018374254927039146, -0.0017024488188326359, -0.04030144587159157, -0.03009546361863613, -0.06106174364686012, 0.014385909773409367, 0.040580108761787415, 0.02347724698483944, -0.025584626942873, 0.015814051032066345, 0.010632685385644436, 0.02063838206231594, -0.04176441952586174, 0.06754063069820404, 0.06757546216249466, 0.0022086116950958967, -0.011216132901608944, 0.025393046438694, 0.01538735069334507, -0.01064139325171709, -0.004619688261300325, -0.06318654119968414, -0.05336371436715126, -0.010066653601825237, -0.018635500222444534, 0.053677208721637726, -0.043575722724199295, 0.02304183878004551, -0.010893930681049824, -0.017425063997507095, -0.07300936430692673, -0.044446539133787155, 0.022954756394028664, 0.01955856755375862, 0.03330007195472717, -0.03911713510751724, 0.007502095308154821, -0.07600497454404831, 0.025027303025126457, 0.014943232759833336, -0.030043214559555054, -0.07363635301589966, 0.02924206107854843, 0.029590388759970665, -0.009831532835960388, -0.023337917402386665, 0.05137825012207031, 0.043993715196847916, 0.0260548684746027, -0.0033853042405098677, 0.018565835431218147, 0.01914057508111, 0.05956393480300903, 0.04197341576218605, 0.023738492280244827, 0.015883715823292732, -0.03255116939544678, -0.012748772278428078, -0.081856869161129, 0.006322137080132961, 0.008843154646456242, -0.028301578015089035, 0.07649263739585876, -0.07039690762758255, -0.05339854583144188, 0.00640921900048852, 0.02516663447022438, -0.008743010461330414, -0.004029709380120039, -0.030008381232619286, 0.03168034926056862, -0.029590388759970665, -0.009944738820195198, 0.0036835591308772564, -0.0036160708405077457, 0.03612152114510536, -0.05656832456588745, -0.05729981139302254, 0.018234925344586372, -0.04733765497803688, -0.0005015366477891803, 0.011782164685428143, 0.00741936732083559, -0.016327833756804466, 0.033021409064531326, 0.013602173887193203, 0.07210371643304825, -0.0011494795326143503, 0.020168140530586243, -0.023076672106981277, -0.02046421729028225, -0.004301839973777533, -0.024469979107379913, 0.03887330740690231, -0.081856869161129, 0.011442545801401138, 0.0581706278026104, 0.07398468255996704, 0.014882275834679604, -0.048521965742111206, -0.0016088358825072646, -0.0725913718342781, 0.0642315223813057, -0.017102861776947975, -0.000630798633210361, 0.07872192561626434, 0.031244942918419838, 0.019924310967326164, -0.04064977541565895, -0.011747332289814949, 0.03887330740690231, -0.07948824763298035, -0.014742945320904255, -0.02345983125269413, -0.06970025599002838, -0.020969292148947716, 0.044028546661138535, -0.017277024686336517, -0.02709984965622425, 0.009082629345357418, 0.02365141175687313, 0.04817363992333412, -0.039256464689970016, -0.055209849029779434, -0.014324952848255634, 0.0033156387507915497, -0.064057357609272, -0.09585962444543839, 0.032829832285642624, -0.014612322673201561, -0.0260548684746027, -0.018147842958569527, 0.051761407405138016, -0.016441039741039276, 0.013149349018931389, -0.010197276249527931, -0.04538702219724655, 0.08081188797950745, -0.018687749281525612, -0.0028628134168684483, 0.029642637819051743, -0.030217377468943596, 0.04949728399515152, 0.030391540378332138, 0.015796635299921036, -0.08192653954029083, 0.026768939569592476, -0.028092581778764725, 0.015578930266201496, -0.007484679110348225, 0.08213553577661514, 0.0037532246205955744, 0.012008577585220337, -0.00666611036285758, -0.041207097470760345, -0.00015402589633595198, 0.0040732501074671745, -0.005468735471367836, 0.061026912182569504, 0.029137562960386276, -0.014525240287184715, -0.006909938994795084, -0.02541046217083931, 0.041625089943408966, 0.05378170683979988, 0.010475938208401203, -0.0004609891620930284, -0.015439599752426147, -0.032411839812994, -0.07412400841712952, -0.000636241224128753, 0.008372913114726543, 0.0061653899028897285, 0.020516466349363327, -0.032411839812994, 0.015753094106912613, -0.02365141175687313, -0.02215360477566719, 0.033021409064531326, -0.030269626528024673, -0.04430720955133438, 0.0667046457529068, -0.031715184450149536, 0.00016409473028033972, 0.008834446780383587, 0.005190073978155851, -0.021247953176498413, -0.04524769261479378, -0.03981379047036171, -0.01785176433622837, 0.023076672106981277, 0.04089360311627388, 0.013419302180409431, 0.056846983730793, 0.04883546009659767, 0.02777908742427826, -0.006047829519957304, -0.020568715408444405, -0.025915537029504776, 0.030391540378332138, 0.022066522389650345, 0.02194460853934288, 0.0007282213773578405, 0.045735351741313934, 0.03228992223739624, 0.013262555003166199, 0.04855680093169212, -0.019419236108660698, 0.031035946682095528, -0.022902507334947586, 0.03228992223739624, 0.003324346849694848, 0.01012761052697897, 0.00866028293967247, -0.03514620661735535, -0.02410423569381237, -0.029660053551197052, 0.003350471379235387, 0.012783604674041271, -0.00003189030030625872, -0.007693675346672535, -0.012443985790014267, 0.008316310122609138, 0.0045717936009168625, 0.027256596833467484, 0.005259739235043526, -0.025706540793180466, -0.044864531606435776, 0.022101355716586113, -0.01730315014719963, -0.004471649415791035, -0.057125646620988846, 0.03417088836431503, 0.01183441374450922, 0.023198585957288742, 0.014142081141471863, -0.030060630291700363, -0.04430720955133438, 0.0004680645652115345, -0.035842858254909515, 0.05468735843896866, -0.0022445328067988157, 0.0009796699741855264, -0.02112603932619095, -0.03168034926056862, -0.017346689477562904, 0.008882340975105762, 0.01806076057255268, 0.01043239701539278, 0.022919924929738045, -0.0005736512248404324, -0.012548483908176422, 0.048730961978435516, -0.06381352990865707, -0.10038787126541138, -0.059494271874427795, -0.04110259935259819, 0.03288207948207855, 0.036504682153463364, 0.038002487272024155, -0.0036574346013367176, -0.04392404854297638, -0.05266705900430679, 0.005251031368970871, -0.028754403814673424, 0.012548483908176422, -0.01635395735502243, 0.0047241863794624805, -0.062315721064805984, -0.02408681996166706, 0.047476984560489655, 0.0002545781317166984, 0.040162116289138794, -0.0230244230479002, -0.013933084905147552, 0.05597616732120514, 0.02817966416478157, 0.0013377937721088529, 0.0036857363302260637, 0.021596280857920647, 0.05127375200390816, 0.01809559389948845, 0.007075394503772259, 0.016928697004914284, -0.030060630291700363, 0.04218241199851036, -0.027901001274585724, -0.07133739441633224, -0.04347122460603714, -0.024870555847883224, 0.012104366905987263, 0.0077285077422857285, 0.008325017988681793, -0.05179624259471893, -0.031123027205467224, -0.0019560744985938072, 0.012565900571644306, 0.036469850689172745, 0.03060053661465645, -0.002071457915008068, -0.019506318494677544, 0.09272468090057373, -0.015648595988750458, 0.03255116939544678, 0.000271722354227677, -0.029224645346403122, 0.028353827074170113, -0.007885254919528961, -0.023825574666261673, 0.010327898897230625, 0.028754403814673424, -0.05057709664106369, 0.033265240490436554, 0.015622471459209919, 0.0044890656135976315, 0.046571336686611176, 0.017486020922660828, 0.02370366081595421, -0.03507653996348381, -0.01783434860408306, -0.026316113770008087, -0.03300399333238602, 0.020290054380893707, -0.03545970097184181, 0.01777339167892933, 0.012052117846906185, -0.064057357609272, -0.0018319828668609262, -0.040963269770145416, 0.0710587278008461, 0.005834479350596666, -0.005655961576849222, 0.027813920751214027, -0.0012376498198136687, -0.004684999585151672, -0.01807817816734314, -0.053050220012664795, 0.03803732246160507, -0.005381654016673565, -0.044655535370111465, 0.026124533265829086, -0.04190375283360481, -0.049636613577604294, -0.043401557952165604, 0.02321600168943405, -0.008233582600951195, 0.019001243636012077, 0.045979179441928864, 0.034780461341142654, -0.024243567138910294, 0.0045064822770655155, -0.04824330657720566, -0.01515222992748022, 0.03615635633468628, -0.0354422852396965, -0.04559601843357086, -0.0145426569506526, 0.007380180526524782, 0.0486961305141449, 0.052597396075725555, 0.019732730463147163, -0.020307470113039017, -0.03828115016222, -0.0002695453295018524, 0.023355333134531975, 0.0032916911877691746, 0.046153344213962555, -0.01311451569199562, 0.05719531327486038, -0.000815847422927618, -0.034937210381031036, 0.0028170954901725054, -0.1097230389714241, -0.013010017573833466, 0.039953120052814484, -0.06524167209863663, 0.012949060648679733, 0.02708243392407894, -0.021613696590065956, 0.025236299261450768, -0.014011458493769169, -0.016057880595326424, -0.06043475493788719, -0.04134642705321312, -0.06308203935623169, -0.055627841502428055, 0.004615334328263998, -0.008673344738781452, -0.04040594398975372, 0.001417255960404873, 0.07551731914281845, -0.005124762654304504, 0.013367053121328354, 0.06875976920127869, -0.006117494776844978, -0.02755267545580864, 0.019488902762532234, 0.025932954624295235, -0.017085444182157516, 0.020115891471505165, 0.0920976921916008, 0.007367118261754513, 0.04580501466989517, 0.02020297199487686, -0.028684737160801888, 0.009021672420203686, 0.021840110421180725, 0.004055833909660578, 0.030391540378332138, 0.012626857496798038, -0.009230668656527996, -0.018461337313055992, -0.03060053661465645, 0.046188175678253174 ]
54,338
nbconvert.exporters.latex
LatexExporter
Exports to a Latex template. Inherit from this class if your template is LaTeX based and you need custom transformers/filters. If you don't need custom transformers/filters, just change the 'template_file' config option. Place your template in the special "/latex" subfolder of the "../templates" folder.
class LatexExporter(TemplateExporter): """ Exports to a Latex template. Inherit from this class if your template is LaTeX based and you need custom transformers/filters. If you don't need custom transformers/filters, just change the 'template_file' config option. Place your template in the special "/latex" subfolder of the "../templates" folder. """ export_from_notebook = "LaTeX" @default("file_extension") def _file_extension_default(self): return ".tex" @default("template_name") def _template_name_default(self): return "latex" output_mimetype = "text/latex" def default_filters(self): """Get the default filters.""" yield from super().default_filters() yield ("resolve_references", resolve_references) @property def default_config(self): c = Config( { "NbConvertBase": { "display_data_priority": [ "text/latex", "application/pdf", "image/png", "image/jpeg", "image/svg+xml", "text/markdown", "text/plain", ] }, "ExtractAttachmentsPreprocessor": {"enabled": True}, "ExtractOutputPreprocessor": {"enabled": True}, "SVG2PDFPreprocessor": {"enabled": True}, "LatexPreprocessor": {"enabled": True}, "SphinxPreprocessor": {"enabled": True}, "HighlightMagicsPreprocessor": {"enabled": True}, } ) if super().default_config: c2 = super().default_config.copy() c2.merge(c) c = c2 return c def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" langinfo = nb.metadata.get("language_info", {}) lexer = langinfo.get("pygments_lexer", langinfo.get("name", None)) highlight_code = self.filters.get( "highlight_code", Highlight2Latex(pygments_lexer=lexer, parent=self) ) self.register_filter("highlight_code", highlight_code) # Need to make sure explicit relative paths are visible to latex for pdf conversion # https://github.com/jupyter/nbconvert/issues/1998 nb_path = resources.get("metadata", {}).get("path") if resources else None texinputs = os.path.abspath(nb_path) if nb_path else os.getcwd() convert_explicitly_relative_paths = self.filters.get( "convert_explicitly_relative_paths", ConvertExplicitlyRelativePaths(texinputs=texinputs, parent=self), ) self.register_filter("convert_explicitly_relative_paths", convert_explicitly_relative_paths) return super().from_notebook_node(nb, resources, **kw) def _create_environment(self): environment = super()._create_environment() # Set special Jinja2 syntax that will not conflict with latex. environment.block_start_string = "((*" environment.block_end_string = "*))" environment.variable_start_string = "(((" environment.variable_end_string = ")))" environment.comment_start_string = "((=" environment.comment_end_string = "=))" return environment
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ 0.021717287600040436, -0.10074355453252792, 0.03653591498732567, -0.03917590528726578, -0.008083764463663101, 0.028442516922950745, -0.04979367554187775, 0.026149388402700424, 0.004603120964020491, -0.008392084389925003, 0.06293581426143646, -0.0314100980758667, -0.005371511913836002, 0.03322147578001022, -0.061008814722299576, -0.06767623126506805, 0.027344128116965294, 0.009952954016625881, 0.06547945737838745, -0.00010861956252483651, -0.04108363762497902, -0.04990929737687111, 0.0230854582041502, 0.005540124606341124, -0.013546808622777462, -0.05052593722939491, -0.0033433446660637856, -0.0271706972271204, -0.013710604049265385, -0.015435268171131611, -0.039214447140693665, -0.052375856786966324, 0.004176772199571133, -0.005135454703122377, 0.05996823310852051, -0.01674562878906727, -0.054264314472675323, 0.05071863532066345, -0.007833254523575306, -0.0005272151320241392, 0.038617078214883804, -0.028904996812343597, 0.024048957973718643, -0.05939013510942459, -0.04636361449956894, -0.004564580973237753, -0.079777792096138, -0.008791936561465263, -0.0350135862827301, 0.03514847531914711, 0.03495577722787857, -0.06216501444578171, 0.021563127636909485, 0.051836296916007996, -0.04802083596587181, -0.01565687358379364, 0.011812509037554264, 0.0734957754611969, 0.017728397622704506, -0.010511783882975578, 0.008912374265491962, 0.05094987526535988, -0.006229026708751917, -0.009374854154884815, 0.023393778130412102, 0.030176816508173943, 0.03231578692793846, -0.00348305213265121, -0.017285188660025597, 0.002052254742011428, -0.014192353934049606, -0.043203335255384445, 0.0401972159743309, -0.000715398695319891, 0.04227837547659874, -0.011658349074423313, -0.06810017675161362, -0.020310578867793083, -0.0062723844312131405, 0.0331251285970211, 0.03112104721367359, -0.02666967734694481, -0.031236667186021805, -0.006436179392039776, 0.06902513653039932, -0.05954429507255554, 0.06987301260232925, 0.01860518380999565, 0.06729083508253098, 0.025205157697200775, -0.009476021863520145, -0.04139195755124092, 0.03819313645362854, 0.00476209819316864, 0.030851267278194427, -0.02568690851330757, 0.049138493835926056, 0.014192353934049606, 0.026515517383813858, -0.020426198840141296, 0.031930387020111084, 0.03950349614024162, -0.01744898408651352, -0.024492166936397552, 0.01755496859550476, 0.036767154932022095, -0.01834503747522831, 0.06763769686222076, 0.009037628769874573, -0.0369020476937294, -0.06505551189184189, 0.004526040982455015, -0.008440258912742138, -0.06328267604112625, 0.016976868733763695, -0.006320559419691563, -0.013151774182915688, 0.024511437863111496, -0.003244586056098342, -0.035822927951812744, -0.0336068756878376, 0.021678747609257698, -0.05002491548657417, -0.0006139301112852991, -0.023509398102760315, 0.0420856773853302, 0.0546497143805027, 0.022064147517085075, 0.022199038416147232, -0.022449547424912453, -0.002483421005308628, 0.04027429595589638, -0.09241890907287598, 0.006922747008502483, 0.05041031539440155, 0.001922182273119688, -0.08155063539743423, 0.007375591900199652, -0.005342606920748949, 0.0850963145494461, 0.004270713310688734, -0.09103146940469742, 0.01373950857669115, 0.03027316741645336, -0.030485136434435844, 0.013778048567473888, 0.01378768403083086, 0.055266354233026505, -0.07307182997465134, -0.006999826990067959, 0.017776573076844215, 0.04231691733002663, -0.02528223767876625, -0.03154498711228371, 0.03214235603809357, 0.05141235515475273, 0.03210381790995598, 0.038713425397872925, 0.016976868733763695, 0.04516887664794922, 0.054379936307668686, 0.04038991779088974, -0.0006539755850099027, 0.07900699228048325, -0.027633177116513252, 0.018557008355855942, -0.03006119653582573, -0.08170479536056519, 0.0025436398573219776, 0.011244043707847595, -0.0014187536435201764, -0.005665379576385021, -0.011157329194247723, 0.030581487342715263, 0.05892765522003174, 0.07542277127504349, 0.05006345734000206, 0.0703354924917221, -0.0031169222202152014, 0.008310186676681042, -0.028095657005906105, -0.018788248300552368, -0.06150983273983002, 0.03651664778590202, 0.0010170945897698402, 0.024954648688435555, 0.003801007056608796, 0.023046918213367462, 0.021312618628144264, 0.009914414025843143, 0.059004735201597214, 0.02886645682156086, 0.01308432873338461, 0.00715398695319891, -0.035321906208992004, -0.027498288080096245, -0.015541253611445427, -0.04751981422305107, -0.06335975229740143, 0.02905915677547455, -0.043858516961336136, -0.009466386400163174, 0.046787556260824203, 0.01864372380077839, -0.03722963482141495, -0.014423593878746033, 0.004106918349862099, 0.022353198379278183, -0.08455675095319748, 0.004311662167310715, 0.007505664136260748, -0.010386529378592968, 0.015367823652923107, 0.04343457520008087, 0.008151208981871605, -0.035032857209444046, 0.010800833813846111, 0.051836296916007996, -0.02532077766954899, -0.015512348152697086, 0.027093617245554924, -0.002859185915440321, -0.0008159640128724277, 0.006913112010806799, 0.015541253611445427, -0.016668548807501793, 0.07873721420764923, 0.007062454242259264, 0.03071637637913227, -0.03992743790149689, -0.014963153749704361, -0.028346167877316475, 0.010916453786194324, 0.024415086954832077, 0.026438437402248383, -0.05064155533909798, 0.03902174532413483, -0.022719327360391617, -0.028307627886533737, 0.038713425397872925, -0.031641338020563126, 0.048483315855264664, 0.03630467504262924, -0.0669054314494133, 0.021254807710647583, -0.022121958434581757, 0.07576963305473328, 0.01799817755818367, -0.043550197035074234, -0.020021528005599976, 0.024299466982483864, -0.021967798471450806, -0.0032542210537940264, 0.006388004403561354, -0.03449329733848572, -0.00016635427891742438, -0.040466997772455215, -0.030581487342715263, -0.029232587665319443, -0.012997614219784737, -0.02628427743911743, -0.020580358803272247, -0.042201295495033264, -0.005169176962226629, 0.04532303661108017, -0.03345271572470665, -0.03586146607995033, 0.036169786006212234, 0.025089537724852562, 0.035187017172575, 0.05499657616019249, 0.060700494796037674, -0.03985035791993141, 0.006098954472690821, 0.010502149350941181, -0.032893888652324677, 0.003415607148781419, 0.0052847969345748425, 0.003935897257179022, 0.036979127675294876, 0.0006774608627893031, -0.06004531309008598, -0.004304436035454273, -0.004803047049790621, 0.037268176674842834, -0.03245067596435547, -0.03187257796525955, 0.02726704813539982, 0.01458738837391138, -0.03457037732005119, -0.005342606920748949, 0.061201512813568115, 0.02917477674782276, -0.01565687358379364, -0.060353633016347885, -0.01934707909822464, -0.041854437440633774, -0.04825207591056824, -0.02902061678469181, -0.02113918773829937, -0.008975001983344555, 0.003446921007707715, 0.02208341844379902, -0.03383811563253403, -0.053031034767627716, -0.029232587665319443, -0.01785365305840969, 0.01815233752131462, 0.00862332433462143, -0.001398279215209186, 0.04906141385436058, -0.029733607545495033, 0.05010199546813965, -0.020272038877010345, -0.007838072255253792, -0.022353198379278183, 0.04281793534755707, 0.002890499774366617, 0.022295387461781502, 0.014539213851094246, -0.057964153587818146, 0.021254807710647583, -0.033876657485961914, 0.008252376690506935, 0.023856258019804955, -0.008975001983344555, 0.020811598747968674, -0.009760254062712193, 0.018036717548966408, 0.04751981422305107, -0.022314658388495445, 0.04004305601119995, -0.0040756044909358025, -0.022468818351626396, -0.021004298701882362, -0.08694623410701752, 0.0065614343620836735, -0.0027363398112356663, -0.048830173909664154, -0.0546497143805027, -0.012583308853209019, 0.009485656395554543, 0.0036805695854127407, -0.014057463966310024, -0.05175921693444252, -0.012631484307348728, -0.06459303200244904, 0.0064939893782138824, -0.010280543938279152, -0.020657438784837723, -0.02289275825023651, 0.05110403522849083, -0.018672628328204155, 0.027209237217903137, -0.04447515681385994, -0.07276351004838943, -0.00021227107208687812, -0.04289501532912254, -0.03680569678544998, -0.05360913649201393, -0.010309449397027493, 0.038270216435194016, -0.06116297468543053, 0.028461787849664688, 0.04393559694290161, -0.03578438609838486, 0.05318519473075867, 0.044744934886693954, 0.030581487342715263, 0.016167528927326202, 0.023143267259001732, 0.0061182244680821896, -0.004376698285341263, -0.015396728180348873, -0.006922747008502483, -0.054225776344537735, -0.031178856268525124, -0.023625018075108528, -0.06601901352405548, -0.042509615421295166, 0.03154498711228371, -0.01052141934633255, -0.012371338903903961, -0.016668548807501793, -0.030350247398018837, -0.07137607038021088, 0.036824967712163925, 0.03853999823331833, 0.014240528456866741, -0.057116273790597916, 0.017391173169016838, -0.057964153587818146, 0.007818802259862423, 0.014645198360085487, -0.019009852781891823, -0.07303329557180405, -0.0008539017871953547, 0.06328267604112625, 0.04358873516321182, 0.020773058757185936, 0.0524529367685318, 0.025070268660783768, 0.0401972159743309, 0.004068378359079361, 0.021254807710647583, 0.009731349535286427, 0.10035815089941025, -0.012274988926947117, 0.011851049028337002, 0.03335636854171753, -0.0035866284742951393, -0.004159911070019007, -0.024761946871876717, -0.009061716496944427, -0.041353415697813034, 0.043858516961336136, 0.0035890371073037386, -0.022719327360391617, -0.04875309392809868, -0.02462705783545971, -0.03534117713570595, 0.01749715767800808, 0.055420514196157455, 0.021620938554406166, 0.08671499043703079, -0.006142311729490757, -0.02603376843035221, -0.007231066934764385, -0.039368607103824615, 0.07045111060142517, -0.035822927951812744, -0.08756287395954132, -0.00892200879752636, -0.01958795264363289, 0.013171044178307056, -0.02996484749019146, 0.01741044409573078, -0.017092488706111908, -0.005328154657036066, 0.03495577722787857, 0.04698025435209274, 0.00867631658911705, 0.044051215052604675, -0.000575089012272656, -0.017632048577070236, 0.03100542724132538, -0.03431986644864082, 0.03379957750439644, -0.06833141297101974, -0.018181243911385536, 0.05044885724782944, 0.003933488391339779, 0.023702098056674004, -0.04717295616865158, 0.047943755984306335, -0.06089319288730621, 0.06386077404022217, -0.04416683688759804, 0.033086586743593216, 0.03345271572470665, 0.00947120413184166, 0.01765131764113903, 0.046286534518003464, 0.0022822904866188765, 0.01084900926798582, -0.12194054573774338, 0.015098043717443943, -0.02223757840692997, -0.04347311705350876, -0.004181589465588331, 0.01889423280954361, 0.020753787830471992, -0.022873487323522568, -0.01408636849373579, -0.015300378203392029, 0.047943755984306335, -0.026939457282423973, -0.060507792979478836, -0.0074815768748521805, -0.04058261588215828, -0.06039217486977577, -0.024839026853442192, 0.032778266817331314, 0.0056268395856022835, -0.03620832785964012, -0.0018390804762020707, 0.0772726908326149, -0.032180897891521454, 0.013778048567473888, -0.01029981393367052, -0.049986377358436584, 0.08632959425449371, 0.00501019973307848, 0.025417128577828407, -0.016331324353814125, -0.014683738350868225, 0.021852178499102592, 0.019404888153076172, 0.04277939721941948, -0.03229651600122452, 0.04143049567937851, -0.015242568217217922, 0.02927112765610218, 0.0587349534034729, 0.08093399554491043, -0.022468818351626396, 0.028461787849664688, 0.014018923975527287, -0.047288574278354645, 0.007712816819548607, -0.039657656103372574, 0.00427553104236722, 0.05206753686070442, 0.030523676425218582, -0.036478105932474136, -0.013296298682689667, -0.014548848383128643, 0.027209237217903137, 0.011764333583414555, 0.047982294112443924, 0.0027339309453964233, -0.021813638508319855, -0.02532077766954899, -0.047095876187086105, 0.029348207637667656, 0.044590774923563004, 0.01894240826368332, 0.014799358323216438, -0.029887767508625984, 0.05727043375372887, -0.004668157082051039, -0.041661735624074936, 0.04227837547659874, -0.03485942631959915, -0.04940827563405037, 0.032778266817331314, 0.014269433915615082, 0.020233498886227608, 0.058311015367507935, -0.027633177116513252, -0.02657332830131054, -0.0024581290781497955, -0.010781563818454742, -0.022719327360391617, 0.04328041523694992, 0.018913503736257553, 0.012226813472807407, 0.019925178959965706, 0.0254363976418972, 0.043858516961336136, 0.03665153682231903, -0.03838583827018738, -0.013566078618168831, 0.044051215052604675, 0.0016042273491621017, 0.046402156352996826, -0.009692809544503689, 0.043858516961336136, 0.04212421551346779, 0.036131247878074646, 0.030581487342715263, 0.002726704813539982, 0.018759343773126602, -0.008816024288535118, 0.019173648208379745, 0.04620945453643799, 0.01498242374509573, -0.030485136434435844, -0.03455110639333725, -0.004253852181136608, 0.04956243559718132, -0.026862377300858498, 0.04027429595589638, -0.04771251603960991, -0.029309667646884918, -0.003357797162607312, 0.048136454075574875, -0.01102243922650814, -0.007404496893286705, -0.023470858111977577, 0.010116749443113804, 0.012544768862426281, -0.0062193917110562325, -0.03464745730161667, 0.0271706972271204, -0.005959246773272753, -0.019665032625198364, 0.015878478065133095, 0.03056221641600132, -0.02701653726398945, -0.007669459097087383, -0.005824356805533171, 0.04936973378062248, -0.02981068752706051, 0.044205375015735626, 0.03665153682231903, -0.005819539539515972, -0.009721714071929455, 0.04054407775402069, -0.08201311528682709, -0.027690988034009933, 0.02179436758160591, -0.03185330703854561, -0.012833818793296814, 0.02173655852675438, -0.04817499592900276, 0.06216501444578171, -0.04312625527381897, -0.014905343763530254, -0.026361357420682907, 0.024492166936397552, -0.018239052966237068, -0.011947399005293846, 0.009789159521460533, -0.05804123356938362, -0.011648713611066341, -0.0373837947845459, -0.03096688725054264, -0.03593854606151581, -0.011378933675587177, -0.03907955810427666, 0.03270118683576584, -0.019058028236031532, 0.001136327744461596, 0.025166617706418037, -0.023702098056674004, 0.05545905604958534, 0.01690942421555519, -0.0017981317359954119, 0.06039217486977577, 0.03665153682231903, -0.03300950676202774, 0.041314877569675446, 0.012380973435938358, 0.04154611751437187, 0.021062107756733894, -0.017314093187451363, 0.018306497484445572, -0.008888286538422108, 0.012496594339609146, -0.027556097134947777, -0.08147355169057846, -0.00392867112532258, -0.04012013599276543, -0.016427673399448395, -0.029155507683753967, 0.03853999823331833, -0.027960767969489098, 0.019626492634415627, 0.017921097576618195, -0.008213836699724197, 0.05160505697131157, -0.008618506602942944, -0.01261221431195736, -0.07862159609794617, 0.08131939172744751, -0.014789723791182041, -0.002340100472792983, 0.05480387434363365, 0.004687427077442408, 0.024993188679218292, 0.000341440289048478, -0.0021967797074466944, 0.016668548807501793, 0.04902287572622299, -0.06686689704656601, -0.0030326158739626408, 0.023759907111525536, 0.006229026708751917, 0.0039912983775138855, 0.0071395342238247395, -0.02472340688109398, -0.05064155533909798, -0.0800861120223999, 0.007732086814939976, -0.008339092135429382, 0.009307408705353737, -0.03900247812271118, 0.0013705786550417542, -0.014491038396954536, -0.06524821370840073, 0.010511783882975578, -0.029695067554712296, 0.07723415642976761, -0.04532303661108017, -0.0390988253057003, 0.038019705563783646, 0.0034107896499335766, 0.013546808622777462, -0.0018041535513475537, -0.020214227959513664, 0.1002039909362793, 0.007322599180042744, -0.038116056472063065, 0.0014295929577201605, -0.034127168357372284, -0.017574237659573555, -0.050834257155656815, -0.061741072684526443, -0.03586146607995033, 0.019366348162293434, -0.03405008837580681, 0.0056412918493151665, 0.021755827590823174, 0.023162538185715675, 0.00687938928604126, 0.012660388834774494, -0.031178856268525124, -0.01620606891810894, -0.009716896340250969, 0.00843062438070774, 0.016620373353362083, 0.06794601678848267, 0.03021535649895668, -0.04701879620552063, -0.004521223250776529, -0.03027316741645336, 0.0546497143805027, 0.011687253601849079, -0.025956688448786736, 0.024472897872328758, -0.01656256429851055, 0.03545679524540901, 0.039657656103372574, 0.009244781918823719, 0.018817152827978134, -0.0703354924917221, -0.08093399554491043, 0.038019705563783646, -0.046941716223955154, 0.040813855826854706, 0.05646109580993652, -0.05041031539440155, -0.04073677584528923, 0.0262264683842659, -0.029675796627998352, -0.007592379115521908, -0.014616293832659721, -0.08802535384893417, -0.04104509577155113, 0.05106549710035324, -0.01729482412338257, -0.0442824549973011, 0.03609270602464676, 0.039965976029634476, 0.05734751373529434, 0.04069823771715164, 0.015541253611445427, 0.04085239768028259, 0.02179436758160591, 0.012458053417503834, 0.030639296397566795, -0.038116056472063065, 0.0031024697236716747, 0.05515073612332344, -0.003673343453556299, 0.036227595061063766, 0.021466778591275215, -0.0794694721698761, 0.003933488391339779, 0.029984116554260254, -0.023817718029022217, 0.0019799922592937946, -0.007606831844896078, 0.05121965706348419, -0.031024696305394173, -0.03638175502419472, 0.0009291752357967198 ]
54,344
nbconvert.exporters.latex
_create_environment
null
def _create_environment(self): environment = super()._create_environment() # Set special Jinja2 syntax that will not conflict with latex. environment.block_start_string = "((*" environment.block_end_string = "*))" environment.variable_start_string = "(((" environment.variable_end_string = ")))" environment.comment_start_string = "((=" environment.comment_end_string = "=))" return environment
(self)
[ 0.03120017983019352, -0.06492403149604797, 0.054725635796785355, -0.05071541666984558, 0.012661568820476532, 0.011054025031626225, -0.04933258518576622, -0.0042846230790019035, -0.023421742022037506, 0.020794358104467392, 0.04234927520155907, 0.013733264990150928, -0.023525454103946686, 0.06240035966038704, -0.03982560336589813, -0.04238384589552879, 0.06845025718212128, -0.027673954144120216, 0.010094684548676014, -0.02131292037665844, -0.019411524757742882, -0.012505999766290188, 0.01680142618715763, -0.021606773138046265, -0.005829507485032082, 0.023352600634098053, -0.033205289393663406, 0.017821265384554863, 0.05316994711756706, -0.06703285127878189, -0.04480380564928055, -0.03104461170732975, 0.00904027372598648, -0.02088078483939171, 0.0953463688492775, -0.029990199953317642, -0.02561699040234089, 0.04915972799062729, 0.01680142618715763, -0.02231547422707081, 0.05002399906516075, 0.034432552754879, -0.04549521952867508, -0.005652331747114658, -0.048883162438869476, -0.03374113515019417, 0.043351829051971436, -0.049298014491796494, 0.044734664261341095, 0.028054233640432358, 0.05735301598906517, -0.03868476673960686, 0.03192616626620293, 0.03232373297214508, -0.08926189690828323, -0.027120821177959442, -0.0026576330419629812, 0.06160522997379303, -0.029108643531799316, 0.007359266746789217, -0.0232834592461586, 0.07000594586133957, -0.0025495991576462984, -0.011123166419565678, -0.006507960148155689, 0.03778592497110367, -0.05545162037014961, 0.028244374319911003, 0.03726736083626747, 0.0018949139630421996, -0.013681408949196339, -0.012013365514576435, -0.01549637783318758, -0.011019454337656498, -0.021174637600779533, -0.028676507994532585, -0.06979852169752121, -0.009437838569283485, 0.02461443468928337, -0.03299786522984505, -0.046532344073057175, 0.007562370505183935, -0.011659014970064163, 0.012635640799999237, 0.11214779317378998, 0.01987823098897934, -0.04113929718732834, 0.05901241675019264, 0.08822477608919144, -0.01432096865028143, 0.004200356546789408, 0.05476020649075508, -0.0034894938580691814, 0.07287532091140747, 0.030647046864032745, 0.024960143491625786, 0.04608292505145073, -0.015980368480086327, 0.04438895359635353, 0.013888833113014698, 0.014277755282819271, 0.04328268766403198, -0.032669439911842346, -0.024994714185595512, -0.009394625201821327, 0.05476020649075508, 0.037129078060388565, 0.036126524209976196, 0.02226361818611622, -0.04024045541882515, -0.055417049676179886, 0.0275875274091959, -0.0015816157683730125, -0.03799334913492203, -0.03695622459053993, 0.034363411366939545, -0.02056964859366417, 0.015591447241604328, 0.0506117045879364, -0.014485180377960205, -0.020915355533361435, 0.007873508147895336, -0.029679063707590103, 0.04107015207409859, 0.044043246656656265, 0.048122603446245193, -0.014174043200910091, 0.02620469406247139, -0.0014627785421907902, -0.042556699365377426, 0.0012596749002113938, 0.02636026218533516, -0.014182685874402523, -0.034207843244075775, -0.03422512859106064, -0.008188966661691666, -0.04684348404407501, -0.0022471044212579727, 0.014398753643035889, 0.07481128722429276, -0.0273282453417778, -0.046013783663511276, -0.04189985245466232, -0.005583189893513918, -0.09278812259435654, -0.014623464085161686, 0.01568651758134365, -0.003126499941572547, -0.04559893161058426, 0.015747016295790672, 0.03056062012910843, 0.024856431409716606, 0.012324503622949123, -0.014493823051452637, 0.015505020506680012, 0.037440214306116104, 0.023404456675052643, 0.01228128932416439, 0.07294446229934692, 0.04570264741778374, 0.02679239772260189, 0.004005895461887121, -0.05368850752711296, 0.053550224751234055, 0.02184876799583435, 0.03747478500008583, -0.00247181486338377, -0.07557184994220734, 0.022626612335443497, -0.02827894501388073, 0.004442352335900068, -0.050577133893966675, 0.004282462410628796, 0.031649600714445114, -0.0017123367870226502, 0.06250407546758652, 0.03142489120364189, 0.054449066519737244, -0.013119632378220558, -0.0011149094207212329, -0.011434304527938366, -0.01579022966325283, -0.04452723637223244, 0.04594464227557182, 0.03757850080728531, -0.040793586522340775, 0.03206444904208183, 0.010267538018524647, 0.04597921296954155, 0.051752541214227676, -0.04328268766403198, 0.006265963893383741, 0.0022557470947504044, 0.01073424518108368, -0.0011203112080693245, 0.018218830227851868, 0.0654771625995636, -0.05928898602724075, -0.07909807562828064, 0.004602242726832628, -0.06682542711496353, 0.01664585806429386, -0.010725601576268673, 0.00046238492359407246, 0.04231470450758934, 0.05507134273648262, -0.023957589641213417, -0.00637831911444664, -0.012333146296441555, -0.027518386021256447, -0.06734398752450943, -0.001006335485726595, 0.014286397956311703, 0.03726736083626747, 0.02466629259288311, -0.03533139452338219, -0.0008826366974972188, 0.0489177331328392, -0.036230236291885376, 0.039894744753837585, 0.03448440879583359, -0.06820826232433319, 0.038131631910800934, -0.068484827876091, -0.028780221939086914, 0.0005893247434869409, -0.005630725063383579, -0.037440214306116104, -0.051475975662469864, -0.00001722633714962285, -0.02705167979001999, -0.01653350330889225, 0.0032172484789043665, -0.017077993601560593, -0.003165392205119133, -0.03152860328555107, 0.029316069558262825, -0.013646837323904037, -0.016352005302906036, -0.006745634600520134, -0.024787290021777153, 0.028036948293447495, 0.0636449083685875, -0.018097832798957825, 0.02349088340997696, 0.007048129104077816, 0.011019454337656498, 0.04234927520155907, -0.002061286009848118, -0.03211630880832672, -0.04293698072433472, -0.013594981282949448, 0.025495991110801697, 0.023715592920780182, -0.009394625201821327, 0.040275026112794876, 0.07833751291036606, 0.05697273835539818, 0.011944224126636982, -0.019532522186636925, 0.06869225203990936, 0.0215894877910614, -0.05597018450498581, 0.019100386649370193, 0.049298014491796494, 0.011710871011018753, -0.013033205643296242, 0.03664508834481239, -0.04922886937856674, -0.01023296732455492, 0.031061897054314613, 0.09728233516216278, -0.026982538402080536, -0.023058747872710228, -0.014044402167201042, -0.005172661505639553, -0.0010382054606452584, 0.04342097043991089, -0.06119038164615631, -0.045737218111753464, 0.019480666145682335, -0.02062150463461876, 0.043835822492837906, 0.07488042861223221, 0.04051702097058296, -0.05925441533327103, -0.032617583870887756, -0.01823611557483673, 0.04362839460372925, -0.028676507994532585, -0.05863213911652565, 0.07522614300251007, 0.01696563884615898, 0.031286608427762985, 0.037509359419345856, 0.01648164540529251, 0.031286608427762985, 0.021917911246418953, -0.03709450736641884, -0.019325098022818565, 0.03040505014359951, -0.0016075439052656293, 0.018685536459088326, 0.051164839416742325, -0.05437992513179779, 0.03629937767982483, 0.0247181486338377, -0.008491462096571922, 0.024216871708631516, -0.027518386021256447, -0.00837478507310152, 0.012004722841084003, 0.05220196396112442, 0.01903124526143074, -0.023508168756961823, -0.042556699365377426, 0.0009253100724890828, -0.028348086401820183, 0.01913495734333992, 0.04113929718732834, 0.004068555310368538, -0.06219293549656868, 0.036126524209976196, -0.013543125241994858, 0.034311555325984955, 0.007899436168372631, 0.05852842703461647, -0.029782775789499283, 0.03602281212806702, 0.08379970490932465, -0.05697273835539818, 0.011520731262862682, -0.0069876303896307945, 0.0176397692412138, 0.03216816484928131, -0.040897298604249954, -0.00792104285210371, -0.011218236759305, -0.04788060858845711, -0.1308160424232483, 0.025392279028892517, -0.026982538402080536, -0.030007485300302505, -0.01674092747271061, -0.005436263978481293, -0.06305720657110214, -0.014286397956311703, -0.023145174607634544, -0.00035516131902113557, -0.004844238515943289, -0.034795548766851425, 0.03474368900060654, 0.043144404888153076, 0.018841106444597244, 0.006278928369283676, -0.06388690322637558, -0.06959109753370285, 0.010258895345032215, -0.04470008984208107, 0.020742502063512802, 0.004671384114772081, 0.06523516774177551, 0.007320374716073275, 0.05182168260216713, 0.018944818526506424, -0.030370479449629784, 0.02833080105483532, 0.04843374341726303, -0.0038481662049889565, 0.0041571431793272495, 0.05970383435487747, -0.023525454103946686, 0.008884704671800137, -0.02940249629318714, -0.006179537158459425, -0.037820495665073395, -0.0176397692412138, -0.07010965794324875, -0.018270686268806458, -0.01828797161579132, 0.0173804871737957, 0.020241225138306618, -0.002826165873557329, -0.009558835998177528, -0.0313730351626873, -0.013327057473361492, 0.009844046086072922, -0.010440392419695854, 0.006667850073426962, -0.011114523746073246, -0.024891002103686333, -0.03757850080728531, 0.040482450276613235, 0.06934909522533417, -0.03536596521735191, -0.031010041013360023, -0.014839531853795052, 0.0034916545264422894, 0.029316069558262825, 0.05576276034116745, 0.037509359419345856, -0.034052275121212006, -0.006132001988589764, -0.046705201268196106, 0.04165785759687424, -0.09285726398229599, 0.07529528439044952, 0.023473598062992096, 0.028140660375356674, 0.05548619106411934, -0.026982538402080536, -0.031010041013360023, -0.06167437136173248, -0.010924383997917175, -0.01977451890707016, -0.034000419080257416, 0.02689611166715622, -0.02392301894724369, 0.010725601576268673, -0.030750758945941925, -0.032876864075660706, -0.017129849642515182, 0.011157737113535404, 0.011978794820606709, 0.012289931997656822, 0.057802438735961914, -0.01961894892156124, 0.011002168990671635, -0.0038870584685355425, 0.02051779069006443, -0.034207843244075775, -0.023197030648589134, -0.05289338156580925, -0.010241609998047352, 0.02148577570915222, -0.046912625432014465, 0.03161503002047539, -0.05807900428771973, 0.024960143491625786, 0.015237095765769482, 0.05555533245205879, 0.007471621967852116, 0.04490751773118973, 0.06959109753370285, -0.03844277188181877, 0.055036772042512894, -0.058770421892404556, 0.0041009653359651566, -0.050162285566329956, -0.002763506257906556, 0.049885716289281845, 0.037440214306116104, 0.005769008304923773, -0.033896706998348236, 0.020742502063512802, -0.02822708711028099, 0.0384773425757885, -0.03705993667244911, -0.009437838569283485, 0.015012385323643684, 0.019065815955400467, 0.003735810983926058, 0.0044942088425159454, 0.03996388614177704, 0.004559028893709183, -0.07342845946550369, -0.013715979643166065, 0.009152629412710667, -0.031753312796354294, 0.02100178226828575, -0.05033513903617859, -0.0034527622628957033, -0.04580635949969292, 0.0016259097028523684, 0.0035543141420930624, -0.0050343782640993595, -0.02561699040234089, -0.02546142041683197, -0.030422335490584373, 0.005773329641669989, -0.11553573608398438, -0.035746246576309204, -0.03384484723210335, 0.014597536064684391, -0.013110989704728127, -0.0093254828825593, 0.041865281760692596, -0.05144140496850014, -0.008318607695400715, 0.012817137874662876, -0.041001010686159134, 0.04093186929821968, -0.017311345785856247, -0.0016594001790508628, -0.027397388592362404, -0.002387548331171274, 0.03927246853709221, 0.007311732042580843, 0.0011484000133350492, -0.04107015207409859, 0.0001604302815394476, 0.029160501435399055, -0.02243647351861, 0.06094838306307793, 0.05507134273648262, -0.040793586522340775, 0.01743234507739544, -0.02349088340997696, -0.03591910004615784, -0.006866632495075464, 0.019912801682949066, -0.033412713557481766, 0.008348857052624226, -0.04272955283522606, -0.026066411286592484, 0.007644476369023323, -0.0247181486338377, 0.02051779069006443, 0.015064242295920849, 0.023162459954619408, -0.018149688839912415, -0.02917778678238392, -0.003394423983991146, -0.021520346403121948, 0.020431363955140114, 0.014295040629804134, 0.05268595367670059, 0.01717306300997734, -0.005319587420672178, 0.03947989642620087, 0.00401453860104084, -0.05662703141570091, 0.015107455663383007, 0.01701749488711357, -0.012696139514446259, 0.10101598501205444, 0.006477710325270891, 0.026342976838350296, 0.02195248194038868, -0.014381468296051025, 0.018892962485551834, -0.012315860949456692, -0.005794936325401068, -0.0008199770236387849, -0.007147520314902067, 0.0068277399986982346, 0.02705167979001999, -0.041968993842601776, -0.02663682959973812, -0.006507960148155689, 0.039583608508110046, -0.035002972930669785, -0.03636851906776428, 0.014977814629673958, 0.009766261093318462, -0.10488791763782501, 0.03685251250863075, 0.05617760866880417, 0.003169713541865349, 0.04895230382680893, 0.02641211822628975, 0.012419573031365871, -0.05797529220581055, 0.02392301894724369, -0.004425066988915205, 0.034518979489803314, -0.05389593541622162, 0.004371050279587507, -0.012289931997656822, 0.049678292125463486, 0.013292486779391766, -0.00023213776876218617, 0.10647817701101303, 0.005259088706225157, -0.0335855670273304, -0.057111021131277084, 0.0038114346098154783, 0.08732593059539795, -0.023940304294228554, 0.009506979957222939, -0.01998194307088852, 0.009593406692147255, -0.08967675268650055, -0.011589872650802135, -0.02297232113778591, -0.013482626527547836, 0.02812337502837181, 0.04380124807357788, 0.02551327645778656, -0.018789250403642654, -0.018996674567461014, 0.00255824183113873, 0.053757648915052414, -0.01228128932416439, -0.008560603484511375, -0.012964063324034214, 0.015608732588589191, -0.034311555325984955, -0.0159457977861166, -0.050093140453100204, -0.02317974530160427, 0.022419188171625137, -0.023957589641213417, 0.04310983419418335, -0.012955420650541782, -0.04328268766403198, 0.03768221288919449, -0.022471044212579727, -0.04238384589552879, -0.035538818687200546, 0.006183858495205641, -0.02456257864832878, -0.014925958588719368, 0.018270686268806458, -0.049298014491796494, 0.026118267327547073, -0.025910841301083565, 0.031182894483208656, -0.0025279924739152193, -0.023525454103946686, -0.028209801763296127, 0.01854725368320942, -0.047604043036699295, -0.008858776651322842, 0.021554917097091675, 0.011754084378480911, 0.07785352319478989, -0.04580635949969292, -0.0062141078524291515, 0.022090764716267586, 0.04272955283522606, -0.005864078179001808, 0.02648126147687435, -0.05901241675019264, 0.004567671567201614, 0.07093935459852219, -0.0013223345158621669, 0.03140760585665703, 0.02933335490524769, 0.029471637681126595, 0.010336680337786674, -0.08414541929960251, -0.008223537355661392, 0.014865459874272346, -0.015479092486202717, -0.03685251250863075, 0.025979984551668167, -0.00922177080065012, -0.012635640799999237, 0.0035564748104661703, -0.00293636042624712, 0.02264389768242836, 0.004602242726832628, -0.009610692970454693, -0.061259523034095764, 0.07854493707418442, -0.048710308969020844, -0.024579863995313644, 0.01611001044511795, -0.01712120696902275, -0.00808093324303627, 0.018581824377179146, -0.07992777228355408, 0.009446481242775917, 0.07688554376363754, 0.012817137874662876, 0.034432552754879, 0.010284824296832085, 0.014597536064684391, 0.043040692806243896, 0.03947989642620087, -0.0255651343613863, -0.0029817346949130297, -0.07640154659748077, -0.04535693675279617, -0.00029682304011657834, 0.0016874889843165874, -0.006845025811344385, 0.07958206534385681, -0.012220790609717369, -0.06022239848971367, 0.005202910862863064, -0.015764301642775536, -0.026723256334662437, 0.004991164430975914, -0.003305836347863078, -0.02279946580529213, 0.032444730401039124, 0.018408970907330513, 0.007735224440693855, -0.057698726654052734, -0.016948353499174118, 0.018754679709672928, 0.02859008125960827, 0.0010970839066430926, -0.05458734929561615, 0.023629166185855865, -0.06371404975652695, -0.029540779069066048, -0.0022146941628307104, -0.00587272085249424, 0.02515028417110443, -0.02886664867401123, -0.0009620415512472391, 0.000690876564476639, -0.008266751654446125, 0.03664508834481239, -0.01621372252702713, -0.020932640880346298, -0.0013115310575813055, 0.05240938812494278, 0.024372439831495285, 0.05693816766142845, -0.03301515057682991, 0.025115713477134705, 0.00808093324303627, -0.016187794506549835, 0.016386575996875763, 0.005505405832082033, -0.028054233640432358, -0.009524265304207802, 0.0420035645365715, 0.03616109490394592, 0.0003478690341580659, 0.038235343992710114, 0.019428810104727745, -0.06253864616155624, -0.040586162358522415, 0.028797507286071777, -0.04905601590871811, -0.056696172803640366, 0.062331218272447586, -0.02413044311106205, -0.017000209540128708, 0.010449035093188286, -0.04715462028980255, -0.0546564906835556, -0.025271281599998474, -0.1010851263999939, -0.01972266286611557, 0.033464569598436356, -0.003599688410758972, -0.020586933940649033, -0.02184876799583435, 0.03434612601995468, 0.04535693675279617, 0.005086234305053949, -0.02190062403678894, 0.010872527956962585, 0.02440701052546501, -0.03035319410264492, 0.04210728034377098, -0.01041446439921856, -0.015764301642775536, 0.018115118145942688, -0.04279869422316551, 0.0517871119081974, 0.02992105856537819, -0.028728365898132324, -0.011918296106159687, -0.03716364875435829, -0.049782004207372665, -0.0062616425566375256, 0.042072709649801254, 0.031649600714445114, -0.005747401621192694, -0.002973092021420598, -0.009446481242775917 ]
54,363
nbconvert.exporters.latex
default_filters
Get the default filters.
def default_filters(self): """Get the default filters.""" yield from super().default_filters() yield ("resolve_references", resolve_references)
(self)
[ -0.011888274922966957, -0.0753309428691864, 0.003623389871791005, 0.019241755828261375, -0.05985928699374199, 0.023865466937422752, -0.010545620694756508, -0.043640729039907455, 0.09183403849601746, -0.015115981921553612, 0.018050260841846466, -0.02030876651406288, -0.026799745857715607, 0.021695880219340324, -0.0008780607022345066, 0.0012726322747766972, -0.06274021416902542, 0.04591701924800873, 0.06405619531869888, -0.03773660585284233, -0.05221237987279892, -0.024665726348757744, -0.008180413395166397, -0.05000722408294678, 0.006668815389275551, 0.06487423926591873, -0.013551033101975918, -0.03153016045689583, -0.010278867557644844, 0.01098131574690342, -0.0535639263689518, -0.03279278799891472, -0.006037501152604818, -0.030961086973547935, 0.03190361335873604, -0.03723866492509842, -0.033255159854888916, 0.11872269958257675, -0.024007735773921013, 0.056622687727212906, 0.0029209412168711424, -0.02550155110657215, -0.024825777858495712, -0.02886263281106949, 0.0042569274082779884, 0.01913505420088768, -0.028738148510456085, 0.05182114243507385, 0.04147114232182503, 0.005859666038304567, 0.027173200622200966, -0.01305309496819973, 0.02290515787899494, 0.05740516260266304, -0.0026386280078440905, -0.04826444014906883, 0.0027119850274175406, 0.06796856969594955, 0.05331495776772499, 0.08962888270616531, 0.06281135231256485, -0.012973069213330746, 0.018743816763162613, -0.03361083194613457, -0.013666626065969467, -0.0032832801807671785, 0.01697435788810253, -0.006788854021579027, -0.0017561214044690132, 0.06828866899013519, -0.06398506462574005, -0.02601727284491062, 0.016885440796613693, 0.01505373977124691, 0.02240722067654133, -0.0381278395652771, 0.007135632447898388, -0.006450967397540808, 0.0267819631844759, -0.034233253449201584, 0.0591835156083107, -0.001581620774231851, -0.06594124436378479, -0.015845105051994324, 0.005423970054835081, -0.05249691382050514, 0.0007280123536475003, -0.036527324467897415, 0.04332062602043152, -0.002445232355967164, -0.05103866755962372, 0.030836602672934532, 0.02114459127187729, 0.021642528474330902, 0.009665336459875107, 0.035940468311309814, -0.03231263533234596, 0.009594202972948551, 0.02180257998406887, -0.012403996661305428, -0.01030554249882698, 0.026959797367453575, -0.01892165280878544, 0.004970490466803312, 0.013204255141317844, -0.033486343920230865, 0.02240722067654133, -0.021269075572490692, 0.008140400983393192, 0.017970234155654907, -0.03965722396969795, -0.06046392768621445, 0.04449433833360672, 0.047055162489414215, -0.02372319996356964, 0.00018130842363461852, -0.0012781895929947495, -0.006828866899013519, 0.07266341149806976, 0.006926676258444786, -0.06405619531869888, 0.03723866492509842, -0.032365985214710236, 0.00034844561014324427, 0.0019895299337804317, 0.04100877046585083, 0.005913016386330128, 0.015756187960505486, 0.0409376360476017, 0.018423713743686676, 0.005281701683998108, 0.019526291638612747, -0.09930311143398285, -0.02114459127187729, 0.037629902362823486, -0.038234543055295944, 0.03834124282002449, 0.07611341774463654, 0.012661857530474663, 0.06739949434995651, -0.07269898056983948, -0.004485889803618193, 0.013248713687062263, 0.0129819605499506, -0.04300052300095558, -0.012395105324685574, 0.059076812118291855, 0.02854252979159355, -0.030463149771094322, -0.005215013865381479, 0.05939691513776779, 0.039123717695474625, -0.023314179852604866, 0.02936057187616825, 0.004176901653409004, 0.06821753829717636, -0.0273688193410635, -0.03172577917575836, 0.0067844083532691, -0.0006174211739562452, 0.015222682617604733, -0.002923164051026106, -0.026159539818763733, 0.021535828709602356, 0.01509819831699133, -0.011399229057133198, 0.03805670887231827, -0.05249691382050514, 0.012661857530474663, 0.027991240844130516, -0.018352581188082695, -0.0048726811073720455, -0.04531237855553627, 0.01913505420088768, 0.05555567890405655, 0.09724022448062897, 0.003778995480388403, 0.02077113650739193, -0.028613664209842682, 0.024594591930508614, 0.002787564881145954, -0.03791444003582001, -0.03213479742407799, -0.029751809313893318, 0.03492680937051773, -0.03565593436360359, 0.012137244455516338, -0.0024096653796732426, -0.012741883285343647, 0.020860055461525917, 0.01098131574690342, -0.002996521070599556, 0.030356448143720627, -0.009380800649523735, -0.041791245341300964, -0.05616031959652901, -0.02893376722931862, 0.00446588359773159, 0.005873003508895636, -0.013888919726014137, -0.04858454316854477, -0.03698969632387161, -0.02196263149380684, -0.0070867277681827545, -0.02943170629441738, 0.05623145401477814, 0.05036289617419243, 0.03866134583950043, -0.061815474182367325, 0.010554512031376362, -0.019259538501501083, 0.03499794378876686, -0.00204954924993217, -0.039265986531972885, -0.03128119185566902, -0.02070000395178795, 0.009282991290092468, -0.021678095683455467, -0.017338920384645462, 0.05779640004038811, 0.04645052179694176, -0.046984028071165085, 0.011968300677835941, -0.019526291638612747, 0.0075046406127512455, 0.014778095297515392, 0.029840726405382156, -0.04990052431821823, -0.04559691622853279, -0.08087939769029617, 0.01861933246254921, -0.015960698947310448, -0.05527114123106003, 0.0030987763311713934, 0.05349279195070267, -0.0051172045059502125, 0.059894856065511703, 0.017739050090312958, -0.047802068293094635, 0.021998198702931404, 0.02039768360555172, 0.0038479065988212824, 0.02100232243537903, -0.015907347202301025, -0.03350412845611572, -0.050682999193668365, 0.011603739112615585, -0.0414000079035759, 0.055448979139328, -0.0025341499131172895, 0.023847684264183044, -0.035638149827718735, -0.0514654740691185, -0.012688533402979374, -0.00841604545712471, -0.020077580586075783, -0.0326327383518219, 0.007749163545668125, -0.00507719162851572, -0.08358249068260193, -0.000705227255821228, 0.05335052311420441, -0.029396139085292816, 0.026123972609639168, -0.013559924438595772, 0.012999744154512882, 0.0057663023471832275, -0.041791245341300964, 0.0015327160945162177, 0.008513854816555977, 0.10904847085475922, -0.015044847503304482, -0.019828611984848976, 0.024879127740859985, -0.038163408637046814, -0.023598715662956238, 0.010278867557644844, 0.027084283530712128, -0.03827010840177536, 0.03265051916241646, 0.013728868216276169, 0.001027553342282772, -0.0226917564868927, 0.009202965535223484, 0.040830932557582855, -0.03515799716114998, 0.0057218438014388084, 0.07895877212285995, -0.06707939505577087, -0.07867424190044403, 0.029982995241880417, 0.019170621410012245, 0.03382423147559166, -0.013248713687062263, -0.006766624748706818, -0.01929510571062565, -0.017623456194996834, -0.03684742748737335, 0.01981082744896412, 0.015329384244978428, -0.04979382082819939, -0.06416289508342743, 0.07504640519618988, 0.032508254051208496, 0.013880028389394283, -0.013017527759075165, 0.021784797310829163, -0.023189693689346313, 0.02425670437514782, 0.0003373309154994786, -0.02432783879339695, 0.004294717218726873, -0.015329384244978428, -0.06263351440429688, -0.017739050090312958, -0.07348145544528961, -0.011701548472046852, 0.024879127740859985, 0.026959797367453575, 0.08614331483840942, -0.052105680108070374, 0.045419078320264816, -0.042395882308483124, 0.0094163678586483, 0.0038456835318356752, 0.024345623329281807, -0.023616498336195946, -0.014262373559176922, 0.014902579598128796, -0.01145257893949747, -0.0025252581108361483, 0.0029876292683184147, 0.014893688261508942, 0.02781340666115284, -0.05153660476207733, -0.00539284897968173, 0.03471340611577034, -0.003850129432976246, -0.000040394959796685725, -0.06494536995887756, -0.023634282872080803, 0.010856831446290016, -0.004810438957065344, -0.007775838952511549, -0.06295362114906311, 0.01943737454712391, -0.0312278401106596, 0.001992864301428199, 0.01676984876394272, -0.05808093771338463, 0.0778917670249939, -0.0397639237344265, 0.033486343920230865, 0.03138789162039757, 0.06359382718801498, -0.008171522058546543, -0.007549099158495665, 0.01527603343129158, 0.00834491103887558, 0.02447010762989521, 0.08080825954675674, 0.011203610338270664, -0.03446443751454353, -0.004130219575017691, 0.08379589021205902, -0.0050505162216722965, 0.05672939121723175, 0.04214691370725632, -0.006833313032984734, -0.09226083755493164, -0.030961086973547935, 0.008140400983393192, 0.0007024485385045409, -0.050113923847675323, 0.0067977458238601685, -0.031405676156282425, 0.020895622670650482, 0.021998198702931404, -0.01853041537106037, 0.05420413240790367, 0.0070867277681827545, 0.09026908874511719, -0.053884029388427734, 0.0327572226524353, -0.030231963843107224, -0.029253870248794556, -0.014786986634135246, 0.06583454459905624, 0.04922474920749664, 0.025394849479198456, 0.018334796652197838, -0.10463815927505493, -0.05719176307320595, -0.012057218700647354, -0.019828611984848976, -0.05110980197787285, 0.00641540065407753, 0.001088684075511992, -0.032223716378211975, -0.04783763736486435, 0.03181469440460205, 0.001898389426060021, -0.001716108527034521, -0.01026997622102499, 0.021553611382842064, -0.03353969752788544, 0.04225361347198486, 0.029751809313893318, 0.0184770654886961, -0.022425003349781036, -0.009869846515357494, -0.030729901045560837, -0.044672172516584396, -0.03313067555427551, 0.004481444135308266, -0.029627325013279915, 0.06177990511059761, 0.012279512360692024, 0.015622811391949654, 0.020130930468440056, 0.01973969303071499, -0.019419590011239052, 0.040902066975831985, 0.022425003349781036, 0.06380722671747208, -0.00010017116437666118, -0.012501806020736694, 0.03937268629670143, -0.02521701529622078, 0.005535116884857416, 0.016849873587489128, -0.0008858409710228443, -0.006935568060725927, -0.02070000395178795, 0.0094163678586483, 0.003961276262998581, 0.017338920384645462, -0.0421113483607769, -0.0013348745414987206, 0.05733402818441391, 0.024452323094010353, 0.013755543157458305, 0.015480543486773968, -0.05747629702091217, -0.0014037856599316, -0.022798458114266396, -0.05303042009472847, 0.09126496315002441, -0.022496137768030167, -0.04716186225414276, -0.01293750200420618, -0.024523457512259483, 0.023314179852604866, -0.04620155319571495, -0.012501806020736694, 0.017454512417316437, 0.05324382334947586, 0.017970234155654907, -0.021340209990739822, -0.0014249036321416497, 0.07874537259340286, -0.005552900489419699, -0.030961086973547935, -0.04894021525979042, -0.006224227603524923, 0.01631636917591095, -0.03990619257092476, -0.023171911016106606, -0.05221237987279892, -0.015756187960505486, 0.03947938606142998, -0.00837603211402893, -0.07412166148424149, -0.07341032475233078, -0.020290981978178024, 0.02105567418038845, -0.03128119185566902, -0.010136599652469158, 0.0018361471593379974, -0.021980416029691696, -0.04993608966469765, -0.015107089653611183, 0.007131186779588461, 0.03464227542281151, -0.027724489569664, -0.0755443423986435, 0.027422169223427773, -0.003341076662763953, 0.00324549013748765, -0.004081314895302057, 0.032597169280052185, -0.0018628224497660995, -0.01735670305788517, 0.014600260183215141, -0.003994620405137539, -0.0066376943141222, 0.0640917643904686, 0.014235698617994785, 0.07081393152475357, 0.02224716916680336, 0.03247268497943878, -0.05939691513776779, -0.01037667691707611, 0.026230674237012863, 0.03442887216806412, -0.0603572279214859, -0.03656289353966713, -0.08934434503316879, -0.03684742748737335, 0.01145257893949747, 0.014360182918608189, -0.05043403059244156, 0.027190983295440674, -0.013195362873375416, 0.02594613842666149, -0.06451856344938278, -0.0043391757644712925, 0.03855464607477188, 0.011959409341216087, 0.032881706953048706, 0.012270620092749596, 0.009665336459875107, 0.0011231396347284317, -0.04204021394252777, 0.052390214055776596, -0.06089073047041893, -0.07099176198244095, -0.0019028353272005916, 0.0015238242922350764, -0.013586600311100483, 0.027528870850801468, -0.04399639740586281, -0.03876804932951927, -0.009220749139785767, 0.001387113588862121, 0.07469073683023453, 0.012564048171043396, -0.035780418664216995, -0.0481933057308197, 0.03738093376159668, 0.026657478883862495, 0.051358770579099655, 0.008869525045156479, 0.008504962548613548, 0.04549021273851395, -0.023972168564796448, -0.035353612154722214, 0.022638406604528427, 0.04783763736486435, -0.03855464607477188, -0.020451033487915993, -0.015756187960505486, -0.08201754093170166, -0.009443042799830437, 0.03873248025774956, -0.03366418182849884, -0.011248068884015083, 0.04812217131257057, -0.01442242506891489, 0.04225361347198486, 0.042609285563230515, 0.047802068293094635, -0.05776083469390869, 0.0005201675812713802, -0.013355414383113384, -0.012332863174378872, 0.04709072783589363, 0.028649231418967247, -0.03965722396969795, 0.012403996661305428, 0.005921908188611269, -0.05189227685332298, -0.0026452967431396246, 0.06462527066469193, -0.0186015497893095, 0.035851553082466125, 0.02002423070371151, -0.011061342433094978, -0.0032832801807671785, -0.05619588494300842, -0.008527192287147045, -0.014778095297515392, 0.0075090862810611725, -0.06046392768621445, -0.02454124018549919, -0.04129330441355705, 0.048762377351522446, 0.046023719012737274, 0.0453835129737854, 0.027244335040450096, -0.035638149827718735, -0.011559280566871166, -0.03805670887231827, -0.02491469494998455, -0.03633170574903488, -0.01794355921447277, -0.052923720329999924, -0.02493247762322426, -0.02863144874572754, 0.0052327970042824745, 0.006655477918684483, -0.015044847503304482, 0.07163196802139282, -0.01219948660582304, -0.00734458863735199, -0.04605928435921669, 0.016743171960115433, -0.005281701683998108, -0.020788921043276787, 0.01610296592116356, -0.040084026753902435, -0.015818430110812187, 0.025821654126048088, 0.018743816763162613, -0.00526836421340704, -0.03677629306912422, -0.016947682946920395, 0.01464471872895956, 0.0038990341126918793, 0.021767014637589455, -0.028969334438443184, 0.04381856322288513, -0.04758866876363754, 0.023171911016106606, -0.017747940495610237, -0.023669850081205368, 0.023847684264183044, -0.06729279458522797, 0.01397783774882555, 0.031565725803375244, 0.014778095297515392, -0.0019506285898387432, 0.00018894977984018624, -0.004288048483431339, 0.030498716980218887, 0.0023807671386748552, 0.05843660607933998, 0.005868557840585709, -0.023829901590943336, -0.006344266701489687, 0.0012048326898366213, -0.022656189277768135, 0.008322681300342083, 0.027528870850801468, -0.03186804801225662, 0.05050516128540039, -0.06960465013980865, -0.023047426715493202, 0.054559800773859024, -0.03951495513319969, 0.00011253626144025475, 0.060712896287441254, -0.0058285449631512165, 0.027190983295440674, -0.011772681958973408, 0.013880028389394283, 0.009487501345574856, 0.032081447541713715, 0.038839180022478104, -0.05363506078720093, -0.005997488275170326, 0.032223716378211975, 0.0655144453048706, 0.020077580586075783, -0.013177579268813133, -0.0069711352698504925, 0.007740271743386984, 0.013800002634525299, -0.035940468311309814, 0.03798557445406914, -0.012332863174378872, -0.03951495513319969, 0.003432217054069042, 0.012235053814947605, -0.008362694643437862, -0.003947938792407513, 0.016520878300070763, 0.03183247894048691, -0.012875259853899479, -0.004263596143573523, -0.024647941812872887, -0.04570361599326134, -0.024345623329281807, 0.05459536984562874, 0.021269075572490692, 0.051643308252096176, -0.09510619938373566, -0.056764956563711166, 0.080950528383255, 0.06039279326796532, 0.005432861857116222, -0.04324949160218239, 0.029058251529932022, -0.01645863614976406, 0.0025008057709783316, 0.05552011355757713, -0.07967011630535126, -0.129108265042305, -0.0008336019236594439, 0.01453801803290844, 0.05036289617419243, 0.020273199304938316, 0.013711084611713886, -0.018005801364779472, 0.016005156561732292, -0.03272165358066559, 0.012866368517279625, -0.006811083760112524, 0.011336985975503922, 0.02112680673599243, 0.010465594008564949, -0.02818685956299305, -0.027848973870277405, -0.005873003508895636, 0.006753287278115749, -0.04129330441355705, -0.010394460521638393, 0.022567272186279297, 0.012066110037267208, 0.019632993265986443, 0.07618454843759537, -0.027404386550188065, -0.022051550447940826, 0.04737526550889015, 0.06437630206346512, 0.05260361731052399, -0.04278711974620819, -0.037416499108076096, 0.007068944629281759, -0.008487178944051266, 0.06000155583024025, 0.05786753445863724, 0.008456057868897915, -0.007771392818540335, 0.023918818682432175, -0.03167242929339409, 0.02313634380698204, 0.00001556057031848468, -0.026195107027888298, -0.0514654740691185, 0.03915928304195404, -0.0037434285040944815, 0.0011714885476976633, 0.01037667691707611, 0.013079769909381866, -0.012848584912717342, 0.06903557479381561, 0.021873714402318, -0.01639639399945736, 0.00863833911716938, -0.025821654126048088, 0.039408255368471146, 0.028667014092206955, -0.016894333064556122, -0.028453612700104713, 0.010821264237165451, 0.024825777858495712, 0.008985117077827454, -0.058614443987607956, 0.0018561535980552435, -0.009478610008955002, 0.004543686285614967, 0.010136599652469158, -0.020059797912836075, 0.09510619938373566, 0.017605673521757126, 0.07483299821615219, 0.0271376334130764 ]
54,366
nbconvert.exporters.latex
from_notebook_node
Convert from notebook node.
def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" langinfo = nb.metadata.get("language_info", {}) lexer = langinfo.get("pygments_lexer", langinfo.get("name", None)) highlight_code = self.filters.get( "highlight_code", Highlight2Latex(pygments_lexer=lexer, parent=self) ) self.register_filter("highlight_code", highlight_code) # Need to make sure explicit relative paths are visible to latex for pdf conversion # https://github.com/jupyter/nbconvert/issues/1998 nb_path = resources.get("metadata", {}).get("path") if resources else None texinputs = os.path.abspath(nb_path) if nb_path else os.getcwd() convert_explicitly_relative_paths = self.filters.get( "convert_explicitly_relative_paths", ConvertExplicitlyRelativePaths(texinputs=texinputs, parent=self), ) self.register_filter("convert_explicitly_relative_paths", convert_explicitly_relative_paths) return super().from_notebook_node(nb, resources, **kw)
(self, nb, resources=None, **kw)
[ -0.007428349927067757, -0.07388003170490265, 0.04881102964282036, -0.02200262062251568, -0.06939701735973358, 0.050460778176784515, 0.024477241560816765, 0.05820741876959801, 0.04737646505236626, -0.0018806232837960124, 0.03132728487253189, 0.021715708076953888, 0.005845847073942423, 0.032708052545785904, -0.046515725553035736, -0.015062917955219746, -0.036455847322940826, -0.009539848193526268, -0.0045166341587901115, 0.0360972061753273, -0.09747859835624695, -0.037370383739471436, 0.028135379776358604, 0.027059456333518028, -0.010113674215972424, 0.0007290497305803001, -0.016013316810131073, -0.023168202489614487, -0.03880494832992554, -0.015107748098671436, 0.0055365189909935, -0.054405827075242996, 0.0033062209840863943, -0.023329591378569603, 0.023257862776517868, 0.0161209087818861, -0.07158472388982773, 0.03195490688085556, -0.06294147670269012, -0.01838034763932228, 0.01434563659131527, -0.05853019654750824, 0.012740718200802803, -0.028798865154385567, -0.0011487717274576426, 0.014291840605437756, 0.018846580758690834, -0.04583431035280228, -0.03638412058353424, -0.03536199405789375, 0.02237919345498085, -0.055625203996896744, -0.000027563515686779283, 0.05300712585449219, -0.0404188297688961, -0.03442952781915665, -0.026736680418252945, 0.0765339732170105, 0.02243298850953579, 0.0726606473326683, -0.03012583591043949, 0.0025149693246930838, -0.010965446010231972, -0.014157350175082684, -0.011010276153683662, 0.014910495840013027, 0.04303690791130066, -0.06082550063729286, -0.03589995577931404, 0.01417528185993433, -0.0000882592867128551, -0.03109416738152504, 0.042140308767557144, 0.055768661201000214, 0.056378353387117386, -0.04633640497922897, -0.050855282694101334, 0.03548751771450043, -0.043431416153907776, 0.04924139752984047, 0.05723908916115761, 0.018846580758690834, -0.03837457671761513, -0.04626467823982239, 0.034196410328149796, -0.06584647297859192, 0.053258176892995834, 0.022558514028787613, 0.029031982645392418, -0.0036133071407675743, -0.06312079727649689, -0.0601799450814724, 0.0013650769833475351, -0.04346727952361107, 0.04891861975193024, -0.000755947781726718, 0.027615349739789963, 0.006460019387304783, 0.05899643152952194, -0.018075501546263695, 0.05612730234861374, 0.01819206029176712, -0.023652369156479836, -0.010786125436425209, 0.0033734661992639303, 0.0312734879553318, -0.006442087236791849, 0.053114719688892365, 0.019958367571234703, -0.03355085849761963, -0.02411860227584839, 0.0293547585606575, 0.009342595934867859, 0.010553008876740932, -0.015780199319124222, 0.0038486653938889503, 0.037083469331264496, 0.026270447298884392, 0.024584835395216942, -0.008002175018191338, -0.00863876286894083, 0.03826698660850525, -0.04662331938743591, 0.0006130518158897758, -0.03638412058353424, 0.04827306792140007, 0.033514995127916336, 0.018936241045594215, 0.015762267634272575, -0.03841044008731842, 0.039629820734262466, -0.012426907196640968, -0.054943788796663284, 0.057346682995557785, 0.03349706158041954, 0.011539271101355553, -0.03880494832992554, 0.037621431052684784, -0.0054603079333901405, 0.019133493304252625, 0.02632424235343933, -0.04465079307556152, 0.057059768587350845, 0.004846135154366493, -0.06394567340612411, -0.020496327430009842, -0.011207528412342072, 0.05092700943350792, -0.07205095887184143, -0.03172178938984871, -0.03199077025055885, 0.06326425820589066, 0.03191903978586197, 0.015152578242123127, 0.02555316500365734, 0.03523647040128708, 0.016631972044706345, -0.03172178938984871, 0.02060392126441002, 0.023993076756596565, 0.04400524124503136, 0.03277977928519249, 0.04773510619997978, 0.057920508086681366, -0.017698928713798523, 0.024244125932455063, -0.04274999722838402, -0.06957633793354034, -0.019456269219517708, 0.025212455540895462, -0.01943833753466606, -0.06365875899791718, -0.020281143486499786, 0.026216650381684303, 0.014229077845811844, 0.059606119990348816, 0.055230699479579926, 0.0022852150723338127, 0.0012193791335448623, 0.02738223411142826, 0.003353292588144541, 0.034770235419273376, -0.02435171790421009, 0.04447147250175476, -0.035684771835803986, 0.012364145368337631, -0.010768193751573563, 0.004778889939188957, 0.012740718200802803, -0.03435780107975006, 0.07119022309780121, 0.05949852615594864, -0.008898777887225151, 0.019097628071904182, -0.06473468244075775, -0.05038904771208763, -0.020908765494823456, -0.00694418465718627, -0.04267827048897743, 0.06710171699523926, 0.03649171441793442, 0.04938485473394394, 0.024997271597385406, 0.07212268561124802, -0.048488251864910126, 0.015036020427942276, -0.031022438779473305, 0.08141148835420609, -0.04264240339398384, 0.0018649327103048563, 0.034196410328149796, -0.031596265733242035, 0.012391043826937675, 0.013852505013346672, 0.02926509827375412, -0.021966755390167236, -0.025499368086457253, 0.04465079307556152, 0.0020935663487762213, -0.007921481505036354, 0.07000670582056046, -0.019814910367131233, -0.03184731304645538, -0.034590914845466614, 0.0014110278571024537, -0.01251656748354435, 0.05307885631918907, -0.0399525985121727, 0.042965181171894073, -0.003725382499396801, -0.073126882314682, -0.012417941354215145, -0.013180053792893887, -0.009024301543831825, 0.0336763821542263, 0.00798872672021389, 0.031793516129255295, 0.009943319484591484, -0.052397437393665314, 0.008634280413389206, -0.04167407378554344, -0.016865089535713196, -0.0009666493278928101, -0.06710171699523926, 0.02820710837841034, -0.012310349382460117, 0.09776551276445389, -0.02540970779955387, -0.057490140199661255, -0.01631816104054451, 0.016730599105358124, -0.027884330600500107, 0.007338689640164375, 0.011808251962065697, -0.005729288794100285, 0.01843414269387722, -0.029390621930360794, -0.06796245276927948, -0.03500335291028023, 0.008212876506149769, -0.0137180145829916, -0.06681480258703232, -0.0011734282597899437, 0.027561554685235023, 0.016721632331609726, -0.03478816896677017, -0.024387581273913383, 0.041996851563453674, 0.04490184411406517, -0.021626047790050507, 0.024817951023578644, 0.019599726423621178, 0.011395814828574657, 0.02094462886452675, 0.022056415677070618, -0.06175796687602997, 0.010597839020192623, 0.008338401094079018, -0.0035483036190271378, 0.008916709572076797, -0.01872105523943901, -0.018882444128394127, -0.013153155334293842, 0.017214763909578323, 0.008589450269937515, -0.09159688651561737, 0.002449965802952647, 0.036455847322940826, -0.011996538378298283, -0.06032340228557587, 0.0317755863070488, 0.03394536301493645, -0.01550225354731083, 0.00904671661555767, 0.0005634584813378751, 0.03815939277410507, -0.04995867982506752, 0.00827563926577568, -0.03733452036976814, -0.011324087157845497, -0.01630919612944126, -0.03478816896677017, 0.04952831193804741, -0.016013316810131073, -0.026288378983736038, -0.019671455025672913, -0.016667837277054787, 0.02686220407485962, -0.034967489540576935, 0.003862114390358329, 0.005827914923429489, -0.004236445762217045, 0.04504529759287834, -0.01268692221492529, -0.021572250872850418, -0.07305515557527542, 0.04877516254782677, 0.014013893902301788, -0.0009291041060350835, 0.02497933991253376, -0.039450500160455704, -0.017976876348257065, -0.04210444167256355, 0.02363443560898304, -0.0014894804917275906, 0.003691759891808033, 0.0185238029807806, -0.01992250233888626, 0.02031700685620308, 0.02809951640665531, 0.02209228090941906, 0.018263788893818855, 0.008047005161643028, -0.05168015509843826, -0.07760989665985107, -0.07319860905408859, 0.00458612060174346, 0.027884330600500107, -0.055947981774806976, -0.02618078701198101, 0.028942322358489037, 0.009710202924907207, 0.005922058131545782, 0.015798132866621017, -0.05942679941654205, -0.018936241045594215, -0.04601363092660904, -0.00938742607831955, -0.0022370226215571165, 0.004792339168488979, -0.05928334221243858, 0.02291715517640114, -0.017447879537940025, 0.021446727216243744, -0.03152453526854515, -0.03489575907588005, -0.0057830847799777985, -0.03502128645777702, -0.045224618166685104, -0.0668865293264389, -0.013206951320171356, 0.059139885008335114, -0.02232539653778076, -0.007948379032313824, 0.017062341794371605, -0.007060742937028408, 0.04267827048897743, 0.05175188556313515, 0.05074768885970116, 0.014802903868258, 0.04292931780219078, 0.011189596727490425, -0.03783661499619484, -0.02546350471675396, -0.04278586059808731, -0.0457267165184021, -0.02546350471675396, -0.026916000992059708, -0.06082550063729286, 0.043395549058914185, 0.020496327430009842, 0.027077389881014824, -0.0021070153452455997, -0.024423446506261826, -0.011010276153683662, -0.04855997860431671, 0.002579973079264164, 0.025589028373360634, 0.015098782256245613, -0.06469882279634476, -0.051429107785224915, 0.0028579197824001312, 0.018703123554587364, 0.023455115035176277, -0.05738254636526108, -0.08205704391002655, 0.027453962713479996, 0.025589028373360634, 0.05731081962585449, -0.04855997860431671, 0.014202180318534374, 0.029856856912374496, 0.054118912667036057, 0.017483744770288467, 0.006065514404326677, 0.03430400416254997, 0.04708955064415932, 0.03125555440783501, 0.009154309518635273, -0.03260045871138573, 0.003147074021399021, 0.013502830639481544, 0.025481436401605606, 0.029874788597226143, -0.029390621930360794, 0.03349706158041954, 0.025642825290560722, -0.01153030525892973, -0.07933136820793152, -0.054226506501436234, -0.053258176892995834, -0.006590026896446943, 0.0534374974668026, 0.0008730664849281311, 0.08105284720659256, -0.04063401371240616, 0.029014049097895622, -0.0021619321778416634, 0.005236157216131687, 0.061578646302223206, -0.024028941988945007, -0.05117805674672127, 0.0336763821542263, -0.049313124269247055, 0.022110212594270706, -0.03066379763185978, -0.0166050735861063, -0.014910495840013027, 0.0226302407681942, 0.019312813878059387, 0.05304299294948578, -0.011270290240645409, 0.08729320019483566, -0.021966755390167236, -0.07133367657661438, -0.018263788893818855, -0.034967489540576935, 0.08148321509361267, -0.04999454319477081, -0.07481249421834946, 0.06717344373464584, -0.025858009234070778, 0.012821412645280361, -0.03509301319718361, 0.0050344220362603664, -0.012364145368337631, 0.022253667935729027, -0.028242971748113632, 0.042570676654577255, 0.054656874388456345, -0.03197283670306206, 0.029910651966929436, 0.040885064750909805, -0.07018602639436722, 0.02112394943833351, -0.0750994086265564, 0.0409209281206131, -0.04249894991517067, 0.019474200904369354, -0.0054199607111513615, 0.03195490688085556, 0.016102977097034454, -0.0006595630547963083, -0.044399745762348175, 0.025589028373360634, 0.037764888256788254, -0.04393351078033447, -0.09303145110607147, -0.04318036511540413, -0.017295457422733307, -0.05716736242175102, -0.036025479435920715, 0.06555955857038498, 0.0025844560004770756, -0.02474622242152691, -0.013852505013346672, 0.02035287208855152, -0.0026360107585787773, 0.04658745601773262, 0.0013594732154160738, -0.04992281645536423, 0.0760318711400032, -0.03941463679075241, 0.022146075963974, -0.013027630746364594, 0.0028736102394759655, 0.034537121653556824, -0.0039786724373698235, 0.02055012434720993, -0.024387581273913383, 0.011019241996109486, -0.04561912268400192, 0.027256708592176437, 0.0433238223195076, 0.03312048688530922, 0.017196832224726677, -0.023759961128234863, 0.045511532574892044, 0.022164007648825645, 0.0008753080037422478, 0.00520925922319293, 0.04655158892273903, 0.08549999445676804, 0.004229721147567034, -0.053114719688892365, -0.03249286860227585, -0.039307042956352234, 0.0880822092294693, -0.03243907168507576, 0.01866726018488407, 0.012677956372499466, -0.021966755390167236, 0.026395970955491066, -0.02354477532207966, 0.041315432637929916, 0.010992343537509441, 0.0055275531485676765, -0.008549102582037449, -0.03618686646223068, 0.01664990372955799, -0.044292151927948, -0.05795637145638466, 0.058745380491018295, -0.03555924817919731, -0.0611124113202095, 0.016013316810131073, 0.07144127041101456, 0.02083703689277172, 0.028673341497778893, 0.03055620566010475, 0.014085621573030949, -0.008871879428625107, -0.042821723967790604, 0.02180536836385727, 0.034626781940460205, 0.02291715517640114, -0.024710359051823616, 0.019886638969182968, 0.030341021716594696, 0.02123154141008854, 0.0529353991150856, -0.07086744159460068, -0.02946235053241253, 0.049348991364240646, 0.05616316571831703, 0.023365454748272896, -0.028171243146061897, 0.006657272111624479, 0.04110024869441986, 0.0042207553051412106, -0.0073252408765256405, -0.015080850571393967, 0.01231931522488594, 0.005303402431309223, -0.0063972570933401585, 0.05853019654750824, 0.012211723253130913, -0.022450922057032585, -0.03118382766842842, -0.026736680418252945, 0.09109479188919067, -0.025015203282237053, 0.0515008345246315, -0.00917224120348692, -0.011306154541671276, 0.013906300999224186, 0.0031672476325184107, -0.04163821041584015, -0.0034339867997914553, -0.0018716573249548674, -0.038482170552015305, 0.01680232770740986, -0.0036693448200821877, -0.01198757253587246, 0.03317428380250931, 0.026987729594111443, -0.05695217847824097, 0.03927117958664894, 0.06165037304162979, -0.00897947233170271, 0.02840436063706875, -0.02835056371986866, 0.02829676866531372, -0.0370476059615612, 0.061973150819540024, -0.015520185232162476, -0.019563861191272736, -0.03408882021903992, 0.006921769585460424, -0.04174580052495003, -0.013709048740565777, -0.019994230940937996, -0.0029251649975776672, -0.02955201081931591, 0.02806365117430687, -0.014354602433741093, 0.047484055161476135, -0.050998736172914505, -0.008463925682008266, 0.0028130896389484406, 0.0461929515004158, 0.0008259948808699846, 0.012211723253130913, 0.04274999722838402, -0.01776169054210186, -0.005585832055658102, -0.009862625040113926, -0.060574449598789215, -0.02835056371986866, 0.00005078411413705908, -0.00987159088253975, 0.0014457711949944496, 0.018954172730445862, 0.02329372800886631, -0.026485631242394447, -0.03086104989051819, 0.04267827048897743, 0.01104614045470953, -0.0216619111597538, 0.042857587337493896, 0.0649498701095581, -0.043395549058914185, 0.03880494832992554, -0.028816796839237213, -0.008208394050598145, 0.0028467122465372086, 0.020962560549378395, 0.0032300096936523914, -0.01434563659131527, 0.05541002005338669, 0.00806045439094305, -0.050855282694101334, -0.01776169054210186, -0.06814177334308624, -0.013682151213288307, -0.07119022309780121, 0.038482170552015305, -0.020568056032061577, -0.03263632208108902, 0.03672482818365097, -0.020998425781726837, 0.02926509827375412, -0.009755033068358898, 0.019725250080227852, -0.01530500128865242, 0.06035926565527916, 0.026503562927246094, 0.008082869462668896, 0.04500943422317505, 0.01109097059816122, 0.01699061319231987, 0.01128822285681963, 0.006684170104563236, 0.05028145760297775, 0.012597261928021908, -0.0065720947459340096, -0.011996538378298283, 0.03195490688085556, 0.0016777670243754983, 0.0005883952253498137, -0.010839921422302723, 0.009521916508674622, -0.07133367657661438, -0.040885064750909805, -0.007208682131022215, 0.012355179525911808, -0.005774118937551975, -0.051285650581121445, -0.014184247702360153, -0.039629820734262466, -0.07904445379972458, 0.0161298755556345, -0.0476633757352829, 0.02718498185276985, -0.011395814828574657, 0.01838034763932228, 0.012848311103880405, 0.005442375782877207, 0.015394661575555801, -0.006724517326802015, -0.014578753150999546, 0.04063401371240616, 0.0019557138439267874, 0.0014278391608968377, -0.008100802078843117, 0.02271990105509758, -0.03139901161193848, -0.053975459188222885, -0.03075345791876316, 0.0035864091478288174, 0.06749621778726578, -0.016524380072951317, 0.00823080912232399, -0.013027630746364594, 0.04063401371240616, -0.02031700685620308, -0.02011975459754467, -0.038051802664995193, -0.05096287280321121, 0.012704853899776936, -0.010786125436425209, -0.008813600055873394, 0.012597261928021908, 0.008634280413389206, -0.03912772238254547, 0.008508755825459957, -0.01646161824464798, 0.014614617452025414, -0.0021496040280908346, -0.023419251665472984, 0.02094462886452675, -0.060430992394685745, 0.0336943119764328, 0.07018602639436722, 0.021070154383778572, 0.04389764741063118, -0.05067596212029457, -0.041602347046136856, 0.012068266980350018, -0.09260108321905136, 0.0543699637055397, 0.03937877342104912, -0.05074768885970116, -0.07133367657661438, 0.013296611607074738, -0.04730473831295967, 0.04231962934136391, 0.053114719688892365, -0.001824585604481399, -0.04569085314869881, 0.07273237407207489, 0.029516147449612617, -0.01804860308766365, 0.07474076747894287, 0.010884751565754414, 0.02657529152929783, 0.005505138076841831, -0.008463925682008266, 0.02840436063706875, 0.022594377398490906, 0.03485989570617676, 0.024566901847720146, 0.009512950666248798, 0.05096287280321121, 0.0659540668129921, -0.036419983953237534, 0.018209991976618767, 0.032797712832689285, -0.03866149112582207, -0.004429215099662542, 0.03206249698996544, 0.008898777887225151, 0.0016900952905416489, 0.010490247048437595, 0.039199452847242355, -0.01949213445186615, -0.006921769585460424, -0.019312813878059387 ]
54,387
nbconvert.exporters.markdown
MarkdownExporter
Exports to a markdown document (.md)
class MarkdownExporter(TemplateExporter): """ Exports to a markdown document (.md) """ export_from_notebook = "Markdown" @default("file_extension") def _file_extension_default(self): return ".md" @default("template_name") def _template_name_default(self): return "markdown" output_mimetype = "text/markdown" @default("raw_mimetypes") def _raw_mimetypes_default(self): return ["text/markdown", "text/html", ""] @property def default_config(self): c = Config( { "ExtractAttachmentsPreprocessor": {"enabled": True}, "ExtractOutputPreprocessor": {"enabled": True}, "NbConvertBase": { "display_data_priority": [ "text/html", "text/markdown", "image/svg+xml", "text/latex", "image/png", "image/jpeg", "text/plain", ] }, "HighlightMagicsPreprocessor": {"enabled": True}, } ) if super().default_config: c2 = super().default_config.copy() c2.merge(c) c = c2 return c
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ -0.009542361833155155, -0.09199058264493942, 0.03409041091799736, -0.053119760006666183, 0.0369328148663044, 0.012550882063806057, -0.022370100021362305, 0.036655958741903305, -0.02835022658109665, 0.00264399079605937, 0.044887859374284744, -0.009846905246376991, -0.021521070972085, 0.04750877991318703, -0.02222244255244732, -0.03861241787672043, 0.021410327404737473, 0.033001434057950974, 0.08010415732860565, -0.005703268107026815, -0.022628501057624817, -0.0498712956905365, 0.006220069248229265, -0.03231852129101753, -0.0072536710649728775, -0.029882172122597694, 0.021281126886606216, -0.05762331187725067, -0.015900859609246254, 0.012070994824171066, -0.044887859374284744, -0.058915313333272934, -0.020579755306243896, 0.037025101482868195, 0.06039188802242279, -0.017488177865743637, -0.058472342789173126, 0.07567442953586578, -0.07560060173273087, -0.004109029658138752, 0.010216048918664455, -0.02462187595665455, 0.05186467245221138, -0.0579555407166481, -0.034293439239263535, -0.004157479386776686, -0.05972743034362793, -0.0014119741972535849, -0.05127404257655144, 0.021964043378829956, 0.012910796329379082, -0.003116955980658531, 0.012006394565105438, 0.05943211540579796, -0.04562614485621452, 0.00015227172116283327, 0.03277995064854622, 0.05692194029688835, -0.03541932627558708, 0.03038051724433899, -0.025784678757190704, 0.03516092523932457, 0.03857550397515297, -0.039424534887075424, 0.02253621444106102, 0.060207318514585495, 0.016491489484906197, 0.017811177298426628, -0.006976813543587923, 0.029586857184767723, -0.0037975646555423737, -0.06688881665468216, 0.030472801998257637, 0.034311894327402115, 0.05053575709462166, -0.03170943260192871, -0.04403882846236229, -0.02631993778049946, 0.024640332907438278, 0.04776717722415924, 0.0490591824054718, -0.006432326976209879, -0.027833426371216774, -0.007973501458764076, 0.05334124714136124, -0.05703268200159073, 0.045220088213682175, 0.004042122047394514, 0.04414957016706467, 0.0003010827349498868, 0.02661525271832943, -0.03505018353462219, 0.019564609974622726, -0.026430679485201836, -0.00867948867380619, -0.038427844643592834, -0.004519701469689608, 0.042414598166942596, -0.0025009477976709604, -0.01295693963766098, -0.011341935954988003, 0.028479427099227905, 0.004397423006594181, -0.03763418644666672, 0.004494322929531336, -0.00889636017382145, -0.01434122771024704, 0.06692572683095932, -0.05263987556099892, -0.023126844316720963, -0.060502633452415466, -0.010492905974388123, -0.0321708619594574, -0.05149552971124649, 0.05913680046796799, -0.002507869154214859, -0.00294622709043324, -0.001913778716698289, 0.01841103658080101, -0.041454821825027466, -0.05806628614664078, 0.040052078664302826, -0.06596595793962479, -0.029254628345370293, -0.008190372958779335, 0.045921459794044495, 0.029937544837594032, -0.01676834747195244, 0.0375603586435318, -0.004849623888731003, -0.05437484756112099, 0.04219311103224754, -0.08704405277967453, -0.0034445710480213165, 0.04817323759198189, 0.01938003860414028, -0.045257002115249634, -0.0035345498472452164, 0.019933752715587616, 0.09774921834468842, -0.03589921444654465, -0.06009657308459282, 0.034625668078660965, 0.03861241787672043, -0.02700285241007805, 0.012015623040497303, -0.01606697402894497, 0.045257002115249634, -0.045884545892477036, 0.0052925958298146725, 0.00869794562458992, 0.02425273321568966, -0.03305680677294731, -0.004581994842737913, 0.041787054389715195, 0.05570376664400101, 0.035493154078722, 0.08099009841680527, -0.00273396959528327, 0.040790364146232605, 0.05754948407411575, 0.035345498472452164, 0.04267299920320511, 0.1043199747800827, -0.026781367138028145, 0.026209194213151932, 0.0035068639554083347, -0.07729866355657578, 0.01364908367395401, 0.03038051724433899, 0.0069583565928041935, 0.0054448675364255905, -0.016759118065238, 0.0004389347741380334, 0.049280665814876556, 0.07010036706924438, 0.029162341728806496, 0.08342644572257996, -0.011803366243839264, -0.027021309360861778, -0.03438572585582733, -0.007382871583104134, -0.0655968114733696, 0.03420115262269974, 0.020062953233718872, 0.047545693814754486, 0.0015123351477086544, 0.012467823922634125, -0.01383365597575903, -0.003691435791552067, 0.060207318514585495, 0.009173218160867691, -0.0177927203476429, 0.014368914067745209, -0.02419736236333847, -0.03853859007358551, -0.03479178249835968, -0.06419406831264496, -0.002489411970600486, 0.02384667471051216, -0.027833426371216774, -0.020376725122332573, 0.04344819858670235, 0.008015030063688755, 0.00033136404817923903, -0.022979186847805977, 0.015061058104038239, -0.013999770395457745, -0.07183533906936646, 0.025784678757190704, -0.024086618795990944, -0.0017661212477833033, 0.02630147896707058, 0.06268057972192764, 0.021059641614556313, -0.05156935751438141, 0.014064370654523373, 0.05913680046796799, -0.04400191456079483, -0.029863715171813965, 0.0032000134233385324, 0.02596925012767315, 0.015614773146808147, 0.04547848924994469, 0.02181638590991497, -0.025470906868577003, 0.06869761645793915, -0.047804094851017, 0.01432277075946331, -0.03582538291811943, -0.030565088614821434, -0.028479427099227905, -0.022019414231181145, 0.08556748181581497, 0.033204466104507446, -0.025341706350445747, 0.019010894000530243, -0.04640134796500206, -0.05766022577881813, 0.05703268200159073, -0.022259358316659927, 0.05537153780460358, 0.031284917145967484, -0.0003708739241119474, 0.05485473573207855, -0.043854255229234695, 0.019564609974622726, 0.0052925958298146725, -0.023606732487678528, -0.007881215773522854, 0.04802557826042175, -0.03615761175751686, -0.012218652293086052, 0.018494093790650368, -0.014202798716723919, 0.015596316196024418, -0.04835780709981918, -0.043152883648872375, -0.030546631664037704, -0.027224339544773102, 0.0003743346605915576, -0.09302417933940887, 0.006077026017010212, 0.0011962559074163437, 0.06423098593950272, -0.034957896918058395, -0.019583066925406456, 0.03146949037909508, 0.02554473467171192, -0.00802425853908062, 0.12521350383758545, 0.0655968114733696, -0.02325604483485222, -0.04204545170068741, 0.013224568217992783, -0.02117038331925869, -0.0025863121263682842, -0.006709184497594833, 0.016786804422736168, 0.027538111433386803, 0.008813302963972092, -0.10173597186803818, 0.009468533098697662, 0.0011501129483804107, 0.06814390420913696, 0.0011489593889564276, -0.036360643804073334, 0.018881693482398987, 0.0013796740677207708, -0.01074207853525877, 0.009080931544303894, 0.05839851498603821, 0.009856133721768856, -0.04197162389755249, -0.06648276001214981, -0.01910318061709404, -0.04359585791826248, -0.03355515003204346, -0.01602083072066307, 0.002800876973196864, -0.02458496205508709, -0.017977291718125343, 0.010132990777492523, -0.03220777586102486, -0.05832468345761299, -0.012117138132452965, -0.014941086061298847, 0.0064507839269936085, 0.025101764127612114, -0.012144823558628559, 0.06862378865480423, -0.00782584398984909, 0.03377663716673851, 0.05060958489775658, -0.018512550741434097, 0.013529111631214619, 0.016842175275087357, 0.011581880040466785, 0.02113346941769123, 0.003343056421726942, -0.059210628271102905, 0.018244922161102295, -0.045146260410547256, 0.0239020474255085, 0.044814031571149826, -0.018595607951283455, 0.0194538664072752, -0.010188362561166286, 0.007525914814323187, 0.08010415732860565, -0.015061058104038239, 0.03475486859679222, 0.02148415707051754, -0.014212028123438358, -0.033296748995780945, -0.06072411686182022, 0.006626127287745476, -0.0346810407936573, -0.012947711162269115, -0.05282444506883621, -0.011711079627275467, 0.012209423817694187, -0.02454804815351963, -0.013787512667477131, -0.023422159254550934, 0.012421681545674801, 0.009440846741199493, 0.008471844717860222, 0.0014396599726751447, 0.0014096670784056187, -0.0022413935512304306, 0.06460012495517731, -0.026338394731283188, 0.010668249800801277, -0.011129679158329964, -0.03887081891298294, -0.012661624699831009, -0.056146737188100815, -0.05127404257655144, -0.06740561872720718, 0.0068937563337385654, 0.0221486147493124, -0.018992437049746513, 0.043226711452007294, 0.0038229431957006454, -0.007604357786476612, 0.0006586905801668763, 0.07345957309007645, 0.06917750835418701, 0.0029854485765099525, 0.005232610274106264, 0.03372126445174217, 0.00035645425668917596, -0.004067500587552786, 0.005066495388746262, -0.06105634942650795, -0.10085002332925797, -0.003389199497178197, -0.033518236130476, -0.015790116041898727, -0.013593711890280247, -0.00036193375126458704, -0.0107605354860425, -0.00003466128328000195, -0.021354956552386284, -0.053710389882326126, 0.054448679089546204, 0.04872695356607437, -0.019527696073055267, -0.054116446524858475, 0.014073599129915237, -0.04776717722415924, -0.042783740907907486, 0.06611361354589462, -0.037357330322265625, -0.07279511541128159, -0.027187423780560493, 0.05721725523471832, 0.005564839579164982, 0.014212028123438358, 0.08290964365005493, 0.01710057631134987, 0.05529770627617836, 0.018494093790650368, -0.0016473032301291823, 0.02078278362751007, 0.05810320004820824, -0.029217714443802834, 0.03277995064854622, 0.020044496282935143, 0.035327039659023285, -0.0035991498734802008, -0.031192632392048836, 0.0036568285431712866, 0.007788929622620344, 0.01943540945649147, 0.02803645469248295, -0.07190916687250137, -0.03820636123418808, -0.04226693883538246, 0.00024282725644297898, 0.027427367866039276, 0.05998583137989044, 0.019656894728541374, 0.06607670336961746, -0.029088513925671577, -0.029070056974887848, 0.0031238775700330734, -0.05260295793414116, 0.022259358316659927, -0.04370659962296486, -0.017746577039361, -0.027759596705436707, -0.00970847625285387, 0.03983059152960777, -0.030971145257353783, 0.02936537191271782, -0.05880457162857056, -0.02692902460694313, 0.011461907997727394, 0.008328801952302456, -0.016094660386443138, 0.0167129747569561, -0.01772812008857727, 0.017958834767341614, 0.01295693963766098, -0.032964520156383514, 0.007747401017695665, -0.026725994423031807, -0.013279940001666546, 0.006741484627127647, 0.012707768008112907, 0.030159030109643936, -0.04138099402189255, 0.0492437519133091, -0.08490302413702011, 0.07371797412633896, -0.034644123166799545, 0.039682935923337936, 0.024843363091349602, 0.02975297160446644, -0.015910089015960693, -0.024806449189782143, 0.008928660303354263, 0.026024622842669487, -0.07744631916284561, 0.01676834747195244, -0.026449136435985565, -0.05160627141594887, 0.0016473032301291823, 0.037726473063230515, 0.0029600700363516808, 0.015799345448613167, -0.0005046884762123227, -0.02624610811471939, 0.04256225377321243, -0.00011687142978189513, -0.040052078664302826, -0.0346810407936573, -0.047951750457286835, -0.022942272946238518, -0.035696182399988174, 0.017746577039361, 0.007595129311084747, -0.03488406911492348, -0.004955752287060022, 0.04090110957622528, -0.013187654316425323, 0.03525321185588837, -0.023791303858160973, -0.04540466144680977, 0.05662662535905838, -0.004535851534456015, 0.004339744336903095, 0.02733508124947548, 0.01551325898617506, 0.03108188882470131, 0.03713584318757057, 0.039719849824905396, -0.05330433323979378, 0.05810320004820824, -0.018900150433182716, 0.040458135306835175, 0.025360163301229477, 0.045884545892477036, -0.04093802347779274, 0.023625189438462257, 0.006104711908847094, -0.028479427099227905, 0.03206012025475502, -0.022702330723404884, 0.031598690897226334, 0.01452580001205206, 0.04267299920320511, -0.0007763550966046751, 0.000418170471675694, -0.020635126158595085, 0.00800118688493967, 0.030638916417956352, 0.030786573886871338, 0.005375653505325317, -0.044186487793922424, -0.044887859374284744, -0.045552317053079605, -0.009399318136274815, 0.06533841043710709, 0.005777096841484308, 0.037468072026968, -0.030602002516388893, 0.07966118305921555, -0.004432030022144318, 0.004923452623188496, 0.03206012025475502, -0.023938961327075958, -0.0647846981883049, 0.019177008420228958, -0.03578846901655197, 0.06042880192399025, 0.02971605770289898, -0.007858144119381905, -0.040125906467437744, -0.060945603996515274, -0.010880506597459316, -0.03660058602690697, 0.004482787102460861, 0.02074586972594261, 0.025766221806406975, 0.013446054421365261, 0.07766781002283096, 0.019896838814020157, 0.01333531178534031, -0.01005916204303503, -0.019287751987576485, 0.004406651481986046, -0.001199716585688293, 0.09250737726688385, -0.025120221078395844, -0.0006471548113040626, 0.08039946854114532, 0.017580462619662285, 0.008587202057242393, -0.0029093127232044935, 0.033315207809209824, 0.018595607951283455, 0.0492437519133091, 0.04891152307391167, 0.0014154348755255342, -0.03898156061768532, -0.09553435444831848, -0.03340749442577362, 0.012569339014589787, -0.006293897982686758, 0.02392050437629223, -0.03927687555551529, 0.009634647518396378, 0.013039996847510338, 0.06445246934890747, 0.009948419407010078, -0.008098087273538113, -0.019712267443537712, -0.04370659962296486, 0.01673143170773983, 0.06301280856132507, -0.05278753116726875, -0.02320067398250103, -0.05932137370109558, -0.030491258949041367, -0.04414957016706467, 0.016223860904574394, -0.004164400976151228, -0.0074567003175616264, 0.0026809051632881165, 0.04127025231719017, -0.04702889174222946, 0.03798487409949303, 0.03383200988173485, 0.0014015920460224152, -0.04053196310997009, 0.04433414340019226, -0.05289827287197113, 0.0005251644179224968, 0.023625189438462257, -0.042820654809474945, -0.004464330151677132, 0.047582607716321945, -0.041787054389715195, 0.048690035939216614, -0.03689590096473694, -0.002964684274047613, -0.022443929687142372, -0.0035645426250994205, -0.014516571536660194, -0.0027547338977456093, 0.031894005835056305, -0.03508709743618965, -0.04189779609441757, -0.011738765984773636, -0.03349978104233742, -0.01770966313779354, -0.015282544307410717, -0.027575025334954262, 0.04001516476273537, -0.029217714443802834, -0.03767110034823418, 0.03682207316160202, -0.015790116041898727, -0.01708211936056614, 0.019546153023838997, 0.0031100346241146326, 0.0436696857213974, 0.01640843227505684, -0.015245629474520683, 0.03709892928600311, 0.0053894962184131145, 0.03606532886624336, 0.006598441395908594, -0.034625668078660965, -0.008213444612920284, 0.021945586428046227, 0.003666057251393795, -0.0023648259229958057, -0.07150311022996902, -0.012477053329348564, -0.03717275708913803, -0.04200853779911995, 0.002648605266585946, 0.015061058104038239, -0.020542839542031288, -0.0020937363151460886, -0.006939899176359177, -0.0035391640849411488, 0.05090489983558655, 0.0024871048517525196, -0.00079884979641065, -0.06375109404325485, 0.06840230524539948, -0.013861341401934624, 0.02794416807591915, 0.03106343187391758, -0.042488425970077515, 0.015227172523736954, -0.022314729169011116, -0.00298083433881402, -0.0028516340535134077, 0.030472801998257637, -0.04673357680439949, -0.0029716058634221554, 0.030952688306570053, -0.009376246482133865, -0.02593233622610569, 0.016288461163640022, 0.004817323759198189, -0.0012654702877625823, -0.0728689432144165, 0.04363277181982994, -0.025858508422970772, -0.005827854387462139, -0.020727410912513733, 0.007064484991133213, 0.0033084494061768055, -0.04263608157634735, 0.009496218524873257, -0.04710271954536438, 0.1043199747800827, -0.03798487409949303, -0.0017995749367401004, 0.04474020004272461, -0.0035022497177124023, -0.043485112488269806, 0.015522487461566925, -0.001123580732382834, 0.06138857826590538, -0.003756035817787051, -0.03850167617201805, 0.01026219129562378, -0.027390453964471817, -0.011221964843571186, -0.05249221622943878, -0.08202370256185532, -0.031894005835056305, -0.016814490780234337, -0.02347753196954727, 0.0012100987369194627, 0.024658791720867157, 0.02729816734790802, 0.007535143289715052, 0.01910318061709404, 0.02153952792286873, -0.01383365597575903, -0.03586229681968689, 0.0016150031005963683, 0.06068720296025276, 0.06341886520385742, 0.007968886755406857, -0.03421960771083832, -0.0346810407936573, 0.01380596961826086, 0.03525321185588837, -0.010317563079297543, -0.03488406911492348, 0.01677757501602173, -0.018549464643001556, 0.019970666617155075, 0.023034559562802315, -0.006400026846677065, -0.013547569513320923, -0.08756085485219955, -0.030491258949041367, 0.023366788402199745, -0.04197162389755249, 0.040790364146232605, 0.03438572585582733, -0.024141989648342133, 0.01667606085538864, 0.006017040461301804, -0.01333531178534031, 0.008568745106458664, -0.007124471012502909, -0.09036634862422943, -0.033647436648607254, 0.01950923725962639, -0.012652396224439144, -0.04606911912560463, 0.04507242888212204, 0.03927687555551529, 0.01264316774904728, 0.03073120303452015, 0.018567921593785286, 0.019989125430583954, 0.03311217948794365, 0.014470428228378296, -0.01710057631134987, -0.06928824633359909, 0.03960910439491272, 0.024308104068040848, -0.003114648861810565, 0.03134028986096382, 0.0002379245706833899, -0.05326741933822632, 0.01055750623345375, 0.026116907596588135, -0.02456650510430336, 0.005481781903654337, 0.002948534209281206, 0.02735353820025921, 0.012310937978327274, -0.024400390684604645, -0.006067797541618347 ]
54,436
nbconvert.exporters.notebook
NotebookExporter
Exports to an IPython notebook. This is useful when you want to use nbconvert's preprocessors to operate on a notebook (e.g. to execute it) and then write it back to a notebook file.
class NotebookExporter(Exporter): """Exports to an IPython notebook. This is useful when you want to use nbconvert's preprocessors to operate on a notebook (e.g. to execute it) and then write it back to a notebook file. """ nbformat_version = Enum( list(nbformat.versions), default_value=nbformat.current_nbformat, help="""The nbformat version to write. Use this to downgrade notebooks. """, ).tag(config=True) @default("file_extension") def _file_extension_default(self): return ".ipynb" output_mimetype = "application/json" export_from_notebook = "Notebook" def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" nb_copy, resources = super().from_notebook_node(nb, resources, **kw) if self.nbformat_version != nb_copy.nbformat: resources["output_suffix"] = ".v%i" % self.nbformat_version else: resources["output_suffix"] = ".nbconvert" output = nbformat.writes(nb_copy, version=self.nbformat_version) if not output.endswith("\n"): output = output + "\n" return output, resources
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ -0.007976479828357697, -0.0865965485572815, -0.018617890775203705, -0.039708398282527924, 0.02056851238012314, 0.007024064194411039, -0.02382870391011238, 0.05710829794406891, -0.004830761346966028, -0.03230886533856392, 0.04447047784924507, -0.007536903489381075, -0.02348070591688156, 0.036484841257333755, -0.005178759340196848, -0.05941607430577278, 0.04040439426898956, 0.0023650124203413725, 0.04666835814714432, 0.02782152220606804, -0.040990497916936874, -0.03714420273900032, 0.044177427887916565, 0.010586464777588844, -0.015952959656715393, -0.005778597667813301, 0.04948897287249565, -0.03904903680086136, -0.010165204294025898, 0.02333417907357216, -0.04414079338312149, -0.10703685134649277, -0.0014938728418201208, 0.018691154196858406, 0.044177427887916565, 0.017830317839980125, -0.06296931952238083, 0.07751196622848511, -0.08601044863462448, -0.010760463774204254, 0.028132889419794083, -0.03688778355717659, 0.018810207024216652, -0.05436094477772713, -0.030202560126781464, 0.005169601645320654, -0.052639272063970566, -0.035715579986572266, -0.010210992768406868, -0.02540385164320469, 0.009753100574016571, -0.035459160804748535, 0.04637530818581581, 0.06703539937734604, -0.026191426441073418, 0.026411214843392372, 0.06227331981062889, 0.057840924710035324, -0.010613937862217426, 0.050404757261276245, -0.05564304441213608, -0.005952596664428711, 0.038133252412080765, -0.028022995218634605, 0.0006089964299462736, 0.02203376591205597, -0.02045861817896366, -0.00587017647922039, -0.03633831441402435, 0.051870014518499374, 0.030458981171250343, -0.059123024344444275, 0.03207075968384743, 0.047474250197410583, 0.025239011272788048, 0.011383196339011192, -0.06333562731742859, 0.006882117595523596, -0.020678406581282616, 0.03287665173411369, 0.054287683218717575, -0.03401222452521324, -0.022326817736029625, -0.03516611084342003, 0.03146634250879288, -0.09121210128068924, 0.0678412914276123, -0.014386968687176704, -0.009368471801280975, 0.032363809645175934, -0.03765704482793808, -0.047291092574596405, 0.013663499616086483, -0.03296823054552078, 0.010861200280487537, -0.06597308814525604, 0.00847100280225277, 0.012244033627212048, -0.0016907664248719811, -0.02668594941496849, -0.009743942879140377, -0.012152455747127533, -0.010522359982132912, -0.03194255009293556, -0.017051899805665016, -0.026228057220578194, -0.005925123114138842, 0.04846329614520073, -0.04626541584730148, -0.05828050151467323, -0.007994795218110085, 0.027766574174165726, -0.04022124037146568, -0.04146670550107956, 0.06443457305431366, 0.008713685907423496, -0.006753908004611731, 0.00405921321362257, 0.062493108212947845, -0.03126487135887146, -0.04959886893630028, 0.06381183862686157, -0.023645546287298203, -0.00695538055151701, -0.003349480452015996, 0.026044901460409164, 0.011190881952643394, 0.03177770972251892, 0.03284001722931862, -0.027162156999111176, -0.0018693443853408098, 0.01179530005902052, -0.0915784165263176, 0.008402319625020027, 0.0445803701877594, 0.026484476402401924, -0.06088132783770561, 0.038902509957551956, -0.003782188519835472, 0.0920179933309555, 0.013810024596750736, -0.07795154303312302, 0.013379606418311596, 0.05513020604848862, 0.0027359051164239645, -0.00993625819683075, 0.0028847199864685535, 0.06469099223613739, -0.018791889771819115, -0.036759573966264725, 0.025696903467178345, 0.05388473719358444, 0.001300413510762155, -0.032345496118068695, 0.02368217706680298, 0.035807158797979355, 0.007568955887109041, 0.024634594097733498, 0.01399318128824234, -0.019817568361759186, 0.03207075968384743, 0.022052081301808357, 0.06326236575841904, 0.03824314475059509, -0.01615443266928196, 0.054983679205179214, -0.02721710503101349, -0.057914189994335175, -0.001418320694938302, 0.026411214843392372, -0.0037226625718176365, -0.018727784976363182, -0.04014797508716583, 0.018462209030985832, 0.006721855606883764, 0.07447156310081482, 0.049782026559114456, 0.031136659905314445, 0.01642000861465931, 0.0034502167254686356, -0.0038188197650015354, -0.027876468375325203, -0.06791455298662186, 0.030733715742826462, 0.0031869288068264723, 0.0072942208498716354, 0.01597127504646778, -0.03216233849525452, 0.018681995570659637, 0.01978093758225441, 0.07655955106019974, 0.06263963133096695, 0.017729580402374268, 0.04260227829217911, -0.0331697016954422, -0.06230995059013367, -0.029744667932391167, -0.025275642052292824, -0.0022848814260214567, 0.0181325264275074, -0.0205501951277256, 0.02807794138789177, 0.025843428447842598, 0.03240044414997101, -0.0192680973559618, 0.003509742673486471, -0.024982590228319168, -0.06388510018587112, -0.051430437713861465, -0.006479172967374325, 0.0018430155469104648, 0.020165566354990005, 0.02066008932888508, 0.046082258224487305, 0.019213151186704636, 0.001875068061053753, 0.04388437420129776, 0.04696141183376312, -0.00038606024463661015, -0.026191426441073418, 0.01608116924762726, 0.01718926802277565, -0.0028892988339066505, 0.04531300067901611, -0.013196449726819992, -0.0318143405020237, 0.09011315554380417, -0.023553967475891113, 0.06040512025356293, -0.0010417044395580888, -0.050990860909223557, 0.0053390213288366795, -0.018031788989901543, 0.0337008573114872, -0.03404885530471802, 0.014139707200229168, -0.03227223455905914, -0.03207075968384743, -0.06857391446828842, 0.04051429033279419, -0.010091940872371197, 0.029506564140319824, -0.01338876411318779, -0.04121028631925583, 0.031045082956552505, -0.048573192209005356, 0.056778617203235626, 0.005687019322067499, -0.04491005465388298, 0.0014251890825107694, 0.06721855700016022, -0.03047729656100273, 0.004084397107362747, -0.00837026722729206, -0.0034616640768945217, 0.0028229046147316694, -0.09905121475458145, -0.039781663566827774, -0.018169157207012177, 0.014414442703127861, -0.01648411527276039, -0.08681633323431015, -0.029323408380150795, -0.04630204662680626, 0.041503336280584335, -0.02045861817896366, -0.008915158919990063, 0.016960322856903076, 0.059379443526268005, 0.03436022251844406, 0.11919846385717392, 0.023792071267962456, -0.04425068944692612, -0.010302571579813957, 0.00252756429836154, -0.040990497916936874, 0.004526263102889061, -0.01304076611995697, -0.018196631222963333, 0.001505320193246007, 0.024048490449786186, -0.06692550331354141, -0.027766574174165726, -0.024982590228319168, 0.021301139146089554, -0.03284001722931862, -0.024286596104502678, 0.03827977553009987, 0.0043064747005701065, -0.023553967475891113, 0.04414079338312149, 0.04681488499045372, -0.022143660113215446, 0.012042561545968056, -0.039708398282527924, 0.012509611435234547, -0.05483715236186981, -0.02805962599813938, 0.02168576791882515, 0.0011275592260062695, -0.00786200724542141, -0.03428695723414421, 0.039781663566827774, -0.03714420273900032, -0.016172748059034348, -0.02989119477570057, -0.0004115304909646511, 0.03075203113257885, -0.05857355147600174, 0.021539242938160896, 0.03366422653198242, -0.03584378957748413, 0.020605143159627914, -0.005595440976321697, -0.0330231748521328, -0.014304548501968384, 0.03262023255228996, 0.00554965203627944, 0.0029969036113470793, 0.0036860310938209295, -0.061613958328962326, 0.02082493156194687, -0.03265686333179474, 0.028444254770874977, 0.006479172967374325, -0.011080987751483917, 0.04267553985118866, 0.02677752822637558, 0.0060853855684399605, 0.049635499715805054, 0.009208209812641144, -0.0033426121808588505, 0.02089819312095642, -0.005297811236232519, -0.008906000293791294, -0.04718120023608208, 0.011080987751483917, 0.0002860394597519189, -0.012408874928951263, 0.008264951407909393, -0.004544578958302736, -0.007001169491559267, -0.004766656551510096, 0.006122016813606024, -0.07648628950119019, -0.010879515670239925, -0.031063398346304893, 0.027674997225403786, -0.01623685285449028, 0.009533313103020191, -0.029140250757336617, 0.07941679656505585, -0.05029486492276192, 0.02331586368381977, -0.027510154992341995, -0.042785435914993286, 0.011218355968594551, -0.08586391806602478, -0.03262023255228996, -0.07198063284158707, -0.020440300926566124, 0.01248213741928339, 0.00024296897754538804, 0.028389308601617813, 0.0016930559650063515, -0.0433715358376503, 0.07161431759595871, 0.017592214047908783, 0.07150442153215408, -0.018443891778588295, 0.011850246228277683, 0.005856439471244812, -0.0017560160486027598, -0.040550921112298965, -0.028535833582282066, -0.01213413942605257, -0.022656500339508057, -0.0073079573921859264, -0.04069744795560837, -0.04784056171774864, 0.0374738872051239, -0.03516611084342003, -0.01222571823745966, -0.011227513663470745, 0.006103701423853636, -0.033114753663539886, 0.04765740782022476, 0.025202378630638123, -0.007843690924346447, -0.06099122390151024, -0.04622878134250641, -0.012729399837553501, -0.06095459312200546, 0.060844697058200836, -0.03445179760456085, -0.05018496885895729, 0.008915158919990063, 0.0483534038066864, 0.02468954026699066, 0.006534119602292776, 0.06069817394018173, 0.012802662327885628, 0.0772189199924469, 0.0296164583414793, -0.009569943882524967, 0.01858125999569893, 0.06945306807756424, -0.01079709455370903, 0.044946685433387756, -0.04545952379703522, 0.022400079295039177, -0.013342974707484245, -0.01321476511657238, 0.009771416895091534, 0.024836065247654915, 0.055569782853126526, -0.01381918229162693, -0.03040403313934803, -0.03981829434633255, -0.03577052801847458, -0.006273121107369661, 0.04036776348948479, 0.06908675283193588, 0.043737851083278656, 0.06578993052244186, -0.05172348767518997, -0.02298618108034134, -0.012234875932335854, -0.02859077975153923, 0.048573192209005356, 0.00010538672358961776, -0.07018569856882095, -0.0102750975638628, -0.02824278175830841, 0.03428695723414421, -0.05798745155334473, 0.021905556321144104, -0.04128354787826538, 0.00811842642724514, 0.03897577151656151, 0.015394330956041813, 0.0024771960452198982, 0.034067168831825256, -0.012408874928951263, 0.0150371752679348, -0.0018567523220553994, -0.02029377594590187, 0.04751088097691536, 0.008782370015978813, -0.03289496526122093, 0.05458073318004608, -0.03661305084824562, 0.021465979516506195, -0.029506564140319824, 0.0007068708655424416, -0.06318910419940948, 0.03802335634827614, -0.035532426089048386, 0.04260227829217911, 0.031026765704154968, -0.0035372162237763405, 0.025184063240885735, -0.001110388315282762, -0.01608116924762726, 0.02979961596429348, -0.06963622570037842, 0.018352314829826355, -0.03324296325445175, -0.03144802898168564, 0.03197918087244034, 0.020769983530044556, 0.04091723635792732, 0.027693312615156174, -0.0342320092022419, -0.0052382852882146835, 0.0737389400601387, -0.023645546287298203, -0.07073516398668289, -0.03216233849525452, -0.042016174644231796, -0.07091832160949707, -0.02782152220606804, 0.012546242214739323, 0.015311910770833492, -0.004725445993244648, 0.003383822273463011, 0.006818012800067663, -0.0023810388520359993, 0.061027854681015015, -0.019506201148033142, -0.03454337641596794, 0.05806071311235428, -0.02598995342850685, 0.02348070591688156, 0.03058719076216221, 0.026209741830825806, 0.028828885406255722, 0.0009529878734610975, 0.01352613139897585, -0.027180472388863564, 0.06227331981062889, 0.002713010413572192, 0.04839003458619118, 0.008750317618250847, 0.02029377594590187, -0.03472653403878212, 0.03091687150299549, 0.015348542481660843, -0.01899336278438568, 0.021008087322115898, -0.030275823548436165, 0.021832292899489403, 0.04758414253592491, 0.0601487010717392, -0.05633904039859772, -0.005343600641936064, -0.0337008573114872, 0.04307848587632179, 0.03503790125250816, 0.04842666536569595, 0.02754678763449192, -0.042638909071683884, 0.020879877731204033, -0.031301502138376236, -0.039342086762189865, 0.06765813380479813, 0.015000544488430023, 0.019652727991342545, -0.029048671945929527, 0.049012765288352966, -0.03725409880280495, 0.011401512660086155, 0.034598324447870255, -0.026924053207039833, -0.07553387433290482, -0.013443711213767529, 0.0343785360455513, 0.0615040622651577, 0.05637567117810249, -0.0111817242577672, -0.013864971697330475, -0.0026626423932611942, -0.012408874928951263, -0.0459357313811779, 0.010861200280487537, 0.028187835589051247, -0.00041811270057223737, 0.04000145196914673, 0.03655810281634331, -0.0035715580452233553, 0.017427371814846992, -0.01342539582401514, -0.0003273928305134177, -0.01910325698554516, 0.005925123114138842, 0.06220005825161934, -0.04164986312389374, 0.005100917536765337, 0.05648556351661682, 0.01761052943766117, -0.009560786187648773, 0.02877393737435341, 0.039708398282527924, -0.029488248750567436, 0.05373821407556534, 0.08227404952049255, 0.04586246982216835, -0.04831676930189133, -0.07410525530576706, -0.04179638624191284, 0.0531887412071228, -0.02670426480472088, 0.04121028631925583, -0.09392282366752625, -0.004702551756054163, 0.0023134995717555285, 0.025953322649002075, -0.005082602147012949, 0.020440300926566124, -0.0132971853017807, -0.018681995570659637, 0.020513564348220825, 0.01005531009286642, -0.07439830154180527, -0.01579727604985237, 0.005920544266700745, -0.08168794214725494, 0.035184428095817566, 0.06088132783770561, 0.015705697238445282, 0.009276892989873886, -0.014524335972964764, 0.06047838553786278, -0.07604671269655228, 0.08637675642967224, 0.021905556321144104, -0.057474613189697266, -0.04164986312389374, 0.035459160804748535, -0.05139380693435669, 0.015147069469094276, 0.021374402567744255, -0.04853655770421028, -0.0355873703956604, 0.056192513555288315, -0.005123812239617109, 0.004633867647498846, -0.019469570368528366, -0.021099666133522987, -0.012683610431849957, -0.012793504633009434, 0.0009775995276868343, 0.00014216118142940104, -0.030880240723490715, -0.04879297688603401, -0.024213332682847977, 0.010659727267920971, -0.036667995154857635, -0.0469980426132679, -0.0007675415836274624, -0.010458255186676979, 0.03860945999622345, -0.009098315611481667, -0.003550952998921275, 0.009299787692725658, -0.036759573966264725, -0.009661522693932056, 0.029323408380150795, 0.04285869747400284, 0.03110002912580967, 0.009606575593352318, -0.021209560334682465, 0.05959923192858696, -0.01564159244298935, 0.040807340294122696, -0.04190628230571747, -0.024286596104502678, -0.00041009957203641534, 0.011410670354962349, 0.010852041654288769, 0.0029373776633292437, -0.05106412246823311, -0.007358325645327568, -0.05278579890727997, -0.04674162343144417, -0.045056577771902084, 0.04421405866742134, -0.015696540474891663, 0.033645909279584885, -0.03688778355717659, -0.026063216850161552, 0.04139344394207001, -0.005874755326658487, 0.007431588135659695, -0.08491150289773941, 0.041063759475946426, 0.012445506639778614, 0.034671586006879807, 0.024982590228319168, -0.019213151186704636, 0.02142934873700142, -0.016383377835154533, 0.0053298636339604855, 0.02972635254263878, 0.03904903680086136, 0.006790539249777794, -0.01970767416059971, 0.008242057636380196, 0.01788526400923729, -0.03871935233473778, 0.009469208307564259, 0.04523973539471626, -0.03599031642079353, -0.043151747435331345, -0.026392899453639984, -0.0241034384816885, -0.022766392678022385, 0.002445143647491932, 0.008864790201187134, 0.009753100574016571, -0.08124836534261703, 0.002086843131110072, -0.0578775554895401, 0.06692550331354141, -0.039085667580366135, -0.007546061184257269, 0.019213151186704636, 0.02468954026699066, -0.01149309054017067, -0.03342612087726593, 0.004885708447545767, 0.04959886893630028, 0.004313343204557896, -0.03348106890916824, 0.003493716474622488, 0.0009432576480321586, 0.0018166868248954415, -0.031118344515562057, -0.07597345113754272, -0.030110983178019524, 0.028279414400458336, -0.03163118287920952, 0.02003735676407814, 0.02106303535401821, 0.060844697058200836, 0.01753726601600647, -0.006744750309735537, -0.025770165026187897, -0.01631011627614498, -0.01996409334242344, -0.04721783101558685, 0.031759392470121384, 0.03212570771574974, -0.002845799084752798, -0.054470840841531754, 0.0007320549339056015, 0.009505839087069035, 0.0021143166813999414, -0.024048490449786186, -0.0072942208498716354, 0.00794442743062973, -0.01873694360256195, 0.024341542273759842, 0.03945197910070419, -0.036576420068740845, -0.0016529903514310718, -0.04637530818581581, -0.03886587917804718, 0.03284001722931862, -0.0059983860701322556, 0.033737488090991974, 0.018810207024216652, -0.03293159604072571, -0.01131909154355526, 0.051357172429561615, -0.03168613091111183, 0.02772994339466095, 0.018810207024216652, 0.0009638628107495606, -0.03820651397109032, 0.058097343891859055, -0.02392028085887432, -0.01606285385787487, 0.040038082748651505, 0.01727168820798397, 0.025587009266018867, 0.0271987896412611, 0.009144105017185211, 0.012491295114159584, 0.042016174644231796, 0.018379786983132362, 0.002332960022613406, -0.057144928723573685, 0.03146634250879288, 0.06542361527681351, -0.016108643263578415, 0.03478148207068443, 0.04721783101558685, -0.04172312468290329, -0.03534926846623421, -0.004626999143511057, 0.01821494661271572, 0.007198063191026449, -0.05176011845469475, 0.027601733803749084, 0.01222571823745966, -0.01762884482741356, -0.03879261761903763 ]
54,457
nbconvert.exporters.notebook
from_notebook_node
Convert from notebook node.
def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" nb_copy, resources = super().from_notebook_node(nb, resources, **kw) if self.nbformat_version != nb_copy.nbformat: resources["output_suffix"] = ".v%i" % self.nbformat_version else: resources["output_suffix"] = ".nbconvert" output = nbformat.writes(nb_copy, version=self.nbformat_version) if not output.endswith("\n"): output = output + "\n" return output, resources
(self, nb, resources=None, **kw)
[ -0.02987891249358654, -0.06616821140050888, 0.03770175576210022, -0.03076622448861599, -0.039512597024440765, 0.044655393809080124, -0.001688611228018999, 0.08199498057365417, 0.0654076561331749, -0.023142576217651367, 0.04251859709620476, 0.024555033072829247, 0.0127030648291111, 0.043025631457567215, -0.008198591880500317, -0.011562233790755272, -0.005763008259236813, -0.023758262395858765, -0.0008007322321645916, 0.06917420774698257, -0.07022449374198914, -0.014613504521548748, 0.03900556266307831, 0.0022793987300246954, -0.007791152689605951, 0.025713972747325897, 0.0271445382386446, -0.03118271939456463, -0.046864621341228485, 0.021041996777057648, -0.03842609003186226, -0.09720606356859207, 0.0461040660738945, -0.021386057138442993, 0.03024107962846756, 0.036470379680395126, -0.050124138593673706, 0.05486854910850525, -0.08807940781116486, -0.028049960732460022, 0.05070360749959946, -0.08822427690029144, 0.000342362531227991, -0.04168561100959778, -0.036090102046728134, 0.01234089583158493, -0.004323387984186411, -0.027923202142119408, -0.022327696904540062, -0.047009486705064774, 0.03429736942052841, -0.04346023499965668, -0.003827669657766819, 0.05512206628918648, -0.06660281121730804, 0.0019591059535741806, 0.02835780382156372, 0.08713777363300323, -0.01863357611000538, 0.0734478011727333, -0.044945128262043, -0.01617988385260105, 0.0014113258803263307, -0.036760114133358, 0.004323387984186411, 0.023758262395858765, -0.002406157786026597, -0.05030522122979164, -0.016080286353826523, 0.06352438032627106, 0.019774407148361206, -0.053745824843645096, 0.027687791734933853, 0.053999342024326324, 0.013880113139748573, -0.03545630723237991, -0.039621248841285706, 0.03925907984375954, -0.03820879012346268, 0.02272608131170273, 0.028901057317852974, -0.018298570066690445, -0.051753897219896317, -0.05356473848223686, 0.030150538310408592, -0.06982611119747162, 0.052007414400577545, 0.01690421998500824, -0.03918664529919624, -0.015899203717708588, -0.06117027997970581, -0.04802355915307999, 0.003931793384253979, -0.024699900299310684, 0.02788698486983776, -0.036886874586343765, -0.013852950185537338, 0.001839137519709766, 0.03784662112593651, -0.010312751866877079, 0.005160903092473745, -0.008832387626171112, -0.04049045220017433, -0.01580866053700447, 0.017519908025860786, 0.004420720972120762, -0.02620290033519268, 0.05624478682875633, -0.019285479560494423, -0.053057704120874405, -0.01702192611992359, 0.03585469350218773, 0.02661939337849617, -0.03312032297253609, 0.03581847622990608, -0.01770099252462387, -0.0019941909704357386, 0.007940547540783882, 0.037194717675447464, -0.011607504449784756, 0.0009382431162521243, 0.0525144524872303, -0.029969453811645508, -0.0034134392626583576, -0.056570738554000854, 0.041033703833818436, 0.03272193670272827, 0.04248237982392311, -0.0003805599990300834, -0.05110199376940727, 0.020046032965183258, -0.0007814919808879495, -0.06084432825446129, 0.04469160735607147, 0.024066105484962463, -0.004008754156529903, -0.06613199412822723, 0.04824086278676987, -0.006279098801314831, 0.030331622809171677, 0.026003707200288773, -0.042772114276885986, 0.054687462747097015, 0.025750190019607544, -0.02855699695646763, -0.011462637223303318, -0.0006326633156277239, 0.06783418357372284, -0.04527107998728752, -0.032160572707653046, -0.006084432825446129, 0.08025656640529633, -0.00002863042027456686, -0.02556910552084446, -0.009176447987556458, 0.0242109727114439, 0.014450528658926487, -0.016569213941693306, 0.01264873892068863, -0.026275334879755974, 0.03726715222001076, 0.02310635894536972, 0.055484235286712646, 0.038824476301670074, 0.005065833684056997, 0.047914911061525345, -0.025080177932977676, -0.0455608144402504, 0.027542924508452415, 0.018090322613716125, -0.00601199921220541, -0.050015486776828766, 0.005446110852062702, 0.02053496055305004, -0.007637231145054102, 0.055484235286712646, 0.06381411105394363, -0.022961491718888283, 0.006885731127113104, 0.027126429602503777, 0.0020813378505408764, 0.012938474304974079, -0.024500707164406776, 0.07326671481132507, -0.03438791260123253, 0.0020609658677130938, -0.01441431138664484, 0.006396803539246321, 0.012639685533940792, -0.03203381597995758, 0.07446186989545822, 0.09843743592500687, -0.03388087451457977, 0.013246317394077778, -0.04599541425704956, -0.059938907623291016, -0.009221718646585941, -0.01857925020158291, -0.018153702840209007, 0.02457314170897007, 0.012666847556829453, 0.03685065731406212, 0.03145434707403183, 0.053999342024326324, 0.0018730908632278442, -0.01409741397947073, -0.04342401772737503, 0.053166355937719345, -0.05649830773472786, 0.014278498478233814, 0.04925493523478508, -0.015772443264722824, 0.007026071194559336, -0.0006875544786453247, 0.04157695919275284, -0.013228208757936954, -0.019086286425590515, 0.04240994527935982, -0.029498634859919548, -0.014921347610652447, 0.018461545929312706, -0.014269444160163403, -0.0070124901831150055, -0.0031984017696231604, -0.03831744194030762, -0.019557105377316475, 0.06062702834606171, -0.02603992447257042, 0.05113821104168892, 0.011516962200403214, -0.0706591010093689, 0.02730751410126686, -0.00643302034586668, 0.012594413943588734, -0.015555142425000668, 0.038570959120988846, -0.01611650362610817, -0.00040913737029768527, -0.03516657277941704, 0.02446449175477028, -0.07203534245491028, -0.008098996244370937, -0.005482327658683062, -0.05801941454410553, 0.04892898350954056, -0.030730009078979492, 0.0794597938656807, -0.04805977642536163, -0.061097849160432816, 0.008655830286443233, 0.040925055742263794, -0.007954128086566925, -0.009832878597080708, -0.009253408759832382, -0.02064361236989498, 0.012286570854485035, -0.04016450047492981, -0.09083189070224762, -0.022707972675561905, 0.012920365668833256, 0.009724227711558342, -0.06211192160844803, -0.023649610579013824, -0.023124467581510544, 0.003005999606102705, -0.028285369277000427, -0.024808550253510475, 0.02316068299114704, 0.026818586513400078, 0.009380167350172997, 0.019647648558020592, 0.03947637975215912, -0.058997269719839096, 0.007954128086566925, 0.015935419127345085, -0.06327085942029953, 0.010611540637910366, 0.0029222480952739716, 0.000013687427781405859, -0.005287662148475647, 0.013119558803737164, 0.001858377829194069, -0.004379977006465197, 0.0051563759334385395, 0.007410875521600246, -0.08431285619735718, -0.0026370403356850147, -0.012793607078492641, -0.0032549905590713024, -0.06989854574203491, 0.04063532128930092, 0.05613613873720169, -0.011779534630477428, 0.02656506933271885, -0.026655610650777817, 0.026239117607474327, -0.026221008971333504, -0.016089340671896935, -0.009067797102034092, -0.012847932055592537, -0.03348248824477196, -0.03190705552697182, 0.05914213880896568, -0.022219045087695122, -0.024482598528265953, -0.029589176177978516, -0.0038638864643871784, 0.005346514284610748, -0.041251007467508316, 0.02850267104804516, -0.003275362541899085, -0.0391504280269146, 0.07000719755887985, 0.0004863811482209712, 0.0014203800819814205, -0.011996835470199585, 0.03234165906906128, 0.04320671781897545, 0.007569324225187302, 0.013798625208437443, -0.06044594570994377, -0.008606032468378544, -0.036307405680418015, 0.04233751446008682, 0.024066105484962463, -0.02535180374979973, 0.0027004198636859655, -0.011960619129240513, 0.018198974430561066, 0.0390779934823513, -0.0017814169405028224, 0.022327696904540062, 0.0063560595735907555, -0.022436346858739853, -0.03393520042300224, -0.04715435579419136, 0.010647757910192013, 0.005450638011097908, -0.027579141780734062, -0.012186974287033081, 0.035619284957647324, 0.018135594204068184, 0.005446110852062702, 0.02048063650727272, -0.028575105592608452, -0.004092505667358637, -0.03482251241803169, 0.01811748556792736, -0.0306575745344162, -0.0017576495883986354, -0.0840955525636673, 0.05827293172478676, -0.03491305559873581, 0.017411256209015846, -0.012114540673792362, -0.012060215696692467, -0.02167579159140587, -0.0408526211977005, -0.028231045231223106, -0.05077604204416275, -0.022653648629784584, 0.04505377635359764, 0.007727772928774357, 0.008130685426294804, 0.032160572707653046, -0.011897239834070206, 0.0519711971282959, 0.031635429710149765, 0.051174428313970566, -0.018669793382287025, 0.01685895025730133, 0.01249481737613678, -0.008859549649059772, -0.07677975296974182, -0.03965746611356735, -0.02493531070649624, -0.053999342024326324, -0.02614857442677021, -0.06225678697228432, -0.023251226171851158, 0.003662430215626955, 0.0053419871255755424, -0.012268462218344212, -0.001719169202260673, -0.0034111756831407547, -0.01910439506173134, 0.01525635365396738, 0.010466673411428928, -0.016370022669434547, -0.037520669400691986, -0.02645641751587391, 0.0467197522521019, -0.010276534594595432, 0.02924511767923832, -0.06884825974702835, -0.05950430408120155, 0.008044670335948467, 0.02625722624361515, 0.048965197056531906, -0.03292112797498703, 0.007872640155255795, 0.025858839973807335, 0.023722045123577118, 0.023178791627287865, -0.04447430744767189, 0.0335911400616169, 0.05501341447234154, 0.03172597289085388, 0.024663683027029037, -0.043931055814027786, -0.017347877845168114, 0.0029403564985841513, 0.003286680206656456, 0.022563105449080467, 0.012775498442351818, 0.06414006650447845, 0.0015131857944652438, -0.01231373380869627, -0.06653037667274475, -0.039621248841285706, -0.06598712503910065, 0.04505377635359764, 0.09365680813789368, 0.03549252450466156, 0.09619198739528656, -0.06153244897723198, 0.009176447987556458, -0.0011679938761517406, 0.0011385675752535462, 0.045017559081315994, 0.003952165134251118, -0.03726715222001076, -0.0000680480879964307, -0.029752152040600777, 0.045922983437776566, -0.05798319727182388, 0.0247904434800148, -0.03540198504924774, 0.022436346858739853, 0.037520669400691986, 0.05146416276693344, -0.012612522579729557, 0.06395898014307022, -0.0013422875199466944, -0.06374167650938034, -0.003279889700934291, -0.03650659695267677, 0.015265407972037792, -0.034786295145750046, -0.05602748692035675, 0.048603031784296036, -0.006229300517588854, 0.019701972603797913, -0.04527107998728752, 0.024283407256007195, -0.03344627469778061, 0.035890910774469376, -0.07047801464796066, 0.0148851303383708, 0.018153702840209007, -0.03317464515566826, 0.050957124680280685, 0.0472630076110363, -0.015500817447900772, 0.016315696761012077, -0.1143728494644165, 0.05182633176445961, -0.05052252486348152, 0.015826769173145294, 0.011888185515999794, 0.020716045051813126, 0.011046143248677254, 0.03922286257147789, -0.042772114276885986, 0.027235081419348717, 0.03549252450466156, -0.04193912819027901, -0.057258859276771545, -0.05182633176445961, -0.017184901982545853, -0.07047801464796066, -0.011661829426884651, 0.041395872831344604, 0.019303588196635246, -0.026474526152014732, 0.030675683170557022, 0.013173883780837059, 0.006079905666410923, 0.06319842487573624, 0.005568342749029398, -0.0347500815987587, 0.06290869414806366, -0.05450638011097908, -0.006446601822972298, -0.02877429686486721, 0.015220136381685734, 0.011752371676266193, -0.015265407972037792, -0.010412348434329033, -0.01015883032232523, 0.012802661396563053, -0.022653648629784584, 0.027398057281970978, 0.03076622448861599, 0.01726638898253441, 0.014658775180578232, -0.01273022685199976, 0.010222209617495537, 0.014713100157678127, 0.013934438116848469, -0.021277407184243202, 0.03922286257147789, 0.05110199376940727, 0.042880766093730927, -0.06421250104904175, -0.01394349243491888, -0.04784247651696205, 0.0794597938656807, 0.017356932163238525, 0.02263553999364376, -0.010801679454743862, -0.022019851952791214, 0.008510963059961796, -0.022436346858739853, 0.009570306167006493, 0.02048063650727272, -0.008769008331000805, -0.0018074478721246123, -0.02730751410126686, 0.034460343420505524, -0.04737165570259094, -0.02147660031914711, 0.0724337249994278, -0.04074396938085556, -0.08453015983104706, 0.010955600999295712, 0.03911421075463295, 0.04657488688826561, 0.06468331813812256, 0.010955600999295712, 0.016614485532045364, -0.0065190354362130165, -0.02279851585626602, -0.034623321145772934, -0.002888294868171215, 0.06106163188815117, 0.008931984193623066, 0.027235081419348717, 0.0454883798956871, 0.004015544895082712, 0.03933151438832283, -0.047697607427835464, -0.022146612405776978, 0.053637173026800156, 0.03817257285118103, 0.040707752108573914, -0.043387800455093384, 0.009805715642869473, 0.03810013830661774, -0.00895461905747652, -0.0041694664396345615, -0.013454564847052097, 0.022544996812939644, 0.0005180708831176162, 0.00147357361856848, 0.07757651805877686, 0.001756517798639834, -0.0335911400616169, -0.03659714013338089, -0.01953899674117565, 0.09307733923196793, -0.008900294080376625, 0.052478235214948654, -0.08032900094985962, -0.004925493150949478, -0.024174755439162254, 0.014522962272167206, -0.005287662148475647, 0.003705437760800123, 0.026347767561674118, -0.032522741705179214, 0.05798319727182388, 0.013246317394077778, -0.02216471917927265, 0.06653037667274475, 0.04183047637343407, -0.0734478011727333, 0.014694992452859879, 0.08453015983104706, -0.020806588232517242, -0.010195046663284302, 0.015926364809274673, 0.050957124680280685, -0.06816013902425766, 0.07228885591030121, -0.02037198469042778, -0.02341420203447342, -0.03482251241803169, 0.006034635007381439, -0.03275815397500992, 0.024192864075303078, 0.008325351402163506, -0.004456937778741121, 0.0010989553993567824, 0.03723093494772911, -0.024428274482488632, 0.025369912385940552, -0.04867546260356903, -0.0043550776317715645, 0.03766553848981857, 0.03810013830661774, 0.01784585975110531, 0.011073306202888489, -0.02283473126590252, -0.025713972747325897, -0.013671865686774254, -0.0014135894598439336, -0.06910177320241928, -0.04802355915307999, 0.016551107168197632, -0.008130685426294804, 0.038245007395744324, -0.010620594955980778, 0.006310788448899984, -0.032631393522024155, -0.0109465466812253, -0.017230171710252762, 0.028919165953993797, 0.004085714928805828, 0.011046143248677254, 0.04588676616549492, -0.07438943535089493, 0.06844986975193024, -0.032214898616075516, -0.009452600963413715, 0.0001395622530253604, 0.0023857858031988144, 0.0017225645715370774, 0.0035832058638334274, 0.02935376763343811, 0.05903348699212074, -0.04889276623725891, -0.012811715714633465, -0.0992342010140419, -0.024917202070355415, -0.05113821104168892, 0.03933151438832283, -0.015872040763497353, -0.0437861867249012, 0.007949601858854294, -0.02636587619781494, 0.02855699695646763, -0.005907875951379538, 0.030567031353712082, 0.002915457356721163, 0.056208569556474686, 0.056788042187690735, -0.0007882826612330973, 0.02535180374979973, 0.0012698537902906537, 0.01441431138664484, 0.001256272429600358, -0.004767044447362423, 0.013155775144696236, 0.002130004344508052, -0.00447730952873826, -0.0222009364515543, 0.02788698486983776, -0.005740372929722071, -0.019122503697872162, -0.02625722624361515, 0.017411256209015846, -0.07246994227170944, -0.043605104088783264, -0.015355950221419334, -0.004574642516672611, -0.0020417256746441126, -0.023957455530762672, 0.010548161342740059, -0.04154074192047119, -0.03842609003186226, -0.0051744841039180756, -0.039693683385849, -0.005482327658683062, -0.04078018665313721, -0.00677255354821682, 0.007179993204772472, 0.06319842487573624, 0.002784171374514699, -0.007093978114426136, -0.009434492327272892, 0.0335911400616169, 0.008986309170722961, -0.01155317947268486, 0.004676502197980881, 0.03250463306903839, -0.002458219649270177, -0.01595352776348591, -0.0542890764772892, -0.012196028605103493, 0.04867546260356903, -0.029444308951497078, 0.006817824672907591, -0.000915041659027338, 0.035311441868543625, -0.013554160483181477, -0.009733282029628754, -0.048168428242206573, -0.04976196959614754, 0.0218930933624506, -0.015401220880448818, 0.04074396938085556, 0.025116395205259323, 0.004744409117847681, -0.07460673898458481, -0.01503905188292265, -0.01749274507164955, 0.02294338308274746, -0.0029675192199647427, -0.02374015375971794, -0.03639794886112213, -0.03527522459626198, 0.06816013902425766, 0.026184791699051857, 0.010530052706599236, 0.04063532128930092, -0.03886069357395172, -0.02783265896141529, 0.025007743388414383, -0.03422493487596512, 0.03581847622990608, 0.035619284957647324, -0.023758262395858765, -0.0379190556704998, 0.033047888427972794, -0.012893203645944595, 0.06044594570994377, 0.036470379680395126, 0.005876185838133097, -0.032794367522001266, 0.06787040084600449, 0.0414683073759079, 0.03196138143539429, 0.06975367665290833, 0.020933346822857857, 0.008524544537067413, 0.016659757122397423, 0.005201647058129311, 0.009697064757347107, 0.024301515892148018, 0.053057704120874405, 0.023667719215154648, -0.02388502098619938, 0.03292112797498703, 0.09901690483093262, -0.03871582821011543, 0.047444090247154236, 0.014903238974511623, -0.013536052778363228, -0.024536924436688423, 0.034623321145772934, 0.03388087451457977, -0.006582414731383324, 0.03886069357395172, 0.03527522459626198, -0.009230772964656353, -0.0215852502733469, -0.04396727308630943 ]
54,475
nbconvert.exporters.pdf
PDFExporter
Writer designed to write to PDF files. This inherits from `LatexExporter`. It creates a LaTeX file in a temporary directory using the template machinery, and then runs LaTeX to create a pdf.
class PDFExporter(LatexExporter): """Writer designed to write to PDF files. This inherits from `LatexExporter`. It creates a LaTeX file in a temporary directory using the template machinery, and then runs LaTeX to create a pdf. """ export_from_notebook = "PDF via LaTeX" latex_count = Integer(3, help="How many times latex will be called.").tag(config=True) latex_command = List( ["xelatex", "{filename}", "-quiet"], help="Shell command used to compile latex." ).tag(config=True) bib_command = List(["bibtex", "{filename}"], help="Shell command used to run bibtex.").tag( config=True ) verbose = Bool(False, help="Whether to display the output of latex commands.").tag(config=True) texinputs = Unicode(help="texinputs dir. A notebook's directory is added") writer = Instance("nbconvert.writers.FilesWriter", args=(), kw={"build_directory": "."}) output_mimetype = "application/pdf" _captured_output = List(Unicode()) @default("file_extension") def _file_extension_default(self): return ".pdf" @default("template_extension") def _template_extension_default(self): return ".tex.j2" def run_command(self, command_list, filename, count, log_function, raise_on_failure=None): """Run command_list count times. Parameters ---------- command_list : list A list of args to provide to Popen. Each element of this list will be interpolated with the filename to convert. filename : unicode The name of the file to convert. count : int How many times to run the command. raise_on_failure: Exception class (default None) If provided, will raise the given exception for if an instead of returning False on command failure. Returns ------- success : bool A boolean indicating if the command was successful (True) or failed (False). """ command = [c.format(filename=filename) for c in command_list] # This will throw a clearer error if the command is not found cmd = shutil.which(command_list[0]) if cmd is None: link = "https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex" msg = ( f"{command_list[0]} not found on PATH, if you have not installed " f"{command_list[0]} you may need to do so. Find further instructions " f"at {link}." ) raise OSError(msg) times = "time" if count == 1 else "times" self.log.info("Running %s %i %s: %s", command_list[0], count, times, command) shell = sys.platform == "win32" if shell: command = subprocess.list2cmdline(command) # type:ignore[assignment] env = os.environ.copy() prepend_to_env_search_path("TEXINPUTS", self.texinputs, env) prepend_to_env_search_path("BIBINPUTS", self.texinputs, env) prepend_to_env_search_path("BSTINPUTS", self.texinputs, env) with open(os.devnull, "rb") as null: stdout = subprocess.PIPE if not self.verbose else None for _ in range(count): p = subprocess.Popen( command, stdout=stdout, stderr=subprocess.STDOUT, stdin=null, shell=shell, # noqa: S603 env=env, ) out, _ = p.communicate() if p.returncode: if self.verbose: # noqa: SIM108 # verbose means I didn't capture stdout with PIPE, # so it's already been displayed and `out` is None. out_str = "" else: out_str = out.decode("utf-8", "replace") log_function(command, out) self._captured_output.append(out_str) if raise_on_failure: msg = f'Failed to run "{command}" command:\n{out_str}' raise raise_on_failure(msg) return False # failure return True # success def run_latex(self, filename, raise_on_failure=LatexFailed): """Run xelatex self.latex_count times.""" def log_error(command, out): self.log.critical("%s failed: %s\n%s", command[0], command, out) return self.run_command( self.latex_command, filename, self.latex_count, log_error, raise_on_failure ) def run_bib(self, filename, raise_on_failure=False): """Run bibtex one time.""" filename = os.path.splitext(filename)[0] def log_error(command, out): self.log.warning( "%s had problems, most likely because there were no citations", command[0] ) self.log.debug("%s output: %s\n%s", command[0], command, out) return self.run_command(self.bib_command, filename, 1, log_error, raise_on_failure) def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" latex, resources = super().from_notebook_node(nb, resources=resources, **kw) # set texinputs directory, so that local files will be found if resources and resources.get("metadata", {}).get("path"): self.texinputs = os.path.abspath(resources["metadata"]["path"]) else: self.texinputs = os.getcwd() self._captured_outputs = [] with TemporaryDirectory() as td, _contextlib_chdir.chdir(td): notebook_name = "notebook" resources["output_extension"] = ".tex" tex_file = self.writer.write(latex, resources, notebook_name=notebook_name) self.log.info("Building PDF") self.run_latex(tex_file) if self.run_bib(tex_file): self.run_latex(tex_file) pdf_file = notebook_name + ".pdf" if not os.path.isfile(pdf_file): raise LatexFailed("\n".join(self._captured_output)) self.log.info("PDF successfully created") with open(pdf_file, "rb") as f: pdf_data = f.read() # convert output extension to pdf # the writer above required it to be tex resources["output_extension"] = ".pdf" # clear figure outputs and attachments, extracted by latex export, # so we don't claim to be a multi-file export. resources.pop("outputs", None) resources.pop("attachments", None) return pdf_data, resources
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ 0.05060473829507828, -0.059801917523145676, -0.014707382768392563, 0.017968937754631042, 0.0036084745079278946, 0.01906287483870983, -0.03354741632938385, 0.004925251007080078, 0.020166940987110138, -0.04084033519029617, 0.05923468992114067, 0.008381789550185204, 0.012073828838765621, 0.026355791836977005, -0.04716086387634277, -0.028624698519706726, 0.04780912026762962, 0.030447928234934807, 0.0014395914040505886, 0.020288489758968353, -0.05652010440826416, 0.0007153642363846302, 0.027996698394417763, 0.01960984244942665, -0.030954381451010704, -0.018505776301026344, 0.029353991150856018, -0.05117196589708328, 0.0014598495326936245, 0.01823229156434536, -0.0077689820900559425, -0.048538412898778915, 0.006872561294585466, -0.00854891911149025, 0.028442375361919403, -0.002177746035158634, -0.014788414351642132, 0.02345888316631317, -0.029759151861071587, 0.014038865454494953, 0.05878901481628418, -0.06340786069631577, 0.06600090116262436, -0.033324576914310455, -0.05963985249400139, 0.017725840210914612, -0.06648708879947662, 0.004271927289664745, -0.05615546181797981, 0.007728466298431158, 0.006938400212675333, -0.062273405492305756, 0.037072326987981796, 0.03689000383019447, -0.029414765536785126, 0.027935924008488655, 0.009323791600763798, 0.08046518266201019, 0.01265118457376957, -0.054170165210962296, 0.009075629524886608, 0.011618021875619888, 0.01366409007459879, 0.006376237608492374, 0.04021233320236206, -0.0007343562319874763, 0.03745723143219948, -0.030609993264079094, -0.0068624322302639484, 0.02688250131905079, 0.016530612483620644, -0.05425119772553444, 0.0184247437864542, -0.002899440936744213, 0.0436764694750309, 0.019822552800178528, -0.06891806423664093, -0.007196690887212753, 0.0034489419776946306, 0.019933972507715225, 0.04756602644920349, 0.003914878237992525, -0.011618021875619888, -0.002884247340261936, 0.0747118815779686, -0.007885466329753399, 0.09456482529640198, 0.0349857434630394, 0.004274459555745125, 0.028138503432273865, -0.03427670896053314, -0.031886253505945206, 0.06563625484704971, 0.002820940688252449, 0.03310174122452736, -0.06964735686779022, 0.01452505961060524, -0.01787777617573738, -0.016783837229013443, -0.033912062644958496, -0.025869596749544144, 0.008771758526563644, 0.024978240951895714, -0.018151259049773216, -0.00188020511996001, 0.009804921224713326, -0.03300045058131218, 0.0392196848988533, 0.03283838555216789, -0.04533763229846954, -0.07199729979038239, -0.012722088024020195, 0.006325592286884785, -0.06344837695360184, 0.007530949544161558, -0.03768007084727287, -0.05627700686454773, 0.0021169716492295265, -0.018931197002530098, -0.011678796261548996, 0.020926618948578835, 0.002023278037086129, -0.04233943298459053, -0.011830732226371765, -0.010443052276968956, 0.005236719269305468, 0.03133928403258324, 0.020865846425294876, 0.06101740524172783, -0.011891506612300873, 0.01136479526758194, 0.044486794620752335, -0.01808035559952259, 0.023438625037670135, 0.05202280730009079, -0.020096037536859512, -0.06664915382862091, 0.003750281175598502, -0.052590034902095795, 0.04772808775305748, 0.06097688898444176, -0.07414465397596359, 0.030164314433932304, 0.012246022932231426, 0.009815050289034843, 0.033912062644958496, 0.03990846127271652, 0.0026791340205818415, -0.0512935146689415, -0.009176920168101788, 0.022911913692951202, 0.0017434629844501615, -0.034661613404750824, -0.044891953468322754, 0.037031810730695724, 0.025626499205827713, 0.021757202222943306, 0.012853765860199928, -0.017077580094337463, 0.03004276566207409, 0.04302820935845375, 0.006877625826746225, -0.007956369780004025, 0.049470286816358566, -0.033972837030887604, 0.0632052794098854, -0.07766956835985184, -0.0031779897399246693, 0.02410714142024517, 0.02969837747514248, 0.024613594636321068, 0.012094086967408657, -0.03867271915078163, 0.01595325581729412, -0.017817001789808273, 0.08597538620233536, 0.055547717958688736, 0.022364944219589233, 0.006006527226418257, 0.02692301757633686, -0.029516056180000305, -0.024471787735819817, -0.04138730466365814, 0.05396758392453194, -0.01966048777103424, 0.05611494556069374, 0.00766769191250205, 0.019295843318104744, 0.018222162500023842, -0.012671442702412605, 0.007085271179676056, 0.04861944541335106, 0.018515905365347862, 0.010949504561722279, -0.0355529710650444, 0.0026993921492248774, -0.03237244859337807, -0.03087334893643856, 0.004775847773998976, 0.02366146445274353, -0.03162289783358574, 0.00916679110378027, 0.04857892915606499, -0.035390906035900116, -0.02564675733447075, -0.01922493986785412, -0.04857892915606499, 0.040333881974220276, -0.09334933757781982, -0.004274459555745125, 0.0376395545899868, -0.050523705780506134, 0.005178477615118027, 0.05878901481628418, 0.03901710361242294, -0.04639105498790741, 0.051941774785518646, 0.040394656360149384, -0.03563400357961655, -0.015770932659506798, 0.034114643931388855, 0.030549218878149986, -0.019832681864500046, 0.01323867030441761, -0.017168741673231125, 0.014403510838747025, 0.10469387471675873, 0.06255701929330826, 0.04955131933093071, -0.03492496907711029, -0.0008932556957006454, -0.006204043980687857, 0.016510354354977608, 0.05384603515267372, 0.004284588620066643, -0.07734543830156326, -0.017452355474233627, 0.014069251716136932, -0.031987544149160385, 0.020531587302684784, -0.013005701825022697, 0.0015041640726849437, 0.03464135527610779, -0.030589735135436058, -0.007034625858068466, -0.0076575628481805325, 0.059801917523145676, 0.023580431938171387, -0.06831032037734985, -0.036383550614118576, 0.03956407308578491, -0.006710496265441179, -0.022992946207523346, -0.03958433121442795, -0.03626200184226036, -0.0025537870824337006, -0.05340035632252693, -0.07414465397596359, 0.017270032316446304, 0.016864869743585587, 0.009318727068603039, -0.018242420628666878, -0.03844987973570824, -0.011952280066907406, 0.02667992003262043, -0.011496473103761673, -0.02603166177868843, 0.006740883458405733, -0.012013054452836514, 0.04412214830517769, 0.02351965755224228, 0.052144356071949005, -0.07037664949893951, 0.0012673975434154272, -0.03196728602051735, -0.013228541240096092, 0.025667015463113785, 0.0009603606886230409, -0.008082983084022999, 0.02698379196226597, 0.028077730908989906, -0.008862920105457306, -0.002043536165729165, -0.020572103559970856, 0.004864477086812258, -0.04173169285058975, -0.023884302005171776, 0.02761179395020008, 0.0047429283149540424, -0.035107292234897614, -0.008847726508975029, 0.05040216073393822, 0.049470286816358566, 0.0006735819042660296, -0.06178721413016319, -0.0034742646384984255, -0.08305822312831879, -0.07852040231227875, -0.02661914750933647, -0.07171368598937988, -0.026213984936475754, 0.015031511895358562, 0.03636329248547554, -0.03464135527610779, -0.07981692254543304, -0.00511517096310854, -0.01872861571609974, -0.018293065950274467, 0.010306309908628464, -0.028077730908989906, 0.033425867557525635, -0.009050306864082813, 0.058707982301712036, 0.05514255538582802, -0.003213441465049982, -0.011942151002585888, 0.04464885964989662, 0.03186599537730217, 0.012408087961375713, 0.01763467863202095, -0.05951830372214317, 0.029900958761572838, 0.04882202669978142, 0.025079531595110893, 0.05408913269639015, -0.022992946207523346, 0.04165066033601761, 0.03802445903420448, -0.004922718740999699, 0.0275105033069849, -0.02410714142024517, 0.058464884757995605, 0.013198154047131538, -0.02104816772043705, -0.014970737509429455, -0.02998199127614498, -0.033324576914310455, -0.05805972218513489, 0.0004289020143914968, -0.055061522871255875, -0.0017244709888473153, 0.02514030598104, -0.04148859530687332, 0.018019583076238632, -0.023681722581386566, -0.04096188396215439, 0.0018067695200443268, 0.0007894329028204083, 0.02084558829665184, -0.05254951864480972, 0.01630777306854725, 0.0931062400341034, -0.020339135080575943, 0.042663563042879105, -0.02390456013381481, -0.0807487964630127, -0.021899009123444557, -0.05072628706693649, -0.01524422224611044, -0.06036914512515068, -0.06324579566717148, 0.034357741475105286, -0.07544117420911789, 0.011577505618333817, -0.00399084622040391, -0.05064525455236435, 0.05453481152653694, 0.0121751194819808, 0.018404485657811165, 0.03597839176654816, 0.05810023844242096, 0.0023360124323517084, -0.03828781470656395, -0.022851139307022095, -0.0076524983160197735, -0.013096863403916359, -0.031987544149160385, -0.018019583076238632, -0.0613415353000164, -0.025160564109683037, 0.0026158273685723543, -0.015629125759005547, -0.029232442378997803, -0.003058973466977477, -0.015001124702394009, -0.08394957333803177, 0.016044417396187782, 0.03245348110795021, 0.03417541831731796, -0.04278511181473732, -0.003995910752564669, 0.007181497290730476, 0.00950611475855112, -0.01074692327529192, 0.015497448854148388, -0.03798394277691841, 0.03186599537730217, 0.05907262861728668, 0.018060097470879555, 0.004626444075256586, 0.00822478998452425, 0.033567674458026886, 0.0033501836005598307, 0.058464884757995605, -0.002879182808101177, 0.018313324078917503, 0.08451680094003677, -0.012742346152663231, -0.005712784826755524, 0.022466234862804413, 0.0006761141703464091, -0.01960984244942665, -0.014676995575428009, -0.004466911777853966, -0.06308373063802719, 0.049713384360075, -0.06940425932407379, -0.03087334893643856, -0.017766356468200684, -0.019143907353281975, -0.032899159938097, 0.04914615675806999, 0.08986493945121765, 0.05878901481628418, 0.06211134046316147, 0.002028342569246888, -0.018110742792487144, -0.023155011236667633, -0.007303046062588692, 0.037720587104558945, -0.01699654757976532, -0.04408163204789162, -0.057087332010269165, 0.03492496907711029, 0.02277010679244995, -0.020987393334507942, -0.021817976608872414, 0.014606092125177383, -0.0003402728179935366, 0.035289615392684937, 0.02080507203936577, -0.001735866186209023, 0.058667466044425964, 0.007318239659070969, 0.02001500502228737, 0.040880851447582245, -0.00783482100814581, 0.007363820448517799, -0.06438025087118149, 0.015689900144934654, 0.0636509582400322, 0.004264330491423607, 0.03146083280444145, -0.04910564050078392, 0.03765981271862984, -0.04298769310116768, 0.034013353288173676, -0.04716086387634277, 0.013876800425350666, 0.03482367843389511, -0.0035755550488829613, 0.06438025087118149, 0.03986794501543045, 0.00742459436878562, -0.020187199115753174, -0.0942406952381134, 0.016084933653473854, 0.01251950766891241, -0.029860442504286766, 0.015943126752972603, 0.015568351373076439, 0.022121848538517952, -0.016226740553975105, -0.013157637789845467, -0.02465411089360714, 0.001283224206417799, -0.024431271478533745, -0.053683970123529434, -0.027064824476838112, -0.051212482154369354, -0.036829229444265366, -0.030589735135436058, 0.05489945784211159, 0.02593037113547325, -0.04886254295706749, -0.0088882427662611, 0.08589435368776321, -0.022344687953591347, 0.017057321965694427, -0.030366895720362663, -0.026497598737478256, 0.06312424689531326, 0.025910113006830215, 0.01136479526758194, -0.04464885964989662, -0.018748873844742775, -0.012002925388514996, 0.014454156160354614, 0.020987393334507942, -0.07292916625738144, 0.048740994185209274, -0.020521458238363266, 0.02410714142024517, 0.02183823473751545, 0.06417766958475113, 0.0044339923188090324, 0.003965523559600115, -0.005327880848199129, -0.047647055238485336, -0.015254351310431957, -0.05538565292954445, -0.007135916501283646, 0.011374924331903458, -0.0028766505420207977, -0.035350389778614044, -0.012256151996552944, -0.011780086904764175, -0.02850314974784851, 0.010412665084004402, 0.024978240951895714, 0.012823378667235374, 0.028786763548851013, -0.04173169285058975, -0.07633253186941147, 0.027429470792412758, 0.04343337193131447, 0.011334408074617386, 0.014444027096033096, 0.008391918614506721, 0.048295315355062485, -0.03784213587641716, -0.043352339416742325, 0.05429171398282051, -0.03488445281982422, 0.006082495208829641, -0.022749848663806915, 0.00793104711920023, -0.015031511895358562, 0.06883703172206879, -0.02623424306511879, -0.013603315688669682, 0.025059273466467857, -0.02667992003262043, -0.05907262861728668, 0.07106542587280273, 0.02351965755224228, 0.018637454137206078, 0.0071663036942481995, 0.026639405637979507, 0.018566550686955452, 0.016814224421977997, -0.03891581669449806, 0.013471637852489948, 0.05591236427426338, -0.016682546585798264, 0.09075629711151123, 0.016956031322479248, 0.02024797350168228, 0.039645105600357056, 0.0198630690574646, 0.011111569590866566, -0.014292091131210327, 0.0054494296200573444, -0.05254951864480972, 0.027895407751202583, 0.01792842149734497, 0.0352693572640419, -0.007201755419373512, -0.025120047852396965, -0.049713384360075, 0.035390906035900116, 0.014636479318141937, -0.000003818177447101334, -0.05518307164311409, -0.024228690192103386, -0.023499399423599243, -0.0010730463545769453, -0.004183297976851463, 0.010463309474289417, -0.014697253704071045, 0.03354741632938385, -0.0023739964235574007, -0.019204681739211082, -0.04114420711994171, 0.04566176235675812, 0.02376275509595871, -0.03557322919368744, -0.0022448510862886906, 0.023377850651741028, -0.05696578323841095, -0.051658160984516144, 0.006193914916366339, 0.02307397872209549, -0.05222538858652115, 0.03899684548377991, 0.07548169046640396, 0.011506602168083191, 0.0022625767160207033, 0.014970737509429455, -0.06061224266886711, -0.009815050289034843, 0.0481332503259182, -0.02055184543132782, 0.003611006774008274, 0.0306707676500082, -0.015173318795859814, 0.0365658737719059, -0.03691026195883751, -0.00783482100814581, 0.010929246433079243, 0.0014839060604572296, -0.020967135205864906, 0.00399084622040391, -0.026538114994764328, -0.0734153613448143, -0.03932097554206848, -0.04233943298459053, -0.03204831853508949, 0.03227115795016289, 0.03794342651963234, -0.017746098339557648, 0.01837409846484661, -0.029212184250354767, 0.01242834609001875, -0.0038414427544921637, -0.005535526666790247, 0.009176920168101788, 0.0011287560919299722, 0.0318254791200161, 0.03042767010629177, 0.02909063547849655, -0.012347313575446606, 0.10485593974590302, 0.03336509317159653, 0.048740994185209274, 0.007247336208820343, -0.008867984637618065, -0.0065433671697974205, 0.003894620109349489, 0.02880702167749405, 0.00893888808786869, -0.07215935736894608, -0.00884266197681427, -0.049186673015356064, 0.02159513719379902, -0.05222538858652115, 0.018789390102028847, -0.015163189731538296, 0.05538565292954445, 0.022891655564308167, 0.005505139473825693, 0.05028061196208, 0.00014164844469632953, -0.013390605337917805, -0.05696578323841095, 0.016388805583119392, -0.007444852497428656, -0.016966160386800766, 0.02524159476161003, 0.02593037113547325, -0.003132409183308482, -0.01669267565011978, -0.007282787933945656, -0.016915515065193176, -0.0028437310829758644, -0.06308373063802719, 0.002085318323224783, 0.010412665084004402, -0.0026993921492248774, 0.023053720593452454, 0.01847538910806179, -0.024633852764964104, -0.039948977530002594, -0.07143007218837738, -0.0025778436101973057, 0.0041098627261817455, 0.04938925430178642, -0.013542541302740574, 0.007181497290730476, -0.0063509149476885796, -0.03004276566207409, 0.006416753865778446, -0.03472238779067993, 0.041225239634513855, -0.021372297778725624, 0.0037882651668041945, 0.04801170155405998, 0.012418217025697231, 0.002542391885071993, -0.023377850651741028, -0.03822704032063484, 0.08467886596918106, 0.04347388818860054, -0.0899459719657898, -0.038308072835206985, -0.01754351705312729, -0.004173168912529945, -0.023884302005171776, -0.04391956701874733, -0.07864195108413696, 0.024836434051394463, -0.04306872561573982, 0.012235893867909908, 0.015548093244433403, -0.010615245439112186, -0.002696859883144498, -0.06510954350233078, -0.012164990417659283, -0.01744222640991211, -0.02084558829665184, 0.052387453615665436, 0.009349114261567593, 0.06664915382862091, 0.01768532395362854, -0.05396758392453194, -0.006766206119209528, -0.01471751183271408, 0.07965485751628876, 0.000990114756859839, -0.046269506216049194, -0.005955881904810667, 0.022304171696305275, 0.0873529389500618, 0.01484918873757124, 0.0040313624776899815, 0.0034742646384984255, -0.07491446286439896, -0.07414465397596359, 0.055264104157686234, -0.025565724819898605, 0.03336509317159653, 0.02238520234823227, -0.05939675495028496, -0.04882202669978142, -0.0035831518471240997, -0.055061522871255875, 0.03346638381481171, -0.03125825151801109, -0.014433898031711578, -0.018688099458813667, 0.0027778923977166414, -0.045135051012039185, -0.039300717413425446, 0.023945076391100883, 0.030447928234934807, 0.04821428284049034, 0.04118472337722778, -0.003907281439751387, 0.02070378139615059, -0.04161014407873154, 0.040394656360149384, 0.010022696107625961, -0.08313925564289093, 0.03316251188516617, 0.07086284458637238, -0.0004143415135331452, 0.05449429526925087, 0.0433928556740284, -0.03441851586103439, 0.001740930718369782, 0.03506677597761154, -0.015770932659506798, -0.038267556577920914, 0.01356279943138361, 0.05558823421597481, 0.02287139743566513, -0.03676845505833626, 0.023094236850738525 ]
54,503
nbconvert.exporters.pdf
from_notebook_node
Convert from notebook node.
def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" latex, resources = super().from_notebook_node(nb, resources=resources, **kw) # set texinputs directory, so that local files will be found if resources and resources.get("metadata", {}).get("path"): self.texinputs = os.path.abspath(resources["metadata"]["path"]) else: self.texinputs = os.getcwd() self._captured_outputs = [] with TemporaryDirectory() as td, _contextlib_chdir.chdir(td): notebook_name = "notebook" resources["output_extension"] = ".tex" tex_file = self.writer.write(latex, resources, notebook_name=notebook_name) self.log.info("Building PDF") self.run_latex(tex_file) if self.run_bib(tex_file): self.run_latex(tex_file) pdf_file = notebook_name + ".pdf" if not os.path.isfile(pdf_file): raise LatexFailed("\n".join(self._captured_output)) self.log.info("PDF successfully created") with open(pdf_file, "rb") as f: pdf_data = f.read() # convert output extension to pdf # the writer above required it to be tex resources["output_extension"] = ".pdf" # clear figure outputs and attachments, extracted by latex export, # so we don't claim to be a multi-file export. resources.pop("outputs", None) resources.pop("attachments", None) return pdf_data, resources
(self, nb, resources=None, **kw)
[ 0.007049961481243372, -0.0354827456176281, 0.046169403940439224, -0.029226677492260933, -0.050086576491594315, 0.04179586097598076, -0.014242538250982761, 0.06206627935171127, 0.025480642914772034, 0.008053024299442768, 0.07518690824508667, 0.02669762820005417, 0.016524387523531914, 0.04198601469397545, -0.03669973090291023, -0.044305894523859024, 0.010268318466842175, 0.007249623071402311, -0.0021237831097096205, 0.045028477907180786, -0.09469671547412872, -0.01316816732287407, 0.029340770095586777, 0.027686428278684616, -0.04400164633989334, 0.004677789751440287, 0.0015937285497784615, -0.03620532900094986, -0.01641029492020607, 0.012597705237567425, 0.0061086989007890224, -0.05982246249914169, 0.039628103375434875, 0.00635114498436451, 0.037232160568237305, 0.03649056330323219, -0.049363989382982254, 0.045598939061164856, -0.07587146759033203, -0.003427526680752635, 0.05126553028821945, -0.07503478974103928, 0.018958358094096184, -0.04236632212996483, -0.04194798320531845, 0.016505371779203415, 0.00012137176236137748, -0.0289034154266119, -0.0522543303668499, -0.006926361005753279, 0.025480642914772034, -0.060887325555086136, 0.015354938805103302, 0.051379624754190445, -0.03527357429265976, -0.0031351647339761257, -0.01837838813662529, 0.08191836625337601, 0.01793152652680874, 0.01598244719207287, -0.017750879749655724, 0.001960963709279895, 0.0034227727446705103, -0.03316286578774452, 0.011780043132603168, 0.013691090978682041, 0.04438195377588272, -0.06039292365312576, -0.029131600633263588, 0.025119349360466003, -0.007848608307540417, -0.05571513622999191, 0.03491228446364403, 0.022114915773272514, 0.0653749629855156, -0.013729122467339039, -0.032934680581092834, -0.0034703114069998264, -0.03158458694815636, 0.024929195642471313, 0.024567902088165283, -0.009754902683198452, -0.06450024992227554, -0.028656214475631714, 0.04867943748831749, -0.019072450697422028, 0.097130686044693, 0.038506194949150085, 0.009065594524145126, -0.003365726675838232, -0.04826109856367111, -0.05822516977787018, 0.04533272609114647, -0.02705891989171505, 0.048223067075014114, -0.03955204039812088, 0.008875439874827862, 0.0116469357162714, 0.022343100979924202, -0.010667641647160053, 0.018074141815304756, 0.03375234454870224, -0.01594441756606102, 0.016087032854557037, 0.026906797662377357, 0.018425926566123962, -0.02013731375336647, 0.029721077531576157, 0.04236632212996483, -0.03784065693616867, -0.07005275040864944, 0.034246742725372314, 0.008813640102744102, -0.008057777769863605, -0.007839100435376167, -0.015364446677267551, -0.01564967818558216, -0.007938931696116924, -0.005566759500652552, -0.028637198731303215, -0.0008818393689580262, 0.031280338764190674, -0.043925583362579346, -0.013928784057497978, -0.036642685532569885, 0.029549939557909966, 0.04229025915265083, 0.02705891989171505, 0.029797138646245003, -0.03493129834532738, 0.04050281271338463, 0.0223621167242527, -0.030519723892211914, 0.08237472921609879, 0.010772226378321648, 0.014993646182119846, -0.010572564788162708, 0.018074141815304756, -0.01706632599234581, 0.0024767564609646797, 0.031090186908841133, -0.06853152066469193, 0.046321526169776917, 0.019909128546714783, -0.01598244719207287, 0.01922457478940487, 0.0011926223523914814, 0.03550175949931145, -0.10321561992168427, -0.03129935637116432, 0.005462174769490957, 0.04415376856923103, 0.0013679206604138017, -0.04571303352713585, 0.011618412099778652, 0.043735429644584656, 0.006303606554865837, 0.0068740686401724815, 0.0029093569610267878, 0.05267266929149628, 0.040730997920036316, 0.02966403029859066, 0.0008616355480626225, 0.06643982231616974, -0.013310783542692661, 0.04704410955309868, -0.05563907325267792, -0.06643982231616974, 0.035710930824279785, 0.00923197902739048, -0.004644512664526701, -0.03873438015580177, -0.021183161064982414, 0.018454451113939285, -0.015335923992097378, 0.034627050161361694, 0.08420021086931229, -0.023750239983201027, 0.0001490035210736096, 0.0373462550342083, -0.006531791295856237, 0.01564967818558216, -0.014774969778954983, 0.07005275040864944, -0.024701010435819626, 0.026526490226387978, -0.038144901394844055, 0.04757654294371605, 0.01746564917266369, -0.03620532900094986, 0.03360021859407425, 0.09393610060214996, -0.030709877610206604, 0.02124020643532276, -0.04829912632703781, -0.021012021228671074, -0.0013310783542692661, -0.01892983540892601, -0.037194132804870605, 0.050466883927583694, 0.001196187804453075, 0.013082598336040974, 0.04065493494272232, 0.038316041231155396, -0.0541178397834301, -0.009849979542195797, -0.05088522285223007, 0.0819944217801094, -0.08085349947214127, 0.007606161758303642, 0.04613137245178223, -0.013548475690186024, 0.006693422328680754, 0.019852083176374435, 0.02776249125599861, -0.01799808070063591, -0.012550166808068752, 0.04350724443793297, -0.029835170134902, -0.015640169382095337, 0.029131600633263588, 0.0008004296687431633, -0.00015747132420074195, -0.013596014119684696, -0.017418110743165016, -0.014214014634490013, 0.07602358609437943, -0.014271060936152935, 0.016628971323370934, -0.0326114185154438, -0.04365937039256096, 0.016039494425058365, 0.012055766768753529, 0.01979503594338894, 0.027933629229664803, -0.01511724665760994, -0.01109548844397068, -0.00796270091086626, -0.030120400711894035, 0.01946226693689823, -0.032934680581092834, -0.012055766768753529, 0.0182072501629591, -0.08716661483049393, 0.034550990909338, 0.030139416456222534, 0.09598976373672485, -0.0182072501629591, -0.05731242895126343, -0.04346921667456627, 0.010011610575020313, -0.021183161064982414, -0.005262513179332018, -0.004257073625922203, -0.020802851766347885, 0.013101614080369473, -0.01604900136590004, -0.08298322558403015, 0.0035630115307867527, 0.02646944299340248, 0.016990264877676964, -0.03502637520432472, -0.04042674973607063, 0.013966814614832401, 0.04384952411055565, -0.046017277985811234, -0.0429367832839489, 0.04362133890390396, 0.01304456777870655, 0.010315856896340847, 0.04012250527739525, 0.046549711376428604, -0.018492480739951134, -0.006061160005629063, 0.04141554981470108, -0.05274873226881027, 0.0044995201751589775, 0.037574440240859985, 0.015402478165924549, 0.01342487521469593, -0.007406500168144703, -0.036281391978263855, -0.001556886243633926, 0.015554601326584816, 0.002769118407741189, -0.09226274490356445, -0.008994285948574543, 0.02310371585190296, 0.023807287216186523, -0.06659194827079773, 0.013767153024673462, 0.06187612563371658, -0.009540978819131851, 0.009598025120794773, -0.05016263574361801, 0.007758284918963909, -0.07784906774759293, -0.044648170471191406, -0.029207661747932434, -0.021373314782977104, -0.005338574759662151, 0.0013976322952657938, 0.03959007188677788, -0.03409462049603462, -0.04605530947446823, -0.0036984961479902267, -0.008419070392847061, 0.025157380849123, -0.0017755634617060423, -0.020460575819015503, 0.02072679065167904, -0.029188646003603935, 0.06134369596838951, 0.04004644230008125, -0.0036937424447387457, -0.038886502385139465, 0.05693212151527405, 0.043393153697252274, 0.008323993533849716, 0.02146839164197445, -0.05096128582954407, 0.017627280205488205, -0.012597705237567425, 0.024206610396504402, 0.029340770095586777, 0.012540658935904503, 0.02259030006825924, -0.0006679160869680345, -0.008656762540340424, 0.05320510268211365, 0.00009529985982226208, 0.0382780097424984, 0.00943164061754942, -0.04088312014937401, -0.06320720165967941, -0.024396764114499092, 0.007444530725479126, -0.0018385519506409764, -0.0336192362010479, -0.030995110049843788, 0.015497555024921894, -0.008209900930523872, 0.0005226265056990087, 0.007335192523896694, -0.029797138646245003, -0.05023869872093201, -0.030519723892211914, -0.022799469530582428, 0.003643826814368367, -0.01973799057304859, -0.05023869872093201, 0.08853572607040405, -0.0007005988154560328, 0.019196050241589546, -0.037213146686553955, -0.05274873226881027, -0.042214199900627136, -0.019528821110725403, -0.062028251588344574, -0.07195428758859634, -0.042214199900627136, 0.06952031701803207, -0.06450024992227554, 0.02833295240998268, 0.009502948261797428, -0.03808785602450371, 0.04236632212996483, 0.06024080142378807, 0.0466638021171093, 0.02926470711827278, 0.0670863464474678, 0.0007279334822669625, -0.05160780996084213, 0.0066030994057655334, 0.0016091786092147231, -0.01856854185461998, -0.06636375933885574, -0.02665959671139717, -0.05712227523326874, -0.0031470495741814375, -0.023921379819512367, -0.01483201514929533, -0.010696165263652802, -0.015602139756083488, -0.023198794573545456, -0.06594542413949966, 0.007610915694385767, 0.04050281271338463, 0.027933629229664803, -0.04959217458963394, -0.028389999642968178, 0.011057457886636257, 0.01185610517859459, 0.027895597741007805, -0.014822508208453655, -0.06997668743133545, 0.034969329833984375, 0.0326874814927578, 0.02352205477654934, -0.03947598114609718, 0.01994716003537178, 0.03574896231293678, -0.0020144444424659014, 0.020593682304024696, 0.0033633497077971697, 0.040540844202041626, 0.07518690824508667, -0.008709055371582508, 0.015326416119933128, 0.001591351698152721, -0.0007849796675145626, 0.011409242637455463, 0.01044896524399519, 0.02911258488893509, -0.04274662956595421, 0.03728920966386795, 0.004026512149721384, -0.004841797519475222, -0.01708534173667431, -0.013662568293511868, -0.04133949056267738, 0.023084701970219612, 0.06278886646032333, 0.007035699672996998, 0.08153805136680603, -0.023046670481562614, -0.001341774477623403, -0.009488686919212341, 0.003570142202079296, 0.07005275040864944, -0.021373314782977104, -0.04031265899538994, -0.022514238953590393, -0.011960689909756184, 0.03417068347334862, -0.034988343715667725, -0.013225213624536991, -0.011675458401441574, -0.0260891355574131, 0.031451478600502014, 0.061267632991075516, -0.043735429644584656, 0.07731663435697556, 0.007710746489465237, -0.05240645632147789, 0.03437985107302666, -0.015012661926448345, 0.04236632212996483, -0.06229446455836296, -0.037213146686553955, 0.08632993698120117, -0.024206610396504402, 0.052900854498147964, -0.053623441606760025, 0.025328518822789192, -0.034779176115989685, 0.04586515575647354, -0.0915021300315857, 0.01137121208012104, 0.07066124677658081, -0.01753220334649086, 0.03829702362418175, 0.05369950085878372, -0.03042464703321457, -0.004963020794093609, -0.10390017181634903, 0.03000630810856819, -0.01641029492020607, 0.013548475690186024, 0.00941262487322092, 0.04438195377588272, 0.011656442657113075, -0.004675412550568581, -0.05339525640010834, -0.0022010330576449633, 0.008476116694509983, -0.0382780097424984, -0.06765680760145187, -0.028428029268980026, -0.0484892800450325, -0.057730767875909805, -0.022038854658603668, 0.07971257716417313, 0.007677469402551651, -0.034037575125694275, -0.006731453351676464, 0.022114915773272514, -0.0009133336716331542, 0.0466257706284523, 0.016885679215192795, -0.0409972108900547, 0.07986470311880112, 0.0010387165239080787, -0.021354299038648605, -0.047842759639024734, -0.007891393266618252, 0.030842985957860947, 0.021012021228671074, -0.0031232801266014576, -0.0153739545494318, 0.013111121952533722, -0.027382181957364082, 0.030139416456222534, 0.04495241492986679, 0.040388718247413635, 0.01867312751710415, -0.02426365576684475, 0.01017324160784483, -0.0058187139220535755, 0.014413677155971527, -0.02428267151117325, 0.030348585918545723, 0.045028477907180786, -0.006774237845093012, -0.05096128582954407, -0.00222361390478909, -0.023560086265206337, 0.0521782711148262, -0.0014736938755959272, 0.012521644122898579, 0.005115143954753876, 0.009426887147128582, -0.010515518486499786, -0.03677579388022423, 0.032953694462776184, 0.03337203338742256, -0.010306349024176598, 0.006046898663043976, -0.019405219703912735, 0.01994716003537178, -0.039818257093429565, -0.056057412177324295, 0.0727149099111557, -0.03489326685667038, -0.05750258266925812, 0.002954518422484398, 0.044686201959848404, 0.015896879136562347, 0.04799488186836243, -0.003315811278298497, 0.020441560074687004, 0.01185610517859459, -0.04575106501579285, -0.03426576033234596, 0.062218405306339264, 0.0270399060100317, 0.007178315427154303, 0.015421492978930473, 0.05951821804046631, 0.029226677492260933, 0.033467113971710205, -0.06853152066469193, -0.003919550217688084, 0.051037345081567764, 0.014974631369113922, 0.055486951023340225, 0.0017529826145619154, 0.03057677112519741, 0.03491228446364403, 0.008053024299442768, -0.013339306227862835, -0.037003979086875916, 0.028275907039642334, -0.003631942206993699, 0.03951401263475418, 0.034627050161361694, 0.006460483651608229, -0.02479608729481697, -0.01929112710058689, -0.04137752205133438, 0.0781913474202156, 0.008238423615694046, 0.02926470711827278, -0.04164373502135277, -0.011780043132603168, -0.031280338764190674, -0.023731224238872528, -0.01837838813662529, -0.020745806396007538, -0.002416144823655486, -0.011818073689937592, 0.023027654737234116, -0.028656214475631714, -0.011580381542444229, 0.04620743170380592, 0.00882790144532919, -0.044686201959848404, 0.011599397286772728, 0.05202614888548851, -0.045028477907180786, -0.029702061787247658, -0.010572564788162708, 0.026412397623062134, -0.02555670402944088, 0.0691400095820427, 0.018036112189292908, -0.02496722713112831, -0.016990264877676964, 0.011875119991600513, -0.06362554430961609, -0.022799469530582428, 0.03860127180814743, -0.009198701940476894, -0.015069708228111267, 0.03519751504063606, -0.012150843627750874, 0.028827354311943054, -0.04213813692331314, -0.026621567085385323, -0.017456142231822014, 0.03531160578131676, -0.014965123496949673, 0.008219408802688122, 0.003346711164340377, -0.04826109856367111, -0.03449394553899765, -0.03158458694815636, -0.08747085928916931, -0.040198564529418945, 0.01344389095902443, -0.032021939754486084, 0.004014627076685429, 0.002802395261824131, 0.007862869650125504, -0.01668601669371128, -0.032744526863098145, 0.0429367832839489, 0.007211592048406601, -0.000016294938177452423, 0.046017277985811234, 0.05571513622999191, -0.04590318724513054, 0.06647785753011703, 0.0153929702937603, 0.026526490226387978, 0.005371851846575737, -0.009664579294621944, 0.007929423823952675, 0.006322621833533049, 0.03002532385289669, 0.00384348863735795, -0.018492480739951134, -0.02869424596428871, -0.10572565346956253, 0.004542304668575525, -0.06697225570678711, 0.03038661740720272, -0.03799277916550636, -0.00869003962725401, 0.01755121909081936, -0.03839210048317909, 0.03603419288992882, -0.004934497643262148, -0.00046558029134757817, 0.006869314704090357, 0.04422983154654503, 0.02907455340027809, -0.015801800414919853, 0.046701833605766296, 0.006061160005629063, 0.02947387658059597, 0.0015319285448640585, 0.010011610575020313, 0.00928427092730999, -0.006945376750081778, -0.025708826258778572, -0.029702061787247658, 0.031033139675855637, -0.029587969183921814, 0.0012056954437866807, 0.0031066418159753084, 0.006555560976266861, -0.05541088804602623, -0.07396992295980453, 0.013653060421347618, 0.0070974999107420444, 0.02348402515053749, -0.0615718811750412, -0.002852310659363866, -0.02257128618657589, -0.040921151638031006, 0.005519221071153879, -0.03662366792559624, 0.01992814429104328, -0.038867488503456116, -0.015545093454420567, 0.06244659051299095, 0.02407350204885006, -0.03192686289548874, -0.0182072501629591, -0.028047721832990646, 0.040008410811424255, 0.035349637269973755, -0.036110252141952515, -0.019253097474575043, 0.002562325680628419, -0.017494171857833862, -0.019528821110725403, -0.034474927932024, -0.011618412099778652, 0.02464396506547928, -0.03259240463376045, 0.006412945222109556, -0.0019062942592427135, 0.004544681869447231, -0.0317557267844677, -0.031242309138178825, -0.01825478859245777, -0.06168597191572189, -0.020935960114002228, 0.029797138646245003, -0.0024648718535900116, 0.0390956737101078, -0.0009418567642569542, -0.0540417805314064, -0.008262193761765957, -0.02966403029859066, 0.061267632991075516, 0.011190565302968025, -0.04966823756694794, -0.012806874699890614, -0.045979250222444534, 0.07423613965511322, 0.02407350204885006, -0.0026574027724564075, 0.020023221150040627, -0.097130686044693, -0.06027883291244507, 0.04590318724513054, -0.055106643587350845, 0.05366147309541702, 0.04274662956595421, -0.03449394553899765, -0.06841742247343063, -0.006042144726961851, -0.03527357429265976, 0.044305894523859024, 0.01922457478940487, -0.02762938290834427, -0.02928372286260128, 0.037954747676849365, 0.04826109856367111, 0.012930475175380707, 0.0670863464474678, 0.040540844202041626, 0.04308890551328659, -0.010306349024176598, -0.007872377522289753, 0.0279906764626503, -0.014318599365651608, 0.04400164633989334, 0.03932385519146919, -0.021354299038648605, 0.05096128582954407, 0.08115774393081665, -0.01464186143130064, 0.039057642221450806, 0.017883988097310066, -0.039057642221450806, -0.005671344231814146, 0.02106906846165657, -0.0043616583570837975, -0.030443662777543068, 0.027743475511670113, 0.02089793048799038, -0.010192256420850754, -0.006332129705697298, 0.008347762748599052 ]
54,513
nbconvert.exporters.pdf
run_bib
Run bibtex one time.
def run_bib(self, filename, raise_on_failure=False): """Run bibtex one time.""" filename = os.path.splitext(filename)[0] def log_error(command, out): self.log.warning( "%s had problems, most likely because there were no citations", command[0] ) self.log.debug("%s output: %s\n%s", command[0], command, out) return self.run_command(self.bib_command, filename, 1, log_error, raise_on_failure)
(self, filename, raise_on_failure=False)
[ 0.05203675106167793, 0.0024047286715358496, -0.007875596173107624, 0.09944801032543182, -0.004031972028315067, -0.015453338623046875, -0.011484879069030285, -0.025632917881011963, 0.06307484954595566, -0.02377571351826191, -0.018834851682186127, 0.037985075265169144, -0.0461147241294384, -0.01074900571256876, -0.02876913920044899, -0.028471285477280617, -0.010197100229561329, 0.06160310283303261, -0.0885150358080864, 0.021918511018157005, -0.010346027091145515, 0.007385013625025749, 0.023215048015117645, 0.04085848480463028, 0.022601820528507233, 0.008677172474563122, 0.001233025686815381, -0.04173452407121658, 0.006706083193421364, 0.01737186498939991, 0.03581249713897705, -0.027349956333637238, -0.015558462589979172, 0.02233900874853134, -0.005768720526248217, 0.023915881291031837, -0.006727984175086021, -0.01177397184073925, 0.018081456422805786, 0.0030639483593404293, 0.04418743774294853, 0.007398154120892286, 0.10372308641672134, 0.01210686657577753, -0.046850595623254776, 0.004375817719846964, 0.008204110898077488, -0.024826962500810623, -0.08220755308866501, -0.011590003967285156, -0.011651325970888138, 0.008388078771531582, 0.02591325156390667, -0.006684182211756706, -0.040473029017448425, -0.016285575926303864, -0.010871651582419872, 0.09377127885818481, 0.030118240043520927, -0.03465612605214119, 0.035129185765981674, -0.024826962500810623, 0.011887856759130955, -0.0010764335747808218, 0.055996451526880264, 0.03858078271150589, 0.03260619193315506, -0.032763879746198654, 0.030871635302901268, -0.013385884463787079, 0.0628996416926384, 0.004577306564897299, -0.045063477009534836, -0.019465599209070206, 0.04772663488984108, 0.009286019951105118, -0.05280766636133194, 0.03136221691966057, 0.004686811938881874, 0.03830045089125633, 0.008685932494699955, -0.013753821142017841, 0.058939941227436066, 0.02876913920044899, 0.002906261244788766, -0.040788400918245316, 0.07011821120977402, -0.00798072014003992, 0.011388514190912247, 0.03425314649939537, 0.004888300783932209, -0.020394200459122658, 0.04254048317670822, -0.00017520791152492166, 0.022409092634916306, -0.04811209440231323, 0.015865076333284378, -0.010950494557619095, -0.026211103424429893, -0.0020291267428547144, -0.03393777459859848, 0.0007933633169159293, 0.07211557775735855, -0.07435823976993561, -0.026999540627002716, 0.01930791139602661, 0.017240459099411964, -0.012404720298945904, -0.007656585890799761, -0.026070937514305115, -0.08311863243579865, -0.027542684227228165, -0.007485758047550917, -0.013955310918390751, -0.05683744698762894, -0.02279455028474331, -0.003337710862979293, 0.002036791993305087, -0.032273296266794205, 0.02622862532734871, 0.02654399909079075, -0.08431004732847214, -0.027227310463786125, 0.005983350332826376, 0.001373192062601447, 0.016776157543063164, -0.03742441162467003, -0.023828277364373207, 0.07449840754270554, -0.01679367944598198, 0.031327176839113235, 0.009618914686143398, 0.004568546544760466, -0.040788400918245316, 0.025790605694055557, -0.04387206211686134, 0.023565465584397316, -0.0037932514678686857, 0.0022514217998832464, 0.06969770789146423, 0.022952236235141754, -0.03903632238507271, 0.054524704813957214, 0.022444134578108788, 0.006285584066063166, 0.02635127119719982, -0.06100739538669586, -0.057608362287282944, 0.0005743534420616925, 0.03812524303793907, 0.09923776239156723, -0.0008541385759599507, 0.0019634237978607416, 0.0013501959620043635, 0.00038846879033371806, 0.005965829361230135, 0.012614970095455647, 0.04614976420998573, -0.009794122539460659, 0.015356973744928837, 0.06353039294481277, 0.0343933142721653, 0.007520799990743399, 0.032273296266794205, -0.013263239525258541, -0.00600963132455945, -0.08473055064678192, 0.0539640374481678, 0.01012701727449894, 0.06836612522602081, -0.004279453307390213, 0.05151112750172615, -0.06864646077156067, 0.04443272575736046, 0.025895729660987854, 0.041103776544332504, 0.0069776554591953754, 0.057117778807878494, 0.03393777459859848, 0.02002626471221447, -0.05049492046236992, -0.02016643062233925, -0.008891801349818707, 0.05441957712173462, 0.022847112268209457, 0.05792373791337013, -0.003197544487193227, 0.02568547986447811, 0.03211561217904091, -0.012833979912102222, 0.06720975786447525, 0.02069205418229103, 0.012211991474032402, -0.011143223382532597, -0.02810334973037243, -0.025808125734329224, -0.024949606508016586, 0.006460791919380426, -0.02565043978393078, -0.006504593882709742, -0.007836174219846725, -0.02654399909079075, -0.017652196809649467, -0.032974131405353546, 0.021533053368330002, 0.03509414568543434, 0.00833989679813385, 0.024318858981132507, -0.022987278178334236, 0.020131388679146767, 0.034288190305233, -0.022584300488233566, -0.048322342336177826, 0.05263245850801468, -0.00013736027176491916, -0.07148482650518417, 0.03162502869963646, 0.0009203890804201365, -0.0021233009174466133, 0.017669718712568283, -0.0137363001704216, 0.023845797404646873, 0.024826962500810623, 0.026596561074256897, -0.026526479050517082, 0.0500393807888031, 0.1344195157289505, 0.09250977635383606, 0.0201138686388731, 0.003975029569119215, -0.029820386320352554, -0.03337710723280907, 0.0032610574271529913, -0.05641694739460945, -0.022233884781599045, -0.10939982533454895, -0.031379736959934235, 0.060096316039562225, 0.017415666952729225, 0.04954879730939865, 0.07660090178251266, 0.016469543799757957, 0.02412612922489643, 0.007490138523280621, -0.012448522262275219, -0.058624569326639175, 0.0018210673006251454, 0.04215502366423607, -0.0687866285443306, -0.007612783927470446, 0.03185280039906502, 0.003826102940365672, -0.012544887140393257, 0.023828277364373207, 0.0058826059103012085, -0.003282958408817649, -0.04474810138344765, -0.09748568385839462, 0.023477859795093536, 0.03551464527845383, 0.028120869770646095, 0.024897044524550438, 0.024739358574151993, 0.03647828847169876, -0.025545313954353333, 0.005720538552850485, -0.048812925815582275, 0.019430557265877724, 0.05515545234084129, 0.03938673809170723, -0.03644324466586113, -0.0032194454688578844, 0.016635991632938385, -0.04134906828403473, -0.08550146222114563, -0.003725358285009861, 0.05105558782815933, 0.021165115758776665, -0.016863761469721794, 0.06843621283769608, 0.024564148858189583, 0.06720975786447525, 0.04271569103002548, -0.011011817492544651, 0.015970202162861824, -0.040928568691015244, -0.05017954856157303, 0.10049925744533539, -0.03991236165165901, 0.008291714824736118, 0.02412612922489643, 0.023180007934570312, 0.08739370852708817, -0.02360050566494465, -0.034901417791843414, -0.014016632921993732, -0.030486177653074265, -0.03896624222397804, 0.055681075900793076, -0.05350849777460098, -0.05522553622722626, -0.03567233309149742, 0.021795865148305893, -0.016758637502789497, -0.0667191743850708, -0.036232996731996536, -0.03108188509941101, -0.011887856759130955, -0.020218992605805397, 0.0011804633541032672, -0.012947864830493927, 0.008142787963151932, -0.012816458940505981, 0.07709148526191711, -0.005484007764607668, 0.031029321253299713, 0.005514669232070446, 0.005120451562106609, 0.012194470502436161, -0.04989921301603317, -0.04558910056948662, -0.01886989176273346, 0.06941737979650497, 0.025124814361333847, 0.030363531783223152, -0.055505868047475815, -0.00249671284109354, 0.013438447378575802, -0.007910637184977531, 0.04541389271616936, 0.03523431345820427, 0.05669728294014931, 0.03581249713897705, -0.04762151092290878, -0.07835298031568527, -0.018134018406271935, 0.004581687040627003, -0.0814366415143013, 0.040648236870765686, -0.07001308351755142, -0.03491893783211708, -0.045869432389736176, -0.03174767270684242, -0.001800261321477592, -0.013096791692078114, 0.07365740835666656, -0.04678051173686981, -0.004713092930614948, 0.02524746023118496, -0.10876907408237457, 0.0038282929453998804, 0.018081456422805786, -0.05540074408054352, 0.04674547165632248, -0.05277262255549431, -0.03847565874457359, -0.015155484899878502, -0.037529535591602325, -0.015575983561575413, -0.02663160301744938, -0.039807237684726715, -0.033482231199741364, -0.06381072103977203, -0.0031690732575953007, -0.0022207603324204683, 0.007831794209778309, 0.012089346535503864, -0.004875160288065672, -0.04702580347657204, 0.01451597549021244, 0.012518605217337608, 0.0201138686388731, -0.018747247755527496, 0.04036790505051613, -0.008970645256340504, -0.05196666717529297, 0.004616728518158197, -0.046675387769937515, -0.027052102610468864, 0.001191413844935596, -0.04678051173686981, -0.021200157701969147, -0.025703001767396927, -0.026929456740617752, -0.05329824611544609, -0.04057815298438072, -0.042260147631168365, 0.014927714131772518, 0.03050369769334793, -0.004163377918303013, 0.039807237684726715, -0.021340323612093925, 0.012247033417224884, -0.01702144928276539, -0.06910200417041779, 0.01527812983840704, 0.06833108514547348, -0.02426629699766636, 0.018081456422805786, 0.022899674251675606, -0.016890043392777443, 0.06643883883953094, -0.054034121334552765, 0.026999540627002716, -0.00020532177586574107, 0.05564603582024574, 0.02016643062233925, -0.006688562221825123, 0.01123958732932806, -0.007025837432593107, -0.017328063026070595, -0.014673663303256035, -0.038826074451208115, -0.06843621283769608, -0.04201485961675644, 0.05575115978717804, -0.028120869770646095, -0.062058642506599426, -0.06808579713106155, -0.01948312111198902, 0.015146723948419094, 0.017275501042604446, 0.06086723133921623, 0.05151112750172615, 0.019605765119194984, 0.02484448254108429, 0.05624173954129219, -0.006272443570196629, 0.026929456740617752, -0.017065251246094704, -0.06657900661230087, 0.003589572152122855, 0.0031143208034336567, 0.03602274879813194, 0.04001748934388161, -0.01670607551932335, -0.05375378951430321, 0.03032848984003067, 0.050915420055389404, -0.033342067152261734, -0.01841435208916664, 0.03010072000324726, -0.009575112722814083, -0.06808579713106155, 0.045378848910331726, 0.003642134601250291, 0.016951365396380424, -0.03353479504585266, 0.001980944536626339, -0.009110811166465282, 0.02198859304189682, 0.0028865505009889603, 0.04583439230918884, 0.0020805939566344023, 0.016084086149930954, -0.013841425068676472, -0.017906248569488525, 0.013718780130147934, 0.05368370562791824, 0.037529535591602325, -0.055015284568071365, 0.02519489824771881, 0.04124394431710243, -0.01913270354270935, 0.015549702569842339, -0.07001308351755142, -0.0016458593308925629, 0.04345156252384186, -0.045378848910331726, -0.03395529463887215, 0.019921140745282173, 0.007564601954072714, 0.03742441162467003, 0.007512039504945278, -0.03903632238507271, 0.0008968455367721617, 0.017958810552954674, -0.02470431663095951, 0.009951809421181679, -0.04015765339136124, 0.004577306564897299, -0.012895302847027779, -0.044713061302900314, 0.021655699238181114, -0.00499342568218708, -0.048182178288698196, 0.023933401331305504, -0.032133132219314575, 0.0001238774711964652, -0.060096316039562225, -0.016802439466118813, 0.03591762110590935, 0.046535223722457886, 0.02417869307100773, -0.03488389775156975, -0.00015125371282920241, -0.0250722523778677, 0.01792377047240734, 0.022321488708257675, -0.0431712307035923, 0.03658341243863106, -0.016916323453187943, -0.007660965900868177, 0.028401203453540802, 0.004586067050695419, 0.015418296679854393, -0.005343841388821602, -0.023337693884968758, 0.012483564205467701, -0.051441043615341187, -0.04261056333780289, -0.006684182211756706, 0.024634232744574547, -0.006999556440860033, 0.0009176514577120543, -0.01681995950639248, 0.009548831731081009, -0.055050328373909, -0.034761250019073486, 0.06598330289125443, 0.017441948875784874, -0.021795865148305893, -0.059605732560157776, 0.013280759565532207, 0.03157246485352516, -0.08311863243579865, 0.016136648133397102, 0.022444134578108788, -0.006649140268564224, 0.040963612496852875, -0.019605765119194984, -0.04240031540393829, 0.041944775730371475, -0.05147608742117882, -0.018677163869142532, 0.010013132356107235, -0.05067012831568718, 0.014927714131772518, -0.007547080982476473, -0.05035475641489029, -0.002424439648166299, 0.03896624222397804, 0.033429671078920364, -0.032763879746198654, 0.026859372854232788, -0.03299165144562721, -0.05161625146865845, -0.008891801349818707, 0.04436264559626579, 0.03956194594502449, 0.016119128093123436, -0.0020619782153517008, 0.01210686657577753, -0.01308803167194128, 0.011108181439340115, 0.03710903599858284, 0.017363104969263077, 0.010757765732705593, 0.0053788828663527966, -0.006206740625202656, 0.02310992404818535, 0.015558462589979172, 0.04902317374944687, 0.002282083034515381, 0.04509851709008217, 0.008493203669786453, 0.06454659253358841, 0.025878209620714188, 0.02181338518857956, -0.06454659253358841, -0.004577306564897299, 0.012588689103722572, 0.03274635970592499, 0.048322342336177826, -0.028208473697304726, 0.012842739932239056, 0.016119128093123436, -0.043066106736660004, -0.0037735404912382364, -0.026246145367622375, 0.0013775721890851855, -0.034007854759693146, 0.004975904710590839, 0.01705649122595787, 0.006084094755351543, 0.03307925537228584, -0.035129185765981674, -0.0060052513144910336, 0.01739814691245556, 0.000039490219933213666, 0.01751203089952469, -0.06034160777926445, 0.0034406455233693123, -0.006933853030204773, 0.008532625623047352, 0.06444147229194641, 0.022356530651450157, -0.016110368072986603, -0.020534368231892586, 0.00440866919234395, -0.0002491237537469715, -0.007538320496678352, -0.0037844909820705652, 0.024388941004872322, -0.03602274879813194, 0.050284672528505325, 0.00481821782886982, -0.06062193959951401, -0.020884783938527107, 0.022268926724791527, -0.06763025373220444, -0.015514660626649857, -0.018677163869142532, -0.019728410989046097, -0.02822599560022354, -0.011826534755527973, 0.0032194454688578844, 0.009583872742950916, 0.02868153527379036, 0.008488823659718037, 0.00017000643128994852, 0.00026897151838056743, -0.00763906491920352, 0.03486637398600578, 0.010652640834450722, -0.0026675404515117407, 0.010179580189287663, -0.02109503373503685, 0.028471285477280617, 0.07141474634408951, -0.008633369579911232, 0.019062621518969536, 0.041138820350170135, 0.022286446765065193, 0.057468194514513016, 0.006193599663674831, 0.03388521075248718, 0.038160283118486404, 0.005816902965307236, 0.056311823427677155, -0.007674106862396002, -0.09096795320510864, 0.0005212435498833656, -0.016784917563199997, 0.02515985630452633, -0.007249227724969387, -0.02908451482653618, -0.0003558910684660077, 0.04975904896855354, 0.00035534356720745564, 0.027910621836781502, 0.03724920377135277, 0.043907102197408676, 0.02654399909079075, -0.042750731110572815, -0.055821243673563004, 0.03502406179904938, -0.005203675013035536, -0.04674547165632248, 0.020096348598599434, -0.012895302847027779, -0.020236514508724213, -0.05869465321302414, -0.04204989969730377, -0.01788872852921486, -0.06328509747982025, 0.008296094834804535, -0.055190492421388626, -0.043241314589977264, 0.06149797886610031, -0.011554962024092674, 0.003394653322175145, -0.029382366687059402, 0.00037176930345594883, 0.026561519131064415, -0.005606653168797493, 0.022426612675189972, 0.035129185765981674, 0.024897044524550438, 0.009908007457852364, 0.0017476989887654781, -0.03185280039906502, -0.017476988956332207, -0.01099429652094841, -0.004975904710590839, -0.0022207603324204683, 0.011362233199179173, 0.030854113399982452, 0.006526494864374399, -0.03907136619091034, -0.04282081499695778, 0.054699912667274475, -0.04075336083769798, -0.031414780765771866, -0.04408231005072594, 0.04152427613735199, -0.03185280039906502, -0.02037668041884899, -0.02917211875319481, -0.01393778994679451, 0.057468194514513016, 0.05522553622722626, 0.05186154320836067, 0.01616293005645275, -0.007757330313324928, -0.023162486031651497, -0.06493205577135086, 0.0014498454984277487, -0.024388941004872322, -0.054384537041187286, 0.036232996731996536, 0.03679366409778595, 0.022584300488233566, 0.062374018132686615, -0.00362899387255311, -0.03551464527845383, -0.034498438239097595, 0.059115149080753326, -0.01575995236635208, -0.05179145932197571, -0.051125667989254, 0.020551888272166252, 0.0245816707611084, -0.03665349632501602, 0.06325005739927292, -0.004080154467374086, -0.006837489083409309, -0.02172578126192093, 0.026438875123858452, -0.00393998809158802, 0.012632491067051888, -0.026999540627002716, -0.046360015869140625, -0.020446764305233955, -0.027367476373910904, -0.0559263676404953, 0.004480942618101835, -0.010170819237828255, 0.08893553912639618, -0.05455974489450455, -0.04597455635666847, -0.07288648933172226, -0.031782716512680054, -0.010451151989400387, -0.025843167677521706, 0.028664015233516693, 0.003576431656256318, 0.03001311607658863, 0.011467358097434044, -0.035164229571819305, -0.0431712307035923, 0.03731928765773773, -0.03861582279205322, 0.054840076714754105, 0.022724466398358345, -0.00584318395704031, 0.041629400104284286, 0.04968896508216858, 0.007376253139227629, 0.002255801809951663, 0.054349496960639954, -0.015400775708258152, -0.01890493370592594, 0.021305281668901443, 0.004875160288065672, -0.02796318382024765, -0.015076640993356705, 0.039632029831409454 ]
54,514
nbconvert.exporters.pdf
run_command
Run command_list count times. Parameters ---------- command_list : list A list of args to provide to Popen. Each element of this list will be interpolated with the filename to convert. filename : unicode The name of the file to convert. count : int How many times to run the command. raise_on_failure: Exception class (default None) If provided, will raise the given exception for if an instead of returning False on command failure. Returns ------- success : bool A boolean indicating if the command was successful (True) or failed (False).
def run_command(self, command_list, filename, count, log_function, raise_on_failure=None): """Run command_list count times. Parameters ---------- command_list : list A list of args to provide to Popen. Each element of this list will be interpolated with the filename to convert. filename : unicode The name of the file to convert. count : int How many times to run the command. raise_on_failure: Exception class (default None) If provided, will raise the given exception for if an instead of returning False on command failure. Returns ------- success : bool A boolean indicating if the command was successful (True) or failed (False). """ command = [c.format(filename=filename) for c in command_list] # This will throw a clearer error if the command is not found cmd = shutil.which(command_list[0]) if cmd is None: link = "https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex" msg = ( f"{command_list[0]} not found on PATH, if you have not installed " f"{command_list[0]} you may need to do so. Find further instructions " f"at {link}." ) raise OSError(msg) times = "time" if count == 1 else "times" self.log.info("Running %s %i %s: %s", command_list[0], count, times, command) shell = sys.platform == "win32" if shell: command = subprocess.list2cmdline(command) # type:ignore[assignment] env = os.environ.copy() prepend_to_env_search_path("TEXINPUTS", self.texinputs, env) prepend_to_env_search_path("BIBINPUTS", self.texinputs, env) prepend_to_env_search_path("BSTINPUTS", self.texinputs, env) with open(os.devnull, "rb") as null: stdout = subprocess.PIPE if not self.verbose else None for _ in range(count): p = subprocess.Popen( command, stdout=stdout, stderr=subprocess.STDOUT, stdin=null, shell=shell, # noqa: S603 env=env, ) out, _ = p.communicate() if p.returncode: if self.verbose: # noqa: SIM108 # verbose means I didn't capture stdout with PIPE, # so it's already been displayed and `out` is None. out_str = "" else: out_str = out.decode("utf-8", "replace") log_function(command, out) self._captured_output.append(out_str) if raise_on_failure: msg = f'Failed to run "{command}" command:\n{out_str}' raise raise_on_failure(msg) return False # failure return True # success
(self, command_list, filename, count, log_function, raise_on_failure=None)
[ 0.011888116598129272, -0.0724828913807869, -0.03304819390177727, 0.04443616420030594, -0.0026257734280079603, 0.0582863986492157, -0.033740706741809845, -0.032317209988832474, 0.05116891860961914, -0.050553351640701294, 0.03379841521382332, 0.04247405007481575, 0.015860440209507942, -0.01017607469111681, -0.021660225465893745, -0.004304152447730303, 0.07052077353000641, 0.018264995887875557, -0.031201498582959175, 0.0027940922882407904, -0.025142021477222443, 0.06348023563623428, 0.025719113647937775, 0.02371852472424507, 0.0014463394181802869, -0.0014836100162938237, 0.008045638911426067, -0.030470512807369232, 0.014542745426297188, 0.020313676446676254, -0.0035803813952952623, -0.01696653664112091, -0.02610384300351143, -0.005092846229672432, -0.03422161936759949, 0.027989013120532036, -0.031451571732759476, -0.012715283781290054, -0.06578861176967621, 0.0014487439766526222, 0.038126613944768906, -0.094181589782238, 0.056632064282894135, 0.003140348009765148, -0.049206800758838654, -0.005280401557683945, -0.07340623438358307, 0.004174306523054838, -0.0722520500421524, -0.02221808210015297, 0.0028638243675231934, -0.025988424196839333, 0.006213368382304907, 0.004181520082056522, -0.04339739680290222, 0.047321632504463196, 0.016062423586845398, 0.03214408457279205, 0.0051072733476758, -0.07486820966005325, -0.0002974133240059018, 0.002488713711500168, -0.009204634465277195, 0.017274318262934685, 0.026700172573328018, -0.025526748970150948, -0.009449899196624756, -0.039242327213287354, 0.032374922186136246, 0.017514774575829506, 0.022275792434811592, -0.022679757326841354, 0.012859556823968887, -0.009315243922173977, 0.016735699027776718, 0.029701055958867073, -0.03768417611718178, 0.05236157774925232, 0.023429978638887405, 0.036010608077049255, 0.03595289587974548, 0.024103254079818726, 0.026969483122229576, 0.015292965807020664, 0.025565221905708313, -0.021583279594779015, 0.03497184067964554, 0.022333500906825066, 0.002813328756019473, -0.0056458935141563416, -0.02289135754108429, -0.02887388877570629, 0.003830455243587494, 0.03006654791533947, -0.021237025037407875, -0.034837182611227036, 0.009825008921325207, -0.012994212098419666, -0.0440899096429348, -0.021756408736109734, -0.030297385528683662, 0.03639533370733261, 0.08425558358430862, -0.04120444506406784, -0.022275792434811592, -0.018688196316361427, -0.052553940564394, 0.028931599110364914, 0.018457358703017235, -0.03595289587974548, -0.059402111917734146, -0.017024245113134384, 0.0430896133184433, -0.07879243791103363, 0.015812350437045097, -0.0337599441409111, -0.03774188458919525, 0.007333891000598669, -0.019524982199072838, -0.01765904761850834, 0.051130443811416626, 0.016697226092219353, -0.0026329869870096445, -0.01857277750968933, 0.0010562004754319787, 0.02931632660329342, 0.028316032141447067, 0.004241634160280228, 0.07013604044914246, 0.007319463416934013, 0.0005867112777195871, 0.010599276050925255, 0.026200024411082268, 0.045128677040338516, 0.050899606198072433, -0.028354505077004433, -0.07202121615409851, 0.007194426842033863, -0.018524687737226486, 0.0069299256429076195, 0.05905585736036301, -0.055285513401031494, 0.06348023563623428, 0.01696653664112091, 0.008853569626808167, 0.033740706741809845, 0.06232605129480362, -0.04585966095328331, 0.022275792434811592, 0.027219556272029877, 0.022910594940185547, 0.011984298937022686, -0.02473805658519268, -0.006809697952121496, 0.0017901906976476312, -0.005540093407034874, 0.040665823966264725, -0.017947593703866005, -0.0034144672099500895, -0.008377467282116413, 0.048822071403265, 0.040165677666664124, -0.015754640102386475, 0.03910767287015915, -0.0389922559261322, 0.04401296377182007, -0.08910316973924637, 0.06232605129480362, 0.02956640161573887, 0.019534600898623466, 0.05066877231001854, 0.011253315024077892, 0.013917560689151287, 0.02929709106683731, -0.04728315770626068, 0.053323399275541306, -0.009680735878646374, 0.02077534981071949, -0.0092479158192873, 0.031143788248300552, -0.038549818098545074, 0.005463147535920143, -0.013754051178693771, 0.0026329869870096445, -0.02162175253033638, 0.04428227245807648, 0.03160546347498894, 0.011349496431648731, -0.02002512849867344, -0.03156698867678642, 0.006381687242537737, 0.04289725050330162, 0.04924527555704117, 0.03647227957844734, -0.008074494078755379, -0.007949456572532654, -0.03183630108833313, -0.021756408736109734, 0.03185553848743439, 0.008853569626808167, -0.024084016680717468, 0.016754934564232826, 0.06694279611110687, -0.05740152299404144, -0.017081953585147858, -0.039819419384002686, -0.04924527555704117, 0.04651369899511337, -0.045821189880371094, -0.009935618378221989, 0.03629915416240692, -0.07659948617219925, -0.02002512849867344, 0.09402769804000854, 0.04301266744732857, -0.05520856752991676, 0.1026456207036972, 0.018053393810987473, -0.022852884605526924, -0.041165970265865326, 0.06090255454182625, 0.03243263065814972, -0.06440358608961105, 0.01603356935083866, -0.039396218955516815, 0.059402111917734146, 0.05963294953107834, 0.0851789340376854, 0.06494220346212387, 0.021640989929437637, -0.05590108036994934, -0.003034547669813037, 0.010599276050925255, 0.04274335876107216, 0.004292129538953304, -0.08633311837911606, -0.019967420026659966, -0.0051649827510118484, -0.014908237382769585, -0.0007069389685057104, -0.031028369441628456, -0.013234667479991913, 0.012724901549518108, 0.0180630125105381, 0.01578349433839321, -0.038376688957214355, -0.010589657351374626, 0.028816180303692818, -0.07640711963176727, 0.022833649069070816, 0.06459595263004303, 0.002972029149532318, -0.00010339583968743682, -0.04443616420030594, -0.03641457110643387, 0.013638632372021675, -0.0445900559425354, -0.07756130397319794, 0.037376392632722855, 0.03691471740603447, 0.024026308208703995, -0.04205084592103958, -0.006934734992682934, -0.026123078539967537, -0.04524409398436546, -0.022333500906825066, -0.053746599704027176, 0.017457064241170883, 0.005520856939256191, 0.0318940095603466, -0.02508431114256382, 0.02929709106683731, -0.056016501039266586, 0.0012227159459143877, -0.058901965618133545, 0.035606641322374344, 0.03485642001032829, -0.02431485429406166, 0.03329826891422272, -0.0016170628368854523, 0.03572206199169159, 0.0346255823969841, -0.026161551475524902, -0.03506802022457123, 0.011397588066756725, -0.0022169991862028837, -0.026276970282197, 0.019717346876859665, -0.00777151994407177, -0.024180199950933456, 0.057132214307785034, 0.03489489480853081, 0.06436511129140854, -0.015898913145065308, -0.04866817966103554, 0.013744433410465717, -0.07244441658258438, -0.051053497940301895, -0.008396703749895096, -0.0891801118850708, -0.01287879329174757, -0.021487098187208176, 0.01143606100231409, -0.022429684177041054, -0.05640122666954994, -0.003602022537961602, -0.016841499134898186, -0.04947611317038536, -0.016062423586845398, -0.03808814287185669, -0.001801011268980801, 0.0577862523496151, 0.05682443082332611, 0.04220473766326904, 0.05667053908109665, -0.010512711480259895, 0.004058887716382742, 0.022448919713497162, -0.005039946176111698, -0.015254492871463299, -0.023256849497556686, 0.013071157969534397, 0.09926000237464905, 0.049630001187324524, 0.04786024987697601, -0.0298934206366539, 0.048168033361434937, -0.0015725785633549094, 0.011638043448328972, 0.021852590143680573, 0.00207032123580575, 0.03774188458919525, 0.011282169260084629, -0.0051938374526798725, -0.02854686975479126, -0.0025848960503935814, -0.04239710420370102, -0.0074108368717134, 0.027892831712961197, -0.03385612741112709, 0.005828639958053827, 0.07202121615409851, -0.06844323873519897, -0.001779370242729783, -0.02381470613181591, 0.00006266869604587555, 0.029258618131279945, 0.03531809523701668, -0.014234961941838264, -0.03726097568869591, 0.03951163962483406, 0.019909709692001343, -0.02821985073387623, 0.04405143857002258, -0.0014763964572921395, -0.0032966441940516233, -0.010964768007397652, -0.05440063774585724, 0.01114751398563385, -0.05844029039144516, -0.04786024987697601, 0.015745021402835846, -0.011801552958786488, -0.034741003066301346, 0.022256555035710335, -0.030682114884257317, 0.044205326586961746, -0.02439180016517639, -0.022179609164595604, 0.07063619047403336, 0.029508691281080246, 0.03916538134217262, -0.02887388877570629, -0.014908237382769585, 0.0053333016112446785, -0.0009918786818161607, -0.030682114884257317, -0.03616449981927872, -0.03826126828789711, -0.00781480222940445, -0.003092257073149085, -0.02152557112276554, -0.032317209988832474, -0.02870076149702072, 0.023622343316674232, -0.02650780789554119, 0.010964768007397652, 0.028431450948119164, 0.00250314106233418, -0.033567581325769424, -0.051553647965192795, 0.027469629421830177, 0.006598097272217274, -0.01571616716682911, 0.023429978638887405, -0.033471398055553436, 0.05059182643890381, 0.08571755886077881, 0.051630593836307526, 0.0024021498393267393, -0.027681229636073112, 0.0204290933907032, -0.0005049564060755074, 0.06728904694318771, -0.015552657656371593, 0.03283659368753433, 0.0013453481951728463, 0.018178431317210197, -0.008050448261201382, -0.037107083946466446, 0.009421044029295444, -0.013840614818036556, -0.01646638847887516, -0.04701384902000427, -0.06544235348701477, 0.05116891860961914, -0.1061081737279892, -0.0020090052857995033, -0.0398578941822052, -0.016908826306462288, -0.012388264760375023, 0.030874477699398994, 0.08417864143848419, 0.08802592754364014, 0.09187321364879608, 0.0239108894020319, 0.024468746036291122, -0.010676221922039986, 0.019640401005744934, 0.03766493871808052, -0.02760428376495838, -0.001346550416201353, -0.054862312972545624, 0.04574424400925636, 0.013128867372870445, -0.03962705656886101, 0.007502209860831499, -0.017851412296295166, 0.01670684479176998, 0.03056669607758522, -0.012099717743694782, 0.026392389088869095, 0.059171274304389954, 0.024084016680717468, 0.01783217489719391, 0.025276675820350647, -0.000847605406306684, -0.025218967348337173, -0.031624700874090195, 0.0046576219610869884, -0.0045518213883042336, 0.030682114884257317, 0.012936502695083618, -0.06082560867071152, 0.0675198882818222, -0.009017079137265682, -0.04747552052140236, 0.026392389088869095, 0.004087742418050766, 0.01985200121998787, -0.006583670154213905, 0.06001767888665199, 0.008281284943223, -0.039665527641773224, -0.022160373628139496, -0.08033135533332825, 0.01935185305774212, 0.03860752657055855, 0.00601619528606534, 0.00452056247740984, 0.01195544470101595, 0.0013778096763417125, -0.014475417323410511, 0.026411626487970352, 0.006073904223740101, -0.036106787621974945, 0.0038496917113661766, -0.03958858549594879, -0.021390916779637337, -0.05490078777074814, -0.019217198714613914, -0.013311613351106644, 0.03183630108833313, 0.025565221905708313, -0.046744536608457565, -0.006886643823236227, 0.08079303056001663, -0.04001178592443466, 0.007612819317728281, -0.07709963619709015, -0.0298934206366539, 0.0033110713120549917, 0.03281736001372337, 0.010329965502023697, -0.04955305904150009, -0.04482089355587959, -0.05001473054289818, -0.02523820288479328, 0.008843950927257538, -0.07152106612920761, 0.08248583227396011, -0.0029143199790269136, 0.010993623174726963, 0.018466977402567863, 0.031393863260746, 0.046398282051086426, 0.026623226702213287, -0.010445384308695793, -0.05997920408844948, -0.05559329688549042, -0.06474984437227249, 0.04139680787920952, -0.026738645508885384, 0.0033615671563893557, -0.025776823982596397, -0.05320797860622406, 0.0034914130810648203, -0.05590108036994934, -0.003830455243587494, 0.05243852362036705, 0.004696094896644354, 0.02466111071407795, -0.07167495787143707, -0.03658770024776459, -0.002921533538028598, 0.02094847708940506, 0.019553836435079575, 0.0036308772396296263, 0.029508691281080246, 0.04466700181365013, -0.03783806785941124, -0.03881912678480148, 0.03993484005331993, 0.006684661377221346, 0.03420238196849823, -0.039126910269260406, 0.0034721766132861376, 0.01254215557128191, 0.03572206199169159, -0.007617628201842308, -0.016764553263783455, 0.01321543101221323, -0.03160546347498894, -0.01926529034972191, 0.040742769837379456, 0.03647227957844734, -0.014937091618776321, -0.0075118280947208405, 0.012590247206389904, -0.0013766074553132057, 0.01195544470101595, -0.025103548541665077, -0.002344440435990691, 0.04189695417881012, -0.00620855949819088, 0.04989931359887123, 0.03295201435685158, 0.0036861819680780172, -0.0008229587692767382, -0.008858378045260906, -0.013946415856480598, -0.021429389715194702, -0.0033447351306676865, -0.05609344691038132, -0.013734814710915089, 0.0016531310975551605, 0.03993484005331993, 0.06205673888325691, 0.016264405101537704, -0.0690203309059143, 0.04570576921105385, 0.028181377798318863, -0.016447152942419052, -0.07290609180927277, -0.01422534417361021, 0.0007862892816774547, 0.041512228548526764, -0.07336776703596115, 0.056285809725522995, -0.005424674600362778, 0.0032629803754389286, -0.02304524928331375, -0.008074494078755379, 0.001087459735572338, 0.023603105917572975, 0.06290314346551895, -0.04855276271700859, -0.028566107153892517, 0.004869222640991211, -0.0346255823969841, -0.03149004280567169, 0.01612013205885887, 0.01698577217757702, -0.004349838942289352, -0.0013742028968408704, 0.04374365508556366, 0.03345216065645218, 0.01647600717842579, -0.0000772463099565357, -0.05378507450222969, -0.008637159131467342, 0.04339739680290222, -0.002292742719873786, 0.03970400243997574, 0.02000589296221733, -0.013100012205541134, 0.03174011781811714, -0.02635391615331173, -0.0007898961193859577, 0.060594771057367325, -0.011253315024077892, -0.004934145603328943, 0.016187461093068123, -0.0455903522670269, -0.029874183237552643, 0.00035797804594039917, -0.03206713870167732, 0.01808224990963936, 0.058901965618133545, 0.03472176566720009, 0.02060222253203392, 0.03647227957844734, -0.053669653832912445, 0.004087742418050766, -0.029277853667736053, 0.027161845937371254, -0.04678301140666008, -0.0003417473053559661, 0.011974681168794632, -0.010733931325376034, 0.04147375375032425, -0.018005304038524628, 0.06748141348361969, 0.036626171320676804, 0.008074494078755379, -0.03726097568869591, -0.011195605620741844, 0.026969483122229576, 0.002791687613353133, 0.02254510298371315, 0.03564511612057686, -0.0797157883644104, -0.0006179704796522856, -0.041743066161870956, 0.05701679363846779, -0.06855865567922592, -0.015725785866379738, 0.008637159131467342, 0.0690203309059143, 0.04836039990186691, 0.028931599110364914, 0.06321092694997787, -0.0004905291134491563, 0.022987540811300278, -0.014552363194525242, -0.03333674371242523, 0.012647956609725952, -0.01578349433839321, 0.01042614784091711, 0.021063895896077156, -0.027738939970731735, 0.03524114936590195, -0.024603400379419327, 0.010801258496940136, -0.0389922559261322, -0.05517009645700455, 0.019832763820886612, 0.0053333016112446785, 0.0059488676488399506, 0.005092846229672432, 0.035837478935718536, -0.06436511129140854, -0.05951752886176109, -0.014600453898310661, -0.0030297385528683662, 0.04570576921105385, 0.03235568478703499, 0.03445245698094368, 0.011041713878512383, -0.030932188034057617, -0.01143606100231409, -0.03791501373052597, -0.04401296377182007, -0.003217293880879879, -0.04078124091029167, -0.012638337910175323, 0.03808814287185669, 0.01540838461369276, 0.027084900066256523, -0.0022278197575360537, -0.050630297511816025, 0.050360988825559616, -0.005338110961019993, -0.056555118411779404, -0.06794308871030807, 0.008699677884578705, -0.012609483674168587, -0.044205326586961746, -0.036279916763305664, -0.06636570394039154, 0.03722250089049339, -0.05093808099627495, -0.01646638847887516, 0.024045543745160103, -0.012243990786373615, -0.026892537251114845, -0.07559919357299805, -0.02169869840145111, -0.0036933955270797014, -0.004486898425966501, 0.03387536108493805, -0.0007436084561049938, 0.03287506848573685, 0.026219261810183525, -0.055785663425922394, 0.002476691035553813, 0.026046132668852806, 0.04859123378992081, -0.024372562766075134, -0.04020414873957634, -0.007829229347407818, 0.03577977046370506, 0.07086702436208725, 0.027046427130699158, -0.005689175799489021, -0.0060594771057367325, -0.013234667479991913, -0.019101779907941818, 0.04820650815963745, -0.02221808210015297, 0.002293944824486971, -0.02762352116405964, -0.04543646052479744, -0.08156248182058334, 0.0056410846300423145, -0.040665823966264725, 0.04435921832919121, -0.05220768600702286, 0.04520562291145325, -0.028931599110364914, 0.009531653486192226, -0.06036393344402313, -0.04020414873957634, -0.012763374485075474, -0.031547755002975464, 0.02389165200293064, 0.043281979858875275, 0.018111104145646095, 0.02972029335796833, -0.06748141348361969, 0.013225048780441284, -0.022333500906825066, -0.06505762040615082, 0.0163798239082098, 0.08379390835762024, -0.005429483950138092, 0.06105644628405571, 0.018976744264364243, -0.0050543732941150665, 0.01698577217757702, 0.04062735289335251, 0.0008157450938597322, -0.028258323669433594, 0.01148415170609951, 0.01679340749979019, 0.03524114936590195, -0.02025596611201763, 0.013754051178693771 ]
54,515
nbconvert.exporters.pdf
run_latex
Run xelatex self.latex_count times.
def run_latex(self, filename, raise_on_failure=LatexFailed): """Run xelatex self.latex_count times.""" def log_error(command, out): self.log.critical("%s failed: %s\n%s", command[0], command, out) return self.run_command( self.latex_command, filename, self.latex_count, log_error, raise_on_failure )
(self, filename, raise_on_failure=<class 'nbconvert.exporters.pdf.LatexFailed'>)
[ 0.06189988553524017, -0.023000292479991913, 0.0592673234641552, 0.10765799880027771, 0.044926777482032776, 0.044718943536281586, -0.06491348147392273, -0.043471939861774445, 0.022931015118956566, 0.0507807694375515, 0.04773253574967384, -0.03257797658443451, 0.05247807875275612, 0.008330678567290306, -0.0034032813273370266, -0.044130079448223114, 0.012608594261109829, 0.002905345754697919, -0.04489213973283768, 0.008218102157115936, -0.01616775058209896, 0.0591634064912796, 0.027035735547542572, -0.018982170149683952, 0.003719362197443843, 0.016670016571879387, 0.01353518757969141, 0.002675862517207861, 0.04783645272254944, -0.049395207315683365, -0.031209735199809074, 0.011205715127289295, -0.027226250618696213, 0.011586744338274002, -0.028421295806765556, 0.027139652520418167, -0.045792751014232635, -0.034552399069070816, 0.057015787810087204, 0.01663537696003914, 0.04970695823431015, 0.03178127855062485, 0.08001607656478882, 0.0211297869682312, -0.09269395470619202, -0.025754094123840332, -0.022705862298607826, -0.03508930280804634, -0.031400248408317566, -0.049637679010629654, 0.017085684463381767, -0.023762350901961327, 0.04274452105164528, -0.017596609890460968, 0.01006262842565775, 0.025113271549344063, -0.005927598103880882, 0.07475095242261887, 0.05559558793902397, -0.10710377246141434, 0.04361049458384514, -0.020800717175006866, -0.019952060654759407, 0.0009498661966063082, 0.05580342188477516, -0.009707578457891941, 0.0401812344789505, 0.000791825819760561, 0.027001097798347473, -0.027347486466169357, 0.03363446518778801, 0.009889433160424232, -0.0045247189700603485, -0.05324013531208038, 0.030949942767620087, 0.0485985092818737, -0.08625110238790512, -0.004632965661585331, 0.02351987734436989, 0.03581672161817551, -0.00623501930385828, -0.005156880710273981, 0.025650177150964737, 0.05798567831516266, 0.031001901254057884, -0.04153215512633324, 0.05556095018982887, -0.01882629469037056, -0.022099679335951805, 0.04509997367858887, 0.013223436661064625, 0.05008798837661743, 0.0021833390928804874, -0.04066618159413338, -0.0065554301254451275, -0.016332287341356277, 0.04613914340734482, -0.005377704277634621, 0.005793372169137001, 0.004308225121349096, 0.019848143681883812, 0.06189988553524017, 0.08583543449640274, -0.016799913719296455, -0.009802835993468761, 0.024784201756119728, -0.01820279285311699, -0.029893454164266586, 0.05978690832853317, 0.005039973650127649, -0.06702645868062973, 0.0016691666096448898, 0.0017416919581592083, -0.025321105495095253, -0.02409142069518566, -0.056600119918584824, -0.025684814900159836, 0.008729026652872562, -0.07073283195495605, 0.0100539680570364, 0.03472559154033661, -0.041151128709316254, -0.02199576236307621, 0.042813800275325775, -0.038587842136621475, 0.024680284783244133, 0.0022536995820701122, -0.0169211495667696, 0.11070623248815536, -0.0464855320751667, 0.017397435382008553, 0.012158287689089775, 0.059301961213350296, 0.0035548268351703882, 0.039696287363767624, -0.013846938498318195, 0.02836933732032776, -0.002710501430556178, -0.030101288110017776, 0.01925928145647049, 0.009231292642652988, 0.042398132383823395, 0.011413549073040485, 0.03167736157774925, -0.020454326644539833, 0.03510662168264389, -0.03273385018110275, 0.0026650377549231052, -0.012089009396731853, 0.017856402322649956, 0.0655369833111763, -0.008564491756260395, 0.03765258938074112, -0.034327246248722076, -0.021891845390200615, 0.022290194407105446, 0.01353518757969141, 0.03365178406238556, 0.03027448244392872, 0.007352126762270927, 0.0317639596760273, 0.047697898000478745, -0.05396755412220955, 0.012530656531453133, -0.037998978048563004, -0.035002704709768295, -0.1078658327460289, 0.039419177919626236, -0.009118715301156044, 0.03280312940478325, 0.05026118457317352, 0.036890529096126556, 0.028230780735611916, 0.02726089023053646, -0.032456740736961365, 0.03190251439809799, 0.009898092597723007, 0.04762861877679825, 0.021476177498698235, 0.042432770133018494, -0.025095952674746513, -0.020818036049604416, -0.02937386743724346, 0.013284054584801197, 0.026758624240756035, 0.017215581610798836, -0.0201079361140728, 0.04568883404135704, -0.010305101051926613, -0.03619775176048279, 0.05472961440682411, -0.015804041177034378, 0.03526249900460243, -0.007988618686795235, -0.02662006765604019, -0.0012221070937812328, -0.04333338513970375, -0.03678661212325096, -0.011768599040806293, -0.0017590115312486887, -0.06203844025731087, 0.03553960844874382, 0.02306957170367241, -0.05095396190881729, -0.02982417494058609, -0.01057355385273695, 0.0002757588808890432, 0.012227565050125122, -0.05455641821026802, -0.011552104726433754, 0.03067283146083355, -0.021493496373295784, -0.05393291637301445, 0.0971970185637474, 0.025303786620497704, -0.055734142661094666, 0.033721063286066055, -0.006347596179693937, -0.005620176903903484, -0.027624599635601044, 0.030551593750715256, 0.022982973605394363, -0.015518270432949066, 0.0026780273765325546, 0.005988216493278742, 0.014825490303337574, 0.09788980334997177, 0.07260333746671677, 0.009750877507030964, 0.026481512933969498, -0.02048896625638008, -0.011188395321369171, 0.041774630546569824, -0.026117803528904915, 0.003981319721788168, -0.10516399145126343, 0.004962035920470953, 0.09047705680131912, 0.026516150683164597, 0.023554516956210136, -0.018687738105654716, 0.03727155923843384, 0.07385034114122391, -0.03207571059465408, -0.008590470999479294, 0.025234509259462357, -0.015007345005869865, 0.08174803107976913, -0.10315492749214172, 0.015275796875357628, 0.05154282599687576, -0.046208418905735016, 0.007243880070745945, 0.027347486466169357, -0.01397683471441269, 0.03365178406238556, -0.02809222601354122, -0.03363446518778801, 0.04845995455980301, 0.015804041177034378, 0.06148421764373779, 0.054279305040836334, -0.03107117861509323, -0.00507461279630661, -0.00713996309787035, -0.02391822636127472, -0.07440456002950668, 0.03408477082848549, 0.03276849165558815, 0.035401053726673126, -0.03127901256084442, 0.07281117141246796, -0.0034833839163184166, -0.012089009396731853, -0.023000292479991913, 0.0179776381701231, -0.004472760483622551, 0.014418481849133968, -0.0015003015287220478, 0.041774630546569824, 0.02537306398153305, 0.017943000420928, 0.009759536944329739, -0.0327858105301857, -0.004373173229396343, -0.03474291414022446, -0.019155364483594894, 0.05802031606435776, -0.018462585285305977, -0.030586233362555504, 0.009491085074841976, 0.023208126425743103, 0.08070886135101318, -0.048771705478429794, -0.039280619472265244, -0.055491670966148376, -0.048356037586927414, -0.011993751861155033, -0.01880897395312786, 0.020592883229255676, 0.00593192782253027, -0.02391822636127472, 0.014288585633039474, -0.03448311984539032, -0.050018709152936935, -0.0049100774340331554, -0.024403171613812447, 0.0011679836316034198, 0.031227054074406624, 0.004728222731500864, -0.0100539680570364, 0.04506533220410347, -0.07322683930397034, 0.0062393490225076675, 0.03316683694720268, 0.008858922868967056, 0.024403171613812447, 0.000512819504365325, 0.005195849575102329, -0.02137226052582264, -0.016860531643033028, -0.007637898437678814, 0.03448311984539032, 0.00628264807164669, 0.05178529769182205, -0.0031759629491716623, 0.06674934178590775, -0.015855999663472176, 0.01597723737359047, -0.03129633143544197, 0.03342663124203682, 0.013760341331362724, 0.016851872205734253, -0.05944051593542099, -0.05860918015241623, -0.05649620294570923, 0.018341347575187683, 0.015665486454963684, 0.023623794317245483, -0.026083163917064667, -0.02431657537817955, -0.00555089907720685, -0.07475095242261887, -0.03091530315577984, -0.006278317887336016, 0.020385049283504486, -0.020437007769942284, -0.052166327834129333, -0.0013087046099826694, -0.08160947263240814, 0.0028274080250412226, 0.04742078483104706, -0.008919541724026203, -0.009993350133299828, -0.032907046377658844, -0.015700124204158783, 0.016254348680377007, -0.02135494165122509, -0.03869175910949707, -0.030170565471053123, -0.055734142661094666, -0.017163623124361038, -0.07308828085660934, -0.033963534981012344, -0.023156167939305305, -0.03515858203172684, 0.024645645171403885, -0.053794361650943756, -0.013769000768661499, 0.04672800377011299, 0.01924196258187294, 0.02412606030702591, -0.07502806186676025, 0.029858814552426338, 0.030309122055768967, -0.0057327537797391415, -0.05230488255620003, -0.0004503069503698498, -0.030118606984615326, -0.04669336602091789, -0.011456848122179508, -0.03716764226555824, 0.010521595366299152, -0.030516956001520157, -0.027330167591571808, -0.0163582656532526, -0.02372771129012108, -0.013803639449179173, -0.0011853030882775784, -0.003996474202722311, 0.01703372597694397, -0.012140967883169651, 0.03834536671638489, -0.027399444952607155, 0.002155194990336895, 0.017025066539645195, -0.0011701486073434353, 0.021302983164787292, 0.020367728546261787, 0.03223158419132233, -0.03197179362177849, 0.0974048525094986, -0.01567414589226246, 0.021216385066509247, 0.013587146066129208, 0.04142823815345764, 0.016886509954929352, -0.035193219780921936, -0.02028113231062889, 0.07211838662624359, -0.03178127855062485, 0.03046499751508236, -0.06619512289762497, -0.049152735620737076, -0.062073081731796265, -0.0016464347718283534, -0.0019527734257280827, -0.05209704861044884, -0.004563687834888697, -0.003048231592401862, -0.023121530190110207, 0.03429260477423668, 0.06508667021989822, 0.08174803107976913, 0.022532666102051735, 0.022082360461354256, 0.0012231895234435797, -0.05580342188477516, -0.003078540787100792, 0.0306381918489933, -0.07246477901935577, -0.02429925464093685, -0.012314163148403168, 0.0719105526804924, 0.043714411556720734, -0.032058391720056534, -0.05324013531208038, 0.020800717175006866, -0.04267524182796478, -0.011240353807806969, 0.04319482669234276, 0.01068613026291132, 0.035435691475868225, 0.0010938345221802592, 0.053621165454387665, 0.039280619472265244, 0.030326440930366516, -0.039453815668821335, -0.052824467420578, 0.024784201756119728, 0.013448590412735939, 0.02028113231062889, 0.03931526094675064, -0.014002813957631588, 0.031019220128655434, -0.024593686684966087, -0.057847123593091965, -0.028421295806765556, 0.003217096673324704, 0.04638161510229111, -0.04634697735309601, 0.008265729993581772, 0.005070283077657223, -0.02435121312737465, -0.008040577173233032, -0.09685063362121582, -0.04762861877679825, 0.05840134620666504, -0.010538914240896702, -0.062488749623298645, 0.020818036049604416, -0.002645553322508931, -0.006745944265276194, -0.025892648845911026, -0.025528939440846443, -0.014124050736427307, -0.016981767490506172, -0.014210647903382778, 0.03295900300145149, -0.04153215512633324, -0.005607187282294035, 0.025217188522219658, 0.039661649614572525, -0.0026823573280125856, 0.02597924694418907, 0.0057327537797391415, 0.044268637895584106, -0.04316018894314766, -0.005018324591219425, -0.03675197437405586, -0.009768196381628513, 0.032041072845458984, 0.04787109047174454, -0.007486353162676096, -0.03299364447593689, -0.05112715810537338, -0.0020566903986036777, 0.001962515525519848, 0.0006570584373548627, -0.03574744239449501, 0.024385852739214897, -0.020800717175006866, -0.004154514521360397, 0.0613456629216671, 0.033738382160663605, 0.09165478497743607, 0.01650548167526722, 0.0036868881434202194, -0.013292714953422546, -0.053794361650943756, -0.059717629104852676, 0.00020052731269970536, 0.0005996876279823482, -0.0084605747833848, -0.009014798328280449, -0.018757015466690063, 0.02390090748667717, -0.013846938498318195, 0.009950051084160805, 0.04077009856700897, -0.01385559793561697, 0.007940989919006824, -0.056357644498348236, 0.0007582692778669298, 0.022688541561365128, -0.00006244490941753611, 0.01057355385273695, 0.023156167939305305, 0.04000803828239441, 0.07585939764976501, 0.00003646566256065853, -0.07135633379220963, 0.029893454164266586, -0.030291801318526268, -0.002303493209183216, -0.01186385564506054, -0.03553960844874382, -0.016609398648142815, 0.024385852739214897, -0.02303493209183216, -0.008824284188449383, 0.021891845390200615, 0.039834845811128616, -0.023952865973114967, -0.021718651056289673, -0.03772186487913132, 0.021441537886857986, 0.0000658952776575461, 0.04839067533612251, 0.02901015803217888, -0.003292869543656707, 0.009603661485016346, 0.00813150405883789, -0.008767995983362198, -0.034327246248722076, 0.07090602070093155, 0.02135494165122509, 0.03716764226555824, -0.013240756466984749, -0.005672135390341282, 0.03112313710153103, -0.005304096266627312, 0.08264864236116409, -0.043852970004081726, 0.01775248534977436, -0.010720768943428993, 0.04118576645851135, -0.0050962623208761215, 0.017613928765058517, -0.03637094423174858, 0.0023706061765551567, 0.022532666102051735, 0.02391822636127472, 0.008793975226581097, -0.0306381918489933, -0.0201079361140728, 0.02561553753912449, -0.042605966329574585, -0.008677068166434765, -0.0072958385571837425, -0.029928091913461685, -0.04593130946159363, -0.03792969882488251, 0.023104209452867508, -0.024922756478190422, 0.03297632560133934, -0.03451775759458542, 0.003217096673324704, -0.029114075005054474, -0.0010775974951684475, -0.03993876278400421, -0.009603661485016346, -0.05147354677319527, 0.022099679335951805, -0.009768196381628513, 0.06034113094210625, 0.04042370617389679, 0.018774336203932762, -0.0029573042411357164, -0.008551501668989658, -0.026758624240756035, 0.06041041016578674, 0.005109251942485571, 0.031019220128655434, -0.029443146660923958, 0.01661805808544159, 0.0528937466442585, -0.0025134920142591, -0.017605269327759743, -0.0084605747833848, -0.055941976606845856, -0.011171076446771622, -0.021735969930887222, -0.025234509259462357, -0.05306694284081459, -0.022896375507116318, 0.00734779704362154, 0.054902806878089905, -0.0016215379582718015, -0.00644285324960947, -0.018687738105654716, 0.0380336157977581, -0.05168138071894646, 0.003972659818828106, 0.03786042332649231, 0.04520389065146446, 0.05684259161353111, 0.014981365762650967, 0.01769186742603779, 0.011855196207761765, -0.012747150845825672, 0.04246740788221359, 0.03406745195388794, -0.02771119587123394, 0.07343467324972153, -0.04568883404135704, -0.007819753140211105, 0.053413331508636475, -0.01490342803299427, -0.03538373485207558, -0.017103003337979317, -0.011326951906085014, -0.028888922184705734, -0.03304560109972954, 0.04994943365454674, -0.027156973257660866, -0.023000292479991913, 0.011699320748448372, 0.06664542853832245, 0.005879969336092472, 0.043264105916023254, -0.013621784746646881, 0.033721063286066055, -0.007443054113537073, -0.0028772016521543264, -0.018774336203932762, -0.04191318526864052, -0.05091932415962219, 0.00919665303081274, -0.015388374216854572, -0.007711506448686123, -0.0018261244986206293, -0.03581672161817551, 0.0017048880690708756, 0.02329472452402115, -0.06910479813814163, 0.039488453418016434, -0.04402616247534752, -0.032699212431907654, 0.03243941813707352, 0.0020415359176695347, -0.01922464184463024, -0.03429260477423668, -0.02135494165122509, 0.05123107507824898, 0.003093695268034935, 0.009776856750249863, -0.01858382113277912, 0.017605269327759743, -0.0024420490954071283, -0.04908345639705658, 0.011162416078150272, -0.028906241059303284, -0.03157344460487366, -0.0676499605178833, -0.052997663617134094, 0.0254077035933733, 0.014912087470293045, 0.009681599214673042, -0.02324276603758335, -0.1120225116610527, 0.08632037788629532, -0.026169762015342712, -0.034379202872514725, -0.05673867464065552, -0.008443254977464676, -0.03765258938074112, -0.007096664048731327, -0.0005996876279823482, -0.03365178406238556, 0.017648568376898766, 0.021909164264798164, 0.02918335422873497, 0.0041934833861887455, -0.026914499700069427, -0.025026675313711166, -0.03959237039089203, -0.025858011096715927, -0.016063833609223366, -0.03444848209619522, 0.04395688697695732, -0.010261802934110165, 0.03706372529268265, 0.07281117141246796, -0.028663769364356995, 0.012452718801796436, 0.013336013071238995, 0.013985494151711464, -0.004152349662035704, 0.008330678567290306, 0.013526528142392635, 0.03581672161817551, 0.017276199534535408, -0.011231694370508194, -0.02999737113714218, -0.007196251302957535, -0.019190004095435143, -0.03356518596410751, 0.0528937466442585, 0.004667604807764292, 0.02050628513097763, -0.033721063286066055, -0.01769186742603779, -0.037998978048563004, -0.05202777311205864, -0.00898881908506155, -0.04714367166161537, -0.03616311028599739, 0.020367728546261787, -0.07461239397525787, -0.011794578284025192, -0.052963025867938995, -0.04059690237045288, -0.03401549533009529, 0.019519073888659477, 0.042605966329574585, 0.003877402516081929, 0.07336539030075073, 0.03235282376408577, -0.02365843392908573, -0.02980685606598854, 0.015925278887152672, -0.026083163917064667, 0.05355188623070717, 0.05091932415962219, -0.003998639062047005, 0.040042679756879807, 0.007789444178342819, 0.02667202614247799, 0.025684814900159836, 0.052166327834129333, -0.03337467089295387, -0.04270988330245018, 0.005048633553087711, 0.002242875052616, -0.051923856139183044, 0.01988278329372406, 0.0612763836979866 ]
54,527
nbconvert.exporters.python
PythonExporter
Exports a Python code file. Note that the file produced will have a shebang of '#!/usr/bin/env python' regardless of the actual python version used in the notebook.
class PythonExporter(TemplateExporter): """ Exports a Python code file. Note that the file produced will have a shebang of '#!/usr/bin/env python' regardless of the actual python version used in the notebook. """ @default("file_extension") def _file_extension_default(self): return ".py" @default("template_name") def _template_name_default(self): return "python" output_mimetype = "text/x-python"
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ 0.03189968690276146, -0.08849941939115524, 0.012758061289787292, -0.04424970969557762, 0.052120354026556015, -0.010101265273988247, -0.03278831019997597, 0.06564915925264359, -0.05397013574838638, -0.04025997966527939, 0.06390818953514099, 0.0013794030528515577, -0.021345043554902077, 0.03888171166181564, 0.005581085104495287, -0.04029625281691551, 0.04424970969557762, 0.032697632908821106, 0.03228052705526352, -0.030739039182662964, -0.039570845663547516, -0.03888171166181564, 0.03701379522681236, 0.019604071974754333, -0.012712723575532436, -0.01594984345138073, 0.022759584710001945, -0.06296516209840775, -0.0014553439104929566, -0.017563870176672935, -0.0315188504755497, -0.12281107902526855, -0.026876257732510567, 0.042109765112400055, 0.09734936058521271, 0.008927016519010067, -0.055711109191179276, 0.08015725761651993, -0.04123927652835846, -0.009838306345045567, 0.059301864355802536, -0.031355634331703186, 0.0027293364983052015, -0.059374403208494186, -0.03264322876930237, 0.020510828122496605, -0.02382955700159073, -0.04167452082037926, 0.024101583287119865, -0.010545575991272926, 0.003033099928870797, -0.010971751995384693, 0.028073176741600037, 0.06126045808196068, -0.029179418459534645, 0.038736630231142044, 0.04065895453095436, 0.05792359635233879, -0.047550301998853683, 0.03899052366614342, -0.018624775111675262, 0.013456263579428196, 0.0036224916111677885, -0.049472626298666, 0.02780114859342575, 0.057343270629644394, 0.0014553439104929566, 0.015423925593495369, -0.044431060552597046, 0.0084645701572299, -0.0011090763146057725, -0.04784046486020088, 0.03924441337585449, 0.008985955268144608, 0.08305887877941132, -0.02150825969874859, -0.10489357262849808, 0.00938492827117443, -0.005508544854819775, 0.024192258715629578, 0.07261304557323456, -0.04149316996335983, -0.04011490195989609, 0.011370724067091942, 0.03518214449286461, -0.05567483976483345, 0.0169291403144598, -0.00047378017916344106, 0.022505691275000572, 0.04751403257250786, -0.007739165332168341, -0.051830191165208817, 0.00881367176771164, 0.013809898868203163, 0.0361977145075798, -0.08835433423519135, 0.045555438846349716, 0.009393995627760887, 0.01738251931965351, 0.0017421055817976594, 0.028200121596455574, 0.021562665700912476, 0.018144194036722183, -0.033296093344688416, -0.011597413569688797, 0.014000318013131618, -0.010844806209206581, 0.07761834561824799, -0.034257255494594574, -0.055856190621852875, -0.030213121324777603, 0.0005803240346722305, -0.03610703721642494, -0.0853801742196083, 0.00907663069665432, 0.005168511066585779, -0.000589958333875984, 0.018289275467395782, 0.039715927094221115, -0.010581846348941326, -0.0491824634373188, 0.02615085244178772, -0.06572169810533524, 0.010754129849374294, 0.021689612418413162, 0.024373609572649002, 0.01774522103369236, -0.0060934023931622505, -0.014625979587435722, -0.003266589716076851, -0.0048420787788927555, 0.03282457962632179, -0.07551466673612595, -0.007476205937564373, 0.024409880861639977, 0.015677817165851593, -0.04036879166960716, 0.04551916942000389, 0.018733585253357887, 0.11272794753313065, -0.011497669853270054, -0.08197077363729477, 0.038156308233737946, 0.05059700459241867, 0.0094846710562706, 0.009357725270092487, -0.013021021150052547, 0.049653977155685425, -0.024754447862505913, 0.005612821783870459, 0.011805967427790165, 0.0311561468988657, -0.018787991255521774, -0.021725881844758987, 0.018135126680135727, 0.0501980297267437, 0.025371043011546135, 0.03661482036113739, -0.0057987067848443985, -0.033731333911418915, 0.018787991255521774, 0.026132717728614807, 0.012993818148970604, 0.04269008710980415, -0.007489807438105345, 0.021018611267209053, -0.026713041588664055, -0.042472466826438904, 0.010772265493869781, -0.00028421144816093147, -0.016802195459604263, -0.035145875066518784, -0.014616912230849266, 0.02883485145866871, 0.0750068873167038, 0.021399449557065964, 0.03585314378142357, 0.05052446201443672, 0.039933547377586365, -0.015895439311861992, -0.00464032543823123, -0.03594382107257843, -0.07863391190767288, 0.061768241226673126, 0.03549044206738472, 0.009357725270092487, 0.0220341794192791, -0.015986114740371704, 0.02061963826417923, 0.023938367143273354, 0.008550711907446384, 0.006474240217357874, 0.00942119862884283, 0.011162170208990574, -0.009171840734779835, -0.04036879166960716, -0.013256778009235859, -0.03753971308469772, -0.049799058586359024, -0.0008132471120916307, -0.05679921805858612, 0.014290479943156242, 0.03681430593132973, 0.007145239971578121, -0.013945912010967731, 0.026930663734674454, 0.02899806760251522, -0.0028925526421517134, -0.06394445896148682, -0.018661044538021088, 0.022070448845624924, -0.0029446911066770554, 0.03189968690276146, 0.07522450387477875, 0.009081164374947548, -0.01311169657856226, 0.012513237074017525, 0.042545005679130554, -0.03349557891488075, -0.022541962563991547, 0.01192384585738182, 0.036578550934791565, -0.0018055785913020372, 0.028780445456504822, 0.07181510329246521, -0.05306338146328926, 0.0372132807970047, -0.02002117969095707, -0.0036632956471294165, -0.02294093556702137, -0.006265686359256506, -0.006437969859689474, 0.023775150999426842, 0.04522900655865669, -0.022832123562693596, -0.002163747325539589, -0.019114423543214798, -0.013927777297794819, -0.09684157371520996, 0.03790241479873657, -0.01079946756362915, 0.07449910044670105, 0.007612219545990229, -0.044431060552597046, 0.05912051349878311, -0.055566027760505676, 0.0332779586315155, 0.061006564646959305, -0.04167452082037926, -0.011198440566658974, 0.034783173352479935, -0.021127423271536827, -0.01951339654624462, -0.019477125257253647, -0.009910847060382366, 0.04167452082037926, -0.014227006584405899, -0.03855527937412262, 0.0014134064549580216, 0.014109128154814243, -0.018144194036722183, -0.029995499178767204, -0.01644855923950672, -0.03465622663497925, 0.05999099835753441, -0.01965847797691822, -0.03474690392613411, 0.040622685104608536, 0.01671152003109455, 0.007662090938538313, 0.11425130069255829, 0.05299083888530731, -0.021018611267209053, -0.026205258443951607, -0.005068767815828323, -0.052192892879247665, 0.0220341794192791, 0.013238642364740372, -0.006356361787766218, 0.019785422831773758, 0.012549507431685925, -0.021127423271536827, -0.011026157066226006, 0.010173805989325047, 0.002281625522300601, 0.008546178229153156, -0.03855527937412262, -0.0007157707586884499, -0.005676294676959515, 0.010563711635768414, 0.01460784487426281, 0.04102165624499321, 0.011552075855433941, -0.0016786326887086034, -0.027384040877223015, -0.004261754918843508, 0.00023235630942508578, -0.03685057908296585, 0.037249550223350525, -0.014254209585487843, 0.009348657913506031, -0.03420284762978554, 0.030068039894104004, -0.045011382550001144, -0.046969976276159286, -0.01449903380125761, 0.01303915586322546, 0.014118196442723274, -0.044793762266635895, -0.005014362744987011, 0.03543603792786598, -0.010482103563845158, 0.01585010066628456, 0.004851146601140499, 0.003413937520235777, 0.02847214974462986, 0.0313737690448761, -0.010219143703579903, 0.00016321614384651184, 0.011343521997332573, -0.06826061755418777, -0.013401858508586884, 0.0036043564323335886, 0.038519009947776794, 0.004288957454264164, -0.06311023980379105, 0.040985386818647385, 0.010309819132089615, -0.007086300756782293, 0.07254050672054291, -0.02011185511946678, 0.030684635043144226, 0.046208303421735764, -0.00199033017270267, -0.0038922515232115984, -0.022016044706106186, 0.020202530547976494, 0.013021021150052547, -0.040985386818647385, -0.04272636026144028, -0.011679021641612053, 0.002949225017800927, 0.014272344298660755, 0.02339431270956993, -0.04055014252662659, -0.011488602496683598, -0.022813988849520683, 0.023575665429234505, 0.024010907858610153, -0.026132717728614807, 0.01318423729389906, 0.09328708797693253, -0.04994414001703262, 0.0071135032922029495, 0.01898747682571411, -0.08037488162517548, 0.011633683927357197, -0.04370565712451935, -0.06006354093551636, -0.033296093344688416, -0.012041724286973476, 0.0030058971606194973, -0.00622034864500165, 0.04508392512798309, -0.03318728134036064, -0.03211731091141701, 0.04519273713231087, 0.05806867405772209, 0.05879408121109009, 0.0013873372226953506, 0.009090232662856579, -0.014453696087002754, -0.024010907858610153, -0.007222314365208149, -0.0216714758425951, -0.05872153863310814, -0.045156463980674744, -0.013329317793250084, -0.0693124532699585, -0.04678862541913986, 0.03804749622941017, -0.02772860787808895, -0.016901938244700432, -0.042037222534418106, 0.00022640572569798678, -0.022070448845624924, 0.050778355449438095, 0.014952411875128746, -0.0550219751894474, -0.0429077111184597, -0.023140421137213707, -0.05799613520503044, -0.028200121596455574, 0.05110478773713112, 0.007544212508946657, -0.035309091210365295, -0.03064836375415325, 0.02861722931265831, 0.00883634015917778, 0.04189214110374451, 0.07101715356111526, 0.01520630344748497, 0.03518214449286461, 0.030321931466460228, 0.005680828355252743, -0.01196011621505022, 0.07943185418844223, -0.0750068873167038, 0.04171079024672508, 0.009965252131223679, 0.04900111258029938, -0.003030833089724183, -0.050633274018764496, -0.028363337740302086, 0.010454900562763214, 0.05027057230472565, -0.013610412366688251, -0.03714073821902275, 0.0076711587607860565, -0.045700520277023315, -0.004896484315395355, 0.0217440165579319, 0.0744265615940094, 0.04207349568605423, 0.036270253360271454, -0.01128004863858223, -0.009348657913506031, -0.013546939939260483, -0.03394895792007446, 0.03654228150844574, -0.038373928517103195, -0.10032352060079575, -0.035454172641038895, -0.007906915619969368, 0.047332681715488434, -0.03681430593132973, 0.006374496966600418, -0.051757652312517166, 0.029542122036218643, -0.01423607487231493, 0.008691259659826756, -0.015895439311861992, 0.019676612690091133, -0.024174124002456665, 0.010110333561897278, 0.03753971308469772, -0.06717251241207123, 0.016321614384651184, -0.037177011370658875, -0.025824420154094696, 0.04602695256471634, -0.01351973693817854, 0.04617203399538994, 0.002049269387498498, 0.03505520150065422, -0.062130942940711975, -0.0012433896772563457, -0.05110478773713112, 0.04787673428654671, -0.01039142720401287, -0.006478773895651102, 0.013465331867337227, 0.040078628808259964, -0.03917187452316284, 0.05059700459241867, -0.0872662290930748, -0.001988063333556056, -0.028943661600351334, 0.007104435935616493, 0.016348816454410553, 0.006564915645867586, -0.0017069687601178885, -0.014227006584405899, -0.03525468707084656, 0.00112551124766469, 0.07243169844150543, -0.018588505685329437, -0.02705760858952999, -0.021562665700912476, -0.027674203738570213, -0.04385073482990265, -0.0026001238729804754, 0.017418788745999336, 0.04609949141740799, -0.0094121303409338, 0.009294252842664719, 0.05672667548060417, -0.015977047383785248, 0.023938367143273354, -0.024482421576976776, -0.006669193040579557, 0.06419834494590759, -0.00014196403208188713, -0.017391586676239967, 0.004733268171548843, 0.028145717456936836, 0.06492375582456589, 0.032770175486803055, 0.0014394756872206926, -0.018570369109511375, 0.04744148999452591, -0.015868235379457474, 0.042254846543073654, -0.0036610288079828024, 0.04468495026230812, -0.03975219652056694, 0.0977846011519432, -0.012495102360844612, -0.047332681715488434, 0.02636847458779812, 0.011035224422812462, 0.0047060651704669, 0.019857963547110558, 0.0436331145465374, 0.015423925593495369, 0.021254368126392365, -0.009548144415020943, 0.019912369549274445, 0.02577001415193081, 0.030956661328673363, 0.004479376133531332, -0.04508392512798309, 0.00636996328830719, -0.008940617553889751, -0.009874576702713966, 0.04298024997115135, 0.02317669242620468, 0.035381633788347244, -0.04533781483769417, 0.1374642550945282, 0.01419980451464653, 0.03139190375804901, 0.011307251639664173, -0.040078628808259964, -0.0634729415178299, 0.05567483976483345, -0.05201154202222824, 0.05193900316953659, 0.04642592370510101, -0.03460182249546051, -0.017500396817922592, -0.019966773688793182, 0.025497987866401672, -0.050778355449438095, -0.0049690245650708675, -0.008686725981533527, -0.017681747674942017, -0.038519009947776794, 0.038011226803064346, 0.011905710212886333, 0.017056087031960487, -0.0276560690253973, -0.017300911247730255, 0.002885752124711871, -0.023775150999426842, 0.04497511312365532, -0.006637456361204386, 0.01094454899430275, 0.04769538342952728, 0.02749285288155079, 0.01168808899819851, 0.002136544557288289, 0.05534840747714043, -0.00036610287497751415, 0.04312533140182495, 0.08117282390594482, -0.004361498169600964, -0.06122418865561485, -0.061695702373981476, -0.07478926330804825, 0.00674173329025507, -0.0013102629454806447, 0.06775283068418503, -0.07243169844150543, -0.0013091294094920158, 0.015569006092846394, 0.053027112036943436, -0.005744301248341799, -0.002495846711099148, -0.018497828394174576, -0.07054564356803894, -0.019676612690091133, 0.008337624371051788, -0.0554572157561779, -0.05030684173107147, -0.02705760858952999, -0.016267208382487297, 0.014843600802123547, 0.032770175486803055, 0.03309660777449608, -0.0015709553845226765, -0.004116673953831196, 0.04914619401097298, -0.048166897147893906, 0.031954094767570496, 0.021163692697882652, -0.032480012625455856, 0.020873531699180603, 0.034184712916612625, -0.044503599405288696, 0.006365429610013962, 0.039933547377586365, -0.029251959174871445, -0.03467436134815216, 0.0497627891600132, -0.016938207671046257, 0.02502647414803505, -0.02011185511946678, -0.04809435456991196, -0.029796013608574867, -0.022578231990337372, -0.01505215559154749, -0.013465331867337227, 0.03153698518872261, -0.015197236090898514, 0.011914778500795364, 0.018697315827012062, -0.046280842274427414, -0.017137695103883743, -0.02404717728495598, -0.06510510295629501, 0.046679817140102386, -0.004393234383314848, -0.007281253580003977, 0.05328100174665451, -0.003105640411376953, 0.013701087795197964, 0.024754447862505913, 0.04055014252662659, 0.04025997966527939, -0.04269008710980415, -0.02995922975242138, 0.04722386971116066, 0.0013658017851412296, 0.06035370007157326, -0.0276560690253973, -0.007340192329138517, 0.002075338503345847, 0.03170020133256912, -0.04729640856385231, 0.033713199198246, -0.05904797092080116, 0.029632797464728355, -0.040006089955568314, -0.008949684910476208, 0.003105640411376953, 0.021852828562259674, 0.013610412366688251, 0.034474875777959824, -0.04395954683423042, -0.02517155557870865, 0.020528962835669518, -0.013501602225005627, -0.00220341794192791, -0.09140104055404663, 0.0496177077293396, -0.03153698518872261, -0.011606480926275253, 0.0311561468988657, -0.04969024658203125, 0.010890143923461437, -0.03503706306219101, 0.019168829545378685, 0.00406453525647521, 0.04468495026230812, -0.05926559492945671, -0.01987609826028347, -0.00920811016112566, 0.03480130806565285, -0.011035224422812462, 0.020565234124660492, 0.013927777297794819, 0.005254652816802263, -0.0628926157951355, -0.007181510329246521, -0.04214603453874588, -0.012159602716565132, -0.022995339706540108, -0.020946070551872253, -0.008854475803673267, -0.04780419543385506, -0.018026316538453102, -0.051358677446842194, 0.037467170506715775, -0.030521418899297714, 0.008695793338119984, 0.012077994644641876, 0.015442060306668282, -0.012821534648537636, -0.06506883352994919, -0.033151011914014816, 0.04765911400318146, -0.0036338260397315025, -0.044866304844617844, -0.0037018328439444304, 0.0006795005174353719, 0.02129063941538334, -0.02629593387246132, -0.06263872981071472, -0.014471830800175667, -0.028780445456504822, 0.00460405508056283, -0.006805206183344126, 0.038011226803064346, 0.02636847458779812, 0.01891493797302246, -0.013066358864307404, -0.014752925373613834, 0.007140706293284893, -0.031863417476415634, -0.013537871651351452, 0.013084493577480316, 0.0373583622276783, 0.03520027920603752, -0.023666340857744217, -0.03913560509681702, -0.046679817140102386, 0.05462300032377243, 0.029777878895401955, -0.021707747131586075, -0.022922800853848457, -0.002020933199673891, 0.019839828833937645, 0.01867918111383915, -0.0025298502296209335, -0.04787673428654671, -0.09002276510000229, -0.06691861897706985, 0.008854475803673267, 0.03182714805006981, 0.020420152693986893, -0.014898006804287434, -0.014789195731282234, 0.010246346704661846, 0.0497627891600132, -0.012277481146156788, -0.0036088901106268167, 0.022215530276298523, -0.045773059129714966, -0.042037222534418106, 0.011742494069039822, -0.019604071974754333, -0.03967965766787529, 0.00032869918504729867, 0.053825054317712784, 0.028381472453475, 0.026694906875491142, -0.0016038252506405115, 0.023593800142407417, 0.06739012897014618, 0.013329317793250084, 0.017355315387248993, -0.05513078346848488, 0.030684635043144226, 0.039353225380182266, -0.0035930220037698746, 0.01412726379930973, 0.010409562848508358, -0.07261304557323456, -0.0188968013972044, -0.008863543160259724, 0.009629752486944199, -0.022016044706106186, -0.06535899639129639, 0.042109765112400055, -0.01196011621505022, -0.010182873345911503, 0.00406453525647521 ]
54,576
nbconvert.exporters.qtpdf
QtPDFExporter
Writer designed to write to PDF files. This inherits from :class:`HTMLExporter`. It creates the HTML using the template machinery, and then uses pyqtwebengine to create a pdf.
class QtPDFExporter(QtExporter): """Writer designed to write to PDF files. This inherits from :class:`HTMLExporter`. It creates the HTML using the template machinery, and then uses pyqtwebengine to create a pdf. """ export_from_notebook = "PDF via HTML" format = "pdf" paginate = Bool( # type:ignore[assignment] True, help=""" Split generated notebook into multiple pages. If False, a PDF with one long page will be generated. Set to True to match behavior of LaTeX based PDF generator """, ).tag(config=True)
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ 0.01631757616996765, -0.03517838940024376, -0.04715203866362572, -0.04429321363568306, 0.01062777265906334, 0.005643393378704786, -0.019881824031472206, 0.0298320185393095, -0.06148328632116318, 0.031112920492887497, 0.06519604474306107, -0.00009789501200430095, 0.010479262098670006, 0.06066647917032242, -0.008557909168303013, -0.07002263516187668, 0.03452865779399872, 0.020587248727679253, 0.04989948123693466, -0.008887416683137417, -0.04187992215156555, 0.0014862638199701905, 0.018266774713993073, -0.012771890498697758, -0.0376102477312088, 0.013560852035880089, -0.001832014531828463, -0.03135424852371216, -0.028718190267682076, 0.0387612022459507, -0.033767543733119965, -0.029033774510025978, 0.03597663342952728, 0.04299374669790268, 0.06025807559490204, 0.028309786692261696, -0.017728423699736595, 0.031409941613674164, -0.019362038001418114, 0.04473874345421791, 0.014479760080575943, 0.00510968454182148, 0.05197862535715103, -0.07722538709640503, -0.006316331215202808, 0.01215000357478857, -0.02743728831410408, 0.019974643364548683, -0.03770306706428528, 0.02181245945394039, 0.04002354294061661, 0.007346621714532375, 0.007207393180578947, 0.004538847599178553, -0.002438818570226431, 0.07648283243179321, 0.05320383608341217, 0.03853843733668327, -0.018944352865219116, 0.013143166899681091, -0.023761657997965813, 0.005819749552756548, 0.06805486977100372, -0.0423254519701004, 0.02194240503013134, -0.011852982454001904, 0.051236074417829514, 0.000150250707520172, -0.06189168989658356, 0.0446273609995842, -0.014433350414037704, -0.06062935292720795, -0.007982431910932064, -0.005555215757340193, 0.03491849824786186, 0.04937969520688057, -0.06716381013393402, -0.025580909103155136, -0.006724734790623188, 0.020364481955766678, 0.06686678528785706, -0.009105540812015533, 0.016131937503814697, -0.014219867065548897, 0.04975096881389618, 0.05093905329704285, 0.012864709831774235, 0.012474870309233665, 0.05246128514409065, 0.0010778603609651327, 0.015185183845460415, -0.049602460116147995, 0.0176263228058815, -0.04674363508820534, -0.017041563987731934, -0.053835004568099976, 0.0005261675687506795, 0.00789889506995678, -0.06690391898155212, 0.005118966568261385, 0.004582936875522137, 0.00295164342969656, 0.02832834981381893, -0.026898939162492752, 0.0164475217461586, -0.052535537630319595, -0.01530584879219532, 0.04514714702963829, 0.016958026215434074, -0.041174497455358505, -0.009708864614367485, -0.00824696570634842, -0.01252127904444933, 0.0009142668568529189, -0.015556460246443748, 0.015686405822634697, -0.03928098827600479, -0.047968845814466476, 0.016716696321964264, -0.036737751215696335, -0.04596395418047905, 0.017969753593206406, -0.044553108513355255, -0.0014363735681399703, -0.01921352744102478, 0.020791450515389442, 0.038649819791316986, 0.01097120251506567, 0.02589649334549904, 0.03554966673254967, 0.02157112956047058, 0.04808022826910019, -0.056322552263736725, -0.04759756848216057, 0.056396808475255966, 0.004636307712644339, -0.010432852432131767, 0.03102010115981102, -0.015027391724288464, 0.0572507418692112, -0.0358281247317791, -0.048302993178367615, 0.0173385851085186, 0.04444172605872154, -0.0216082576662302, 0.05454042926430702, -0.026694737374782562, 0.039392370730638504, -0.058475952595472336, 0.0005400903755798936, -0.012994656339287758, 0.03928098827600479, 0.01315244846045971, -0.014071356505155563, 0.01721791923046112, 0.0035619281698018312, 0.025673728436231613, -0.0011532757198438048, 0.013662952929735184, 0.03181834518909454, 0.06415647268295288, -0.022165169939398766, -0.01042357087135315, 0.02780856378376484, -0.03272797167301178, 0.04210268706083298, -0.020178845152258873, -0.01599270850419998, -0.009708864614367485, 0.0323195680975914, 0.047894589602947235, -0.010172959417104721, -0.02157112956047058, 0.03545684739947319, -0.020457301288843155, 0.0295164342969656, 0.04733767732977867, 0.05101330578327179, -0.010451416485011578, -0.01941772922873497, 0.009077695198357105, -0.005578420124948025, -0.0071238563396036625, 0.036292217671871185, 0.05220139026641846, -0.01982613280415535, -0.014721089042723179, 0.06152041628956795, 0.059664037078619, -0.010107986629009247, -0.016169065609574318, -0.02821696735918522, -0.023111924529075623, -0.03020329400897026, -0.02242506481707096, -0.026713300496339798, 0.009124104864895344, -0.07774516940116882, 0.0032277798745781183, 0.07507198303937912, -0.019157836213707924, 0.013403059914708138, -0.007866407744586468, -0.01332880463451147, -0.007351262494921684, 0.015899889171123505, 0.0066783251240849495, -0.0065808650106191635, -0.04759756848216057, -0.0012321718968451023, 0.021236980333924294, -0.05528298020362854, 0.02300054207444191, 0.0754803866147995, 0.014702524989843369, -0.0025246760342270136, 0.006984627805650234, 0.01530584879219532, -0.0484515056014061, -0.011481706984341145, 0.033396266400814056, 0.013430905528366566, 0.022610701620578766, 0.03534546494483948, 0.022090915590524673, -0.019194964319467545, 0.07277007400989532, -0.0590328685939312, -0.013041066005825996, -0.052981071174144745, -0.0074904910288751125, 0.008432603441178799, 0.032542333006858826, 0.0625971183180809, 0.024077242240309715, -0.025859365239739418, -0.03538259118795395, -0.0037150795105844736, -0.0713963508605957, 0.03916960582137108, 0.002919156802818179, 0.03805577754974365, 0.03486280515789986, 0.0022021301556378603, 0.010460698045790195, -0.00030688272090628743, 0.00013357230636756867, 0.044515978544950485, 0.013839309103786945, 0.0016823438927531242, -0.010052294470369816, -0.05279543250799179, -0.06033233180642128, -0.05160734802484512, -0.006604069843888283, 0.01603911817073822, -0.0320039801299572, 0.012976092286407948, -0.007750384043902159, 0.013133884407579899, -0.025339579209685326, -0.03683056682348251, -0.02610069513320923, 0.0011196288978680968, 0.0828687772154808, -0.019677622243762016, -0.0005664858035743237, 0.010507107712328434, -0.02197953313589096, 0.06274562329053879, 0.1337335705757141, 0.024077242240309715, -0.032263875007629395, 0.008414040319621563, -0.00765292439609766, -0.057881910353899, -0.011815855279564857, 0.05606266111135483, -0.03540115803480148, -0.016466086730360985, 0.04937969520688057, -0.07677985727787018, -0.000598102284129709, -0.0010105666005983949, 0.013124602846801281, 0.0010273900115862489, 0.013551570475101471, 0.06189168989658356, 0.0520157516002655, -0.003362367395311594, -0.007295571267604828, 0.06114913895726204, -0.019677622243762016, -0.04355066269636154, -0.05361223965883255, -0.009462893940508366, -0.020550120621919632, -0.06445349752902985, -0.044998638331890106, 0.008530063554644585, 0.003436622442677617, 0.01734786666929722, 0.04848863184452057, 0.00045597320422530174, -0.03179977834224701, 0.008149505592882633, 0.009374716319143772, 0.022053787484765053, 0.05012224614620209, -0.04759756848216057, 0.04433033987879753, 0.004074752796441317, -0.008933826349675655, 0.02804989367723465, 0.0004197157977614552, 0.03508557006716728, 0.024522772058844566, -0.007782870903611183, -0.014591142535209656, 0.039021097123622894, -0.07258443534374237, 0.04544416815042496, -0.006037874147295952, -0.05027075484395027, 0.022814903408288956, -0.0007889612461440265, -0.0008156467229127884, 0.028272658586502075, -0.022406499832868576, 0.036459293216466904, -0.028235532343387604, 0.05286968871951103, 0.048711396753787994, -0.006460200529545546, 0.014618988148868084, -0.023835912346839905, 0.00012552316184155643, -0.02910803072154522, -0.04061758145689964, -0.05346372723579407, 0.04403332248330116, 0.006033233366906643, -0.01864733174443245, -0.004657192155718803, -0.05862446501851082, -0.012818300165235996, -0.05067915841937065, -0.03365616127848625, 0.07885900139808655, -0.005286040715873241, -0.02272208407521248, 0.0669410452246666, -0.022239426150918007, 0.02177533134818077, 0.0038287825882434845, -0.06812912970781326, -0.013570133596658707, -0.018452411517500877, -0.07796793431043625, -0.054206281900405884, -0.0005009323940612376, 0.04288236424326897, -0.05517159774899483, 0.04770895093679428, -0.027938511222600937, -0.02136692777276039, 0.001069158548489213, 0.029405049979686737, 0.03330344706773758, 0.021682512015104294, 0.013662952929735184, 0.00883636623620987, -0.0014038869412615895, 0.025061123073101044, 0.04306800290942192, -0.02576654776930809, -0.05067915841937065, 0.04603821039199829, -0.025209633633494377, -0.045332785695791245, -0.027530107647180557, -0.05461468547582626, -0.008418681100010872, -0.02088426984846592, -0.013848590664565563, -0.07314135134220123, 0.03386036306619644, 0.049973733723163605, 0.015129492618143559, -0.03402743488550186, 0.0033786105923354626, -0.029850581660866737, -0.06025807559490204, 0.01337521430104971, -0.020865704864263535, -0.0716562494635582, -0.01861020363867283, 0.06746082752943039, -0.06512179225683212, -0.002343679079785943, 0.059255633503198624, -0.0176263228058815, -0.013115321286022663, 0.05350085720419884, 0.013662952929735184, -0.01649393141269684, 0.06976273655891418, -0.03391605243086815, 0.024170059710741043, -0.016828080639243126, -0.002694070804864168, -0.04124874994158745, -0.09163089096546173, 0.03371185064315796, -0.003668669844046235, 0.01433124952018261, 0.018294619396328926, -0.08175495266914368, 0.030221857130527496, 0.030221857130527496, -0.0034737500827759504, 0.025543780997395515, 0.038686949759721756, 0.016586750745773315, 0.04811735451221466, -0.013161730021238327, -0.024801230058073997, 0.019603367894887924, 0.016883771866559982, 0.019956078380346298, -0.0074765682220458984, -0.06419359892606735, -0.05194149911403656, -0.007796793710440397, -0.027121704071760178, -0.00806132797151804, -0.006761861965060234, -0.01693946309387684, -0.002923797583207488, 0.0034134178422391415, 0.0346771702170372, -0.10447703301906586, -0.004731446970254183, -0.002937720390036702, 0.0349370613694191, -0.016419677063822746, 0.009184437803924084, -0.008511499501764774, -0.047114912420511246, 0.0019457177259027958, 0.03701620548963547, 0.036774877458810806, 0.018006881698966026, -0.061371903866529465, 0.0511246919631958, -0.07570315152406693, 0.052943941205739975, -0.09081408381462097, -0.003306675935164094, 0.06905731558799744, 0.06816625595092773, 0.03204111009836197, -0.031372811645269394, -0.019399166107177734, -0.007690052036195993, -0.03562392294406891, -0.018266774713993073, 0.0017299136379733682, -0.02361314743757248, 0.014006382785737514, 0.05223851650953293, 0.017682014033198357, -0.009416485205292702, -0.006506610196083784, -0.02251788228750229, 0.062225840985774994, -0.017886215820908546, -0.02589649334549904, -0.01673526130616665, -0.030110474675893784, -0.044478852301836014, -0.036979079246520996, 0.07577741146087646, 0.02548808977007866, -0.03512270003557205, -0.04221406951546669, 0.023223306983709335, -0.009718146175146103, 0.008414040319621563, 0.017375711351633072, 0.00144797598477453, -0.002506112214177847, 0.015203747898340225, -0.03166983276605606, 0.03788870573043823, 0.031614143401384354, 0.04228832572698593, 0.07158198952674866, -0.02528388798236847, -0.027901383116841316, 0.04124874994158745, -0.023316126316785812, 0.03244951367378235, 0.05056777596473694, 0.06545594334602356, -0.04926831275224686, 0.02548808977007866, 0.038575563579797745, -0.06504753977060318, 0.01455401536077261, 0.0015268721617758274, -0.04147151857614517, -0.008121659979224205, 0.04596395418047905, 0.01371864415705204, -0.033971745520830154, -0.036292217671871185, 0.004722165409475565, 0.01119396835565567, -0.017282892018556595, 0.027121704071760178, -0.005443832837045193, -0.01390428189188242, -0.08257175981998444, -0.023965859785676003, 0.007778230123221874, -0.0211627259850502, 0.04485012963414192, 0.019306346774101257, 0.021663948893547058, 0.011249659582972527, 0.030890153720974922, 0.04607533663511276, -0.047077782452106476, -0.0065576606430113316, 0.009950193576514721, -0.0484515056014061, 0.02532101608812809, 0.10893234610557556, -0.027530107647180557, 0.005986823700368404, 0.01607624627649784, -0.007165624760091305, -0.08450239151716232, 0.034751422703266144, 0.022852031514048576, 0.019733313471078873, -0.016271166503429413, 0.1104174479842186, 0.00003948432276956737, 0.036737751215696335, 0.014451914466917515, 0.048302993178367615, -0.009857375174760818, -0.004051547963172197, 0.07885900139808655, 0.006010028533637524, 0.025469526648521423, 0.07258443534374237, 0.012929682619869709, -0.004271993413567543, -0.004186135716736317, 0.03081589937210083, -0.011091867461800575, 0.04778320714831352, 0.03749886527657509, 0.021849585697054863, -0.05773340165615082, -0.06129765138030052, -0.0646391361951828, -0.014164174906909466, -0.0031071151606738567, -0.027548670768737793, -0.020735759288072586, -0.013180294074118137, -0.0060982066206634045, 0.015175902284681797, 0.005114325322210789, -0.054206281900405884, -0.014776780270040035, -0.018573077395558357, 0.023093361407518387, -0.01353300642222166, -0.0232047438621521, -0.005281399469822645, -0.008757470175623894, -0.015779225155711174, -0.005063274875283241, 0.0619659461081028, -0.003585132770240307, -0.02665760926902294, -0.029367923736572266, -0.021886713802814484, -0.10009597986936569, 0.05305532366037369, 0.06215158477425575, -0.05090192332863808, -0.04588970169425011, 0.022165169939398766, -0.06293126195669174, 0.02686181105673313, 0.06248573213815689, -0.011351760476827621, -0.03733178973197937, 0.058884356170892715, 0.00901736319065094, 0.008720342069864273, 0.024485645815730095, -0.027585798874497414, -0.018665894865989685, -0.005745494272559881, 0.010377161204814911, -0.003608337603509426, -0.020178845152258873, -0.07243592292070389, -0.014117766171693802, -0.041954174637794495, -0.04503576457500458, -0.05157022178173065, 0.02389160357415676, -0.0707651823759079, 0.05940414220094681, 0.010098704136908054, -0.012920401059091091, 0.007509055081754923, -0.0748492181301117, 0.03579099476337433, 0.018415283411741257, 0.030463187023997307, 0.0013226703740656376, 0.004617744125425816, 0.007532259449362755, 0.032338131219148636, -0.01433124952018261, 0.016428958624601364, -0.018016163259744644, -0.05442904680967331, 0.012326359748840332, -0.00028773880330845714, 0.001130651100538671, 0.016865206882357597, 0.04106311500072479, -0.03928098827600479, -0.049602460116147995, -0.011500271037220955, -0.016419677063822746, -0.02743728831410408, -0.029497869312763214, 0.0188051238656044, -0.04050619900226593, -0.026898939162492752, 0.01619691029191017, -0.03296929970383644, -0.00774574326351285, -0.05268405005335808, 0.0828687772154808, -0.0066968887113034725, 0.006033233366906643, 0.03243095055222511, 0.01174159999936819, 0.05053064972162247, -0.05056777596473694, 0.02764149010181427, -0.006636556703597307, 0.026323460042476654, -0.007625078782439232, 0.01100833062082529, 0.009147309698164463, -0.053426600992679596, -0.0295164342969656, -0.005815108772367239, 0.046186722815036774, -0.016874488443136215, -0.08851217478513718, 0.022053787484765053, -0.010414288379251957, -0.021719640120863914, -0.08398260921239853, -0.013254549354314804, -0.019473420456051826, -0.047931719571352005, -0.010497826151549816, -0.011676627211272717, 0.061037756502628326, -0.00608428381383419, 0.03386036306619644, 0.04136013612151146, -0.0016753824893385172, -0.0842796266078949, -0.04165715351700783, -0.02947930619120598, 0.03020329400897026, -0.0009774997597560287, -0.02780856378376484, 0.02866249904036522, -0.02157112956047058, 0.013319523073732853, -0.04600108414888382, -0.01840600185096264, -0.03207823634147644, -0.013403059914708138, 0.017273610457777977, 0.036700621247291565, 0.02430000714957714, 0.009718146175146103, -0.014591142535209656, 0.017041563987731934, -0.009226205758750439, 0.03501131758093834, -0.07499773055315018, 0.002958604833111167, 0.011258941143751144, 0.017895497381687164, 0.00007476278551621363, -0.0634881779551506, -0.0325794592499733, -0.009560354053974152, 0.06582721322774887, 0.04986235126852989, -0.025506652891635895, 0.017533503472805023, -0.029609251767396927, 0.002042017411440611, -0.04444172605872154, -0.03504844382405281, 0.007912817411124706, -0.09846236556768417, -0.03057456947863102, 0.0015407949686050415, 0.007806075736880302, 0.026045003905892372, 0.024151496589183807, -0.03122430294752121, -0.004717524163424969, -0.021645383909344673, -0.03618083521723747, 0.012363486923277378, 0.007578669115900993, -0.009462893940508366, -0.02389160357415676, 0.04084034636616707, -0.001347035402432084, -0.0005821490194648504, 0.022406499832868576, 0.07277007400989532, 0.041508644819259644, -0.024782665073871613, 0.03139137849211693, 0.006594787817448378, 0.015742097049951553, 0.0325794592499733, 0.027251649647951126, -0.0599239282310009, 0.04206555709242821, 0.007513695862144232, 0.004643269348889589, 0.05164447799324989, -0.0152687206864357, -0.07213890552520752, -0.021756768226623535, -0.025395270437002182, 0.047857463359832764, 0.007160983979701996, -0.01607624627649784, 0.0376102477312088, 0.03280222415924072, 0.022629264742136, 0.0010250695049762726 ]
54,582
nbconvert.exporters.qt_exporter
_check_launch_reqs
null
def _check_launch_reqs(self): if sys.platform.startswith("win") and self.format == "png": msg = "Exporting to PNG using Qt is currently not supported on Windows." raise RuntimeError(msg) from .qt_screenshot import QT_INSTALLED if not QT_INSTALLED: msg = ( f"PyQtWebEngine is not installed to support Qt {self.format.upper()} conversion. " f"Please install `nbconvert[qt{self.format}]` to enable." ) raise RuntimeError(msg) from .qt_screenshot import QtScreenshot return QtScreenshot
(self)
[ 0.042576853185892105, -0.08211793005466461, -0.024874446913599968, -0.046940792351961136, 0.004193175118416548, -0.010663187131285667, 0.03460792452096939, 0.03491150215268135, -0.029200436547398567, 0.021724821999669075, 0.06470011919736862, 0.08932790905237198, 0.06014644727110863, -0.01215261872857809, 0.0034626899287104607, -0.02009308710694313, 0.035632502287626266, 0.01820521056652069, 0.033033113926649094, 0.009733478538691998, -0.034380242228507996, -0.0034603180829435587, -0.0026610533241182566, 0.028896858915686607, 0.014970204792916775, 0.09957367926836014, 0.034228451550006866, 0.004684118088334799, -0.006626544985920191, 0.06098128855228424, -0.03551866114139557, 0.06067771092057228, 0.053733356297016144, 0.023394502699375153, 0.001847558538429439, 0.028707122430205345, 0.019229786470532417, -0.01552044041454792, -0.01680116169154644, -0.03153419494628906, -0.02240787260234356, -0.0277774129062891, 0.042576853185892105, -0.030908064916729927, -0.03582223877310753, -0.04295632615685463, -0.05885624140501022, 0.037093471735715866, -0.04159022495150566, -0.015027125366032124, 0.056389667093753815, 0.04868636652827263, 0.01771189644932747, 0.06428270041942596, -0.030623460188508034, 0.06382733583450317, 0.011943908408284187, 0.024039605632424355, 0.001287835999391973, 0.020871007815003395, -0.053315937519073486, 0.0714547410607338, 0.023736028000712395, -0.021819690242409706, 0.023887816816568375, -0.05339183285832405, 0.009875780902802944, -0.051418572664260864, -0.02496931329369545, 0.07915803790092468, -0.03515816107392311, 0.013926654122769833, -0.08879665285348892, -0.01371794380247593, 0.04375322163105011, -0.035139188170433044, -0.0005795854958705604, -0.025253918021917343, -0.007560996804386377, 0.008870177902281284, 0.05752808600664139, 0.0271323099732399, -0.03265364095568657, -0.03589813411235809, 0.052632886916399, 0.020965876057744026, 0.004463549703359604, 0.053733356297016144, 0.04777563363313675, 0.0008609290234744549, -0.028213806450366974, -0.020984848961234093, 0.0027156027499586344, 0.016867568716406822, 0.001083276467397809, -0.016563991084694862, -0.024893419817090034, -0.04747205600142479, -0.03821291774511337, -0.004966351203620434, -0.046940792351961136, -0.031021906062960625, -0.025500576943159103, -0.01087189745157957, 0.055934298783540726, -0.04436037689447403, 0.01431561354547739, 0.01884082704782486, 0.012266459874808788, -0.05726245418190956, 0.01914440654218197, -0.008011620491743088, -0.04838278889656067, -0.009278111159801483, -0.006484242621809244, -0.028517385944724083, -0.04933147132396698, -0.05881829187273979, 0.06720464676618576, 0.004990068264305592, -0.09023864567279816, 0.0770709365606308, -0.023830896243453026, 0.030983958393335342, 0.03439921513199806, -0.0009308943408541381, 0.0011900031240656972, 0.017920605838298798, 0.01582401804625988, 0.010957279242575169, 0.01801547408103943, -0.0128072090446949, -0.06955737620592117, -0.030300907790660858, -0.029010700061917305, 0.005981441121548414, -0.01238030195236206, 0.0313444584608078, 0.03796625882387161, 0.005720553454011679, -0.04640953242778778, -0.014325100928544998, -0.014353561215102673, -0.004745782352983952, -0.024153446778655052, 0.014334587380290031, -0.004072218202054501, 0.027018466964364052, 0.03360232338309288, 0.016317332163453102, 0.03969286009669304, -0.01585247926414013, -0.07388336956501007, -0.04261480271816254, -0.0002032254997175187, -0.04048975557088852, 0.04838278889656067, -0.05157036334276199, 0.0312875360250473, 0.018347512930631638, 0.019248761236667633, -0.008210844360291958, 0.004847765900194645, -0.026563100516796112, -0.005725296679884195, 0.06477601826190948, -0.028460465371608734, 0.013537694700062275, 0.05585840344429016, 0.009254394099116325, -0.010682160966098309, 0.014913283288478851, 0.024077553302049637, -0.02219916321337223, -0.0485345795750618, 0.04823100194334984, 0.011251370422542095, 0.01594734750688076, 0.007959443144500256, -0.0017040703678503633, 0.04470190405845642, -0.04177996143698692, -0.06056386977434158, 0.00611425656825304, 0.008936585858464241, 0.024324210360646248, -0.04936942085623741, 0.0015356792137026787, 0.002068127039819956, 0.00899350643157959, -0.035139188170433044, 0.01939106360077858, 0.03191366791725159, -0.0014811300206929445, -0.015937861055135727, -0.008519166149199009, -0.024855472147464752, -0.00017758144531399012, 0.013262576423585415, -0.0003649461723398417, 0.023641159757971764, -0.011943908408284187, -0.01052088476717472, 0.02606978639960289, -0.006526933051645756, -0.03817496821284294, -0.003865879727527499, -0.05456819757819176, 0.026392336934804916, 0.03155316784977913, -0.05430256575345993, -0.08492602407932281, -0.04936942085623741, 0.051911886781454086, 0.003794728545472026, 0.06048797443509102, 0.0699368491768837, -0.017702408134937286, -0.08720286190509796, -0.013907680287957191, 0.005649402271956205, 0.01027422770857811, 0.015264295972883701, 0.04363938048481941, -0.01829059235751629, 0.021269453689455986, 0.03170495852828026, 0.047054633498191833, 0.01306335348635912, -0.0089176120236516, -0.02908659540116787, -0.01163084339350462, 0.02451394684612751, 0.057945504784584045, -0.05456819757819176, 0.03957901895046234, 0.0010471079731360078, 0.026354389265179634, 0.03878212720155716, 0.0005887758452445269, -0.007859831675887108, 0.049862734973430634, 0.010321661829948425, 0.0013506861869245768, 0.017057305201888084, -0.0672425925731659, -0.02366013266146183, -0.030964985489845276, -0.006673979107290506, 0.008381607010960579, -0.015634281560778618, 0.018736472353339195, 0.0017360883066430688, -0.09539947658777237, -0.03779549524188042, -0.0003098040178883821, 0.001040585688315332, -0.050507836043834686, 0.05646556243300438, -0.0063039930537343025, 0.023830896243453026, 0.04527111351490021, 0.03641042113304138, 0.029447093605995178, -0.016507068648934364, -0.009553229436278343, 0.005089679732918739, 0.04246301203966141, -0.07524947077035904, 0.0428045392036438, 0.029124541208148003, 0.05350567400455475, -0.012484656646847725, 0.02536776103079319, -0.0070155044086277485, -0.051911886781454086, -0.05479587987065315, 0.03009219840168953, -0.016810648143291473, 0.02551954984664917, 0.039768755435943604, 0.013860246166586876, -0.004425602033734322, 0.039351336658000946, 0.017664462327957153, -0.03170495852828026, 0.03927544131875038, -0.046902846544981, -0.0012937652645632625, -0.035385843366384506, 0.0010500726057216525, 0.0828009769320488, 0.03771960362792015, -0.06155049800872803, -0.02366013266146183, 0.05570661649107933, 0.0035789033863693476, -0.03451305627822876, 0.013774864375591278, 0.044929586350917816, 0.023034002631902695, 0.04177996143698692, -0.007755476515740156, 0.022085320204496384, -0.04310811683535576, 0.02119355835020542, 0.015482492744922638, -0.0171047393232584, 0.011849040165543556, -0.025652365759015083, -0.003984465263783932, -0.0042548393830657005, 0.10556934773921967, -0.0065553938038647175, 0.013015919364988804, 0.03620171174407005, 0.010217307135462761, -0.011716224253177643, -0.037548840045928955, 0.03711244463920593, -0.03183777257800102, 0.09327442944049835, 0.03206545487046242, 0.004698348231613636, -0.012256973423063755, -0.06447243690490723, 0.008827487006783485, 0.0001270344655495137, -0.0386493094265461, -0.0018641604110598564, -0.036296579986810684, -0.0036073639057576656, 0.04671311005949974, 0.0032278909347951412, 0.04735821112990379, 0.013319496996700764, 0.04276658967137337, -0.049103789031505585, -0.01969464123249054, -0.03018706664443016, 0.017721382901072502, 0.04318401217460632, -0.025785181671380997, 0.007010761182755232, -0.0023005541879683733, -0.014097416773438454, 0.04682695120573044, -0.00021612165437545627, 0.028972752392292023, -0.06504164636135101, -0.07316236943006516, 0.016146570444107056, -0.052025727927684784, -0.0032587232999503613, -0.01859416998922825, -0.00703447824344039, -0.04325990751385689, -0.05388514697551727, -0.04314606264233589, 0.024893419817090034, 0.04500548169016838, 0.06500370055437088, -0.01871749944984913, 0.057793717831373215, -0.07585662603378296, -0.034987397491931915, 0.03768165409564972, 0.025955943390727043, -0.0013103672536090016, 0.017598053440451622, 0.006579110864549875, 0.042728643864393234, -0.02521597221493721, -0.04439832642674446, 0.003861136268824339, 0.00674513028934598, 0.03018706664443016, 0.027246151119470596, -0.01509353332221508, -0.012323381379246712, 0.01509353332221508, 0.022388897836208344, -0.06652159243822098, -0.04948326200246811, -0.02536776103079319, -0.031420353800058365, -0.020377691835165024, 0.01975156180560589, 0.02527289278805256, -0.0797651931643486, -0.01381281204521656, -0.018698524683713913, 0.028422517701983452, 0.052632886916399, 0.02954196184873581, -0.0512288361787796, -0.011042660102248192, 0.05157036334276199, 0.0034033972769975662, 0.02009308710694313, -0.040413860231637955, 0.019106458872556686, -0.06807743012905121, 0.01070113480091095, 0.006057335529476404, -0.0012546321377158165, -0.015283269807696342, -0.022768370807170868, 0.045347005128860474, -0.034437160938978195, -0.00377338333055377, -0.08052413910627365, -0.07096142321825027, 0.018755445256829262, -0.035746343433856964, 0.035139188170433044, -0.00496160751208663, -0.07289673388004303, 0.0016933976439759135, 0.012541578151285648, -0.014913283288478851, 0.02225608378648758, 0.07786782830953598, 0.009349262341856956, 0.05547893047332764, 0.03113574907183647, -0.042728643864393234, 0.03817496821284294, 0.03470279276371002, -0.015491979196667671, -0.013698969967663288, 0.02229403145611286, -0.04405679926276207, -0.026031838729977608, -0.011241883039474487, -0.037757549434900284, -0.01936260238289833, 0.03984465077519417, -0.05240520089864731, -0.008770566433668137, -0.022142240777611732, -0.054226670414209366, 0.03079422190785408, 0.0326915867626667, 0.03143932670354843, 0.010150899179279804, 0.03857341781258583, 0.01859416998922825, -0.0414004884660244, 0.022142240777611732, -0.05460614338517189, 0.053923092782497406, -0.02049153484404087, -0.06048797443509102, 0.02506418153643608, -0.04363938048481941, -0.030813196673989296, -0.002256677718833089, -0.014543297700583935, -0.0075752269476652145, 0.04265274852514267, 0.02250274084508419, -0.052822623401880264, -0.006228098180145025, 0.025007260963320732, -0.01914440654218197, 0.01408793032169342, -0.014505350030958652, -0.015985293313860893, 0.0263164434581995, 0.0414004884660244, 0.047092583030462265, 0.09281906485557556, -0.029769646003842354, 0.01336693111807108, 0.014410481788218021, -0.039654914289712906, 0.0725172609090805, 0.02329963445663452, 0.015605821274220943, 0.0014230231754481792, -0.01682962104678154, 0.03586018458008766, 0.007769706659018993, -0.04606800526380539, -0.06234738975763321, -0.056541457772254944, -0.04143843799829483, 0.001186445588245988, 0.028650201857089996, -0.004105422180145979, -0.03889596834778786, -0.008818000555038452, 0.01645963452756405, 0.03737807646393776, -0.001353057916276157, 0.025538522750139236, 0.055934298783540726, 0.009358749724924564, 0.033981796354055405, 0.05365746095776558, -0.013850759714841843, 0.0342094786465168, 0.08348403126001358, 0.005094422958791256, -0.056996822357177734, 0.04265274852514267, 0.018613142892718315, 0.027113335207104683, -0.015330703929066658, -0.01643117517232895, -0.006963327061384916, 0.01087189745157957, -0.01768343523144722, 0.030357828363776207, -0.021079717203974724, -0.028422517701983452, 0.011621356010437012, 0.018821854144334793, 0.02073819190263748, 0.0053553106263279915, 0.0527467280626297, 0.0642068088054657, -0.08044824749231339, -0.017645487561821938, -0.023470396175980568, 0.04113485664129257, 0.026809757575392723, 0.04732026532292366, 0.0029290560632944107, 0.03255877271294594, 0.03844060003757477, 0.04121075198054314, -0.0613987073302269, 0.007821884006261826, -0.00827725138515234, -0.035499684512615204, 0.05119089037179947, 0.06177818030118942, -0.031875722110271454, 0.03878212720155716, -0.01329103671014309, 0.009885268285870552, -0.01122291013598442, -0.0004191989137325436, 0.04751000180840492, 0.045840322971343994, 0.020206930115818977, 0.0016127596609294415, -0.07650172710418701, 0.043829116970300674, 0.029978355392813683, 0.058894187211990356, -0.009396696463227272, -0.030376803129911423, 0.029826566576957703, 0.07088553160429001, 0.014960717409849167, 0.07502178102731705, -0.02531084045767784, -0.03942723199725151, -0.03164803609251976, -0.016336306929588318, -0.017275501042604446, -0.07502178102731705, -0.06967121362686157, -0.036296579986810684, 0.03726423531770706, -0.018670065328478813, -0.05244315043091774, 0.020263850688934326, -0.009012480266392231, 0.035841211676597595, -0.014951230958104134, -0.01187750045210123, -0.07160653173923492, 0.008561856113374233, 0.040262069553136826, -0.05157036334276199, 0.001981559908017516, 0.011754171922802925, -0.049862734973430634, -0.014353561215102673, -0.041817910969257355, -0.013907680287957191, -0.07027837634086609, -0.02018795534968376, -0.04147638380527496, -0.005402744747698307, 0.018613142892718315, -0.014638165943324566, 0.05278467386960983, 0.034380242228507996, -0.08363582193851471, 0.01329103671014309, 0.010758055374026299, -0.004397141747176647, -0.04045180603861809, -0.0005855147610418499, -0.03622068464756012, 0.01213364489376545, 0.03470279276371002, 0.023698080331087112, -0.05335388332605362, 0.08006877452135086, -0.014770980924367905, -0.006626544985920191, 0.0076131741516292095, -0.008149179629981518, -0.03456997871398926, -0.013765377923846245, 0.036296579986810684, 0.010416530072689056, 0.0009196287719532847, -0.014979691244661808, -0.008533395826816559, -0.03189469501376152, -0.003514867275953293, 0.003410512348636985, 0.07099936902523041, 0.006375144235789776, 0.06625596433877945, 0.020908955484628677, -0.035139188170433044, 0.03957901895046234, -0.03808009997010231, -0.010179359465837479, -0.012693366967141628, -0.0146476523950696, -0.0263164434581995, 0.052670832723379135, -0.00992321502417326, 0.05972902849316597, -0.07502178102731705, -0.014979691244661808, -0.003014437621459365, -0.010843437165021896, 0.007048708386719227, -0.013499747030436993, 0.037510890513658524, 0.02802406996488571, 0.004738667514175177, -0.017617028206586838, 0.0076558650471270084, 0.011165988631546497, 0.002668168628588319, -0.034228451550006866, -0.04048975557088852, 0.0456126369535923, -0.014770980924367905, -0.00036376030766405165, -0.017844710499048233, -0.020984848961234093, 0.002739319810643792, -0.01954285241663456, 0.04781357944011688, -0.031970586627721786, -0.058552663773298264, -0.014960717409849167, 0.012892590835690498, 0.0299973301589489, -0.002390678972005844, -0.001674424041993916, 0.011270344257354736, 0.029712725430727005, 0.03942723199725151, 0.010814976878464222, -0.03235005959868431, -0.06253712624311447, -0.03510123863816261, -0.009913728572428226, 0.0025827870704233646, 0.010995225980877876, -0.04030001908540726, -0.053315937519073486, 0.05984286963939667, -0.06504164636135101, -0.03394384682178497, 0.0012309150770306587, -0.03912365064024925, -0.01820521056652069, -0.029826566576957703, -0.10154693573713303, 0.039465177804231644, -0.002189083956182003, 0.006223354954272509, -0.020662296563386917, 0.017341909930109978, -0.06773590296506882, -0.05369541049003601, -0.03811804950237274, 0.030262960121035576, 0.020434614270925522, 0.013613589107990265, -0.023166818544268608, -0.050318099558353424, -0.03208443149924278, 0.03130651265382767, 0.0036832585465162992, -0.04075538367033005, 0.02914351597428322, -0.014723546802997589, 0.006664492189884186, 0.07069579511880875, -0.05384719744324684, 0.006835254840552807, -0.059956710785627365, 0.014733034186065197, -0.0024784321431070566, -0.005322106648236513, -0.007523049600422382, -0.0314582996070385, 0.014211258850991726, -0.012683880515396595, -0.023641159757971764, -0.08181434869766235, -0.005673119332641363, 0.01859416998922825, 0.03606889396905899, -0.07198600471019745, 0.0014313241699710488, 0.0041101654060184956, -0.014182798564434052, -0.024589842185378075, 0.010397556237876415, 0.0658385381102562, -0.0685328021645546, -0.07672940939664841, 0.02024487778544426, -0.005772730801254511, 0.008466987870633602, -0.009254394099116325, -0.027397939935326576, 0.05475793406367302, 0.004390026442706585, -0.028062017634510994, 0.00698230043053627, 0.028422517701983452, 0.043070171028375626, -0.029902461916208267, 0.06929174065589905, 0.006275532301515341, -0.00042453527566976845, 0.05828703194856644, 0.0256144180893898, 0.015833504498004913, -0.011668790131807327, -0.00590080302208662, 0.029276331886649132, -0.0035006371326744556, 0.02902967296540737, -0.048003315925598145, -0.007916752249002457, 0.0103501221165061, 0.032824400812387466, -0.00826302170753479, 0.008595060557126999, -0.06652159243822098, 0.0004927217960357666, 0.009501052089035511, 0.03176187723875046, 0.062309443950653076, 0.00021226763783488423, 0.03364026919007301, 0.003958376124501228, -0.0003895526169799268, -0.0006053777760826051, -0.038611363619565964 ]
54,600
nbconvert.exporters.qt_exporter
_run_pyqtwebengine
null
def _run_pyqtwebengine(self, html): ext = ".html" temp_file = tempfile.NamedTemporaryFile(suffix=ext, delete=False) filename = f"{temp_file.name[:-len(ext)]}.{self.format}" with temp_file: temp_file.write(html.encode("utf-8")) try: QtScreenshot = self._check_launch_reqs() s = QtScreenshot() s.capture(f"file://{temp_file.name}", filename, self.paginate) finally: # Ensure the file is deleted even if pyqtwebengine raises an exception os.unlink(temp_file.name) return s.data
(self, html)
[ -0.0026196041144430637, -0.03961152210831642, -0.07600734382867813, 0.005604628473520279, 0.02568902261555195, 0.029105698689818382, -0.013721519149839878, 0.02609098330140114, -0.07951538264751434, 0.03825946897268295, 0.06705456227064133, 0.04684683680534363, 0.005924370605498552, 0.019531695172190666, 0.0013463441282510757, -0.05072028934955597, 0.04443506523966789, 0.002227919641882181, -0.03142611309885979, -0.05232813581824303, -0.04637179151177406, -0.015813548117876053, -0.007006927393376827, -0.0024368942249566317, 0.022582951933145523, 0.025944815948605537, 0.00425485847517848, -0.007979857735335827, -0.011483321897685528, 0.026145797222852707, 0.01668141968548298, 0.013319556601345539, 0.04882010444998741, 0.04410618543624878, -0.008834026753902435, -0.016562659293413162, 0.0015347637236118317, -0.02797289565205574, -0.033417653292417526, 0.008158000186085701, -0.009939422830939293, -0.043521516025066376, 0.04180404171347618, -0.04030581936240196, -0.048308517783880234, -0.026858365163207054, -0.007874799892306328, 0.021139543503522873, -0.03085971437394619, -0.05700550973415375, 0.0375286266207695, 0.1157650351524353, -0.01062458474189043, 0.040634699165821075, 0.03389269858598709, 0.049295149743556976, -0.022674307227134705, 0.029306679964065552, 0.05525149405002594, -0.016663148999214172, -0.07085492461919785, 0.007705792784690857, 0.05784597620368004, -0.007518515456467867, 0.010670262388885021, -0.04275413230061531, 0.006015725899487734, 0.026145797222852707, -0.015914037823677063, -0.0243917815387249, -0.04724879935383797, 0.01261612307280302, -0.025195704773068428, -0.012205026112496853, -0.029306679964065552, 0.009295369498431683, 0.021980009973049164, -0.08163481205701828, -0.0050245244055986404, 0.07586117833852768, 0.05740747228264809, -0.005970048252493143, 0.027881542220711708, -0.007701225113123655, 0.002989591797813773, -0.0022507584653794765, 0.02329552173614502, -0.01109963096678257, -0.051633838564157486, -0.03668816015124321, 0.0291605107486248, -0.01470815297216177, -0.06555633991956711, -0.01555775385349989, -0.012278109788894653, -0.04637179151177406, -0.028557568788528442, -0.027662290260195732, -0.06478895246982574, -0.00816256832331419, -0.024757200852036476, 0.046554502099752426, -0.02652948722243309, -0.03308877721428871, 0.06460624188184738, -0.024172529578208923, 0.02428215555846691, 0.024410052224993706, -0.0012469955254346132, -0.02229061722755432, 0.014653339982032776, 0.009637950919568539, -0.043521516025066376, 0.00968362856656313, 0.0058558546006679535, -0.031188592314720154, -0.07118380069732666, -0.03080490045249462, 0.05689588561654091, -0.012049722485244274, -0.0675296038389206, 0.011812199838459492, -0.029197053983807564, 0.02598135732114315, -0.04575057700276375, 0.058503732085227966, 0.04911243915557861, -0.02130398340523243, 0.01697375625371933, 0.03899030759930611, 0.060111578553915024, 0.020883750170469284, 0.03179153427481651, 0.010816430673003197, 0.017293497920036316, -0.01622464507818222, 0.027059346437454224, 0.01500962395220995, 0.008317871019244194, 0.06201176345348358, -0.01249736174941063, -0.017448801547288895, 0.02557939663529396, 0.03674297407269478, -0.01603280007839203, -0.014799507334828377, -0.037857506424188614, -0.009939422830939293, 0.005330563522875309, 0.006760268937796354, 0.04096357524394989, -0.01776854507625103, -0.05996541306376457, -0.016297729685902596, 0.026639113202691078, -0.03847872093319893, 0.056822799146175385, 0.010642855428159237, -0.01896529458463192, 0.0011299470206722617, -0.003355011809617281, -0.013456589542329311, -0.021084731444716454, -0.023880193009972572, -0.01059717871248722, 0.028502754867076874, 0.028100794181227684, 0.05755364149808884, -0.014470629394054413, 0.016252052038908005, 0.04037890210747719, 0.046810295432806015, -0.01470815297216177, 0.06307148188352585, -0.036121759563684464, 0.025396686047315598, -0.023131081834435463, -0.019129734486341476, 0.027351683005690575, 0.0005347121623344719, -0.02985480986535549, -0.03239447623491287, -0.026401590555906296, 0.03557363152503967, 0.014397545717656612, -0.03303396329283714, -0.04366768151521683, 0.03106069564819336, 0.03862488642334938, 0.018280131742358208, -0.040342360734939575, -0.04067124053835869, -0.009318208321928978, -0.07907687872648239, 0.02384365163743496, 0.008272194303572178, -0.03489760309457779, -0.008267626166343689, 0.00818540621548891, 0.029946163296699524, -0.02832004614174366, -0.0039967806078493595, 0.020335620269179344, -0.03201078623533249, 0.0073860506527125835, -0.000209545498364605, 0.0037204318214207888, -0.0034692054614424706, 0.030585648491978645, 0.05101262405514717, -0.023825380951166153, -0.056567005813121796, -0.005143285728991032, 0.019239360466599464, 0.0435945987701416, 0.005924370605498552, -0.023569585755467415, -0.013593621551990509, -0.0461890809237957, -0.005727957468479872, 0.014068667776882648, 0.010843836702406406, -0.03254064545035362, 0.011090495623648167, -0.005618331488221884, -0.025798648595809937, 0.021468421444296837, 0.0003211698785889894, -0.07951538264751434, -0.0018031189683824778, 0.02682182379066944, -0.021066458895802498, 0.09917496889829636, 0.0007508237613365054, -0.04257142171263695, 0.003281927900388837, -0.05057412013411522, -0.013493130914866924, -0.03215695545077324, 0.026894908398389816, -0.004001348279416561, 0.04593328759074211, 0.04534861445426941, 0.04187712445855141, -0.0513780452311039, -0.021925196051597595, -0.022180991247296333, 0.005440189503133297, 0.03763825446367264, -0.004339361563324928, 0.003846044884994626, -0.006015725899487734, -0.08002696931362152, -0.01706511154770851, -0.01368497684597969, 0.03051256574690342, 0.0577363520860672, -0.008390955626964569, 0.05302243307232857, 0.016498710960149765, 0.06336382031440735, -0.08061163872480392, 0.03659680858254433, 0.0033481603022664785, 0.029050884768366814, -0.06117129698395729, -0.05006253346800804, 0.04578711837530136, -0.010524094104766846, 0.021267440170049667, 0.0200615543872118, 0.05638429522514343, 0.014068667776882648, -0.002505410462617874, -0.020627954974770546, -0.07461874932050705, 0.003937399946153164, 0.07312052696943283, -0.03389269858598709, -0.05411869287490845, 0.03129821643233299, -0.021139543503522873, 0.011455914936959743, -0.02598135732114315, 0.0127714267000556, 0.020883750170469284, 0.06720072776079178, 0.009103524498641491, 0.05331476777791977, -0.03617657348513603, 0.012652665376663208, 0.06270606070756912, -0.0020737580489367247, -0.12321960180997849, -0.053680188953876495, -0.0036313605960458517, -0.034714892506599426, -0.05846719071269035, 0.004665955901145935, 0.07165884971618652, -0.015694785863161087, -0.027844998985528946, 0.009875473566353321, 0.029799995943903923, -0.061938680708408356, 0.03617657348513603, -0.020079825073480606, -0.02115781418979168, 0.03559190034866333, -0.05590924993157387, 0.006139054894447327, 0.0028731143102049828, 0.020390432327985764, 0.06022120639681816, 0.029452847316861153, 0.052985891699790955, 0.002361526247113943, 0.012881052680313587, 0.028557568788528442, 0.01931244321167469, -0.02618233859539032, 0.04231562837958336, 0.05207234248518944, -0.017339175567030907, 0.06895474344491959, -0.06489858031272888, -0.008610207587480545, -0.0219434667378664, 0.006043132394552231, -0.033216673880815506, 0.00036199414171278477, 0.07761519402265549, 0.02205309271812439, 0.0059106675907969475, 0.02479374222457409, 0.024026360362768173, -0.007025198545306921, -0.030421210452914238, -0.02568902261555195, -0.08843162655830383, 0.041694413870573044, 0.030384667217731476, 0.043375346809625626, -0.028648924082517624, -0.005513273179531097, 0.012552174739539623, 0.06241372600197792, -0.027698831632733345, 0.024556219577789307, -0.05528803542256355, -0.021066458895802498, -0.04311955347657204, 0.015740463510155678, 0.03274162486195564, -0.020938562229275703, -0.01767718978226185, -0.021760758012533188, 0.020481787621974945, -0.053935982286930084, -0.05375327169895172, 0.0216511320322752, 0.0548495315015316, -0.03975769132375717, 0.02369748242199421, -0.056018877774477005, -0.06201176345348358, -0.030000977218151093, 0.038697972893714905, -0.043521516025066376, 0.0762265995144844, 0.014059532433748245, 0.06354653090238571, 0.003080946858972311, -0.010021641850471497, 0.02817387692630291, -0.026712197810411453, -0.03718147799372673, 0.03091452643275261, -0.057370930910110474, -0.021267440170049667, -0.015475534833967686, 0.013200795277953148, -0.02214444801211357, -0.04085395112633705, 0.01572219282388687, -0.019988471642136574, -0.04889318719506264, 0.0038049351423978806, 0.010999140329658985, -0.04699300602078438, -0.03413022309541702, -0.02269257791340351, -0.00705717271193862, 0.05112224817276001, 0.033070504665374756, 0.0006183590739965439, -0.018197912722826004, 0.06606792658567429, -0.037565167993307114, 0.05075683072209358, -0.034714892506599426, -0.0018613578286021948, -0.04670066758990288, -0.0005675428546965122, -0.005106743890792131, -0.044873569160699844, 0.005435621831566095, -0.02852102555334568, 0.04600637033581734, -0.05400906875729561, -0.0545571967959404, 0.009975964203476906, -0.0868968591094017, 0.0190566498786211, -0.0272785983979702, 0.04593328759074211, 0.047906555235385895, -0.091208815574646, -0.021468421444296837, 0.09807871282100677, -0.015959715470671654, 0.06442353874444962, 0.034660082310438156, -0.01368497684597969, 0.021212628111243248, 0.006915572565048933, 0.030896255746483803, 0.02826523222029209, 0.0076053026132285595, 0.02303972654044628, 0.005682280287146568, -0.028795091435313225, -0.08580060303211212, 0.026767009869217873, 0.012369465082883835, 0.003416676539927721, -0.0435945987701416, 0.030238499864935875, 0.012378600426018238, 0.03144438564777374, -0.009738441556692123, -0.05649392306804657, 0.015073572285473347, 0.031627096235752106, 0.03308877721428871, 0.00021825276780873537, -0.008966491557657719, -0.007175934035331011, -0.019549965858459473, -0.003270508488640189, 0.02444659359753132, 0.061244383454322815, 0.018088286742568016, -0.044069644063711166, 0.03778441995382309, -0.03707185387611389, -0.014013854786753654, -0.013812873512506485, -0.015457263216376305, 0.060148123651742935, 0.047358423471450806, 0.05674971640110016, 0.01786903478205204, -0.025268789380788803, 0.022674307227134705, -0.049550943076610565, -0.006221274379640818, 0.02753439173102379, -0.03429466113448143, -0.022930100560188293, 0.049002815037965775, 0.0025921976193785667, 0.012899324297904968, -0.023752296343445778, 0.018106557428836823, 0.047650761902332306, -0.021888654679059982, 0.004184058401733637, -0.0019801193848252296, -0.0060202935710549355, -0.01027743611484766, -0.04136553779244423, 0.042827218770980835, 0.018207048997282982, -0.058613359928131104, -0.03663334995508194, 0.01757669821381569, -0.00443071685731411, 0.03210214152932167, 0.007591599132865667, -0.025615938007831573, -0.043521516025066376, -0.004805271979421377, -0.03990385681390762, -0.007728631608188152, -0.0340571366250515, 0.021614588797092438, 0.0678219422698021, -0.012479091063141823, -0.02528706006705761, 0.024227341637015343, -0.06160980090498924, 0.05963653326034546, 0.07220698148012161, 0.014799507334828377, 0.0035308701917529106, 0.06277914345264435, 0.019549965858459473, 0.0010443016653880477, -0.006143622566014528, -0.0014525442384183407, 0.00042537166154943407, -0.02303972654044628, -0.036468908190727234, 0.04852776974439621, -0.06394848972558975, 0.01731177046895027, -0.007006927393376827, -0.028338316828012466, -0.01691894233226776, -0.002825152827426791, 0.03778441995382309, 0.03433120250701904, -0.008327007293701172, -0.010679397732019424, -0.018207048997282982, 0.018133964389562607, 0.05006253346800804, 0.02802770957350731, 0.02404463291168213, 0.05218196660280228, 0.04187712445855141, 0.0715857669711113, -0.07396099716424942, 0.028283502906560898, 0.010131267830729485, -0.04505627974867821, -0.036158304661512375, 0.06694493442773819, -0.020171180367469788, 0.01055150106549263, 0.0038026513066142797, -0.000749681843444705, -0.05908840522170067, -0.06548324972391129, 0.0069886562414467335, 0.018179642036557198, 0.03409368172287941, 0.014936540275812149, -0.03847872093319893, 0.042279087007045746, 0.06749306619167328, 0.1096990630030632, 0.016151560470461845, -0.02753439173102379, 0.05521495267748833, 0.021815570071339607, 0.01085297204554081, 0.04249833896756172, -0.0036884574219584465, 0.03961152210831642, -0.05320514366030693, 0.011328018270432949, 0.042790673673152924, 0.010240893810987473, 0.02568902261555195, -0.027899812906980515, 0.04713917151093483, -0.0793692097067833, -0.09011255949735641, 0.029142240062355995, 0.022180991247296333, 0.044727399945259094, -0.019787490367889404, 0.016663148999214172, -0.03515339642763138, -0.022710848599672318, 0.03873451426625252, -0.0029873079620301723, 0.005426486022770405, 0.012844511307775974, -0.029489388689398766, 0.03164536505937576, 0.00191959657240659, -0.029398033395409584, -0.043083012104034424, 0.00681964959949255, -0.016297729685902596, -0.006691752467304468, 0.04717571288347244, -0.027150701731443405, -0.02046351693570614, -0.02349650301039219, -0.06720072776079178, 0.019330713897943497, 0.053935982286930084, -0.026109253987669945, -0.020043283700942993, -0.07834603637456894, -0.02081066556274891, 0.0010197500232607126, 0.02424561232328415, 0.029324950650334358, -0.00615732604637742, 0.03409368172287941, 0.012013180181384087, -0.021395336836576462, -0.0009015594841912389, 0.03524475172162056, 0.021614588797092438, -0.012305516749620438, 0.0002983311132993549, 0.029343221336603165, 0.020536601543426514, -0.001508499146439135, 0.027991168200969696, -0.04425235465168953, 0.020098097622394562, -0.0028776819817721844, 0.049550943076610565, 0.016690555959939957, 0.0741802453994751, -0.006280655041337013, -0.014424951747059822, 0.03403886780142784, -0.04476394131779671, 0.044727399945259094, 0.018636416643857956, -0.024355238303542137, 0.022674307227134705, 0.018691230565309525, -0.006458797492086887, 0.04037890210747719, -0.02877682074904442, 0.01632513664662838, -0.01114530861377716, -0.012177619151771069, 0.03398405387997627, -0.0401231087744236, 0.008135161362588406, 0.044873569160699844, 0.006682617124170065, -0.020134638994932175, -0.021212628111243248, 0.03707185387611389, -0.02075585350394249, -0.013319556601345539, -0.03553709015250206, 0.042279087007045746, -0.01902010850608349, -0.027150701731443405, -0.02762574702501297, 0.02985480986535549, 0.0375286266207695, -0.01841716468334198, 0.05817485600709915, 0.03051256574690342, -0.06559287756681442, -0.0004704781749751419, 0.017457937821745872, 0.008121457882225513, 0.014890862628817558, -0.017330041155219078, -0.06723726540803909, -0.011876148171722889, 0.011556405574083328, -0.0010985436383634806, 0.04458123445510864, -0.057261303067207336, -0.02026253566145897, 0.001117956591770053, 0.009062414057552814, 0.004015051759779453, -0.04578711837530136, -0.0012195890303701162, 0.07768827676773071, -0.01911146193742752, -0.08792003989219666, -0.028064250946044922, 0.0009289659792557359, 0.005362537689507008, 0.012488226406276226, -0.025451498106122017, -0.0009072691900655627, -0.031773265451192856, 0.027187243103981018, 0.004677375312894583, 0.001785989967174828, -0.026566030457615852, -0.07688435167074203, -0.0880662053823471, 0.0029850241262465715, -0.06117129698395729, -0.043521516025066376, -0.028100794181227684, -0.012990678660571575, 0.041328996419906616, -0.024373510852456093, 0.006673481781035662, 0.02300318516790867, -0.01114530861377716, -0.031535740941762924, 0.038697972893714905, -0.011209256947040558, -0.004412445705384016, 0.015375044196844101, 0.023514773696660995, 0.0005846719141118228, 0.009610543958842754, -0.042425256222486496, 0.009592273272573948, -0.030293313786387444, -0.007970722392201424, 0.05755364149808884, -0.055032242089509964, -0.02837485820055008, -0.08397350460290909, 0.03763825446367264, 0.0496605709195137, -0.002169680781662464, -0.02881336212158203, -0.02534187212586403, -0.012168483808636665, -0.041036657989025116, -0.028941258788108826, 0.02846621349453926, -0.07165884971618652, -0.04110974445939064, 0.023459959775209427, 0.02101164683699608, -0.050647202879190445, -0.02682182379066944, 0.018444571644067764, 0.0014057247899472713, -0.03699876740574837, -0.025305330753326416, -0.009857202880084515, -0.06449662148952484, 0.028045980259776115, -0.04958748444914818, 0.03741900250315666, 0.004974279087036848, 0.006143622566014528, 0.018535926938056946, 0.0744725838303566, 0.010122132487595081, 0.000859307823702693, -0.01922108791768551, 0.023807108402252197, 0.016992026939988136, 0.007833690382540226, -0.010606314055621624, -0.031974244862794876, 0.07089146971702576, 0.04414273053407669, 0.05568999797105789, 0.00846403930336237, -0.027114160358905792, -0.03413022309541702, 0.028959529474377632, 0.051487669348716736, 0.07048950344324112, -0.022180991247296333, 0.008080348372459412, 0.008788349106907845, 0.006061403080821037, 0.055616915225982666, -0.027059346437454224 ]
54,606
nbconvert.exporters.qt_exporter
from_notebook_node
Convert from notebook node.
def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" self._check_launch_reqs() html, resources = super().from_notebook_node(nb, resources=resources, **kw) self.log.info("Building %s", self.format.upper()) data = self._run_pyqtwebengine(html) self.log.info("%s successfully created", self.format.upper()) # convert output extension # the writer above required it to be html resources["output_extension"] = f".{self.format}" return data, resources
(self, nb, resources=None, **kw)
[ -0.012434300035238266, -0.06808437407016754, -0.0060763671062886715, -0.04141739010810852, -0.04290696233510971, 0.048247627913951874, -0.017166418954730034, 0.06412429362535477, 0.005063639488071203, -0.015259038656949997, 0.06674012541770935, 0.06906531751155853, 0.018120108172297478, 0.030572574585676193, -0.01925545372068882, -0.0441422201693058, 0.014868480153381824, -0.00018236480536870658, -0.006984643172472715, 0.03267977386713028, -0.09693122655153275, -0.019618764519691467, 0.016812190413475037, 0.02808389626443386, 0.00660316739231348, 0.040654439479112625, 0.0024636988528072834, -0.01032709889113903, -0.03533194214105606, 0.012906603515148163, -0.021725963801145554, -0.06332501024007797, 0.037747953087091446, -0.02210744097828865, 0.05228037387132645, 0.03711216151714325, -0.04908324033021927, 0.02074502594769001, -0.06350666284561157, -0.01606740429997444, 0.022761398926377296, -0.11233558505773544, 0.009872960858047009, -0.06706710904836655, -0.024232806637883186, -0.010499672032892704, 0.025994861498475075, 0.011498775333166122, -0.02648533135652542, -0.04287063330411911, 0.03084505721926689, -0.0005685240612365305, 0.001267045154236257, 0.060055214911699295, -0.07665850222110748, 0.04203501716256142, -0.019945742562413216, 0.09584129601716995, 0.02525007538497448, 0.05587714537978172, -0.07030057162046432, 0.004629937466233969, 0.004895608406513929, -0.004931939300149679, 0.0030449957121163607, 0.021344488486647606, 0.01193474791944027, -0.05627678707242012, -0.039491843432188034, 0.03861989825963974, 0.012806693091988564, -0.055550165474414825, 0.024032985791563988, 0.038002271205186844, 0.02973696030676365, -0.04257998242974281, -0.03529560938477516, -0.022815896198153496, -0.0448688380420208, 0.04337926581501961, 0.038074932992458344, -0.0033356440253555775, -0.057112403213977814, -0.05613146349787712, 0.04839295148849487, -0.03640370815992355, 0.04882892221212387, 0.020399881526827812, -0.02657615952193737, -0.02795673906803131, -0.06110881641507149, -0.03545909747481346, -0.0018506125779822469, -0.03413301706314087, 0.040690768510103226, -0.02663065493106842, -0.015722259879112244, 0.002611293690279126, 0.018519749864935875, -0.012288975529372692, 0.02219826728105545, 0.002643083455041051, -0.05326130986213684, -0.008964684791862965, 0.037747953087091446, 0.01189841702580452, -0.02052704058587551, 0.049519214779138565, 0.002559067914262414, -0.059183269739151, -0.021762294694781303, 0.022761398926377296, -0.01197107881307602, -0.027302779257297516, 0.0022616074420511723, 0.003923752810806036, -0.013887541368603706, -0.0019913953728973866, 0.06339767575263977, -0.022943055257201195, -0.043560922145843506, 0.05475088208913803, -0.052353035658597946, -0.010626830160617828, -0.04090875759720802, 0.07255309820175171, 0.03509578853845596, 0.023215537890791893, 0.01400561723858118, -0.0591106079518795, 0.01771138422191143, -0.0007322976016439497, -0.040545444935560226, 0.04130839556455612, 0.007307081483304501, -0.018038364127278328, -0.046503737568855286, 0.019564267247915268, -0.0017121004639193416, 0.043996892869472504, 0.010536002926528454, -0.04141739010810852, 0.04741201177239418, 0.036603525280952454, -0.036240216344594955, -0.04098141938447952, -0.009455154649913311, 0.03160800784826279, -0.056785423308610916, -0.025486227124929428, -0.0011932477355003357, 0.04134472832083702, -0.0029995818622410297, -0.023342695087194443, 0.016630535945296288, 0.030572574585676193, 0.04752100631594658, -0.018764983862638474, 0.010090947151184082, 0.0062080672942101955, 0.024051152169704437, 0.014995638281106949, 0.018456170335412025, 0.04999151825904846, -0.007861129939556122, 0.042107678949832916, 0.0020492980256676674, -0.027230117470026016, 0.023397192358970642, 0.032007649540901184, -0.0020379445049911737, -0.028519868850708008, -0.0001138183506554924, 0.02517741359770298, -0.03396952524781227, 0.05525951832532883, 0.06724876165390015, -0.025558888912200928, 0.01782945916056633, 0.03640370815992355, -0.01625814288854599, 0.008251688443124294, -0.0445055291056633, 0.07760310918092728, -0.024378130212426186, -0.0018687781412154436, -0.02079952321946621, 0.0047275773249566555, 0.01247971411794424, -0.024141978472471237, 0.01561326626688242, 0.04632208123803139, -0.021544309332966805, 0.007506901863962412, -0.036185719072818756, -0.01782945916056633, -0.009191754274070263, -0.002188945421949029, -0.025558888912200928, 0.04141739010810852, 0.0297187939286232, 0.043851569294929504, 0.026358172297477722, 0.043669916689395905, -0.001733671990223229, -0.0010229459730908275, -0.049700867384672165, 0.04149005189538002, -0.01607648655772209, 0.01930994912981987, 0.028828684240579605, -0.029300987720489502, -0.013705885969102383, 0.018619660288095474, 0.04570445418357849, -0.018438005819916725, -0.04563179239630699, 0.03409668430685997, -0.03836558386683464, -0.042289335280656815, 0.003054078435525298, -0.006158112082630396, 0.03160800784826279, -0.01344248652458191, -0.0443602055311203, -0.021108336746692657, 0.06848401576280594, -0.03529560938477516, 0.005004601553082466, 0.0071208844892680645, -0.07891102880239487, 0.012034658342599869, 0.04283430054783821, 0.010953810065984726, -0.013705885969102383, 0.030281925573945045, -0.008469674736261368, 0.027448104694485664, -0.027357276529073715, 0.04297962412238121, -0.04330660402774811, 0.0034378250129520893, 0.0021151478867977858, -0.055622827261686325, 0.03518661484122276, -0.013288079760968685, 0.07585921883583069, -0.03989148512482643, -0.04991885647177696, -0.012334389612078667, 0.0073479535058140755, -0.021707799285650253, -0.006017329171299934, -0.02352435141801834, -0.024686943739652634, 0.03111753985285759, 0.02512291632592678, -0.09235351532697678, 0.011426113545894623, -0.01551335584372282, 0.04156271368265152, -0.07131783664226532, -0.0009622049983590841, 0.02515924721956253, 0.0045232148841023445, -0.05358828976750374, -0.0298459529876709, 0.03585873916745186, 0.008260771632194519, 0.0110718859359622, 0.04886525496840477, 0.07026424258947372, -0.007420615758746862, 0.006439677439630032, 0.002911024959757924, -0.08305276930332184, -0.00330158369615674, 0.006307977717369795, -0.02670331671833992, -0.01551335584372282, -0.0014702719636261463, -0.02345168963074684, 0.0009338213712908328, 0.02801123447716236, -0.01187116838991642, -0.10107296705245972, 0.013170003890991211, 0.004448282066732645, 0.012734031304717064, -0.06368832290172577, -0.008755781687796116, 0.09569597244262695, -0.028974007815122604, -0.011843920685350895, -0.021562473848462105, 0.027211952954530716, -0.036222051829099655, -0.011889333836734295, 0.01920095644891262, 0.010626830160617828, -0.005422408226877451, -0.03707583248615265, 0.04697604104876518, -0.052498359233140945, -0.046431075781583786, -0.00774305360391736, 0.009455154649913311, -0.0031676129437983036, -0.03687601163983345, 0.006503256969153881, 0.00970038864761591, -0.02503209002315998, 0.08000095933675766, 0.021635137498378754, 0.0006891544908285141, -0.018301762640476227, 0.05089979246258736, 0.024904930964112282, 0.006335225887596607, 0.03967349976301193, -0.03989148512482643, -0.004007768351584673, -0.01912829466164112, 0.01905563287436962, 0.033261071890592575, -0.05017317086458206, 0.022706903517246246, -0.024832269176840782, 0.01100830640643835, 0.01914646103978157, 0.005254377145320177, 0.04861093685030937, 0.034932300448417664, -0.02982778660953045, -0.029264656826853752, -0.021308157593011856, 0.015286287292838097, -0.013033762574195862, -0.018401673063635826, -0.04581344500184059, 0.03562258929014206, 0.01929178461432457, -0.011889333836734295, 0.02975512482225895, -0.027266448363661766, -0.042071349918842316, 0.001987989293411374, -0.013179086148738861, 0.004918314982205629, -0.037747953087091446, -0.08203549683094025, 0.04319761320948601, -0.019037466496229172, 0.03120836615562439, -0.0054678223095834255, -0.027429938316345215, -0.03901953995227814, -0.0447598472237587, -0.05206238478422165, -0.0448325090110302, 0.005095428787171841, 0.05624045804142952, -0.023433523252606392, 0.03847457468509674, -0.021035674959421158, -0.04788431525230408, 0.06535954773426056, 0.06535954773426056, 0.058674637228250504, 0.005967373959720135, 0.0594739206135273, 0.007288915570825338, -0.019818585366010666, -0.03249811753630638, -0.013714969158172607, -0.014523334801197052, -0.04646740481257439, -0.04029112681746483, -0.09017365425825119, -0.030136601999402046, -0.027066627517342567, 0.023996654897928238, -0.008742157369852066, -0.04999151825904846, 0.0012000597780570388, -0.04257998242974281, 0.01801111549139023, 0.022906722500920296, -0.019945742562413216, -0.05315231904387474, -0.011407948099076748, 0.005708515178412199, -0.00011878548684762791, 0.0729527398943901, -0.036603525280952454, -0.0728074163198471, -0.0011512399651110172, 0.03822026029229164, 0.045268479734659195, -0.028574366122484207, -0.0005185689078643918, -0.007811174727976322, 0.023106543347239494, 0.036385539919137955, -0.0039260233752429485, -0.0036603526677936316, 0.05758470669388771, 0.007257126271724701, 0.03562258929014206, -0.029264656826853752, -0.02065419778227806, -0.0065123396925628185, -0.05471455305814743, 0.024196475744247437, -0.042216673493385315, 0.06775739789009094, 0.030354587361216545, -0.028556201606988907, -0.05743937939405441, -0.01268861722201109, -0.05293432995676994, 0.02824738621711731, 0.12338022887706757, 0.03278876841068268, 0.06245306506752968, -0.028556201606988907, 0.019818585366010666, -0.012170899659395218, -0.005808425601571798, 0.045195817947387695, -0.0068166120909154415, -0.016830356791615486, -0.04901057854294777, -0.02966429851949215, 0.03674885258078575, -0.03974616155028343, -0.02841087616980076, -0.02637633867561817, 0.020200060680508614, 0.03509578853845596, 0.028974007815122604, -0.05576815456151962, 0.07026424258947372, 0.018746819347143173, -0.04119940474629402, 0.004625395871698856, -0.042434658855199814, 0.03742097690701485, -0.061581119894981384, -0.050972454249858856, 0.06336133927106857, 0.01927361823618412, 0.03803860396146774, -0.051081448793411255, 0.01759330742061138, -0.0297006294131279, 0.03693050518631935, -0.06717610359191895, 0.008651330135762691, 0.031698837876319885, -0.001773409079760313, 0.021489812061190605, 0.0449051707983017, -0.02815655991435051, -0.0012942934408783913, -0.0897376760840416, 0.03160800784826279, -0.05297066271305084, 0.009981954470276833, 0.0019266806775704026, 0.02506842091679573, 0.013124589808285236, 0.061290472745895386, -0.049846190959215164, 0.031771499663591385, 0.04272530972957611, -0.052534688264131546, -0.06056385114789009, -0.025486227124929428, -0.03525927662849426, -0.05376994609832764, -0.017166418954730034, 0.07030057162046432, 0.03594956919550896, -0.058456651866436005, -0.018465252593159676, 0.031934987753629684, -0.014441589824855328, 0.04886525496840477, -0.007225336506962776, -0.04759366810321808, 0.05024583265185356, -0.01777496375143528, -0.005127218551933765, -0.00410313718020916, 0.005990081001073122, 0.048429280519485474, 0.03963717073202133, -0.01032709889113903, -0.009972871281206608, 0.022525247186422348, -0.05446023494005203, 0.04145372286438942, 0.0731707215309143, 0.019891247153282166, 0.004162175115197897, 0.003683059709146619, 0.024359965696930885, -0.0036013147328048944, 0.0064351363107562065, -0.017130088061094284, 0.042071349918842316, 0.0447598472237587, -0.0033424561843276024, -0.05533218011260033, -0.03351539000868797, -0.02693946845829487, 0.08784846216440201, -0.0010303256567567587, 0.016012907028198242, 0.021344488486647606, -0.0005909471656195819, 0.04937388747930527, -0.001824499573558569, 0.010508754290640354, 0.005290708504617214, -0.0018914849497377872, -0.00039254556759260595, -0.03273427113890648, 0.06198076158761978, -0.034932300448417664, -0.020254557952284813, 0.08298010379076004, -0.04693970829248428, -0.06074550747871399, -0.0005875410861335695, 0.025849537923932076, 0.046540066599845886, 0.07131783664226532, -0.0065305051393806934, 0.031807828694581985, -0.014250852167606354, -0.03233462944626808, -0.03400585800409317, -0.00026723186601884663, 0.030191097408533096, 0.018946640193462372, 0.05064547434449196, 0.04839295148849487, -0.010717658326029778, 0.0296461321413517, -0.0056994324550032616, 0.00973671954125166, 0.0736066922545433, 0.020472543314099312, 0.0221437718719244, 0.005426949821412563, 0.0028111145365983248, 0.05373361334204674, -0.0014475650386884809, 0.014359844848513603, -0.04257998242974281, -0.015912996605038643, 0.014677741564810276, 0.003955542575567961, 0.07687649130821228, 0.004634479060769081, -0.016884852200746536, -0.06183543801307678, -0.045268479734659195, 0.08276212215423584, 0.014496087096631527, 0.042253006249666214, -0.057148732244968414, 0.02354251593351364, -0.03533194214105606, -0.0029132955241948366, 0.008696743287146091, -0.017066508531570435, 0.011680430732667446, -0.027738751843571663, 0.016557874158024788, 0.0045958771370351315, -0.024178309366106987, 0.03549543023109436, 0.00663949828594923, -0.06848401576280594, 0.023088378831744194, 0.06957394629716873, -0.008474215865135193, -0.00966405775398016, 0.0149320587515831, 0.022834060713648796, -0.056712761521339417, 0.06430594623088837, 0.011980162002146244, -0.03224380314350128, -0.03578607738018036, 0.000779982132371515, -0.028701525181531906, -0.014714072458446026, 0.007965581491589546, 0.0037852406967431307, -0.01032709889113903, 0.03578607738018036, -0.027357276529073715, 0.021725963801145554, -0.027593428269028664, -0.024232806637883186, 0.005967373959720135, 0.05482354387640953, -0.011389782652258873, 0.01638530008494854, 0.0224344190210104, -0.04327027499675751, -0.01909196376800537, -0.01757514290511608, -0.06219874694943428, -0.002213923027738929, -0.020254557952284813, -0.010236271657049656, 0.014287183061242104, 0.00746602937579155, -0.003733014687895775, -0.017284493893384933, -0.033388230949640274, 0.02363334409892559, 0.01769321784377098, -0.003319749142974615, 0.03162617236375809, 0.06070917472243309, -0.06274371594190598, 0.058492980897426605, -0.04723035916686058, 0.019945742562413216, 0.018556080758571625, 0.03571341559290886, 0.03158984333276749, -0.0066077085211873055, 0.02523191086947918, 0.06052751839160919, -0.02392399311065674, -0.007257126271724701, -0.10746722668409348, -0.0004274574457667768, -0.03542276844382286, 0.03554992750287056, -0.013433403335511684, -0.03880155459046364, 0.005513235926628113, -0.034659817814826965, 0.006580460350960493, 0.0014441589592024684, 0.018174605444073677, 0.010526919737458229, 0.09337078034877777, 0.027048463001847267, -0.030118435621261597, 0.03099038079380989, 0.031862325966358185, 0.024904930964112282, -0.005463280715048313, 0.03396952524781227, -0.003753450931981206, -0.0038669854402542114, -0.0006062742904759943, -0.00450504943728447, 0.008124529384076595, -0.015086466446518898, -0.009219002909958363, -0.0006335225771181285, -0.0018426651367917657, -0.03426017612218857, -0.05224404111504555, 0.0018721841042861342, 0.02499575912952423, -0.022761398926377296, -0.05075446888804436, -0.012416134588420391, -0.042180340737104416, -0.04345192760229111, 0.017366239801049232, -0.05780269205570221, 0.0019664177671074867, -0.030045773833990097, -0.024196475744247437, 0.022561578080058098, 0.03271610662341118, -0.01341523788869381, -0.045086827129125595, -0.037675291299819946, 0.034732479602098465, -0.004035016521811485, -0.0033424561843276024, -0.0013283537700772285, 0.008356139995157719, -0.010953810065984726, -0.03554992750287056, -0.025395400822162628, 0.009418822824954987, 0.04777532443404198, -0.03554992750287056, -0.00821989867836237, 0.007488736417144537, 0.024832269176840782, 0.005399701651185751, -0.009963789023458958, -0.04156271368265152, -0.05006418004631996, -0.007638602051883936, 0.008306184783577919, 0.03246178850531578, 0.024305468425154686, 0.0020163729786872864, -0.0590016171336174, -0.037747953087091446, -0.041926026344299316, 0.05184439942240715, 0.015813086181879044, -0.02374233677983284, -0.01932811550796032, -0.01795661821961403, 0.07288007438182831, 0.007039139978587627, 0.027466269209980965, 0.046685390174388885, -0.07255309820175171, -0.04846561327576637, 0.03818392753601074, -0.02677598036825657, 0.007856587879359722, -0.0011773528531193733, -0.030209263786673546, -0.03952817618846893, 0.03297042101621628, -0.0443602055311203, 0.0441785492002964, 0.02801123447716236, 0.003410576842725277, -0.04762999713420868, 0.06481458246707916, 0.04864726960659027, 0.005063639488071203, 0.040690768510103226, 0.05475088208913803, 0.029954945668578148, -0.0043574548326432705, -0.02394215762615204, 0.026993965730071068, 0.03211664408445358, 0.036149390041828156, 0.011407948099076748, -0.019745921716094017, 0.04341559857130051, 0.08472399413585663, -0.04025479778647423, 0.04588611051440239, 0.01619456335902214, -0.03282509744167328, -0.0223617572337389, 0.058892622590065, 0.03683967888355255, -0.025631552562117577, 0.0297006294131279, 0.04886525496840477, 0.00441876333206892, 0.00973671954125166, -0.04138106107711792 ]
54,628
nbconvert.exporters.qtpng
QtPNGExporter
Writer designed to write to PNG files. This inherits from :class:`HTMLExporter`. It creates the HTML using the template machinery, and then uses pyqtwebengine to create a png.
class QtPNGExporter(QtExporter): """Writer designed to write to PNG files. This inherits from :class:`HTMLExporter`. It creates the HTML using the template machinery, and then uses pyqtwebengine to create a png. """ export_from_notebook = "PNG via HTML" format = "png"
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ 0.01939031295478344, -0.08766258507966995, -0.01650295779109001, -0.02786695398390293, 0.004293506499379873, -0.009324303828179836, -0.054709646850824356, 0.05425049364566803, -0.025165025144815445, 0.025323960930109024, 0.10270862281322479, 0.039804887026548386, 0.04909387230873108, 0.049023233354091644, -0.014869439415633678, -0.043018948286771774, 0.029950793832540512, 0.023805230855941772, 0.024511616677045822, -0.018719246610999107, -0.03267038241028786, -0.016856152564287186, 0.05336751043796539, -0.005033005028963089, -0.0024789755698293447, 0.021792028099298477, 0.009801114909350872, -0.020396914333105087, -0.01750955916941166, 0.041500214487314224, -0.06968504190444946, -0.07466506958007812, 0.050259411334991455, 0.04842280596494675, 0.051354311406612396, 0.013280069455504417, -0.03948701545596123, 0.018648607656359673, -0.040475957095623016, -0.0016864981735125184, 0.02618928626179695, -0.0029359194450080395, 0.054709646850824356, -0.08561406284570694, -0.013615602627396584, 0.006821046117693186, 0.00048370930016972125, 0.007893870584666729, -0.02830844558775425, -0.053614746779203415, 0.04725726693868637, 0.05269644409418106, -0.027390142902731895, 0.030445264652371407, 0.009077068418264389, 0.08716811239719391, 0.03258208557963371, 0.04446703940629959, 0.009518560022115707, 0.006154393777251244, -0.05160154402256012, 0.003072781953960657, 0.06569395959377289, -0.02454693615436554, 0.019566910341382027, -0.0006622375221922994, 0.006388384383171797, -0.003141213208436966, -0.05608709901571274, 0.03733253479003906, -0.0005085432203486562, -0.027001630514860153, -0.0008471121545881033, -0.006670938804745674, -0.005571624729782343, 0.013280069455504417, -0.030039092525839806, -0.05131899192929268, 0.015381569974124432, 0.020732449367642403, 0.04277171194553375, -0.004443613812327385, 0.02926206775009632, -0.04082914814352989, 0.04799897223711014, -0.00970398634672165, 0.012803258374333382, 0.01525795180350542, 0.02271033078432083, -0.03484252095222473, 0.01743009127676487, -0.05410921946167946, -0.008344192057847977, -0.052519846707582474, -0.04157085344195366, -0.06145564094185829, -0.007372910622507334, -0.004834333900362253, -0.011134419590234756, -0.0004034129960928112, -0.018736906349658966, -0.02731950394809246, -0.019196057692170143, -0.017262324690818787, 0.045809175819158554, -0.033941879868507385, -0.029650580137968063, 0.0493411086499691, -0.032299529761075974, -0.039522334933280945, 0.03079845756292343, 0.037297215312719345, 0.01080771628767252, -0.052519846707582474, 0.030904415994882584, 0.003284697886556387, -0.03346506878733635, -0.05163686349987984, 0.05241389200091362, -0.0463036447763443, -0.09324304014444351, 0.026418861001729965, -0.04308958724141121, 0.05322623625397682, -0.005359708797186613, 0.016352850943803787, 0.028255466371774673, 0.01795988157391548, -0.04626832529902458, 0.005333219189196825, 0.0014403664972633123, 0.04227724298834801, -0.06279777735471725, 0.006105829495936632, 0.03332379087805748, 0.0002546854957472533, -0.0058276900090277195, 0.016794342547655106, -0.005796785466372967, 0.06484629213809967, -0.027955252677202225, -0.053332190960645676, -0.006330990232527256, 0.06837822496891022, -0.0048299189656972885, -0.008066052570939064, -0.01963754929602146, 0.02316948212683201, -0.005523060914129019, -0.022357137873768806, -0.006542906630784273, 0.023805230855941772, -0.035336993634700775, 0.0012891556834802032, 0.04026404023170471, -0.02604800835251808, 0.04277171194553375, 0.02119160071015358, 0.014887099154293537, 0.01977882720530033, 0.04157085344195366, -0.010957823134958744, 0.020856065675616264, -0.0021853838115930557, -0.043018948286771774, 0.048034291714429855, 0.000907817215193063, 0.01791573129594326, 0.02440565824508667, 0.018366053700447083, 0.01443677768111229, -0.04768110066652298, -0.02844972349703312, 0.0033089800272136927, -0.044396400451660156, 0.027778655290603638, 0.036732107400894165, 0.03026866912841797, -0.02929738722741604, -0.005571624729782343, 0.0039469352923333645, -0.025712475180625916, -0.039804887026548386, 0.04040531814098358, 0.05001217499375343, -0.04026404023170471, -0.012193999253213406, 0.048881955444812775, 0.035213373601436615, 0.00000801928217697423, 0.01660008728504181, 0.027372483164072037, -0.03332379087805748, -0.022675011307001114, 0.005315559450536966, -0.03648487105965614, 0.013341877609491348, -0.07353485375642776, 0.028891215100884438, 0.03168144077062607, -0.03198165446519852, 0.00961568858474493, -0.014401458203792572, 0.010772396810352802, 0.001922696246765554, -0.027231205254793167, 0.0074038151651620865, -0.008083712309598923, -0.03307655453681946, 0.001582747558131814, 0.006807801313698292, -0.04114702343940735, -0.008066052570939064, 0.06742461025714874, 0.031840380281209946, 0.019319675862789154, -0.05283772200345993, 0.04284235090017319, -0.05870073288679123, -0.025306301191449165, -0.03987552598118782, 0.01678551360964775, 0.00040313706267625093, 0.04072318971157074, 0.01953159086406231, -0.036449551582336426, 0.06618843227624893, -0.013271239586174488, 0.020432233810424805, -0.040228720754384995, -0.03471890464425087, 0.007068281527608633, 0.06163223460316658, 0.05831221863627434, -0.0176949854940176, 0.0002153651585103944, -0.034224431961774826, -0.011399314738810062, -0.02135053649544716, 0.051530905067920685, -0.05481560528278351, 0.04171213135123253, 0.04421980306506157, 0.0006329886964522302, 0.0349837988615036, -0.02119160071015358, 0.01569061353802681, 0.03708529844880104, -0.009606858715415001, -0.018878184258937836, 0.014516245573759079, -0.04210064560174942, -0.032970596104860306, -0.02103266306221485, 0.01546986773610115, 0.026524819433689117, -0.02175670862197876, -0.0434780977666378, 0.01884286478161812, -0.0025981783401221037, -0.009002014994621277, -0.03655551001429558, -0.007297857198864222, -0.014251350425183773, 0.06180883198976517, -0.03597274050116539, -0.017341792583465576, 0.03945169597864151, -0.0572173185646534, 0.03959297388792038, 0.12806789577007294, 0.04962366446852684, -0.01758902706205845, 0.028220146894454956, 0.01935499534010887, -0.04234788194298744, 0.005165452603250742, 0.022392457351088524, -0.014666353352367878, -0.05923052132129669, 0.04195936769247055, -0.04626832529902458, -0.0010584762785583735, -0.0008575975662097335, 0.020432233810424805, 0.007726103998720646, 0.049411747604608536, 0.04503215104341507, 0.045102789998054504, -0.019867124035954475, 0.0479283332824707, 0.10419203341007233, -0.03987552598118782, -0.043831292539834976, -0.057959023863077164, 0.02036159485578537, -0.053473468869924545, -0.02957994118332863, -0.006264766678214073, 0.03666146844625473, -0.01227346807718277, -0.030445264652371407, 0.05894796550273895, -0.02147415466606617, -0.041782770305871964, 0.0290148314088583, -0.0015110052190721035, 0.014410288073122501, 0.024493956938385963, 0.008260308764874935, 0.04768110066652298, 0.0017427883576601744, 0.009915902279317379, 0.03595508262515068, 0.04012276232242584, 0.026312902569770813, 0.02832610532641411, -0.005823275074362755, 0.018595628440380096, 0.028679298236966133, -0.044820234179496765, 0.04298362880945206, -0.023505015298724174, -0.03238782659173012, 0.06643566489219666, -0.03334144875407219, -0.015072525478899479, 0.03765041008591652, 0.003812280483543873, 0.004825504031032324, -0.009324303828179836, 0.04111170396208763, 0.06417522579431534, -0.024458637461066246, 0.039522334933280945, -0.02368161268532276, 0.028802916407585144, -0.026560138911008835, -0.033535707741975784, -0.02744312211871147, 0.01995542272925377, 0.009509730152785778, -0.00390720134600997, 0.008600257337093353, -0.023928849026560783, -0.010472182184457779, -0.037721049040555954, -0.036202315241098404, 0.024617575109004974, -0.010224946774542332, -0.026259923353791237, 0.04835216701030731, -0.00822057481855154, 0.0009304436971433461, 0.002916052471846342, -0.0030109731014817953, -0.025553537532687187, -0.029315046966075897, -0.06756588071584702, -0.020979683846235275, 0.020873725414276123, 0.04619768634438515, -0.016935620456933975, 0.05354410782456398, -0.040935106575489044, -0.043725334107875824, 0.022410117089748383, 0.013094643130898476, 0.04029935970902443, 0.021103302016854286, 0.03754445165395737, 0.02832610532641411, -0.02790227346122265, -0.009085898287594318, 0.03205229341983795, -0.026736734434962273, -0.024617575109004974, 0.030763139948248863, -0.012167510576546192, -0.06117308512330055, -0.0315401628613472, -0.03991084545850754, -0.0053685386665165424, -0.03346506878733635, 0.0376150906085968, -0.03455996885895729, 0.03572550415992737, 0.04715130850672722, -0.01824243552982807, -0.06163223460316658, -0.022798629477620125, -0.05227261409163475, -0.025853751227259636, 0.020273298025131226, 0.0027151736430823803, -0.074806347489357, -0.017032748088240623, 0.10624055564403534, -0.07070930302143097, 0.013059323653578758, 0.029473982751369476, -0.04764578118920326, 0.0026312903501093388, 0.03217591345310211, 0.016626575961709023, -0.03162846341729164, 0.019019460305571556, -0.020750107243657112, 0.05033005028963089, -0.03810955956578255, -0.005456836894154549, -0.06368076056241989, -0.11386953294277191, 0.018101157620549202, 0.030445264652371407, 0.01267964020371437, 0.015425718389451504, -0.10956057161092758, 0.004520874470472336, 0.024635234847664833, -0.025730134919285774, 0.03669678792357445, 0.050824519246816635, 0.027937592938542366, 0.0398402065038681, -0.02006138116121292, 0.0022714745718985796, 0.027160566300153732, -0.02717822603881359, 0.03807424008846283, -0.015646465122699738, -0.06371607631444931, -0.03320017457008362, -0.004622417502105236, 0.030586542561650276, -0.04715130850672722, -0.005739391781389713, -0.02721354551613331, -0.010533991269767284, 0.025889070704579353, 0.0398402065038681, -0.08215276896953583, -0.011911445297300816, -0.02090904489159584, 0.010622289031744003, -0.02343437820672989, 0.012962195090949535, 0.027831634506583214, -0.02050287276506424, 0.029385685920715332, 0.05008281394839287, 0.06788375973701477, 0.025836091488599777, -0.06675353646278381, 0.06657694280147552, -0.07678423076868057, 0.05714667961001396, -0.06742461025714874, -0.004953536670655012, 0.021668409928679466, 0.046374283730983734, 0.028237806633114815, -0.00325600104406476, -0.010498671792447567, 0.01773030497133732, -0.07183952629566193, 0.013544964604079723, -0.0008454565540887415, 0.020661810413002968, 0.019196057692170143, 0.03627295419573784, 0.03510741516947746, -0.006163223646581173, 0.009845264256000519, 0.009341963566839695, 0.043725334107875824, -0.01650295779109001, 0.003953557927161455, -0.04683343693614006, -0.03406549617648125, -0.04506747052073479, -0.03803892061114311, 0.03807424008846283, -0.005871838890016079, -0.03708529844880104, -0.03369464352726936, 0.022798629477620125, -0.016132105141878128, 0.0368027463555336, 0.007483283523470163, -0.02020265907049179, -0.017739135771989822, -0.041323620826005936, 0.0036202315241098404, 0.020997343584895134, 0.013571453280746937, 0.023098843172192574, 0.07311102002859116, -0.051495589315891266, -0.03546060994267464, 0.03676742687821388, -0.040369998663663864, 0.03991084545850754, 0.054744966328144073, 0.07127441465854645, -0.04895259439945221, 0.061420321464538574, 0.012229318730533123, -0.030321646481752396, 0.0014845157274976373, -0.010383883491158485, -0.014171882532536983, 0.016970939934253693, 0.027072269469499588, -0.014030604623258114, -0.028749937191605568, -0.0033509216737002134, 0.02117394097149372, 0.024017145857214928, -0.014472096227109432, 0.007920360192656517, -0.020273298025131226, -0.00038409774424508214, -0.05050664767622948, -0.02940334379673004, 0.0174918994307518, -0.00822057481855154, 0.05093047767877579, -0.0009133358835242689, 0.06516417115926743, 0.01645880937576294, 0.03452464938163757, 0.04114702343940735, -0.08851024508476257, -0.026577798649668694, 0.021527133882045746, -0.03613167628645897, 0.037721049040555954, 0.10503969341516495, -0.042171284556388855, 0.0003209092537872493, 0.0036290613934397697, 0.007624560967087746, -0.08215276896953583, 0.0012339692329987884, 0.03387124091386795, 0.017182854935526848, -0.013280069455504417, 0.0911945179104805, -0.010498671792447567, 0.04323086515069008, 0.01631753146648407, 0.04513810575008392, -0.01910775899887085, -0.018189456313848495, 0.09041748940944672, 0.005509816110134125, -0.000863668043166399, 0.05506284162402153, 0.016132105141878128, -0.022410117089748383, 0.021403515711426735, 0.03768572956323624, -0.0027504931204020977, 0.012935705482959747, 0.04213596507906914, 0.021156281232833862, -0.055416032671928406, -0.05993690714240074, -0.06717737019062042, -0.007492113392800093, 0.04531470313668251, 0.05838285759091377, -0.04838748648762703, -0.0005328252445906401, -0.007227218709886074, 0.031186971813440323, 0.0066930134780704975, -0.01779211312532425, -0.0075362627394497395, -0.006595885381102562, 0.036343593150377274, -0.0037615089677274227, -0.01449858583509922, -0.003311187494546175, -0.03415379673242569, -0.02006138116121292, 0.025906730443239212, -0.0030175955034792423, 0.05425049364566803, 0.011469953693449497, -0.044396400451660156, -0.011522931978106499, -0.08681491762399673, 0.03948701545596123, 0.004776939749717712, -0.04157085344195366, -0.02761971764266491, -0.014410288073122501, -0.028414404019713402, 0.04061723127961159, 0.022498415783047676, -0.04556193947792053, -0.032846979796886444, 0.04619768634438515, 0.01937265321612358, 0.03931041806936264, 0.02062649093568325, -0.03180506080389023, -0.025041406974196434, -0.00474603520706296, 0.04863472282886505, 0.031310588121414185, -0.05022409185767174, -0.026666095480322838, -0.021845007315278053, -0.02661311812698841, 0.0022626447025686502, -0.05774711072444916, 0.056263696402311325, -0.05386198312044144, 0.04626832529902458, -0.007015302311629057, -0.0305335633456707, 0.0039756326004862785, -0.09197154641151428, 0.032546766102313995, 0.028749937191605568, 0.01546986773610115, -0.02288692817091942, -0.011628890410065651, -0.027301844209432602, 0.019143078476190567, -0.043160226196050644, 0.008816588670015335, -0.04040531814098358, -0.043831292539834976, 0.0066797686740756035, -0.026136307045817375, 0.0015496357809752226, 0.06516417115926743, 0.028679298236966133, -0.02857333980500698, -0.008397171273827553, 0.010013030841946602, 0.0027549080550670624, -0.017218174412846565, -0.027425462380051613, -0.00773934880271554, -0.04806961119174957, -0.0286086592823267, 0.006803386379033327, 0.010931333526968956, 0.009677497670054436, -0.02090904489159584, 0.09359623491764069, -0.011346335522830486, -0.02843206375837326, 0.004304543603211641, 0.01841903291642666, 0.049270469695329666, -0.013995286077260971, 0.0327586829662323, 0.04015808179974556, 0.024211402982473373, 0.005147792864590883, 0.008776853792369366, 0.006450193002820015, -0.06484629213809967, -0.021138621494174004, -0.012564852833747864, 0.02620694600045681, -0.03754445165395737, -0.05704072117805481, 0.013050493784248829, 0.013633262366056442, -0.028555680066347122, -0.06657694280147552, -0.013288899324834347, -0.006807801313698292, -0.047186627984046936, -0.033659324049949646, -0.044113848358392715, 0.06159691512584686, -0.007236048113554716, 0.02594204992055893, 0.045667897909879684, 0.006564980838447809, -0.07332293689250946, -0.04485555365681648, -0.05746455490589142, 0.049023233354091644, -0.016026146709918976, -0.021668409928679466, 0.022780969738960266, -0.015867210924625397, 0.012591342441737652, -0.03461294621229172, -0.010481012053787708, -0.03055122308433056, -0.01785392314195633, -0.002003268338739872, 0.017279984429478645, 0.03120463155210018, 0.04824620857834816, 0.013571453280746937, 0.022957567125558853, -0.002450278727337718, 0.03473656252026558, -0.07325229793787003, -0.046374283730983734, 0.018860524520277977, 0.009156537242233753, 0.0062338621355593204, -0.08540214598178864, -0.043831292539834976, -0.015981998294591904, 0.03180506080389023, 0.010825376026332378, -0.03856871277093887, 0.005863009486347437, -0.032264210283756256, 0.003512066090479493, -0.05587518587708473, -0.04097042605280876, -0.0021114337723702192, -0.08561406284570694, -0.050400689244270325, 0.01144346408545971, 0.013288899324834347, -0.004167681094259024, 0.019725847989320755, -0.025059066712856293, -0.00554072018712759, -0.016794342547655106, -0.02873227745294571, 0.005306729581207037, -0.006975568365305662, 0.006847535725682974, -0.01765083707869053, 0.038674671202898026, -0.022533735260367393, 0.006878440268337727, 0.0056952424347400665, 0.06675353646278381, 0.03754445165395737, -0.03192867711186409, 0.021845007315278053, -0.0014911381294950843, 0.037155937403440475, 0.04969429969787598, 0.009094728156924248, -0.06527012586593628, 0.06625907123088837, 0.026100987568497658, -0.00962451845407486, 0.07254590839147568, -0.03168144077062607, -0.02705460973083973, 0.007028547115623951, -0.011893785558640957, 0.04097042605280876, 0.041323620826005936, -0.05700540170073509, 0.014913588762283325, 0.021244578063488007, -0.013262409716844559, -0.027231205254793167 ]
54,680
nbconvert.exporters.rst
RSTExporter
Exports reStructuredText documents.
class RSTExporter(TemplateExporter): """ Exports reStructuredText documents. """ @default("file_extension") def _file_extension_default(self): return ".rst" @default("template_name") def _template_name_default(self): return "rst" output_mimetype = "text/restructuredtext" export_from_notebook = "reST" @property def default_config(self): c = Config( { "CoalesceStreamsPreprocessor": {"enabled": True}, "ExtractOutputPreprocessor": {"enabled": True}, "HighlightMagicsPreprocessor": {"enabled": True}, } ) if super().default_config: c2 = super().default_config.copy() c2.merge(c) c = c2 return c
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ -0.03897519037127495, -0.13044174015522003, 0.03345072269439697, -0.04251513630151749, 0.03382617235183716, -0.0033902155701071024, -0.028569886460900307, 0.036490075290203094, -0.004648417234420776, -0.006811718922108412, 0.04498237371444702, -0.015965525060892105, -0.021597260609269142, 0.058105211704969406, -0.018504275009036064, -0.01854003220796585, 0.0021755932830274105, 0.013256927952170372, 0.03389768674969673, -0.019058510661125183, -0.011299229227006435, -0.059857308864593506, 0.024439945816993713, -0.020041828975081444, -0.004053955897688866, -0.03564978390932083, 0.0072989086620509624, -0.0790230929851532, -0.056460388004779816, -0.018271854147315025, -0.0535283088684082, -0.11549528688192368, -0.023456627503037453, 0.035059791058301926, 0.04140666872262955, -0.027461417019367218, -0.065006323158741, 0.07330196350812912, -0.03345072269439697, -0.007222924847155809, -0.012720571830868721, -0.0154738649725914, 0.027139604091644287, -0.09103745967149734, -0.023975104093551636, 0.018969116732478142, -0.03765217959880829, -0.012532847002148628, -0.03643643856048584, 0.021454231813549995, 0.028122922405600548, 0.005484238266944885, -0.039797600358724594, 0.0384388342499733, -0.00851017888635397, -0.035506755113601685, 0.03965457156300545, 0.07401710003614426, -0.00038662314182147384, 0.002391252899542451, 0.021972710266709328, 0.03203831985592842, 0.005086441058665514, 0.027139604091644287, 0.025602050125598907, 0.0608227476477623, 0.0028784428723156452, 0.01354298461228609, 0.001682816306129098, 0.02061394229531288, -0.03631128743290901, -0.06368331611156464, 0.013623437844216824, 0.013837980106472969, 0.05621008947491646, -0.012541786767542362, -0.09382651001214981, -0.027157481759786606, 0.014857055619359016, 0.02118605375289917, 0.029785625636577606, 0.02283087931573391, -0.01667172648012638, 0.003741081804037094, 0.045161157846450806, -0.08031034469604492, 0.04115637019276619, -0.02172240987420082, 0.05506586283445358, -0.030697431415319443, 0.024743881076574326, 0.0068921721540391445, 0.009028656408190727, -0.033414967358112335, 0.036615222692489624, -0.03164499253034592, -0.013507227413356304, 0.011817706748843193, -0.011236654594540596, -0.03598947450518608, -0.028605643659830093, 0.04662719741463661, -0.020542427897453308, -0.031323179602622986, 0.025512658059597015, 0.012765267863869667, -0.002220289548859, 0.07652009278535843, -0.040012143552303314, -0.04029820114374161, -0.018843967467546463, -0.008554874919354916, -0.013641316443681717, -0.03865337371826172, 0.039332758635282516, -0.019576987251639366, 0.02490478754043579, 0.02688930369913578, 0.00784867350012064, -0.03872488811612129, -0.022455429658293724, 0.022097859531641006, -0.06808143109083176, 0.006467557046562433, -0.01168361771851778, 0.03520281985402107, 0.02470812387764454, 0.041871510446071625, 0.012640118598937988, -0.020238492637872696, -0.02084636315703392, 0.042622409760951996, -0.0941125676035881, -0.04201453924179077, 0.06125183403491974, 0.010700298473238945, -0.024726003408432007, 0.021114541217684746, 0.0034818430431187153, 0.08789084106683731, -0.0074017103761434555, -0.05992882326245308, 0.005265226121991873, 0.051204100251197815, -0.025709321722388268, 0.01713656820356846, -0.05048895999789238, 0.05520889163017273, -0.027479296550154686, 0.0447678305208683, 0.02347450517117977, 0.013989947736263275, -0.021489989012479782, -0.01647506281733513, 0.020435156300663948, 0.047449611127376556, 0.03718733787536621, 0.05270589888095856, -0.009180624037981033, 0.006963686086237431, 0.07101351022720337, -0.007584964856505394, 0.06025063619017601, 0.06354028731584549, -0.011933917179703712, 0.023528141900897026, -0.0154738649725914, -0.07194319367408752, -0.010324849747121334, -0.01734217070043087, 0.018075190484523773, 0.007142471615225077, -0.06604328006505966, -0.008085563778877258, 0.07272984832525253, 0.06636509299278259, 0.023563899099826813, 0.12200307101011276, -0.03965457156300545, -0.006177030969411135, 0.010816508904099464, -0.037473391741514206, -0.0709419921040535, 0.005555752199143171, 0.029660476371645927, 0.0101460637524724, -0.014964327216148376, -0.0023957225494086742, 0.004813793580979109, 0.009037595242261887, 0.08181213587522507, 0.0007754811085760593, -0.0063155898824334145, -0.0005617768620140851, -0.013596619479358196, -0.06532813608646393, -0.043623607605695724, -0.07129956781864166, 0.03650795295834541, 0.037723690271377563, -0.03486312925815582, -0.001479448052123189, 0.03954730182886124, 0.03332557529211044, -0.020327884703874588, 0.005998245906084776, 0.03248528391122818, -0.03157347813248634, -0.0636475533246994, 0.04709203913807869, -0.015724165365099907, -0.02753293141722679, 0.056460388004779816, 0.04730658233165741, 0.03325406089425087, -0.06264635920524597, 0.00927895586937666, 0.051740456372499466, -0.04519691690802574, -0.03107287921011448, 0.05649614706635475, 0.0064630876295268536, 0.021811803802847862, 0.012443454936146736, 0.012765267863869667, -0.03543524071574211, 0.023778440430760384, -0.07408861815929413, 0.01365919504314661, -0.04119212552905083, 0.013239049352705479, -0.023242084309458733, -0.010298031382262707, 0.029910774901509285, 0.026317192241549492, -0.04727082699537277, 0.022455429658293724, -0.028605643659830093, -0.018245037645101547, 0.015125233680009842, -0.03118015080690384, 0.0671517476439476, 0.004574668128043413, -0.013998886570334435, 0.020899998024106026, -0.05417193844914436, 0.056889474391937256, -0.0020638525020331144, -0.012470272369682789, 0.003455025376752019, 0.04984533414244652, -0.03554251044988632, -0.034952521324157715, 0.021776046603918076, 0.006159152369946241, 0.03366526588797569, -0.06289666146039963, 0.004449518397450447, -0.016850512474775314, -0.03427313640713692, 0.019362444058060646, -0.039332758635282516, 0.004324368666857481, -0.0017353345174342394, 0.05209802836179733, -0.049666546285152435, -0.022455429658293724, 0.00713353231549263, 0.045482974499464035, -0.002094022464007139, 0.07190743833780289, 0.0787370353937149, -0.05334952473640442, -0.009305773302912712, 0.004261794034391642, -0.017851708456873894, 0.005435072351247072, -0.026156285777688026, 0.046913255006074905, 0.03743763640522957, 0.03073318861424923, -0.06625781953334808, 0.013373138383030891, 0.032091956585645676, 0.08624601364135742, -0.014061461202800274, -0.044839344918727875, 0.03618614003062248, 0.00080956204328686, -0.00395115464925766, 0.03282497450709343, 0.06328998506069183, 0.02985714003443718, -0.019380323588848114, 0.003441616427153349, -0.013096021488308907, -0.020774848759174347, -0.032896488904953, -0.010405302979052067, -0.011862402781844139, 0.004029373172670603, -0.020721212029457092, 0.018486397340893745, -0.02435055375099182, -0.0337725393474102, -0.02667476236820221, -0.0052428781054914, -0.01169255655258894, 0.0023845485411584377, -0.012523908168077469, 0.00916274543851614, -0.012434515170753002, 0.006691038608551025, 0.026835668832063675, -0.032753460109233856, -0.006990503985434771, 0.019791528582572937, -0.017181264236569405, 0.019576987251639366, 0.007477693725377321, -0.09826038777828217, -0.013283745385706425, -0.010789691470563412, -0.011969673447310925, 0.055709488689899445, -0.07194319367408752, -0.019183659926056862, -0.014445849694311619, -0.0007860964979045093, 0.05417193844914436, -0.032664068043231964, -0.015992341563105583, 0.033414967358112335, 0.019058510661125183, -0.029481690376996994, -0.0968300998210907, 0.028373222798109055, -0.008930324576795101, -0.041978780180215836, -0.04358784854412079, 0.02107878401875496, 0.008845400996506214, 0.004375769291073084, 0.005417193751782179, -0.025101451203227043, 0.03523857519030571, -0.021150296553969383, -0.014562060125172138, 0.039225488901138306, -0.042979978024959564, -0.0021599496249109507, 0.0695832297205925, -0.020327884703874588, 0.04887989163398743, -0.002404661849141121, -0.016045978292822838, 0.010566209442913532, -0.018593668937683105, -0.01889760233461857, -0.09489922225475311, 0.007053079083561897, 0.037366122007369995, -0.019576987251639366, 0.0405842550098896, 0.00044221419375389814, 0.020238492637872696, -0.006570358760654926, 0.08209819346666336, 0.034737978130578995, -0.010083489120006561, -0.008778356947004795, -0.01239875890314579, 0.013945250771939754, -0.004295316059142351, -0.0012235617032274604, -0.04984533414244652, -0.06922565400600433, -0.013945250771939754, -0.030018046498298645, -0.07301590591669083, 0.03246740624308586, 0.04226483777165413, 0.017753377556800842, -0.03936851769685745, -0.024225404486060143, -0.051204100251197815, 0.041549697518348694, 0.04655568301677704, -0.0053278012201189995, -0.03994062915444374, 0.0005718335160054266, -0.01801261678338051, -0.046805985271930695, 0.05234832689166069, -0.05792642757296562, -0.049988362938165665, -0.040906067937612534, 0.04441026225686073, 0.015205686911940575, 0.030661674216389656, 0.07616252452135086, 0.0004525502154137939, 0.018611546605825424, -0.004422700498253107, -0.007392771076411009, 0.0028784428723156452, 0.07916611433029175, -0.04458904638886452, 0.027801109477877617, -0.0037611951120197773, 0.03800974786281586, -0.011451196856796741, -0.0209715124219656, 0.026925060898065567, 0.007482163608074188, 0.00834480207413435, 0.058784596621990204, 0.009493498131632805, -0.04026244208216667, -0.01973789371550083, -0.02402874082326889, 0.023867834359407425, 0.08109699934720993, 0.07895157486200333, 0.07694917917251587, -0.00008541186980437487, -0.042765434831380844, 0.012756329029798508, -0.050310175865888596, 0.029714111238718033, -0.054386477917432785, -0.02501205913722515, -0.023849954828619957, -0.025083573535084724, 0.03929700329899788, -0.03468434140086174, 0.016698544844985008, -0.035274334251880646, 0.0021342490799725056, 0.0067893704399466515, 0.06293241679668427, -0.028569886460900307, -0.006950277369469404, -0.023510262370109558, 0.012613301165401936, 0.009752736426889896, -0.039797600358724594, 0.026317192241549492, -0.037044309079647064, -0.047664154320955276, -0.0018604842480272055, 0.01988092251121998, 0.012193155474960804, -0.018039433285593987, 0.03248528391122818, -0.09697312861680984, 0.08231274038553238, -0.004733339883387089, 0.034737978130578995, -0.01541129034012556, 0.01217527687549591, -0.018629424273967743, 0.017395807430148125, 0.00851017888635397, 0.05038169026374817, -0.11478014290332794, 0.012479212135076523, -0.05234832689166069, -0.06564994901418686, -0.025190845131874084, 0.03350435942411423, 0.0013766465708613396, 0.0025610988959670067, -0.015286140143871307, -0.010530452243983746, 0.04913019388914108, -0.03268194571137428, -0.033522237092256546, -0.024064498022198677, -0.03818853199481964, -0.047020524740219116, -0.0028985561802983284, -0.0031689689494669437, 0.03118015080690384, -0.021579382941126823, 0.0012984280474483967, 0.017860649153590202, -0.02996441163122654, 0.034183744341135025, -0.030214710161089897, -0.022759364917874336, 0.035631902515888214, -0.00226498581469059, 0.013891615904867649, -0.008702373132109642, 0.0241360105574131, 0.015348715707659721, 0.03936851769685745, 0.04305149242281914, -0.017512017861008644, 0.08746175467967987, -0.045804787427186966, 0.018736695870757103, 0.03491676226258278, 0.0625748410820961, -0.045053888112306595, 0.038581863045692444, 0.0023040950763970613, -0.01743156462907791, 0.04619811475276947, -0.025315994396805763, 0.005113258492201567, 0.04641265794634819, 0.033307697623968124, 0.005564691498875618, -0.027246875688433647, -0.008295636624097824, 0.038903675973415375, 0.01601022109389305, 0.03302164003252983, -0.026603247970342636, -0.041084855794906616, -0.032431647181510925, -0.017208082601428032, 0.023402992635965347, 0.04026244208216667, -0.006328998599201441, 0.018683061003684998, -0.027729595080018044, 0.0898217186331749, 0.010700298473238945, 0.0035935838241130114, -0.004020433872938156, -0.026478098705410957, -0.030232589691877365, 0.035399481654167175, -0.00784867350012064, 0.029696233570575714, 0.05056047439575195, -0.018522154539823532, -0.020023949444293976, -0.025298114866018295, 0.01356086228042841, -0.020935755223035812, -0.00040897130384109914, 0.016859451308846474, 0.01602809876203537, -0.0008749304106459022, 0.05696098878979683, 0.022544821724295616, 0.012130580842494965, -0.0202921275049448, -0.014964327216148376, 0.024386310949921608, -0.01415085420012474, 0.08181213587522507, -0.028605643659830093, 0.022652093321084976, 0.07090623676776886, 0.03904670476913452, 0.018736695870757103, 0.0017554478254169226, 0.053599823266267776, 0.03434465080499649, 0.06146637722849846, 0.07230076193809509, 0.0025678034871816635, -0.03754490613937378, -0.08924960345029831, -0.0335758738219738, 0.043194521218538284, -0.019344566389918327, 0.040763042867183685, -0.023671168833971024, -0.0012056832201778889, 0.043730877339839935, 0.07909460365772247, 0.007285499945282936, -0.003917632158845663, -0.028498372063040733, -0.015366594307124615, -0.006811718922108412, 0.07244379073381424, -0.06354028731584549, -0.01152271032333374, -0.01964850164949894, -0.011549528688192368, -0.019130023196339607, 0.011263472028076649, -0.01491963118314743, -0.0034192681778222322, 0.011531650088727474, 0.06371907144784927, -0.0639336109161377, 0.04480358958244324, 0.019612744450569153, 0.006597176659852266, -0.03371890261769295, 0.06650812178850174, -0.04480358958244324, -0.03139469400048256, 0.005823930259793997, -0.029285026714205742, -0.032217103987932205, 0.011933917179703712, -0.03983335942029953, 0.07169289141893387, -0.0076520093716681, 0.027461417019367218, -0.008769417181611061, 0.0016157719073817134, -0.03409435227513313, -0.004590312018990517, -0.013024507090449333, -0.019130023196339607, -0.023081177845597267, -0.001821374986320734, 0.006217257585376501, -0.022687850520014763, -0.03622189536690712, 0.006798309739679098, 0.07051291316747665, -0.04501813277602196, -0.026424463838338852, -0.017592471092939377, 0.018146704882383347, -0.012827843427658081, 0.004880838096141815, 0.0026929532177746296, 0.0064630876295268536, 0.004652886651456356, -0.04280119389295578, 0.05013138800859451, -0.02840897999703884, 0.038117021322250366, 0.010110307484865189, -0.010888023301959038, 0.018486397340893745, 0.0005567484768107533, -0.014722966589033604, 0.02150786854326725, -0.05545919016003609, 0.015956586226820946, -0.01898699626326561, -0.05424344912171364, 0.021990587934851646, 0.009690161794424057, -0.014687210321426392, 0.021543625742197037, -0.014767663553357124, -0.00022711316705681384, 0.08302787691354752, 0.010458937846124172, -0.017503077164292336, -0.06436269730329514, 0.03366526588797569, -0.01438327506184578, -0.013703891076147556, 0.031090758740901947, -0.004988109227269888, 0.031019244343042374, -0.009815311059355736, 0.015447047539055347, 0.007111184298992157, 0.025047816336154938, -0.04480358958244324, -0.017717620357871056, 0.03733036294579506, 0.017628228291869164, -0.014624634757637978, 0.01222891267389059, 0.005823930259793997, -0.012988749891519547, -0.03427313640713692, 0.04684174060821533, -0.030035926029086113, 0.011272410862147808, -0.04119212552905083, -0.012738450430333614, -0.0366867370903492, -0.05145440250635147, 0.03525645658373833, -0.0454472154378891, 0.049452006816864014, -0.051740456372499466, 0.003566766157746315, -0.007289969362318516, 0.0006106634391471744, 0.0006000480498187244, -0.002290686359629035, -0.026817791163921356, 0.04694901034235954, -0.0018694234313443303, -0.02776535227894783, 0.01864730380475521, -0.005989306606352329, -0.012559665367007256, -0.09597193449735641, -0.05270589888095856, -0.04458904638886452, -0.004045016597956419, -0.009591829963028431, -0.020006071776151657, -0.0030929851345717907, 0.017270656302571297, 0.02317057177424431, 0.03159135580062866, -0.01366813387721777, -0.0016794641269370914, -0.05023866146802902, 0.0033946852199733257, 0.04980957508087158, 0.03454131260514259, 0.017208082601428032, -0.008617449551820755, -0.05610281601548195, 0.023027542978525162, 0.037723690271377563, 0.003441616427153349, -0.05892762541770935, -0.007200576830655336, -0.011334986425936222, -0.0017152212094515562, 0.014785542152822018, 0.0073525444604456425, -0.005336740519851446, -0.054064664989709854, -0.03656158596277237, 0.033397089689970016, -0.031090758740901947, 0.025315994396805763, 0.020721212029457092, 0.00012920029985252768, -0.008894567377865314, 0.010959536768496037, 0.007866552099585533, 0.037044309079647064, 0.0073704225942492485, -0.04555448517203331, -0.03861761838197708, 0.03354011848568916, -0.001773326424881816, -0.06089426204562187, 0.026156285777688026, 0.026102649047970772, 0.025959622114896774, 0.04387390613555908, 0.004831671714782715, -0.0032695357222110033, 0.05134712904691696, 0.03185953572392464, -0.004947882145643234, -0.018307611346244812, -0.0025812124367803335, -0.005444011650979519, 0.000418748619267717, 0.007053079083561897, 0.026388706639409065, -0.0709419921040535, 0.01251496933400631, 0.026084771379828453, -0.04852232336997986, -0.014964327216148376, -0.008787295781075954, 0.04734233766794205, 0.03804550692439079, -0.03262831270694733, -0.010593026876449585 ]
54,729
nbconvert.exporters.script
ScriptExporter
A script exporter.
class ScriptExporter(TemplateExporter): """A script exporter.""" # Caches of already looked-up and instantiated exporters for delegation: _exporters = Dict() _lang_exporters = Dict() export_from_notebook = "Script" @default("template_file") def _template_file_default(self): return "script.j2" @default("template_name") def _template_name_default(self): return "script" def _get_language_exporter(self, lang_name): """Find an exporter for the language name from notebook metadata. Uses the nbconvert.exporters.script group of entry points. Returns None if no exporter is found. """ if lang_name not in self._lang_exporters: try: exporters = entry_points(group="nbconvert.exporters.script") exporter = [e for e in exporters if e.name == lang_name][0].load() # noqa: RUF015 except (KeyError, IndexError): self._lang_exporters[lang_name] = None else: # TODO: passing config is wrong, but changing this revealed more complicated issues self._lang_exporters[lang_name] = exporter(config=self.config, parent=self) return self._lang_exporters[lang_name] def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" langinfo = nb.metadata.get("language_info", {}) # delegate to custom exporter, if specified exporter_name = langinfo.get("nbconvert_exporter") if exporter_name and exporter_name != "script": self.log.debug("Loading script exporter: %s", exporter_name) if exporter_name not in self._exporters: exporter = get_exporter(exporter_name) # TODO: passing config is wrong, but changing this revealed more complicated issues self._exporters[exporter_name] = exporter(config=self.config, parent=self) exporter = self._exporters[exporter_name] return exporter.from_notebook_node(nb, resources, **kw) # Look up a script exporter for this notebook's language lang_name = langinfo.get("name") if lang_name: self.log.debug("Using script exporter for language: %s", lang_name) exporter = self._get_language_exporter(lang_name) if exporter is not None: return exporter.from_notebook_node(nb, resources, **kw) # Fall back to plain script export self.file_extension = langinfo.get("file_extension", ".txt") self.output_mimetype = langinfo.get("mimetype", "text/plain") return super().from_notebook_node(nb, resources, **kw)
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ 0.030816329643130302, -0.06266047805547714, -0.023181073367595673, -0.03463395684957504, 0.022593745961785316, 0.030027108266949654, -0.006263295188546181, 0.07319566607475281, -0.018519163131713867, -0.023015888407826424, 0.05440118908882141, 0.021455800160765648, -0.01614232361316681, 0.0022770403884351254, -0.04687605798244476, -0.02787969261407852, 0.03307386860251427, 0.054694853723049164, 0.028723975643515587, -0.011260165832936764, -0.041223034262657166, -0.10938970744609833, 0.05150126293301582, 0.0032968332525342703, 0.0009251551819033921, -0.05752136558294296, 0.023841816931962967, -0.040415458381175995, -0.01571100577712059, -0.0002854903868865222, -0.05935676395893097, -0.1045442596077919, 0.0021921531297266483, 0.04555457457900047, 0.06332122534513474, -0.003691443707793951, -0.05682391673326492, 0.02725565806031227, -0.0638718456029892, 0.003136235987767577, 0.0582188181579113, 0.00918157771229744, 0.06244023144245148, -0.03423016890883446, -0.04239768907427788, 0.011884200386703014, -0.060311172157526016, -0.013838899321854115, -0.01846410147845745, 0.0024020769633352757, 0.017968544736504555, -0.0425812304019928, 0.030320771038532257, 0.02184123359620571, -0.04368246719241142, 0.031458716839551926, 0.05282275006175041, 0.04063570871949196, -0.03689149394631386, 0.007841737009584904, 0.004416426178067923, 0.012122802436351776, 0.029329657554626465, 0.01694072224199772, -0.005538312718272209, 0.021088721230626106, 0.02103365957736969, -0.02813664823770523, -0.03206440061330795, 0.023988649249076843, 0.03577190265059471, -0.05227212980389595, 0.05972384288907051, 0.024447498843073845, 0.05983396992087364, 0.00027373238117434084, -0.04401284083724022, -0.00539148086681962, 0.002968756016343832, 0.04001167044043541, 0.034120045602321625, -0.03487255796790123, -0.05260249972343445, -0.03835981339216232, 0.03832310438156128, -0.05344678461551666, 0.03547823801636696, -0.006800148636102676, 0.018161261454224586, -0.014563881792128086, -0.03138530254364014, -0.08332706242799759, 0.006612020544707775, -0.01782171241939068, 0.006607431918382645, -0.07345262169837952, 0.031275179237127304, -0.02430066652595997, -0.01464647427201271, -0.014628120698034763, 0.00935593992471695, 0.019106490537524223, 0.020868472754955292, -0.033844735473394394, 0.0374237596988678, 0.0027989817317575216, -0.04518749192357063, 0.060017507523298264, -0.03399156779050827, -0.050803810358047485, -0.025089887902140617, 0.013701244257390499, -0.020886827260255814, -0.07198429852724075, 0.03309222310781479, -0.021437445655465126, -0.035900380462408066, 0.027310719713568687, 0.010305758565664291, -0.01873941160738468, -0.02855878882110119, 0.05139113962650299, -0.048491209745407104, 0.013077209703624249, -0.03283526748418808, -0.03289032727479935, 0.0410027876496315, -0.0125174131244421, 0.0225386843085289, -0.03960788622498512, 0.005253826268017292, 0.0289442241191864, -0.06908437609672546, -0.0034597248304635286, 0.04012179747223854, 0.015995491296052933, -0.10630623996257782, 0.040855955332517624, -0.02406206540763378, 0.1139414981007576, 0.041920486837625504, -0.04177365452051163, 0.029329657554626465, 0.04570140689611435, -0.01623409427702427, -0.02015266753733158, 0.013903138227760792, 0.06754264235496521, -0.041479989886283875, -0.04052558168768883, -0.0002893619239330292, 0.03707503527402878, -0.03672631084918976, -0.02767779864370823, 0.04588494449853897, 0.008291409350931644, 0.0005084625445306301, 0.06846033781766891, -0.01658281870186329, -0.030761267989873886, 0.02529178187251091, 0.027127180248498917, 0.0356801338493824, 0.038469936698675156, -0.00909439567476511, 0.034744080156087875, 0.0029136938974261284, -0.028430311009287834, -0.0015061732847243547, 0.029861921444535255, -0.04346222057938576, -0.018344800919294357, -0.03423016890883446, 0.05792515352368355, 0.022869056090712547, 0.06335793435573578, 0.05326324328780174, 0.03791932016611099, 0.011067449115216732, 0.019033074378967285, -0.027274010702967644, -0.041847068816423416, -0.08273973315954208, 0.015509111806750298, -0.0006871270597912371, 0.02413548156619072, 0.02439243718981743, -0.0021898590493947268, -0.004487547557801008, -0.007355356588959694, 0.04606848582625389, 0.03153213486075401, 0.03657947853207588, 0.034670665860176086, -0.04753680154681206, -0.0397547148168087, -0.02261210046708584, -0.025622153654694557, -0.06111874803900719, -0.007024985272437334, -0.02404371090233326, 0.0159679614007473, 0.03905726596713066, 0.022593745961785316, -0.02626454271376133, 0.007291117683053017, -0.001556646777316928, -0.0030329949222505093, -0.0782613605260849, -0.004918866325169802, 0.015986314043402672, -0.03156884387135506, -0.0026016763877123594, 0.06365159898996353, 0.016206562519073486, -0.0397547148168087, 0.005240060854703188, 0.0494823232293129, 0.011195926927030087, 0.012948731891810894, 0.002227714052423835, 0.0438292995095253, 0.012388935312628746, 0.055685970932245255, -0.0015795892104506493, -0.03679972514510155, 0.07025902718305588, -0.01853751763701439, 0.05304299667477608, -0.017261916771531105, 0.0031385303009301424, -0.03167896717786789, 0.023805109784007072, 0.027127180248498917, 0.017436278983950615, -0.004673381801694632, 0.0067037902772426605, -0.037130098789930344, -0.025622153654694557, 0.07348933070898056, -0.024722808972001076, 0.033514365553855896, -0.008759436197578907, -0.02075834944844246, 0.028962576761841774, -0.00696992315351963, 0.068533755838871, -0.003622616408392787, -0.033239055424928665, -0.009663369506597519, 0.07517789304256439, 0.010957324877381325, -0.018620111048221588, -0.005001458805054426, -0.0532265342772007, 0.038469936698675156, -0.024080419912934303, -0.03657947853207588, -0.010204811580479145, -0.002260980661958456, -0.03821298107504845, -0.051060765981674194, -0.03008216992020607, -0.026576559990644455, 0.03468901664018631, -0.02217160537838936, -0.01037917472422123, 0.028889160603284836, 0.014490465633571148, 0.014830014668405056, 0.06746922433376312, 0.04603177681565285, -0.050987351685762405, 0.006024693138897419, 0.0034253110643476248, -0.00636883033439517, 0.01784924417734146, -0.015463226474821568, -0.0003914559492841363, 0.023474738001823425, 0.04562798887491226, -0.006827679928392172, -0.003365660784766078, -0.013737952336668968, 0.03397321328520775, -0.004340715706348419, -0.024374082684516907, -0.034744080156087875, 0.02006089873611927, -0.012939554639160633, 0.004003461450338364, 0.03397321328520775, 0.029439780861139297, -0.010764608159661293, -0.055502429604530334, 0.010883908718824387, -0.04555457457900047, -0.0582188181579113, 0.04063570871949196, -0.04515078663825989, -0.008461183868348598, -0.04746338725090027, 0.05495180934667587, -0.04118632525205612, -0.08457513153553009, -0.034120045602321625, -0.009654192253947258, -0.0006418156553991139, 0.004333833232522011, -0.007809617556631565, 0.0197121724486351, -0.039718009531497955, 0.06266047805547714, -0.016885660588741302, -0.01321486383676529, -0.0016874189022928476, 0.062073152512311935, -0.024337375536561012, 0.01668376661837101, -0.0045036072842776775, -0.059944093227386475, 0.04808742180466652, -0.009700077585875988, 0.0021302085369825363, 0.021620986983180046, -0.0172160305082798, 0.010994032956659794, 0.015362279489636421, 0.03202769160270691, 0.009755139239132404, -0.028430311009287834, 0.04738997295498848, 0.02609935589134693, -0.012453174218535423, -0.024649392813444138, -0.038910433650016785, 0.01897801272571087, -0.007928918115794659, 0.00839235633611679, -0.035625070333480835, -0.0037579769268631935, -0.004485253244638443, -0.01130605023354292, 0.018766943365335464, -0.02767779864370823, 0.0197121724486351, -0.03391814976930618, 0.04159011319279671, 0.01247152779251337, -0.012141156010329723, -0.021015305072069168, 0.038469936698675156, -0.040415458381175995, 0.01808784529566765, -0.046472273766994476, -0.07495764642953873, 0.03322070091962814, -0.08024359494447708, -0.03237641602754593, -0.06915778666734695, 0.006882741581648588, -0.00003337412636028603, -0.03276184946298599, 0.037497177720069885, 0.022483622655272484, -0.05208858847618103, 0.10542524605989456, 0.03329411521553993, 0.06816667318344116, -0.001031837658956647, 0.034487124532461166, -0.004882158245891333, 0.004923454485833645, -0.04118632525205612, -0.028026524931192398, -0.06673506647348404, 0.01571100577712059, -0.02226337604224682, -0.030926452949643135, -0.05535559728741646, 0.04522420093417168, -0.006951569113880396, -0.050730396062135696, 0.009479830041527748, 0.018500810489058495, -0.034487124532461166, 0.07147038727998734, 0.01513285469263792, -0.012012678198516369, -0.045738112181425095, 0.04518749192357063, -0.003519375342875719, -0.002102677710354328, 0.03232135623693466, 0.0021680635400116444, -0.020629871636629105, -0.043095141649246216, 0.05370374023914337, 0.01980394311249256, 0.04570140689611435, 0.016013845801353455, -0.0003037009737454355, 0.07286529242992401, 0.04239768907427788, -0.02048303931951523, 0.007415007334202528, 0.08149166405200958, -0.011728191748261452, 0.013682890683412552, 0.009245816618204117, 0.01034246664494276, -0.01060859952121973, -0.03309222310781479, -0.03373461216688156, -0.016738828271627426, 0.07297541946172714, -0.028099941089749336, -0.026503143832087517, -0.06343134492635727, -0.058622606098651886, -0.04368246719241142, 0.01543569564819336, 0.0704425647854805, 0.031972628086805344, 0.07308553904294968, -0.03993825614452362, -0.045995067805051804, -0.00046257759095169604, -0.06034788116812706, 0.02591581642627716, 0.004072288982570171, -0.05917322635650635, -0.01731697842478752, -0.03344094753265381, 0.044673580676317215, -0.00865848921239376, 0.0108747323974967, -0.02163933962583542, 0.03131188824772835, 0.03336753323674202, -0.034377001225948334, 0.005538312718272209, 0.017344508320093155, 0.013315810821950436, -0.01739039458334446, -0.0029297536239027977, -0.045664697885513306, 0.04177365452051163, -0.07752720266580582, -0.03718515858054161, 0.05880614370107651, 0.02885245345532894, 0.04133315756917, -0.040342044085264206, 0.00985608622431755, -0.041920486837625504, 0.043425511568784714, -0.027732860296964645, 0.05495180934667587, 0.043425511568784714, 0.000752513122279197, 0.03186250478029251, 0.040342044085264206, -0.025952525436878204, -0.00025408787769265473, -0.07730695605278015, 0.026778453961014748, -0.03791932016611099, -0.004877569619566202, 0.03061443567276001, 0.01864764094352722, 0.032431479543447495, 0.018959660083055496, -0.025677215307950974, -0.020372916013002396, 0.051427844911813736, -0.002267863368615508, -0.07073622941970825, -0.03452383354306221, -0.014086677692830563, -0.02226337604224682, -0.01996912807226181, 0.012462351471185684, 0.045481156557798386, -0.05520876497030258, 0.00506110955029726, 0.0741867795586586, -0.009700077585875988, 0.03382638096809387, -0.004347598645836115, -0.03371625766158104, 0.06592749059200287, 0.01678471267223358, 0.016885660588741302, -0.004391189198940992, -0.003184415167197585, 0.048858288675546646, 0.03353271633386612, 0.027402488514780998, -0.045921653509140015, 0.05561255291104317, 0.0002143687306670472, 0.015655944123864174, 0.008970506489276886, 0.04808742180466652, -0.04753680154681206, -0.0008976242388598621, 0.03876360133290291, -0.03272514417767525, 0.0020774409640580416, -0.020886827260255814, 0.030669497326016426, 0.012012678198516369, 0.03986484184861183, -0.02459433116018772, -0.01491260714828968, -0.054804977029561996, 0.029054347425699234, -0.005965042859315872, 0.02244691550731659, -0.02501647174358368, -0.03733199089765549, -0.0023206311743706465, -0.04816083982586861, -0.01034246664494276, 0.039093971252441406, -0.009218285791575909, 0.01995077356696129, -0.0122879883274436, 0.07356274127960205, -0.045995067805051804, 0.02929294854402542, 0.025860754773020744, -0.04845450073480606, -0.06372500956058502, 0.02459433116018772, -0.012159510515630245, 0.04302172362804413, 0.028008170425891876, -0.014086677692830563, -0.03267008066177368, -0.00932382047176361, 0.0042718881741166115, -0.05858589708805084, 0.05858589708805084, 0.0035927912686020136, 0.006166936829686165, 0.010920616798102856, -0.005203352775424719, 0.026374666020274162, 0.018565049394965172, -0.019124845042824745, -0.011893377639353275, 0.017968544736504555, -0.007102989591658115, 0.02492470294237137, -0.039093971252441406, 0.010452590882778168, 0.019473571330308914, 0.034120045602321625, -0.00892462208867073, 0.011471236124634743, 0.006956157740205526, -0.010195634327828884, 0.012572474777698517, 0.07723353803157806, 0.05770490691065788, -0.06317438930273056, -0.07789428532123566, -0.03957117721438408, 0.009043922647833824, -0.007832559756934643, 0.037772487848997116, -0.08310681581497192, -0.0014419343788176775, 0.04738997295498848, 0.039167389273643494, -0.03931422159075737, 0.03869018703699112, -0.006084343884140253, -0.021088721230626106, 0.02707211673259735, 0.028980931267142296, -0.028356896713376045, 0.020611517131328583, 0.0472431406378746, -0.034744080156087875, 0.042728058993816376, 0.023548154160380363, 0.02404371090233326, -0.0006980246980674565, 0.032082755118608475, 0.026594914495944977, -0.06504649668931961, 0.07106660306453705, 0.023566506803035736, 0.001936344662681222, -0.007905975915491581, 0.05597963184118271, -0.07147038727998734, -0.03489091247320175, -0.03133023902773857, -0.04368246719241142, 0.004033286590129137, 0.047683633863925934, -0.018959660083055496, -0.002186417579650879, -0.0330188050866127, -0.00756642734631896, 0.013958199881017208, -0.00886955950409174, -0.04045216739177704, 0.012884492985904217, -0.03107328526675701, -0.006731321569532156, -0.013398404233157635, -0.01304050162434578, -0.05084051936864853, 0.02140073850750923, -0.007180993910878897, -0.04261793568730354, 0.03406498208642006, -0.0159679614007473, 0.0103332893922925, 0.015454049222171307, -0.00614858279004693, -0.011893377639353275, 0.016032200306653976, 0.013435112312436104, 0.044857122004032135, -0.01397655438631773, -0.028540436178445816, 0.04900512099266052, 0.002675092313438654, 0.043792590498924255, 0.008621781133115292, 0.001998289255425334, -0.025218365713953972, 0.036781370639801025, -0.004058523569256067, 0.03123847022652626, -0.06273389607667923, 0.023217782378196716, -0.015839483588933945, -0.03523963689804077, -0.009516537189483643, 0.07723353803157806, 0.006235763896256685, 0.02945813536643982, -0.019895711913704872, -0.022869056090712547, 0.05810869485139847, -0.030724558979272842, 0.009975386783480644, -0.06302756071090698, 0.06666164845228195, 0.0018583402270451188, -0.01415091659873724, 0.014049970544874668, -0.0020648224744945765, 0.01791348308324814, 0.021877942606806755, -0.010131395421922207, 0.0021611808333545923, 0.03727693110704422, -0.031990982592105865, -0.027567675337195396, -0.0027599793393164873, 0.04537103325128555, -0.012792722322046757, 0.003335835412144661, -0.019730526953935623, -0.022483622655272484, -0.050620272755622864, -0.004136527888476849, -0.0008316645980812609, 0.027971463277935982, 0.0016736533725634217, -0.034597247838974, -0.029770152643322945, -0.05876943841576576, 0.004772034473717213, -0.05792515352368355, 0.07811453193426132, -0.044673580676317215, -0.0033564837649464607, 0.03806614875793457, 0.00046745289000682533, 0.014077501371502876, -0.04896841198205948, -0.007084635552018881, 0.08773201704025269, -0.0028930457774549723, -0.02652149833738804, 0.052308838814496994, -0.04070912301540375, 0.006511073559522629, -0.05653025209903717, -0.09742291271686554, -0.026943638920783997, 0.02138238400220871, -0.07426019757986069, 0.004707795567810535, -0.00199484801851213, 0.04658239707350731, 0.0007966773700900376, -0.02991698496043682, -0.024245604872703552, 0.01747298613190651, 0.0027898047119379044, -0.022226667031645775, 0.03755223751068115, 0.06879071146249771, 0.0187118798494339, -0.06346805393695831, -0.0038015677127987146, -0.02865055948495865, 0.02474116161465645, -0.021143782883882523, -0.023676631972193718, 0.0011815372854471207, -0.026503143832087517, 0.05139113962650299, 0.024208897724747658, 0.022116543725132942, 0.0003229152935091406, -0.04984940588474274, -0.05873272940516472, 0.03869018703699112, 0.004914277698844671, -0.01224210299551487, 0.001926020602695644, -0.03498268127441406, 0.007832559756934643, 0.04907853528857231, -0.02732907235622406, 0.03248653933405876, -0.0002474919310770929, -0.06343134492635727, -0.04232427477836609, 0.020905181765556335, -0.024869639426469803, -0.04324197396636009, 0.022924117743968964, 0.014719890430569649, 0.0660376101732254, 0.03147707134485245, -0.013627829030156136, 0.032339710742235184, 0.050546854734420776, 0.03322070091962814, 0.020795056596398354, -0.05924664065241814, 0.036597833037376404, 0.056934040039777756, -0.019106490537524223, 0.043976131826639175, 0.013903138227760792, -0.05616317316889763, -0.011645599268376827, -0.007245232816785574, -0.017271094024181366, 0.0068506221286952496, -0.038910433650016785, 0.06244023144245148, -0.040158502757549286, 0.0024227250833064318, -0.016013845801353455 ]
54,738
nbconvert.exporters.script
_get_language_exporter
Find an exporter for the language name from notebook metadata. Uses the nbconvert.exporters.script group of entry points. Returns None if no exporter is found.
def _get_language_exporter(self, lang_name): """Find an exporter for the language name from notebook metadata. Uses the nbconvert.exporters.script group of entry points. Returns None if no exporter is found. """ if lang_name not in self._lang_exporters: try: exporters = entry_points(group="nbconvert.exporters.script") exporter = [e for e in exporters if e.name == lang_name][0].load() # noqa: RUF015 except (KeyError, IndexError): self._lang_exporters[lang_name] = None else: # TODO: passing config is wrong, but changing this revealed more complicated issues self._lang_exporters[lang_name] = exporter(config=self.config, parent=self) return self._lang_exporters[lang_name]
(self, lang_name)
[ 0.029743274673819542, -0.056884463876485825, -0.03704356774687767, 0.015269177965819836, 0.004386500455439091, 0.008718790486454964, 0.04170563444495201, 0.026346107944846153, -0.00803213007748127, -0.011402190662920475, 0.024719804525375366, -0.01868441328406334, 0.017536966130137444, 0.011221490800380707, 0.0066859121434390545, -0.018810903653502464, 0.0005717471358366311, 0.0706176906824112, 0.006631702184677124, -0.009166024625301361, -0.016787061467766762, -0.09757817536592484, 0.06660614162683487, -0.02464752458035946, -0.019316865131258965, 0.014943917281925678, 0.09598801285028458, -0.017988717183470726, -0.03989863395690918, -0.0028257013764232397, -0.05110205337405205, -0.057643406093120575, -0.010914299637079239, 0.043404217809438705, -0.009414487518370152, 0.06729280203580856, -0.0564146414399147, 0.013317613862454891, -0.05825778469443321, -0.02694241888821125, 0.07430397719144821, 0.030682915821671486, 0.04199475795030594, -0.03758566826581955, -0.028948193415999413, 0.005199652165174484, -0.05775182694196701, -0.03516428545117378, -0.004829216282814741, 0.038489170372486115, -0.00984816811978817, 0.004924084059894085, 0.037477247416973114, 0.010028867982327938, 0.01114017516374588, 0.014980057254433632, 0.03964565321803093, 0.015088477171957493, 0.01461865659803152, 0.06320897489786148, -0.01784415729343891, -0.019389145076274872, 0.029634853824973106, 0.05334273725748062, -0.014790321700274944, 0.02070825733244419, 0.03830847144126892, -0.0711236521601677, -0.06447387486696243, 0.01888318359851837, 0.025478746742010117, -0.013950065709650517, -0.018612133339047432, 0.011899116449058056, 0.04976487159729004, 0.0009757817606441677, -0.053993258625268936, -0.02103351801633835, -0.006722052115947008, 0.02172018028795719, 0.057679545134305954, 0.0047930763103067875, -0.04091055318713188, -0.011338945478200912, 0.061510391533374786, -0.022388771176338196, 0.04401860013604164, -0.010399304330348969, -0.003216465935111046, -0.028912052512168884, -0.003923455718904734, -0.06982260942459106, 0.027863990515470505, 0.0026337073650211096, 0.008239935152232647, -0.09092840552330017, 0.02121421881020069, 0.0440908819437027, -0.014094625599682331, -0.016525045037269592, 0.02121421881020069, -0.028839772567152977, 0.018205558881163597, -0.014013310894370079, 0.025045065209269524, -0.04181405529379845, 0.023997003212571144, 0.030448004603385925, -0.03426078334450722, -0.04463298246264458, -0.019479496404528618, -0.02049141749739647, -0.037151988595724106, -0.014410851523280144, 0.046223144978284836, 0.032526060938835144, -0.03422464057803154, 0.024557175114750862, -0.018702484667301178, 0.005877278279513121, -0.044163160026073456, 0.07965270429849625, -0.035634104162454605, 0.0031577383633702993, -0.0005672296392731369, -0.02647259831428528, 0.06649772077798843, -0.028442231938242912, 0.04972872883081436, -0.02643645741045475, 0.08232706785202026, 0.049909431487321854, -0.0672205239534378, -0.03348376974463463, 0.012079817242920399, -0.0027082462329417467, -0.03576059639453888, 0.03939267247915268, -0.04401860013604164, 0.06541351974010468, -0.028153112158179283, -0.011691311374306679, 0.0373326875269413, 0.001804744591936469, 0.02097930759191513, -0.00970360729843378, -0.002839253982529044, 0.08941052109003067, -0.020310716703534126, -0.0668952614068985, 0.014410851523280144, -0.008773000910878181, -0.03323078900575638, -0.04582560434937477, 0.04351263865828514, -0.0230573620647192, -0.011637100949883461, 0.08131514489650726, -0.04539192095398903, -0.019063884392380714, 0.04123581573367119, 0.04716278612613678, -0.029092753306031227, -0.008208312094211578, -0.02486436441540718, 0.005055091809481382, 0.034893233329057693, -0.002328775590285659, -0.021160008385777473, 0.05883602797985077, -0.05518588051199913, -0.03053835593163967, -0.0648714154958725, 0.030448004603385925, -0.04578946530818939, 0.06454616039991379, 0.058691468089818954, 0.06761806458234787, -0.006545869633555412, 0.010408339090645313, 0.015910664573311806, 0.015178827568888664, -0.09244628995656967, 0.012377972714602947, 0.0037404969334602356, 0.03061063587665558, 0.020834747701883316, -0.008492915891110897, -0.015991978347301483, 0.03608585521578789, 0.0011869752779603004, 0.050126273185014725, 0.024484895169734955, -0.016163645312190056, -0.06060688942670822, -0.02515348605811596, -0.0353088453412056, 0.04181405529379845, -0.07025628536939621, -0.013164019212126732, 0.03957337141036987, 0.01022763829678297, 0.015323388390243053, 0.02750259079039097, -0.06606403738260269, 0.0183681882917881, 0.009513872675597668, 0.015476983040571213, -0.059992510825395584, -0.012874898500740528, 0.0451028011739254, -0.04477754235267639, -0.013904890045523643, 0.061040572822093964, 0.007575861178338528, 0.0017652163514867425, -0.028622932732105255, 0.021647900342941284, 0.056848324835300446, 0.058691468089818954, -0.05319817736744881, 0.0023174816742539406, 0.06476299464702606, 0.03315851092338562, 0.045211222022771835, -0.0690998062491417, 0.0456087626516819, -0.03809162974357605, 0.028839772567152977, -0.04224773868918419, 0.027321889996528625, -0.05251151695847511, -0.01967826671898365, -0.019262654706835747, 0.026328038424253464, 0.018810903653502464, -0.0019176822388544679, 0.001633079256862402, -0.0037540493067353964, 0.056378502398729324, 0.03704356774687767, -0.004542354494333267, -0.027358029037714005, 0.04369334131479263, 0.04351263865828514, 0.009175059385597706, 0.053523436188697815, -0.030700985342264175, -0.0008459034143015742, -0.02387051284313202, 0.04842768982052803, -0.010272813960909843, 0.03758566826581955, -0.052439235150814056, -0.01766345649957657, -0.015883559361100197, -0.0461147241294384, -0.016958726570010185, 0.023238062858581543, -0.04362105950713158, -0.04351263865828514, -0.01539566833525896, -0.020617907866835594, -0.015314352698624134, 0.0006702853133901954, -0.010083078406751156, 0.08753123879432678, 0.010552898980677128, 0.02101544849574566, -0.00986623764038086, 0.049909431487321854, 0.06443773955106735, -0.0362304151058197, -0.017491791397333145, 0.037151988595724106, -0.02932766266167164, 0.045211222022771835, 0.0007866111118346453, -0.021123869344592094, 0.043368078768253326, 0.09410873055458069, -0.001299913041293621, -0.009721677750349045, 0.05782410502433777, 0.005059609189629555, 0.0004828086821362376, -0.032779037952423096, -0.044705260545015335, -0.011095000430941582, -0.0016872893320396543, 0.026599088683724403, 0.008718790486454964, -0.016263030469417572, -0.036103926599025726, -0.02276824228465557, 0.0367363765835762, -0.010742634534835815, -0.013669979758560658, 0.022714031860232353, -0.006554904393851757, -0.004587529692798853, -0.01048061903566122, 0.06917208433151245, -0.008452258072793484, -0.07574957609176636, -0.04072985425591469, -0.03841688856482506, -0.02488243579864502, 0.017970647662878036, -0.010959475301206112, -0.009387382306158543, -0.008849798701703548, 0.1047339141368866, -0.01516979280859232, -0.02173824980854988, -0.009513872675597668, 0.0682324469089508, -0.02045527659356594, 0.02025650627911091, 0.013453139923512936, -0.03339342027902603, 0.049620311707258224, -0.012242447584867477, -0.020870888605713844, 0.019063884392380714, 0.005913418252021074, 0.015106547623872757, 0.0029341215267777443, 0.06917208433151245, -0.01271226815879345, -0.07546045631170273, -0.02490050531923771, 0.062305472791194916, -0.028622932732105255, 0.014175941236317158, 0.00777463149279356, 0.009911413304507732, -0.02043720707297325, 0.011537715792655945, -0.0508490726351738, -0.0011689052917063236, -0.04539192095398903, -0.050668373703956604, 0.01489874254912138, -0.0009385123266838491, 0.04477754235267639, -0.014844532124698162, 0.0013789694057777524, 0.027159258723258972, -0.0011513999197632074, -0.034586042165756226, -0.011375085450708866, -0.05359571799635887, 0.014880672097206116, -0.03597743436694145, -0.05381255969405174, -0.011366050690412521, -0.02773750014603138, -0.029743274673819542, -0.01712135598063469, -0.0023942794650793076, -0.007340950891375542, -0.024033144116401672, 0.03686286881566048, -0.026852069422602654, -0.04694594442844391, 0.03346570208668709, 0.037441108375787735, 0.04275369644165039, -0.02462945505976677, -0.016181714832782745, 0.0513550341129303, -0.012748408131301403, 0.010200534015893936, -0.09251856803894043, -0.05500518158078194, 0.046006303280591965, 0.014311466366052628, -0.00045344489626586437, -0.016217853873968124, 0.013444104231894016, 0.007178320549428463, -0.01295621320605278, 0.057896386831998825, 0.03138764575123787, -0.05702902376651764, 0.044705260545015335, -0.028659071773290634, 0.015016197226941586, -0.05464377999305725, 0.02851451188325882, 0.006658806931227446, -0.022190000861883163, 0.06479913741350174, -0.008258004672825336, 0.004427158273756504, -0.03299587965011597, 0.006785297300666571, -0.022479120641946793, 0.023978933691978455, 0.0348028838634491, 0.027303820475935936, 0.02486436441540718, -0.006048943381756544, -0.03492937237024307, 0.014203045517206192, 0.051174335181713104, -0.02511734515428543, -0.007029242813587189, 0.007340950891375542, 0.021394919604063034, -0.04127195477485657, -0.006862095091491938, -0.08203794807195663, -0.010444479063153267, 0.06606403738260269, 0.03557989373803139, -0.0030086603946983814, -0.038706012070178986, -0.05467991903424263, -0.04322351887822151, 0.00628837151452899, 0.010968510061502457, -0.002180827083066106, 0.051933273673057556, -0.028586791828274727, -0.05551114305853844, -0.015106547623872757, -0.09815642237663269, 0.006911787670105696, -0.015648648142814636, -0.06826858222484589, 0.03964565321803093, -0.05825778469443321, 0.07943586260080338, -0.012124991975724697, 0.004072533454746008, 0.023888584226369858, -0.04278983920812607, 0.008813658729195595, 0.0000764447104302235, -0.006329028867185116, 0.009513872675597668, 0.01788029819726944, 0.0010175687493756413, -0.03314043954014778, -0.024466823786497116, 0.03144185617566109, -0.0709429457783699, -0.06360651552677155, 0.027809780091047287, 0.02070825733244419, 0.046476125717163086, -0.036411117762327194, 0.07596641778945923, -0.04026003181934357, 0.022117720916867256, -0.005208686925470829, 0.0679071843624115, 0.04741576686501503, -0.004702725913375616, 0.04007933288812637, 0.013398929499089718, -0.033809032291173935, 0.0027217986062169075, -0.01917230524122715, -0.005732717923820019, -0.026273827999830246, 0.018575994297862053, 0.0014060743851587176, 0.0023400692734867334, 0.04275369644165039, 0.0014840014046058059, -0.020419137552380562, -0.06461843848228455, -0.011158245615661144, -0.047018226236104965, -0.029670994728803635, -0.025514885783195496, 0.009513872675597668, -0.04484982043504715, -0.023256132379174232, 0.03568831458687782, 0.046476125717163086, -0.013471209444105625, -0.025298045948147774, 0.0036185241769999266, 0.007228013128042221, -0.02331034280359745, 0.02123228833079338, -0.0357244536280632, 0.07907446473836899, 0.016398554667830467, 0.026075057685375214, 0.007178320549428463, 0.02096123807132244, 0.06779876351356506, 0.03707970678806305, 0.05702902376651764, -0.01685030572116375, 0.04976487159729004, 0.005475219804793596, 0.03704356774687767, -0.0033994249533861876, 0.058402348309755325, -0.0896996408700943, -0.01386875007301569, 0.027014698833227158, 0.003555278992280364, 0.012703233398497105, -0.02537032589316368, 0.016543114557862282, -0.022894732654094696, 0.018503714352846146, -0.023021221160888672, 0.031785186380147934, -0.02952643297612667, 0.007354503497481346, -0.04040459543466568, 0.06245003268122673, -0.002877652645111084, 0.009622292593121529, 0.029598714783787727, -0.04304281994700432, -0.022985082119703293, 0.029707133769989014, -0.027845920994877815, 0.02565944753587246, -0.03754952922463417, 0.053776416927576065, -0.03295974060893059, 0.023707883432507515, -0.028171181678771973, -0.00934220664203167, -0.03344763070344925, -0.003799224505200982, -0.067401222884655, 0.01940721459686756, 0.01139315590262413, 0.016543114557862282, -0.01713039167225361, -0.06559421867132187, 0.021051587536931038, -0.05796866491436958, 0.002258754102513194, -0.0072822230868041515, 0.01735626719892025, 0.03946495056152344, 0.012540603056550026, 0.017826087772846222, 0.03859759122133255, -0.018847044557332993, -0.01630820520222187, -0.04278983920812607, 0.0451028011739254, 0.009260891936719418, -0.025984708219766617, 0.024159634485840797, 0.010607109405100346, 0.006238678935915232, -0.00570561271160841, 0.023707883432507515, 0.004978294018656015, -0.004395535681396723, -0.030393796041607857, 0.01685030572116375, 0.014564446173608303, -0.06682298332452774, -0.04112739488482475, -0.024159634485840797, 0.01100465003401041, -0.03211044892668724, -0.003982183523476124, -0.06765419989824295, 0.010950439609587193, 0.065377376973629, 0.06010092794895172, 0.017491791397333145, 0.027105050161480904, 0.0059360056184232235, -0.014058485627174377, 0.005814033094793558, 0.03138764575123787, -0.0100921131670475, -0.0225514005869627, 0.014880672097206116, 0.010191498324275017, 0.017753807827830315, 0.0420670360326767, 0.04127195477485657, 0.018476609140634537, 0.02697855979204178, 0.047560326755046844, -0.06404019892215729, 0.04741576686501503, -0.006934375036507845, -0.04846382886171341, 0.000611557683441788, 0.015224002301692963, -0.034820955246686935, -0.03350184112787247, -0.008244452998042107, -0.00744937127456069, -0.024719804525375366, 0.04586174339056015, -0.014203045517206192, -0.03001432493329048, -0.03389938175678253, -0.008131515234708786, -0.014166905544698238, -0.04513894394040108, -0.02976134419441223, -0.005610745400190353, -0.02016615681350231, 0.000984816811978817, -0.014437956735491753, 0.038995131850242615, -0.015251107513904572, -0.0029521917458623648, 0.008809140883386135, -0.044199299067258835, 0.048608388751745224, -0.007883052341639996, 0.030393796041607857, 0.04011547192931175, -0.051680292934179306, 0.030646776780486107, -0.0008814787724986672, 0.055330440402030945, 0.05655920132994652, -0.04535578191280365, 0.001417368184775114, 0.01864827424287796, -0.06476299464702606, 0.03398973122239113, -0.0027918200939893723, 0.02457524463534355, -0.043946318328380585, -0.01966019533574581, 0.007508098613470793, -0.011980432085692883, 0.01466383133083582, 0.019280726090073586, -0.03003239445388317, -0.033537980169057846, 0.023201921954751015, 0.0518609955906868, 0.04687366634607315, 0.033574122935533524, -0.017293021082878113, -0.027647150680422783, 0.019786685705184937, -0.0043142205104231834, -0.0037337206304073334, -0.02435840480029583, 0.021196149289608, -0.0036140065640211105, 0.06411247700452805, -0.042103175073862076, -0.038489170372486115, 0.019750546663999557, -0.022677890956401825, -0.032526060938835144, -0.006292888894677162, 0.03164062649011612, 0.029418013989925385, -0.07126820832490921, -0.006125741172581911, 0.024828225374221802, -0.03704356774687767, -0.05363185703754425, 0.028604861348867416, 0.023942792788147926, -0.057390425354242325, -0.04503052309155464, 0.010200534015893936, 0.01346217468380928, 0.0020565956365317106, -0.0007126369164325297, 0.016145573928952217, -0.0841340720653534, 0.03881442919373512, -0.03881442919373512, 0.13863329589366913, -0.0481385663151741, 0.07835166156291962, 0.005407457239925861, -0.007634588982909918, 0.04026003181934357, -0.023780163377523422, -0.00995658803731203, 0.07538817822933197, 0.0538848377764225, -0.02181052975356579, 0.022135790437459946, -0.02146719954907894, 0.009640363045036793, -0.024448754265904427, -0.07509905844926834, -0.002155980793759227, 0.01973247528076172, -0.05648692324757576, 0.006952445022761822, 0.0063245114870369434, 0.04683752357959747, -0.04658454656600952, -0.024466823786497116, 0.05601710081100464, -0.06834086775779724, 0.027159258723258972, -0.03660988807678223, -0.04123581573367119, 0.05771568417549133, -0.00005205722482060082, 0.0030696468893438578, -0.006749157328158617, -0.017573107033967972, 0.014763216488063335, -0.017455652356147766, -0.00307642319239676, -0.005642367992550135, -0.013904890045523643, 0.048825230449438095, 0.013118843547999859, -0.008944666013121605, 0.005213204305619001, -0.022695960476994514, -0.07986954599618912, -0.03583287447690964, 0.014166905544698238, -0.03389938175678253, -0.00700213760137558, -0.023997003212571144, 0.04607858508825302, 0.030122745782136917, -0.05131889507174492, 0.05301747843623161, 0.02647259831428528, -0.015964874997735023, -0.06328125298023224, 0.057679545134305954, 0.0013789694057777524, -0.038995131850242615, 0.029887834563851357, 0.013046563602983952, 0.027845920994877815, 0.026309968903660774, -0.02517155557870865, -0.01581127941608429, 0.01686837524175644, 0.02665329910814762, 0.0183681882917881, -0.007575861178338528, 0.07560501992702484, -0.02667136862874031, -0.046982087194919586, 0.027683289721608162, 0.013552525080740452, -0.011013684794306755, 0.0030809405725449324, -0.023256132379174232, 0.013371824286878109, -0.020617907866835594, -0.03574252501130104, 0.023454902693629265, -0.056848324835300446, -0.0046033407561481, -0.03964565321803093 ]
54,758
nbconvert.exporters.script
from_notebook_node
Convert from notebook node.
def from_notebook_node(self, nb, resources=None, **kw): """Convert from notebook node.""" langinfo = nb.metadata.get("language_info", {}) # delegate to custom exporter, if specified exporter_name = langinfo.get("nbconvert_exporter") if exporter_name and exporter_name != "script": self.log.debug("Loading script exporter: %s", exporter_name) if exporter_name not in self._exporters: exporter = get_exporter(exporter_name) # TODO: passing config is wrong, but changing this revealed more complicated issues self._exporters[exporter_name] = exporter(config=self.config, parent=self) exporter = self._exporters[exporter_name] return exporter.from_notebook_node(nb, resources, **kw) # Look up a script exporter for this notebook's language lang_name = langinfo.get("name") if lang_name: self.log.debug("Using script exporter for language: %s", lang_name) exporter = self._get_language_exporter(lang_name) if exporter is not None: return exporter.from_notebook_node(nb, resources, **kw) # Fall back to plain script export self.file_extension = langinfo.get("file_extension", ".txt") self.output_mimetype = langinfo.get("mimetype", "text/plain") return super().from_notebook_node(nb, resources, **kw)
(self, nb, resources=None, **kw)
[ -0.004454894457012415, -0.05925939977169037, 0.01343503501266241, -0.036419838666915894, -0.025526566430926323, 0.042229581624269485, 0.029629699885845184, 0.08126381039619446, 0.00516522629186511, 0.0016203741542994976, 0.031390778720378876, 0.039796750992536545, -0.007112398743629456, 0.03380545228719711, -0.019898375496268272, -0.012717894278466702, -0.017928509041666985, 0.018645649775862694, -0.002516799606382847, 0.02641618438065052, -0.0850401446223259, -0.06071183457970619, 0.028159108012914658, 0.012009832076728344, -0.010748027823865414, -0.0003231103182770312, 0.019099535420536995, -0.029865719377994537, -0.0558098629117012, 0.008301581256091595, -0.013725521974265575, -0.08961531519889832, 0.017165981233119965, 0.002684737555682659, 0.028104640543460846, 0.0558098629117012, -0.08917958289384842, 0.025490256026387215, -0.08177215605974197, -0.016403451561927795, 0.04756728559732437, -0.03812645003199577, 0.05305023491382599, -0.024001508951187134, -0.021151103079319, 0.01596772111952305, 0.009776711463928223, -0.04629640281200409, -0.007371113635599613, -0.03707343339920044, 0.0064588021486997604, -0.061220187693834305, 0.016321752220392227, 0.044880278408527374, -0.04302842170000076, 0.008410513401031494, 0.006912688724696636, 0.06060289964079857, -0.014569750986993313, 0.051270999014377594, -0.03718236833810806, -0.0028118258342146873, 0.0105755515396595, 0.0041144792921841145, -0.011465168558061123, 0.023002957925200462, 0.03347865492105484, -0.0693175196647644, -0.04811194911599159, 0.02992018684744835, 0.03718236833810806, -0.04687738046050072, 0.046732135117053986, 0.04963700845837593, 0.08046496659517288, -0.024183062836527824, -0.04491658881306648, 0.025544721633195877, -0.04153967648744583, 0.057443853467702866, 0.051815662533044815, -0.0008260731119662523, -0.07792320102453232, -0.038852669298648834, 0.024310151115059853, -0.08445916324853897, 0.04658689349889755, 0.004225681535899639, -0.010784339159727097, -0.023057425394654274, -0.04927390068769455, -0.07944826036691666, 0.003835339331999421, -0.029811253771185875, 0.03209884092211723, -0.05225139483809471, 0.020315952599048615, 0.01080249436199665, 0.045061834156513214, -0.027650754898786545, 0.023002957925200462, 0.018917981535196304, -0.01142885722219944, -0.009331902489066124, 0.011819199658930302, 0.007997476495802402, -0.015314124524593353, 0.05159779638051987, 0.005369475111365318, -0.04310104623436928, -0.010076276026666164, 0.0625636875629425, -0.016866415739059448, -0.0030705409590154886, 0.004461702425032854, -0.009477145969867706, 0.0044685108587145805, 0.02601676434278488, 0.020188864320516586, -0.017628945410251617, -0.027069780975580215, 0.07073364406824112, -0.04480765759944916, 0.01509625930339098, -0.034350115805864334, -0.003597049042582512, 0.05337703227996826, -0.008451363071799278, 0.02973863109946251, -0.04738573357462883, 0.03478584811091423, 0.004847506061196327, -0.047458354383707047, 0.05831531435251236, 0.011964443139731884, 0.023057425394654274, -0.0616559162735939, 0.06100232154130936, -0.02380179800093174, 0.02681560441851616, 0.02029779553413391, -0.033914387226104736, 0.049201276153326035, 0.019916532561182976, -0.03411409631371498, -0.03171757608652115, -0.012291241437196732, 0.05286867916584015, -0.07726960629224777, -0.042955800890922546, -0.015713544562458992, 0.0539943166077137, 0.013852610252797604, -0.018772738054394722, 0.028721926733851433, 0.02839512750506401, 0.008383280597627163, 0.005850594490766525, -0.012608962133526802, -0.012953915633261204, 0.032697971910238266, 0.05711705610156059, 0.062200579792261124, 0.05432111397385597, -0.00697623286396265, 0.025544721633195877, -0.02529054507613182, -0.054647911339998245, -0.002836789470165968, 0.01826438494026661, -0.03787227347493172, -0.058387935161590576, -0.04923758655786514, 0.017202291637659073, -0.01893613673746586, 0.04756728559732437, 0.08184478431940079, -0.013017459772527218, 0.0006484900950454175, 0.04535232111811638, -0.008378741331398487, 0.004495744127780199, -0.044117748737335205, 0.033587586134672165, -0.032425638288259506, 0.009522534906864166, -0.004259723238646984, 0.002562188310548663, -0.0006155833252705634, -0.03596595302224159, 0.06307204067707062, 0.07668863236904144, -0.004688645713031292, 0.04103132337331772, -0.06630371510982513, -0.06016717106103897, -0.02614385262131691, -0.003962427377700806, -0.04626009240746498, 0.04302842170000076, 0.017338456586003304, 0.05384907126426697, 0.032825060188770294, 0.07588979601860046, -0.05773434042930603, 0.017066124826669693, -0.024183062836527824, 0.042302206158638, -0.03487662598490715, 0.013398724608123302, 0.04063190519809723, -0.036837413907051086, -0.0035834324080497026, 0.03231670707464218, 0.03582070767879486, -0.018827203661203384, -0.029357366263866425, 0.04535232111811638, 0.02538132295012474, 0.0026665821205824614, 0.021042170003056526, 0.0027936703991144896, -0.006694823037832975, 0.001052448875270784, -0.010067198425531387, -0.027342112734913826, 0.039397332817316055, -0.05722598731517792, 0.05344965308904648, -0.009331902489066124, -0.05435742437839508, 0.029575232416391373, -0.009032337926328182, 0.013752755708992481, 0.024818504229187965, 0.031826507300138474, -0.002900333609431982, -0.006989849265664816, -0.05359489843249321, 0.028830859810113907, -0.03983306512236595, -0.004348231013864279, -0.028376972302794456, -0.06528700888156891, 0.03990568593144417, 0.014705916866660118, 0.08896172046661377, -0.03878004848957062, -0.054284803569316864, -0.013498579151928425, 0.04763990640640259, -0.03253457322716713, 0.01170118898153305, 0.0008436611969955266, -0.038852669298648834, 0.051089443266391754, -0.041684918105602264, -0.07240394502878189, -0.0229484923183918, 0.0007455082959495485, -0.005392169579863548, -0.07120568305253983, -0.013453190214931965, -0.0032929452136158943, 0.03144524246454239, -0.04629640281200409, -0.021005859598517418, 0.04531601071357727, 0.061982717365026474, -0.025217924267053604, 0.029575232416391373, 0.042411137372255325, -0.018073752522468567, -0.00013758428394794464, 0.02343869023025036, -0.03346049785614014, 0.0020617786794900894, -0.012799594551324844, 0.02118741348385811, 0.018155453726649284, 0.0015693119494244456, -0.0062999422661960125, -0.00528777576982975, -0.006313558667898178, 0.009876566007733345, -0.07029791176319122, -0.009604234248399734, 0.004005546681582928, 0.015958642587065697, -0.06111125275492668, 0.0242919959127903, 0.0355483777821064, -0.020079931244254112, 0.0068446057848632336, -0.014497129246592522, 0.03936102241277695, -0.05359489843249321, -0.021568678319454193, 0.013298869132995605, -0.014279264025390148, 0.0037400233559310436, -0.06695730984210968, 0.05392169579863548, -0.04945545271039009, -0.042302206158638, -0.02060643956065178, 0.00028566468972712755, 0.029193967580795288, -0.02636171691119671, -0.001052448875270784, -0.003508541267365217, -0.030882425606250763, 0.07360220700502396, 0.0065132686868309975, -0.015123492106795311, -0.04894709959626198, 0.07087888568639755, -0.00197440548799932, 0.007244025822728872, 0.0018904365133494139, -0.0458969846367836, 0.007643445860594511, -0.04190278425812721, 0.0281227957457304, 0.005492024589329958, 0.003826261730864644, 0.017247680574655533, -0.010393996722996235, 0.039941996335983276, 0.021895475685596466, -0.002675659954547882, 0.026670360937714577, 0.01610388606786728, -0.040704526007175446, -0.07523619383573532, -0.06082076579332352, 0.01795574277639389, 0.021968098357319832, -0.007098781876266003, -0.0041144792921841145, 0.0114742461591959, 0.002727856859564781, 0.0030296912882477045, 0.02483665943145752, -0.039215777069330215, -0.005446635652333498, -0.041684918105602264, -0.005437558051198721, 0.004032779950648546, -0.014760383404791355, -0.0769791230559349, 0.035167112946510315, -0.0341867171227932, 0.0015897367848083377, -0.043137356638908386, -0.029538922011852264, 0.01021244190633297, -0.04727679863572121, -0.05192459374666214, -0.08119118213653564, -0.014569750986993313, 0.046950001269578934, -0.02483665943145752, 0.025526566430926323, -0.0007574228220619261, -0.03500371426343918, 0.07552668452262878, 0.04891078919172287, 0.08961531519889832, -0.0017837731866165996, 0.040341414511203766, 0.011819199658930302, -0.03609304130077362, -0.014469895511865616, -0.05177935212850571, -0.03396885097026825, -0.02322082407772541, -0.02861299365758896, -0.04622378200292587, -0.0046387179754674435, 0.01935371197760105, 0.011419779621064663, -0.019517112523317337, -0.01953526772558689, 0.00839235819876194, -0.03175388649106026, 0.029629699885845184, 0.012745128013193607, -0.0007523165550082922, -0.05817006900906563, -0.02556287683546543, 0.02866745926439762, -0.001982348505407572, 0.03712790086865425, -0.03527604416012764, -0.04281055927276611, -0.0013310216600075364, 0.01966235600411892, 0.04306473582983017, -0.024727726355195045, 0.016984425485134125, 0.032516416162252426, 0.06833712756633759, 0.02650696039199829, -0.01615835353732109, 0.03834431618452072, 0.05925939977169037, -0.016757482662796974, 0.02142343483865261, -0.02480034902691841, 0.029538922011852264, 0.011637644842267036, -0.0034336501266807318, -0.006436108145862818, -0.022785093635320663, 0.040123552083969116, 0.024128597229719162, 0.0005503371357917786, -0.060457658022642136, -0.07403793931007385, -0.057080741971731186, 0.015531989745795727, 0.05206983909010887, 0.0006036687991581857, 0.0742194876074791, -0.06245475634932518, -0.0024623333010822535, -0.013625667430460453, -0.03520342335104942, 0.04738573357462883, -0.004216603934764862, -0.05777065083384514, 0.0139524657279253, -0.04277424514293671, 0.06692099571228027, -0.013099159114062786, -0.0070806266739964485, -0.014678683131933212, 0.014678683131933212, 0.023910731077194214, 0.021477900445461273, -0.028431439772248268, 0.06005823612213135, -0.004005546681582928, -0.05962250754237175, -0.029684165492653847, -0.03618381917476654, 0.06111125275492668, -0.04909234493970871, -0.06913596391677856, 0.08395081013441086, -0.013280713930726051, 0.035257890820503235, -0.033587586134672165, -0.007657062262296677, -0.02358393371105194, 0.056318216025829315, -0.03369652107357979, 0.05261450260877609, 0.06060289964079857, -0.03596595302224159, 0.03177204355597496, 0.039760440587997437, -0.0648149698972702, 0.01722952537238598, -0.055410441011190414, 0.03019251860678196, -0.04026879370212555, 0.05243294686079025, 0.010639095678925514, 0.022294895723462105, 0.04059559106826782, 0.027215024456381798, -0.05962250754237175, 0.02200440876185894, 0.03050116077065468, -0.022658005356788635, -0.08344246447086334, -0.047857772558927536, -0.009658700786530972, -0.05003642663359642, -0.018700117245316505, 0.06565012037754059, 0.022621694952249527, -0.03805382922291756, 0.010693561285734177, 0.026670360937714577, 0.0011500344844534993, 0.05711705610156059, 0.02654327265918255, -0.032552726566791534, 0.06274524331092834, -0.018209919333457947, 0.0022013485431671143, -0.0005690599791705608, 0.022894026711583138, 0.04854768142104149, -0.0070306989364326, 0.0018893018132075667, -0.022603537887334824, 0.031063979491591454, -0.01473314967006445, 0.022984802722930908, 0.02772337570786476, 0.01462421752512455, -0.016793793067336082, -0.03888897970318794, 0.0404866598546505, 0.014524362049996853, 0.010049043223261833, 0.0014932859921827912, 0.06005823612213135, 0.050871577113866806, 0.008950638584792614, -0.05384907126426697, -0.004259723238646984, -0.05054477974772453, 0.071968212723732, -0.03812645003199577, 0.017038892954587936, 0.0010881924536079168, -0.032915834337472916, 0.028431439772248268, -0.007979321293532848, 0.001296980190090835, 0.018064675852656364, -0.013979698531329632, 0.013416879810392857, -0.031154757365584373, 0.04117656871676445, -0.07294861227273941, -0.011120215058326721, 0.04611485078930855, -0.03618381917476654, -0.06154698505997658, 0.011583179235458374, 0.0279049314558506, 0.046550579369068146, 0.02565365470945835, 0.01552291214466095, 0.0015057678101584315, -0.027886776253581047, -0.03380545228719711, -0.0387074239552021, 0.028231728821992874, 0.003361028153449297, 0.002067452296614647, 0.03046485036611557, 0.026071229949593544, 0.022240430116653442, 0.03658323734998703, -0.066594198346138, -0.019698666408658028, 0.012336630374193192, 0.03794489800930023, 0.03095504641532898, -0.03231670707464218, 0.0010609593009576201, 0.025853365659713745, 0.00861476268619299, -0.0350944884121418, -0.012000754475593567, 0.0044435472227633, 0.02550841122865677, 0.014760383404791355, 0.07283967733383179, 0.04931021109223366, -0.045025523751974106, -0.05286867916584015, -0.04520707577466965, 0.07106044143438339, -0.02334791235625744, 0.04684107005596161, -0.0558098629117012, 0.006181931588798761, 0.028867170214653015, 0.007929394021630287, -0.04872923716902733, 0.00357662420719862, 0.021005859598517418, -0.04088607802987099, 0.02708793617784977, -0.0028345200698822737, -0.015858788043260574, 0.029048724099993706, 0.05413956195116043, -0.06339883804321289, 0.036964502185583115, 0.06082076579332352, 0.008514907211065292, 0.02875823713839054, 0.006708439905196428, 0.02696084789931774, -0.051452554762363434, 0.07850417494773865, -0.020370418205857277, -0.0020844729151576757, -0.014025087468326092, 0.031481556594371796, -0.053703829646110535, -0.003812645096331835, -0.020588284358382225, -0.00807463750243187, -0.027432888746261597, 0.06212795898318291, -0.015958642587065697, -0.0014320113696157932, -0.04117656871676445, 0.00796570535749197, 0.019880220293998718, 0.016548695042729378, -0.028268039226531982, 0.0055192578583955765, 0.01742015779018402, 0.014787616208195686, -0.012472796253859997, 0.010539240203797817, -0.07661601155996323, -0.007598056923598051, -0.01390707679092884, 0.0002537508262321353, 0.029484454542398453, 0.004416313953697681, 0.019989153370261192, -0.006785600446164608, -0.014052320271730423, 0.016766561195254326, -0.0009599695913493633, -0.00017559727712068707, 0.028504060581326485, 0.027015313506126404, -0.04734941944479942, 0.0377996526658535, -0.021804699674248695, 0.003136354498565197, 0.0014671875396743417, 0.026761136949062347, -0.003855764400213957, 0.018700117245316505, 0.021659454330801964, 0.03369652107357979, -0.023202668875455856, 0.007343880832195282, -0.081917405128479, -0.024400928989052773, -0.059695128351449966, 0.06924489885568619, 0.009822100400924683, -0.01742015779018402, 0.007012543734163046, -0.03396885097026825, 0.03520342335104942, -0.03218961879611015, 0.018418706953525543, -0.009713167324662209, 0.0485839918255806, 0.0427379347383976, -0.009495302103459835, 0.032461948692798615, 0.013934309594333172, 0.02213149704039097, 0.010448463261127472, 0.01269066147506237, 0.03055562637746334, 0.03302476927638054, -0.0032294010743498802, -0.049382831901311874, 0.028268039226531982, 0.011092981323599815, -0.018073752522468567, -0.00935913622379303, 0.008160876110196114, -0.0427379347383976, -0.04346415400505066, -0.0049382830038666725, 0.016040341928601265, 0.0010989722795784473, -0.04179385304450989, -0.018863515928387642, -0.04793039709329605, -0.06804663687944412, 0.012318475171923637, -0.06597691774368286, 0.024891125038266182, -0.04172123223543167, 0.0037649869918823242, 0.03758178651332855, 0.004130365327000618, 0.005355858709663153, -0.043718330562114716, 0.00487020006403327, 0.05228770524263382, -0.0021843279246240854, -0.0025984991807490587, 0.0247458815574646, 0.017383845522999763, -0.01862749457359314, -0.04647795855998993, -0.06728410720825195, 0.016258208081126213, 0.044480860233306885, -0.05323178693652153, 0.021931786090135574, -0.008555756881833076, 0.04778515174984932, -0.033587586134672165, -0.028231728821992874, -0.023075580596923828, -0.031699419021606445, 0.01871827244758606, -0.03326078876852989, 0.014660527929663658, 0.03362390026450157, 0.009840255603194237, -0.04306473582983017, -0.005682656541466713, -0.025272389873862267, 0.021841010078787804, -0.04509814456105232, -0.029629699885845184, -0.0088870944455266, -0.07236763834953308, 0.06935382634401321, 0.04437192529439926, 0.0440814383327961, 0.01171934511512518, -0.05261450260877609, -0.03293399140238762, 0.0445534810423851, -0.04291949048638344, 0.02447354979813099, 0.009958266280591488, -0.030719026923179626, -0.04553387686610222, 0.03369652107357979, -0.03816276043653488, 0.06427030265331268, 0.04720417782664299, -0.011828277260065079, -0.04586067423224449, 0.06060289964079857, 0.026125697419047356, -0.014542517252266407, 0.053885385394096375, 0.01908138021826744, 0.041285499930381775, -0.0019914263393729925, -0.01929924637079239, 0.02078799344599247, 0.03896160051226616, 0.039978306740522385, 0.024673260748386383, 0.0020436232443898916, 0.07149617373943329, 0.06002192571759224, -0.036782946437597275, 0.030337762087583542, 0.023656554520130157, -0.026034919545054436, -0.014052320271730423, 0.019426334649324417, 0.020733527839183807, -0.00918212067335844, -0.01331702433526516, 0.028231728821992874, -0.039760440587997437, 0.018681960180401802, -0.04458979144692421 ]
54,779
nbconvert.exporters.slides
SlidesExporter
Exports HTML slides with reveal.js
class SlidesExporter(HTMLExporter): """Exports HTML slides with reveal.js""" # Overrides from HTMLExporter ################################# export_from_notebook = "Reveal.js slides" @default("template_name") def _template_name_default(self): return "reveal" @default("file_extension") def _file_extension_default(self): return ".slides.html" @default("template_extension") def _template_extension_default(self): return ".html.j2" # Extra resources ################################# reveal_url_prefix = Unicode( help="""The URL prefix for reveal.js (version 3.x). This defaults to the reveal CDN, but can be any url pointing to a copy of reveal.js. For speaker notes to work, this must be a relative path to a local copy of reveal.js: e.g., "reveal.js". If a relative path is given, it must be a subdirectory of the current directory (from which the server is run). See the usage documentation (https://nbconvert.readthedocs.io/en/latest/usage.html#reveal-js-html-slideshow) for more details. """ ).tag(config=True) @default("reveal_url_prefix") def _reveal_url_prefix_default(self): if "RevealHelpPreprocessor.url_prefix" in self.config: warn( "Please update RevealHelpPreprocessor.url_prefix to " "SlidesExporter.reveal_url_prefix in config files.", stacklevel=2, ) return self.config.RevealHelpPreprocessor.url_prefix return "https://unpkg.com/[email protected]" reveal_theme = Unicode( "simple", help=""" Name of the reveal.js theme to use. We look for a file with this name under ``reveal_url_prefix``/css/theme/``reveal_theme``.css. https://github.com/hakimel/reveal.js/tree/master/css/theme has list of themes that ship by default with reveal.js. """, ).tag(config=True) reveal_transition = Unicode( "slide", help=""" Name of the reveal.js transition to use. The list of transitions that ships by default with reveal.js are: none, fade, slide, convex, concave and zoom. """, ).tag(config=True) reveal_scroll = Bool( False, help=""" If True, enable scrolling within each slide """, ).tag(config=True) reveal_number = Unicode( "", help=""" slide number format (e.g. 'c/t'). Choose from: 'c': current, 't': total, 'h': horizontal, 'v': vertical """, ).tag(config=True) reveal_width = Unicode( "", help=""" width used to determine the aspect ratio of your presentation. Use the horizontal pixels available on your intended presentation equipment. """, ).tag(config=True) reveal_height = Unicode( "", help=""" height used to determine the aspect ratio of your presentation. Use the horizontal pixels available on your intended presentation equipment. """, ).tag(config=True) font_awesome_url = Unicode( "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css", help=""" URL to load font awesome from. Defaults to loading from cdnjs. """, ).tag(config=True) def _init_resources(self, resources): resources = super()._init_resources(resources) if "reveal" not in resources: resources["reveal"] = {} resources["reveal"]["url_prefix"] = self.reveal_url_prefix resources["reveal"]["theme"] = self.reveal_theme resources["reveal"]["transition"] = self.reveal_transition resources["reveal"]["scroll"] = self.reveal_scroll resources["reveal"]["number"] = self.reveal_number resources["reveal"]["height"] = self.reveal_height resources["reveal"]["width"] = self.reveal_width return resources
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ -0.011000746861100197, -0.10148436576128006, -0.0009371694759465754, -0.028859617188572884, 0.0079036895185709, 0.06453771144151688, 0.002185283461585641, 0.0525260865688324, -0.05561818927526474, 0.08261461555957794, 0.04443905130028725, 0.025787334889173508, 0.03766021504998207, 0.051733240485191345, -0.002132014138624072, -0.010336737148463726, 0.05847243592143059, 0.0052030556835234165, 0.04515261575579643, -0.0036000190302729607, -0.016957007348537445, -0.03718450665473938, 0.0012747487053275108, 0.009132602252066135, -0.0389089472591877, -0.009464606642723083, -0.03304188326001167, 0.03589612990617752, -0.03986036404967308, -0.016372282058000565, -0.06295201927423477, -0.08007750660181046, -0.003676826134324074, 0.037798963487148285, 0.03744218125939369, 0.010534949600696564, -0.007452758029103279, 0.04602474719285965, -0.03312116861343384, 0.02529180608689785, 0.012893667444586754, -0.010366469621658325, 0.06683696806430817, -0.09379374980926514, -0.07143548130989075, -0.006268443539738655, -0.021704176440835, 0.012556708417832851, -0.01385499443858862, -0.012982863001525402, 0.06671804189682007, -0.0307029839605093, 0.01058450248092413, 0.04019732400774956, -0.011070121079683304, 0.05185216665267944, 0.031753506511449814, 0.10021580755710602, 0.0067639728076756, -0.000507607648614794, -0.014865873381495476, -0.03381490707397461, 0.03551952913403511, -0.008240649476647377, -0.0008801835938356817, 0.09141521155834198, 0.05026647448539734, -0.013567587360739708, -0.022140242159366608, -0.026025189086794853, 0.036470942199230194, -0.018849927932024002, 0.009048362262547016, 0.048680782318115234, 0.011773771606385708, -0.02695678360760212, -0.04206051304936409, -0.03205082565546036, 0.006243667099624872, 0.020376157015562057, 0.03736289590597153, -0.03325991332530975, -0.03773949667811394, -0.03280402719974518, 0.03563845530152321, -0.060097772628068924, 0.03595559298992157, -0.0027328431606292725, 0.06695589423179626, -0.018463416025042534, -0.039087336510419846, 0.004301192704588175, 0.006605403497815132, -0.04539046809077263, 0.006724330130964518, -0.01108994148671627, 0.001672410755418241, -0.015183012001216412, 0.05641103535890579, -0.008453726768493652, -0.029969600960612297, 0.014776678755879402, -0.03107958659529686, 0.026877500116825104, 0.022001493722200394, -0.006313040852546692, -0.05260537192225456, 0.04495440423488617, -0.04095052555203438, -0.05185216665267944, -0.05577675998210907, -0.006803615018725395, -0.06077169254422188, -0.02576751448214054, 0.05684710294008255, 0.0025371091905981302, 0.01245760265737772, 0.009583533741533756, 0.007492400240153074, -0.0013193462509661913, -0.034865427762269974, 0.020158125087618828, -0.0756375640630722, -0.006233756430447102, 0.010515128262341022, 0.006109874229878187, 0.015936216339468956, 0.004588599782437086, 0.011377348564565182, -0.02667928859591484, 0.007363562937825918, 0.05086110904812813, -0.09823369234800339, -0.011288153938949108, 0.017561553046107292, 0.047491513192653656, -0.01422168593853712, 0.014885694719851017, -0.006977050099521875, 0.0633484423160553, -0.06418093293905258, -0.017551641911268234, 0.009335768409073353, 0.07266438752412796, -0.0009402665309607983, -0.020931150764226913, 0.02384486235678196, 0.007130664307624102, -0.06053383648395538, 0.02844337187707424, 0.024954846128821373, -0.0011106046149507165, 0.020594190806150436, -0.04543010890483856, 0.06901729851961136, 0.0039543225429952145, 0.01972205936908722, 0.020009465515613556, -0.006427012849599123, -0.013369375839829445, 0.03718450665473938, 0.016045233234763145, 0.0068828994408249855, 0.07880895584821701, -0.035400599241256714, 0.008622206747531891, 0.03736289590597153, -0.06778838485479355, 0.04313085600733757, 0.13097825646400452, 0.03141654655337334, -0.0007414354477077723, -0.012834204360842705, 0.009226752445101738, 0.002134491689503193, 0.09664800018072128, 0.0064567443914711475, -0.008225783705711365, -0.004697616212069988, -0.01585693284869194, -0.04057392477989197, -0.0018830107292160392, -0.08348675072193146, 0.012685545720160007, 0.01561907771974802, 0.04110909625887871, 0.02035633660852909, -0.00932585820555687, 0.006025634240359068, 0.01859225332736969, 0.03756110742688179, 0.050821468234062195, -0.003872560104355216, 0.009117735549807549, -0.017878690734505653, -0.0560542531311512, -0.023349331691861153, -0.09093950688838959, 0.008914569392800331, -0.035658277571201324, -0.0005695488071069121, 0.03664933517575264, 0.016421835869550705, -0.019751790910959244, 0.01843368262052536, -0.002366151660680771, -0.01837421953678131, 0.011426901444792747, -0.03143636882305145, 0.025866620242595673, -0.032169751822948456, -0.014053205959498882, 0.009296126663684845, -0.019266173243522644, 0.030346203595399857, -0.032982420176267624, -0.0184832364320755, 0.032169751822948456, -0.029156934469938278, -0.020068930462002754, 0.04879970848560333, 0.03032638318836689, -0.020495085045695305, 0.05847243592143059, -0.024895383045077324, 0.02519270032644272, 0.050662897527217865, -0.03567809611558914, 0.03819538652896881, -0.02192220836877823, -0.0216447114944458, 0.0013750933576375246, -0.0012159046018496156, 0.021882565692067146, 0.0075122215785086155, 0.017769673839211464, 0.012011625804007053, 0.04404262825846672, 0.007978019304573536, 0.029156934469938278, -0.01795797608792782, 0.025331448763608932, 0.053279291838407516, -0.031099408864974976, 0.033140987157821655, -0.009479472413659096, 0.02362682856619358, -0.009335768409073353, -0.05474605783820152, 0.011724218726158142, 0.03325991332530975, -0.0755186378955841, 0.0013850039103999734, 0.0036173625849187374, 0.019791433587670326, -0.025311628356575966, -0.01779940538108349, -0.02529180608689785, -0.011912520043551922, -0.004655496217310429, -0.0023463303223252296, -0.08642028272151947, 0.00043916268623434007, 0.05062325671315193, 0.017293967306613922, -0.020812222734093666, -0.04741222783923149, 0.008711402304470539, -0.020832045003771782, -0.04507333040237427, 0.12582474946975708, 0.03916662186384201, -0.05038540065288544, -0.01639210432767868, 0.021842923015356064, -0.05926528200507164, -0.0023921667598187923, -0.06556841731071472, -0.038710735738277435, 0.0298506747931242, -0.010227721184492111, -0.07099941372871399, 0.018195830285549164, 0.042417291551828384, 0.00007603275298606604, -0.0008684148197062314, -0.03476632386445999, 0.03621326759457588, 0.011902609840035439, -0.033359020948410034, 0.04550939425826073, 0.04741222783923149, 0.037164684385061264, -0.044280484318733215, -0.0847553014755249, 0.020970793440937996, -0.036233089864254, 0.01697682775557041, -0.02390432544052601, -0.012844114564359188, -0.02667928859591484, -0.030940838158130646, 0.077342189848423, -0.02148614265024662, -0.03561863303184509, -0.037105221301317215, 0.013964010402560234, 0.00416739983484149, 0.020673474296927452, 0.026718931272625923, 0.05117824673652649, -0.04495440423488617, 0.009677683934569359, 0.02909746952354908, -0.0060355449095368385, -0.06045455485582352, 0.03397347778081894, 0.04630224034190178, 0.023805219680070877, -0.006664866581559181, -0.022596128284931183, 0.024023251608014107, -0.08824382722377777, 0.01111967395991087, 0.05458748713135719, -0.047927577048540115, 0.02979121170938015, 0.007586550898849964, 0.006159427110105753, 0.03645112365484238, -0.034151867032051086, -0.0022571352310478687, -0.01703629083931446, 0.023349331691861153, -0.025212522596120834, -0.05351714417338371, -0.024261105805635452, 0.005614344961941242, 0.020594190806150436, -0.016253355890512466, 0.04099017009139061, -0.018849927932024002, -0.05482534319162369, 0.007294188719242811, -0.027828915044665337, 0.005688674282282591, 0.045033685863018036, 0.01527220755815506, -0.0117341298609972, -0.08261461555957794, 0.016084875911474228, 0.029295682907104492, -0.011684576980769634, 0.038492701947689056, -0.04083159938454628, -0.024399854242801666, -0.014697394333779812, -0.05304143950343132, -0.03123815543949604, -0.03658987209200859, -0.03621326759457588, -0.0005305258673615754, -0.0689380094408989, 0.04812578856945038, -0.007051379419863224, -0.008919524028897285, 0.035935770720243454, 0.031694043427705765, 0.0668766126036644, -0.04087124392390251, 0.021902387961745262, 0.018314756453037262, -0.037699855864048004, -0.043051570653915405, 0.006982005201280117, -0.043527279049158096, 0.005168368574231863, 0.036034878343343735, -0.006253577768802643, -0.06235738471150398, -0.002091132802888751, 0.04392370209097862, -0.028542477637529373, 0.02485574036836624, -0.017769673839211464, -0.07389330118894577, 0.013567587360739708, 0.013428838923573494, 0.0030574146658182144, -0.032704923301935196, 0.007502310909330845, -0.035658277571201324, -0.009925448335707188, 0.05974099040031433, -0.03997929021716118, -0.08039464801549911, -0.03894858807325363, 0.07555828243494034, 0.03510328382253647, 0.011506186798214912, 0.09815441071987152, -0.013012594543397427, 0.04035589098930359, 0.0034563157241791487, 0.00613465066999197, 0.048680782318115234, 0.08332818001508713, 0.028483014553785324, 0.03518256917595863, 0.025648588314652443, 0.0005881311371922493, -0.05074218288064003, -0.07662862539291382, -0.008557788096368313, -0.0001229531626449898, -0.01741289347410202, -0.015817290171980858, -0.017710210755467415, -0.009197020903229713, -0.03167422115802765, 0.019008496776223183, 0.02828480303287506, 0.07500328868627548, 0.037699855864048004, 0.03698629513382912, -0.01226930133998394, -0.012100821360945702, 0.047769006341695786, -0.0030078617855906487, 0.017511999234557152, -0.006109874229878187, 0.029156934469938278, 0.010059241205453873, -0.07436901330947876, 0.037045758217573166, -0.05177288502454758, -0.0013106745900586247, -0.06013741344213486, -0.012199927121400833, 0.012824294157326221, 0.030742626637220383, -0.02110954001545906, 0.008944300934672356, -0.03135708346962929, -0.01245760265737772, 0.0018359353998675942, -0.02866140380501747, 0.054944269359111786, 0.0009006242034956813, -0.028641583397984505, 0.028760511428117752, 0.040910884737968445, -0.04582653194665909, -0.04812578856945038, 0.048046503216028214, -0.01634255051612854, 0.05696602910757065, 0.009870939888060093, 0.013805441558361053, -0.006897765677422285, 0.00950920395553112, -0.020336516201496124, 0.010297095403075218, -0.020108571276068687, 0.020653653889894485, -0.08067214488983154, 0.04432012513279915, -0.04495440423488617, -0.08380388468503952, -0.013230627402663231, 0.059186000376939774, -0.012913488782942295, 0.03791788965463638, -0.03347794711589813, 0.011149405501782894, 0.029652463272213936, -0.009638041257858276, -0.022853802889585495, -0.004923081956803799, -0.03928554803133011, -0.020376157015562057, -0.043527279049158096, 0.0029855628963559866, -0.027293743565678596, -0.04820507392287254, -0.02899836376309395, 0.05541997775435448, -0.010525038465857506, -0.008508235216140747, -0.03536095842719078, -0.03157511726021767, 0.05038540065288544, -0.05010790377855301, 0.021684354171156883, 0.022278988733887672, 0.017967885360121727, 0.04400298744440079, 0.016273176297545433, 0.037699855864048004, -0.039463941007852554, 0.02110954001545906, -0.05716424062848091, 0.021723996847867966, 0.030564237385988235, 0.038651272654533386, -0.021783459931612015, 0.008528056554496288, 0.012120642699301243, -0.022318631410598755, 0.002102282363921404, -0.004524181131273508, 0.037699855864048004, 0.008414085023105145, 0.01259635016322136, -0.0008293918799608946, -0.009306036867201328, -0.033616695553064346, 0.08261461555957794, 0.029652463272213936, -0.018364310264587402, 0.019266173243522644, -0.03718450665473938, 0.00905331689864397, -0.0176309272646904, -0.0126161715015769, 0.044399410486221313, -0.00948442704975605, -0.00851814541965723, -0.0415848046541214, 0.052208948880434036, -0.04313085600733757, -0.035975415259599686, 0.03032638318836689, -0.005515239201486111, -0.06390343606472015, 0.027630703523755074, -0.02501431107521057, 0.005842288490384817, 0.0651719942688942, -0.011377348564565182, -0.004031129647046328, 0.007497355807572603, -0.019791433587670326, -0.003619840368628502, 0.011258421465754509, -0.042892999947071075, 0.03738271817564964, 0.04376513138413429, 0.07936394214630127, 0.031059766188263893, -0.017551641911268234, -0.0011855533812195063, 0.04118838161230087, -0.03621326759457588, 0.002822038484737277, 0.011912520043551922, 0.004908216185867786, 0.0018260248471051455, 0.08348675072193146, 0.01553979329764843, -0.009474516846239567, -0.0398801825940609, -0.007923510856926441, -0.0404946394264698, -0.0036396614741533995, 0.03762057051062584, 0.03706558048725128, -0.04550939425826073, -0.020495085045695305, -0.05308108031749725, 0.0468175932765007, 0.04527154192328453, 0.04796721786260605, -0.01601550169289112, -0.029018186032772064, 0.008528056554496288, 0.03674843907356262, 0.010733161121606827, 0.04590581730008125, -0.008077125065028667, -0.025410734117031097, 0.012556708417832851, 0.051574669778347015, -0.07397259026765823, -0.04713473096489906, -0.0003580197808332741, -0.03682772442698479, -0.012645903043448925, 0.056173183023929596, 0.005252608563750982, -0.00037443419569171965, -0.06318987160921097, 0.018473325297236443, -0.017293967306613922, 0.0578778013586998, 0.045350827276706696, 0.007784762419760227, -0.011486365459859371, 0.04844292625784874, -0.02180328220129013, 0.008850149810314178, -0.0117341298609972, -0.028165875002741814, -0.0758754163980484, -0.016114607453346252, 0.020534727722406387, 0.027888379991054535, -0.010148436762392521, -0.007992885075509548, -0.004784333519637585, -0.016263265162706375, -0.01640201359987259, -0.0022955387830734253, -0.02299255132675171, -0.033676158636808395, -0.03195171803236008, -0.039721615612506866, -0.01961304247379303, -0.05101967975497246, -0.012735098600387573, -0.04332906752824783, 0.012180105783045292, -0.024716993793845177, -0.03649076446890831, -0.009400187991559505, -0.055697474628686905, 0.028423551470041275, -0.034369900822639465, -0.01618398167192936, 0.01833457686007023, 0.05335857719182968, -0.059978846460580826, 0.03470686078071594, -0.03500417619943619, 0.036946650594472885, 0.011397169902920723, 0.021089719608426094, 0.01535149198025465, -0.005287295673042536, -0.0024194209836423397, 0.04057392477989197, -0.07662862539291382, -0.03411222621798515, -0.010525038465857506, -0.02856229804456234, 0.03738271817564964, 0.008428950794041157, -0.012546797282993793, 0.016649778932332993, 0.00876590982079506, -0.028800152242183685, -0.0005302161443978548, -0.020673474296927452, 0.008210917934775352, -0.06259524077177048, 0.030524594709277153, 0.044280484318733215, -0.004653018433600664, 0.02229881100356579, 0.011872878298163414, -0.003634706139564514, 0.010366469621658325, -0.00827533658593893, 0.019325636327266693, 0.0881645455956459, -0.05244680121541023, 0.03139672428369522, 0.022120419889688492, 0.003384463954716921, 0.026600003242492676, -0.013646871782839298, -0.03369598090648651, 0.020534727722406387, -0.05807601287961006, 0.050187189131975174, 0.012199927121400833, -0.009984912350773811, 0.03278420865535736, -0.01747235655784607, 0.0037040801253169775, -0.020554548129439354, 0.020009465515613556, -0.06303130835294724, 0.06275381147861481, -0.012417959980666637, 0.01333964429795742, 0.02362682856619358, 0.010168258100748062, -0.01601550169289112, 0.03339866176247597, -0.03240760415792465, 0.06901729851961136, -0.023428617045283318, 0.009677683934569359, 0.033240094780921936, -0.04554903879761696, -0.04646081104874611, -0.06632161885499954, -0.040435176342725754, -0.050662897527217865, 0.04007839411497116, -0.00017777107132133096, 0.023012373596429825, 0.011635024100542068, 0.0009526547510176897, 0.03199135884642601, -0.008404173888266087, -0.01918688789010048, -0.03413204476237297, -0.024419674649834633, 0.018463416025042534, 0.07690612226724625, 0.061049189418554306, 0.039305370301008224, -0.043804775923490524, -0.04297228530049324, 0.04491475969552994, 0.008057303726673126, -0.04404262825846672, 0.020911328494548798, -0.00029994998476468027, -0.02475663460791111, 0.02063383348286152, 0.0010790146188810468, -0.004298715386539698, 0.042456936091184616, -0.049156490713357925, -0.03585648909211159, 0.040910884737968445, -0.02919657528400421, 0.012824294157326221, 0.024300748482346535, -0.014340613037347794, 0.019860807806253433, -0.024736814200878143, -0.05863100662827492, 0.02287362515926361, 0.003406762843951583, -0.07833324372768402, -0.05074218288064003, -0.00905331689864397, -0.013775710016489029, -0.03702593594789505, 0.04067303240299225, 0.0325859971344471, 0.0066153137013316154, 0.02249702252447605, 0.0038304401095956564, 0.004521703347563744, 0.05518212541937828, -0.02604501135647297, 0.005257564131170511, -0.04665902256965637, 0.01735343039035797, 0.05427034944295883, -0.02233845368027687, 0.015252386219799519, -0.016788527369499207, -0.026025189086794853, -0.035499706864356995, -0.011942251585423946, -0.029018186032772064, 0.00980156660079956, -0.004895827732980251, 0.09149450063705444, 0.03522220999002457, -0.0016823214245960116, 0.026917142793536186 ]
54,791
nbconvert.exporters.slides
_init_resources
null
def _init_resources(self, resources): resources = super()._init_resources(resources) if "reveal" not in resources: resources["reveal"] = {} resources["reveal"]["url_prefix"] = self.reveal_url_prefix resources["reveal"]["theme"] = self.reveal_theme resources["reveal"]["transition"] = self.reveal_transition resources["reveal"]["scroll"] = self.reveal_scroll resources["reveal"]["number"] = self.reveal_number resources["reveal"]["height"] = self.reveal_height resources["reveal"]["width"] = self.reveal_width return resources
(self, resources)
[ -0.012334548868238926, -0.07190163433551788, 0.033767879009246826, -0.045088235288858414, -0.019723687320947647, 0.05679494887590408, 0.03073495253920555, 0.04238371178507805, 0.0012798181269317865, 0.08770376443862915, 0.038404203951358795, 0.06896529346704483, 0.006746814586222172, 0.028320202603936195, -0.006452214904129505, 0.002690032823011279, -0.002586198505014181, -0.00254514766857028, -0.0019426672952249646, -0.03805647790431976, -0.015560656785964966, -0.01926005445420742, -0.005834038835018873, 0.008089416660368443, -0.022119121626019478, 0.04110872372984886, -0.04377460852265358, 0.033767879009246826, 0.0322997123003006, -0.04899047315120697, -0.04918365180492401, -0.0009616746683605015, 0.01940494030714035, 0.05609950050711632, -0.014488507062196732, 0.0005765218520537019, -0.016043607145547867, 0.033149704337120056, -0.06116081774234772, 0.015502702444791794, -0.00033776331110857427, 0.01639133132994175, -0.03365197405219078, -0.07611295580863953, 0.004559050314128399, 0.018574265763163567, 0.032183803617954254, 0.01873846910893917, 0.049338195472955704, -0.0424223467707634, 0.06869484484195709, -0.06981528550386429, -0.00809907540678978, 0.03251221030950546, -0.017560070380568504, 0.022138439118862152, -0.02403160370886326, 0.0948900654911995, -0.01431464496999979, 0.0008367112604901195, -0.020341863855719566, -0.06432896852493286, -0.022099802270531654, -0.04976319149136543, -0.02289184182882309, 0.014536801725625992, 0.01930835098028183, -0.022350937128067017, 0.010315816849470139, 0.015599292702972889, 0.023954331874847412, 0.010547633282840252, -0.031797442585229874, 0.01797540858387947, 0.026697488501667976, -0.029073603451251984, -0.022775933146476746, -0.013310108333826065, 0.017366889864206314, -0.01878676377236843, -0.015435089357197285, -0.052738167345523834, -0.08894011378288269, -0.014063511043787003, 0.014565778896212578, -0.00967349298298359, 0.008422652259469032, -0.026272492483258247, 0.07228799164295197, -0.03264743462204933, -0.045860953629016876, 0.07008574157953262, 0.003262328915297985, -0.057799484580755234, 0.025634998455643654, 0.010644223541021347, -0.0022420964669436216, 0.008041121065616608, 0.07039482891559601, 0.007171811070293188, -0.028783833608031273, -0.046285949647426605, -0.02992359735071659, 0.030039504170417786, -0.000676130352076143, -0.04613140597939491, 0.005611881613731384, -0.02130776457488537, -0.010325475595891476, -0.005211032927036285, -0.02772134356200695, -0.051115453243255615, -0.010064682923257351, 0.047908663749694824, 0.009716958738863468, -0.01037377119064331, -0.017386209219694138, -0.0023278200533241034, 0.07997655868530273, -0.015019752085208893, -0.024205464869737625, 0.03606672212481499, -0.03112131357192993, 0.00290977512486279, 0.039447374641895294, 0.03826897591352463, -0.045706409960985184, 0.037496257573366165, 0.01316522341221571, 0.014150441624224186, 0.003185056848451495, 0.03425082936882973, -0.10532178729772568, -0.006674372125416994, -0.01949187181890011, -0.026697488501667976, 0.05567450448870659, 0.028494063764810562, 0.03670421615242958, -0.012527729384601116, -0.06498578190803528, 0.06838575005531311, -0.015019752085208893, 0.05926765128970146, -0.05223589763045311, -0.018767446279525757, 0.07309934496879578, 0.016845304518938065, -0.07089709490537643, 0.015212932601571083, 0.027933841571211815, 0.030232684686779976, 0.02289184182882309, -0.0358349084854126, 0.02561568096280098, -0.013599878177046776, -0.019858913496136665, -0.04493369162082672, 0.024978186935186386, -0.022833887487649918, 0.04095418006181717, 0.023007748648524284, -0.03212584927678108, 0.020902086049318314, 0.008195665664970875, 0.006056196056306362, 0.04006555303931236, -0.09999001771211624, 0.05505632609128952, 0.09110373258590698, 0.009349916130304337, -0.0696607381105423, -0.006350795738399029, -0.008775205351412296, -0.00955758523195982, 0.06208808347582817, -0.014285667799413204, -0.09033101052045822, -0.01768563687801361, 0.04095418006181717, 0.011774326674640179, -0.004764304030686617, -0.06919711083173752, 0.04261552914977074, 0.035429228097200394, -0.00872208084911108, 0.020515726879239082, 0.03714853152632713, -0.0023423086386173964, 0.012518069706857204, 0.006326647941023111, 0.044238243252038956, -0.03502355143427849, 0.005611881613731384, -0.04180417209863663, -0.05424496904015541, 0.009929456748068333, -0.10207635909318924, -0.006220398936420679, 0.0010987117420881987, -0.058185845613479614, 0.02629180997610092, -0.044663239270448685, -0.003742864355444908, 0.039061013609170914, 0.011020923964679241, -0.032280392944812775, 0.0007527986890636384, -0.02432137355208397, 0.034386057406663895, -0.009948775172233582, 0.004974387586116791, 0.004510755185037851, -0.047483667731285095, 0.006853064056485891, -0.038442838937044144, -0.00397951016202569, 0.040220096707344055, -0.012421480379998684, 0.007162151858210564, 0.017125414684414864, 0.024456599727272987, -0.05277680233120918, -0.025654315948486328, -0.06104490906000137, 0.019820278510451317, 0.010566950775682926, -0.035255368798971176, -0.030657680705189705, -0.010383429937064648, -0.06595168262720108, 0.008369527757167816, -0.012228299863636494, -0.018574265763163567, 0.032145168632268906, 0.03508150577545166, 0.05165635794401169, 0.03054177202284336, 0.004566294606775045, 0.011011265218257904, 0.05834038928151131, 0.007249082904309034, 0.03164289891719818, -0.07588113844394684, 0.005206203553825617, 0.01163910049945116, 0.00993911549448967, -0.011967507191002369, -0.02542250044643879, 0.0019318009726703167, 0.03129517659544945, -0.06772894412279129, -0.00218052021227777, 0.011745349504053593, 0.03233834728598595, -0.054940417408943176, 0.0025620509404689074, -0.00006146296072984114, 0.011474897153675556, -0.055365413427352905, 0.02030322700738907, -0.02461114339530468, 0.026658853515982628, 0.09782639890909195, 0.013783399946987629, -0.0025765395257622004, -0.015937358140945435, 0.009683152660727501, -0.07078118622303009, -0.06915847212076187, 0.18019838631153107, 0.02915087528526783, -0.01969471015036106, -0.00944167748093605, 0.024881595745682716, -0.014652710407972336, 0.022041847929358482, -0.05868811160326004, -0.028977014124393463, 0.025963405147194862, 0.00040779111441224813, -0.05061318352818489, 0.04779275506734848, 0.062049444764852524, 0.030406545847654343, -0.03202925994992256, -0.029788371175527573, 0.05667904019355774, -0.0130976103246212, -0.04253825545310974, 0.07622886449098587, 0.054129064083099365, -0.03585422411561012, -0.013223177753388882, -0.0022698661778122187, 0.04416096955537796, -0.00790589489042759, 0.04918365180492401, -0.020708905532956123, 0.03475309908390045, 0.002231230027973652, -0.010933993384242058, 0.0968991369009018, 0.01254704687744379, -0.0024497651029378176, -0.019385622814297676, 0.022853204980492592, -0.01170671358704567, 0.025886133313179016, 0.04060645401477814, 0.042654164135456085, -0.014517484232783318, 0.005297963973134756, 0.015473725274205208, -0.03676217049360275, -0.06703349202871323, 0.02766338922083378, 0.0221770741045475, 0.003523122053593397, 0.02930542081594467, -0.014758959412574768, -0.023780468851327896, -0.058765385299921036, -0.01686462201178074, 0.09852185100317001, -0.019327668473124504, 0.02036118134856224, -0.03210652992129326, 0.009185713715851307, 0.005186885595321655, -0.04354279488325119, -0.04860411211848259, -0.036626946181058884, 0.02155889756977558, -0.015927698463201523, -0.004348966758698225, 0.0005641462630592287, 0.015068047679960728, -0.019385622814297676, -0.005153079051524401, 0.06216535344719887, -0.035004232078790665, -0.07839248329401016, 0.006278353277593851, -0.03913828730583191, -0.010480020195245743, 0.04806320741772652, -0.035583771765232086, -0.022292982786893845, -0.07580386847257614, -0.04462460055947304, -0.029324738308787346, 0.08693104237318039, 0.04014282301068306, 0.033767879009246826, -0.022157756611704826, -0.049338195472955704, -0.04883592948317528, -0.011127172969281673, 0.021346399560570717, -0.005901651922613382, 0.04454733058810234, -0.03898374363780022, 0.04199735075235367, -0.008755887858569622, 0.017666319385170937, 0.028667926788330078, 0.03450196608901024, 0.027605434879660606, -0.08824466913938522, 0.019240736961364746, 0.014353280887007713, -0.03654967248439789, -0.0004080929502379149, 0.032145168632268906, -0.037361029535532, -0.011687396094202995, 0.006983460392802954, -0.010644223541021347, -0.00924849696457386, -0.02748952805995941, 0.04736775904893875, 0.002284354530274868, 0.015889063477516174, -0.04056781902909279, -0.07622886449098587, -0.020902086049318314, -0.02895769663155079, 0.010045364499092102, 0.012025460600852966, 0.005085465963929892, 0.009818377904593945, 0.014681687578558922, 0.0474063940346241, -0.02503613941371441, -0.041263267397880554, 0.003129517426714301, 0.037689436227083206, 0.03455992043018341, -0.0018146855290979147, 0.08314470946788788, -0.03202925994992256, -0.014923161827027798, -0.02710316702723503, 0.0403360053896904, 0.004872967954725027, 0.06324715912342072, 0.06761303544044495, 0.04763821139931679, 0.02658158168196678, -0.010624905116856098, -0.05300861597061157, -0.011059560813009739, -0.030792906880378723, -0.007780328392982483, -0.07920383661985397, 0.026079311966896057, 0.01667144149541855, 0.009755594655871391, 0.013580560684204102, 0.058417659252882004, 0.013570901937782764, 0.044508691877126694, 0.0277599785476923, 0.02036118134856224, -0.015444748103618622, -0.0039022378623485565, 0.019279373809695244, 0.030116776004433632, -0.003832210088148713, -0.035873543471097946, 0.0605040043592453, 0.03948600962758064, -0.08824466913938522, 0.04396779090166092, -0.03226107731461525, 0.03034859336912632, -0.051540449261665344, -0.04431551322340965, 0.00951411947607994, 0.07132209092378616, -0.06436760723590851, 0.02356797084212303, 0.020573679357767105, -0.032859932631254196, 0.013223177753388882, -0.037496257573366165, 0.06116081774234772, 0.033574700355529785, -0.013136246241629124, -0.004950239788740873, 0.015367476269602776, -0.053317707031965256, -0.05814720690250397, 0.06884938478469849, 0.0312565378844738, 0.016323717311024666, 0.035525817424058914, -0.01873846910893917, -0.008084586821496487, -0.01572486013174057, -0.05099954456090927, 0.010354452766478062, -0.039795100688934326, -0.00800731498748064, -0.04280870780348778, 0.0024461429566144943, -0.02719975635409355, -0.018458357080817223, -0.032570164650678635, 0.015473725274205208, 0.02198389545083046, -0.002868724288418889, -0.0625903531908989, 0.018622560426592827, -0.017386209219694138, 0.007041414268314838, 0.04029736667871475, -0.044431421905756, -0.0188833549618721, 0.0008047158480621874, 0.01720268651843071, 0.011387966573238373, -0.05266089364886284, -0.037109896540641785, -0.04999500885605812, -0.005549098365008831, -0.012295912951231003, -0.03595081716775894, 0.03819170594215393, -0.001689118449576199, 0.01601462997496128, -0.06672440469264984, 0.039312150329351425, -0.0035376104060560465, 0.02039981819689274, 0.05409042537212372, 0.03498491644859314, 0.04311779513955116, -0.019800959154963493, -0.009958433918654919, -0.07364024966955185, -0.028262248262763023, 0.05401315540075302, -0.02146230824291706, 0.016024289652705193, -0.03805647790431976, -0.011668077670037746, 0.026600899174809456, 0.02986564300954342, -0.005297963973134756, -0.01624644547700882, 0.040258731693029404, -0.02638840116560459, -0.016169173642992973, -0.012431139126420021, -0.0148652084171772, 0.09620368480682373, -0.0001514501782367006, -0.014324303716421127, 0.012836817651987076, 0.019327668473124504, 0.03923487663269043, 0.0023869816213846207, -0.00805078074336052, -0.0026707148645073175, -0.01882540062069893, -0.023490699008107185, -0.009195372462272644, 0.053124524652957916, -0.044045060873031616, -0.08159927278757095, 0.009147077798843384, 0.006428067572414875, -0.04624731466174126, 0.03492696210741997, -0.007901065982878208, -0.03465650975704193, 0.008345380425453186, -0.005679494701325893, 0.034772418439388275, 0.01644928567111492, -0.018477676436305046, -0.0056650061160326, 0.03087017871439457, -0.05783811956644058, 0.014797595329582691, -0.01201580185443163, 0.07966747134923935, 0.00023030689044389874, -0.013928284868597984, -0.027315665036439896, 0.007147663272917271, -0.020573679357767105, -0.031179267913103104, -0.02408955805003643, 0.029904277995228767, -0.046904128044843674, 0.04497232660651207, 0.03807579725980759, 0.024591825902462006, -0.022157756611704826, -0.007944531738758087, -0.009277474135160446, -0.05992446467280388, 0.016420308500528336, -0.009093953296542168, 0.04454733058810234, -0.010296499356627464, 0.016497580334544182, 0.044354148209095, -0.0030981258023530245, 0.025963405147194862, 0.036684900522232056, -0.009180883876979351, -0.006345965899527073, 0.014353280887007713, 0.0016033947467803955, 0.045474592596292496, 0.0108470618724823, -0.013793058693408966, 0.034482646733522415, 0.024147512391209602, -0.07630613446235657, -0.031565628945827484, 0.038404203951358795, -0.012160686776041985, 0.04172689840197563, 0.07982201129198074, -0.0014560949057340622, -0.049492739140987396, -0.025654315948486328, -0.008089416660368443, 0.011774326674640179, 0.024785006418824196, -0.006519827991724014, 0.02146230824291706, -0.019095852971076965, -0.00005255856740404852, -0.00807975698262453, 0.00019333101226948202, -0.012508410960435867, -0.032995160669088364, -0.01796574890613556, -0.031797442585229874, 0.018197564408183098, 0.002261414425447583, 0.018748128786683083, -0.029749734327197075, -0.014990774914622307, -0.015657246112823486, -0.06826984882354736, 0.03421219438314438, -0.0024123364128172398, -0.016845304518938065, -0.005568416323512793, -0.03654967248439789, -0.010209567844867706, -0.05123136192560196, -0.019569143652915955, -0.0686175674200058, 0.005153079051524401, -0.015319181606173515, -0.02074754238128662, -0.0226986613124609, -0.03272470831871033, 0.049338195472955704, -0.022544117644429207, -0.05096090957522392, 0.0003431965014897287, 0.06007900834083557, -0.02513273060321808, 0.0066985199227929115, -0.023297518491744995, -0.019327668473124504, 0.05231316760182381, 0.061199452728033066, 0.02801111340522766, 0.020013457164168358, 0.005491144023835659, 0.05996309965848923, -0.02408955805003643, -0.011687396094202995, -0.019916867837309837, -0.04593822732567787, 0.05834038928151131, -0.02542250044643879, -0.024244101718068123, -0.020206637680530548, -0.014063511043787003, -0.01329079084098339, -0.04076100140810013, -0.0317394882440567, 0.017260640859603882, 0.009195372462272644, 0.021539580076932907, 0.010866380296647549, -0.000987633247859776, 0.01974300481379032, 0.006659883540123701, -0.00763544300571084, 0.03618263080716133, -0.03938942030072212, 0.005211032927036285, 0.04860411211848259, -0.018139610067009926, 0.00022683569113723934, -0.02513273060321808, -0.00612863851711154, 0.03699398785829544, 0.01902823895215988, -0.028706561774015427, 0.014652710407972336, -0.012576024048030376, 0.01969471015036106, 0.04238371178507805, -0.03998827934265137, 0.04458596557378769, 0.0424223467707634, 0.018864035606384277, -0.01402487512677908, -0.010547633282840252, -0.03359401971101761, 0.025461135432124138, 0.005365577060729265, 0.013870330527424812, -0.024688415229320526, 0.018043020740151405, -0.006713008042424917, 0.07232663035392761, -0.004464874975383282, -0.035525817424058914, -0.011272058822214603, 0.032859932631254196, -0.0368008092045784, -0.015473725274205208, -0.05466996505856514, -0.06417442858219147, 0.009176054038107395, -0.0226986613124609, 0.03251221030950546, 0.04172689840197563, -0.016420308500528336, -0.010170931927859783, -0.03446332737803459, -0.012556706555187702, 0.0027359130326658487, -0.0297304168343544, -0.04964728280901909, -0.03144972026348114, 0.023065702989697456, 0.06479260325431824, 0.028783833608031273, -0.01634303666651249, -0.0257122702896595, -0.02256343513727188, 0.055172234773635864, 0.007872088812291622, -0.02341342717409134, -0.015039070509374142, 0.02810770273208618, 0.028841787949204445, -0.006447385530918837, -0.004638737067580223, 0.017569730058312416, 0.03197130560874939, -0.00822464283555746, 0.003764597000554204, 0.013667491264641285, -0.04860411211848259, -0.005336599890142679, 0.002844576956704259, -0.01662314683198929, -0.03220312297344208, -0.04079963639378548, -0.0388098806142807, 0.04995637387037277, 0.01557997427880764, -0.029228148981928825, -0.008060439489781857, -0.023452064022421837, 0.062435805797576904, -0.017521435394883156, 0.0715152695775032, 0.030850861221551895, -0.003967436030507088, 0.024456599727272987, -0.015657246112823486, -0.0031150290742516518, 0.05385861173272133, -0.026794079691171646, 0.04736775904893875, 0.011339671909809113, 0.027740661054849625, 0.017859499901533127, -0.038597382605075836, -0.018864035606384277, -0.02963382564485073, 0.016932236030697823, 0.008137711323797703, -0.041649628430604935, -0.07696294784545898, -0.013580560684204102, 0.02007141150534153, 0.11111719161272049, 0.05443815141916275, 0.06185626611113548, -0.0021720686927437782 ]
54,829
nbconvert.exporters.templateexporter
TemplateExporter
Exports notebooks into other file formats. Uses Jinja 2 templating engine to output new formats. Inherit from this class if you are creating a new template type along with new filters/preprocessors. If the filters/ preprocessors provided by default suffice, there is no need to inherit from this class. Instead, override the template_file and file_extension traits via a config file. Filters available by default for templates: - add_anchor - add_prompts - ansi2html - ansi2latex - ascii_only - citation2latex - clean_html - comment_lines - convert_pandoc - escape_html - escape_html_keep_quotes - escape_html_script - escape_latex - filter_data_type - get_lines - get_metadata - highlight2html - highlight2latex - html2text - indent - ipython2python - json_dumps - markdown2asciidoc - markdown2html - markdown2latex - markdown2rst - path2url - posix_path - prevent_list_blocks - strip_ansi - strip_dollars - strip_files_prefix - strip_trailing_newline - text_base64 - wrap_text
class TemplateExporter(Exporter): """ Exports notebooks into other file formats. Uses Jinja 2 templating engine to output new formats. Inherit from this class if you are creating a new template type along with new filters/preprocessors. If the filters/ preprocessors provided by default suffice, there is no need to inherit from this class. Instead, override the template_file and file_extension traits via a config file. Filters available by default for templates: {filters} """ # finish the docstring __doc__ = __doc__.format(filters="- " + "\n - ".join(sorted(default_filters.keys()))) _template_cached = None def _invalidate_template_cache(self, change=None): self._template_cached = None @property def template(self): if self._template_cached is None: self._template_cached = self._load_template() return self._template_cached _environment_cached = None def _invalidate_environment_cache(self, change=None): self._environment_cached = None self._invalidate_template_cache() @property def environment(self): if self._environment_cached is None: self._environment_cached = self._create_environment() return self._environment_cached @property def default_config(self): c = Config( { "RegexRemovePreprocessor": {"enabled": True}, "TagRemovePreprocessor": {"enabled": True}, } ) if super().default_config: c2 = super().default_config.copy() c2.merge(c) c = c2 return c template_name = Unicode(help="Name of the template to use").tag( config=True, affects_template=True ) template_file = Unicode(None, allow_none=True, help="Name of the template file to use").tag( config=True, affects_template=True ) raw_template = Unicode("", help="raw template string").tag(affects_environment=True) enable_async = Bool(False, help="Enable Jinja async template execution").tag( affects_environment=True ) _last_template_file = "" _raw_template_key = "<memory>" @validate("template_name") def _template_name_validate(self, change): template_name = change["value"] if template_name and template_name.endswith(".tpl"): warnings.warn( f"5.x style template name passed '{self.template_name}'. Use --template-name for the template directory with a index.<ext>.j2 file and/or --template-file to denote a different template.", DeprecationWarning, stacklevel=2, ) directory, self.template_file = os.path.split(self.template_name) if directory: directory, template_name = os.path.split(directory) if directory and os.path.isabs(directory): self.extra_template_basedirs = [directory] return template_name @observe("template_file") def _template_file_changed(self, change): new = change["new"] if new == "default": self.template_file = self.default_template # type:ignore[attr-defined] return # check if template_file is a file path # rather than a name already on template_path full_path = os.path.abspath(new) if os.path.isfile(full_path): directory, self.template_file = os.path.split(full_path) self.extra_template_paths = [directory, *self.extra_template_paths] # While not strictly an invalid template file name, the extension hints that there isn't a template directory involved if self.template_file and self.template_file.endswith(".tpl"): warnings.warn( f"5.x style template file passed '{new}'. Use --template-name for the template directory with a index.<ext>.j2 file and/or --template-file to denote a different template.", DeprecationWarning, stacklevel=2, ) @default("template_file") def _template_file_default(self): if self.template_extension: return "index" + self.template_extension return None @observe("raw_template") def _raw_template_changed(self, change): if not change["new"]: self.template_file = self._last_template_file self._invalidate_template_cache() template_paths = List(["."]).tag(config=True, affects_environment=True) extra_template_basedirs = List(Unicode()).tag(config=True, affects_environment=True) extra_template_paths = List(Unicode()).tag(config=True, affects_environment=True) @default("extra_template_basedirs") def _default_extra_template_basedirs(self): return [os.getcwd()] # Extension that the template files use. template_extension = Unicode().tag(config=True, affects_environment=True) template_data_paths = List( jupyter_path("nbconvert", "templates"), help="Path where templates can be installed too." ).tag(affects_environment=True) @default("template_extension") def _template_extension_default(self): if self.file_extension: return self.file_extension + ".j2" return self.file_extension exclude_input = Bool( False, help="This allows you to exclude code cell inputs from all templates if set to True." ).tag(config=True) exclude_input_prompt = Bool( False, help="This allows you to exclude input prompts from all templates if set to True." ).tag(config=True) exclude_output = Bool( False, help="This allows you to exclude code cell outputs from all templates if set to True.", ).tag(config=True) exclude_output_prompt = Bool( False, help="This allows you to exclude output prompts from all templates if set to True." ).tag(config=True) exclude_output_stdin = Bool( True, help="This allows you to exclude output of stdin stream from lab template if set to True.", ).tag(config=True) exclude_code_cell = Bool( False, help="This allows you to exclude code cells from all templates if set to True." ).tag(config=True) exclude_markdown = Bool( False, help="This allows you to exclude markdown cells from all templates if set to True." ).tag(config=True) exclude_raw = Bool( False, help="This allows you to exclude raw cells from all templates if set to True." ).tag(config=True) exclude_unknown = Bool( False, help="This allows you to exclude unknown cells from all templates if set to True." ).tag(config=True) extra_loaders: List[t.Any] = List( help="Jinja loaders to find templates. Will be tried in order " "before the default FileSystem ones.", ).tag(affects_environment=True) filters = Dict( help="""Dictionary of filters, by name and namespace, to add to the Jinja environment.""" ).tag(config=True, affects_environment=True) raw_mimetypes = List( Unicode(), help="""formats of raw cells to be included in this Exporter's output.""" ).tag(config=True) @default("raw_mimetypes") def _raw_mimetypes_default(self): return [self.output_mimetype, ""] # TODO: passing config is wrong, but changing this revealed more complicated issues def __init__(self, config=None, **kw): """ Public constructor Parameters ---------- config : config User configuration instance. extra_loaders : list[of Jinja Loaders] ordered list of Jinja loader to find templates. Will be tried in order before the default FileSystem ones. template_file : str (optional, kw arg) Template to use when exporting. """ super().__init__(config=config, **kw) self.observe( self._invalidate_environment_cache, list(self.traits(affects_environment=True)) ) self.observe(self._invalidate_template_cache, list(self.traits(affects_template=True)))
(config=None, **kw)
[ 0.06415281444787979, -0.08783817291259766, -0.037214186042547226, -0.030191892758011818, 0.028446238487958908, -0.00980938971042633, -0.0404079407453537, 0.026026125997304916, -0.04007071256637573, -0.06835825741291046, 0.07732457667589188, -0.017823532223701477, -0.04820387810468674, 0.03628184646368027, -0.04721202701330185, -0.028485912829637527, 0.06458922475576401, 0.035627227276563644, 0.07236532866954803, -0.03197722136974335, -0.011257490143179893, -0.060383785516023636, -0.004235196392983198, 0.022991066798567772, -0.0003043737669941038, -0.05074300989508629, -0.034556031227111816, -0.032294612377882004, 0.032096244394779205, -0.04959246516227722, -0.0690327137708664, -0.07347619533538818, 0.0023060496896505356, 0.0038657328113913536, 0.05840008705854416, -0.050941381603479385, -0.02225709892809391, 0.07462674379348755, 0.010206129401922226, 0.007146274205297232, 0.049235399812459946, -0.018934404477477074, 0.009234117344021797, -0.0647875964641571, -0.013489150442183018, 0.03743239492177963, -0.05566258355975151, -0.012318768538534641, -0.006362713407725096, 0.03846391662955284, 0.018775707110762596, 0.014451244845986366, 0.01195178460329771, 0.07561859488487244, -0.028644608333706856, 0.0035061873495578766, 0.01204105094075203, 0.0395946241915226, -0.01849799044430256, -0.032294612377882004, -0.0022155435290187597, 0.05566258355975151, -0.005594030022621155, -0.0072305817157030106, 0.00991849321871996, 0.02301090396940708, 0.007508299313485622, 0.0008114567026495934, -0.022772859781980515, 0.0066900234669446945, -0.02993401326239109, -0.027771780267357826, 0.05110007897019386, -0.0069925375282764435, 0.002918516518548131, -0.05129844695329666, -0.025887267664074898, -0.04126093164086342, -0.00880266260355711, -0.01872611604630947, 0.03933674469590187, -0.010721891187131405, -0.0639544427394867, 0.008653885684907436, 0.0672077089548111, -0.0119815394282341, 0.06585879623889923, 0.0103053143247962, 0.03324678912758827, 0.0275139007717371, -0.0231497623026371, -0.014629777520895004, 0.025173135101795197, 0.013370129279792309, 0.04530767723917961, -0.03368320316076279, 0.011892273090779781, -0.015324071981012821, 0.005936218425631523, -0.028069335967302322, 0.01659363880753517, 0.003890529042109847, -0.026264170184731483, -0.04009054973721504, -0.0014109056210145354, 0.039832670241594315, -0.03884081915020943, 0.05475008115172386, -0.002231660997495055, -0.03935658186674118, -0.04721202701330185, -0.0359446182847023, -0.023586176335811615, -0.07339684665203094, 0.025867430493235588, -0.009953208267688751, -0.045029960572719574, 0.0255897119641304, 0.020075030624866486, -0.0461011566221714, -0.0033822061959654093, -0.020828835666179657, -0.04272886738181114, -0.017278015613555908, 0.03239379823207855, -0.008405922912061214, 0.030469611287117004, 0.0034764318261295557, 0.01589934527873993, 0.021642152220010757, -0.06462889909744263, 0.021225575357675552, -0.06248650699853897, -0.019103018566966057, 0.03362369164824486, -0.019589023664593697, -0.08133164793252945, 0.006784249562770128, -0.01109879370778799, 0.1260838806629181, 0.02469704858958721, -0.05760660767555237, -0.015839833766222, 0.039078861474990845, -0.003511146642267704, -0.01638535037636757, 0.006575961131602526, 0.03328646346926689, -0.042252782732248306, 0.013935483060777187, 0.005856870207935572, -0.00025090688723139465, -0.07903055101633072, -0.018775707110762596, 0.04086419194936752, 0.07220663130283356, 0.00493445061147213, 0.04653757065534592, -0.0008629088988527656, -0.035448696464300156, 0.022594327107071877, -0.003384685842320323, -0.0052220867946743965, 0.04602180793881416, -0.006491653621196747, 0.0308663509786129, -0.02555003948509693, -0.01939065381884575, 0.01983698643743992, 0.00984906405210495, 0.012556812725961208, 0.03366336598992348, 0.009417609311640263, 0.03687695786356926, 0.020729651674628258, 0.11783169955015182, 0.043284304440021515, 0.02043209597468376, -0.009452324360609055, -0.0341196171939373, -0.05054464191198349, -0.040824517607688904, -0.07280173897743225, 0.07835609465837479, 0.0020345309749245644, 0.0166531503200531, 0.033048421144485474, -0.0011381470831111073, 0.04983051121234894, 0.046815287321805954, 0.015661301091313362, -0.027077486738562584, 0.028823141008615494, 0.002925955457612872, -0.009387853555381298, -0.03417912870645523, -0.014996761456131935, -0.04990985617041588, 0.000257105944911018, 0.01661347597837448, -0.07827674597501755, -0.026779931038618088, 0.038285382091999054, -0.024260634556412697, -0.015274479985237122, 0.03090602532029152, 0.01495708804577589, -0.01618698053061962, -0.030191892758011818, 0.025212809443473816, -0.022653838619589806, -0.012775019742548466, 0.005554356146603823, 0.03360385447740555, 0.015829915180802345, -0.03421880304813385, 0.0031763974111527205, 0.04050712659955025, -0.047450073063373566, 0.007885201834142208, 0.034754399210214615, 0.04026908427476883, -0.015968773514032364, 0.003974836319684982, 0.014808310195803642, -0.020709814503788948, 0.05601964890956879, 0.026105474680662155, 0.023427480831742287, 0.0066354721784591675, 0.021265249699354172, -0.01713915541768074, 0.06232780963182449, 0.04705333337187767, 0.027097323909401894, -0.05070333555340767, 0.03001336008310318, -0.0166531503200531, -0.012784937396645546, 0.010027596727013588, -0.028585096821188927, 0.048362571746110916, 0.018597174435853958, -0.0369563065469265, 0.002682952443137765, -0.060383785516023636, 0.011555044911801815, 0.02838672697544098, -0.01754581369459629, -0.04602180793881416, 0.034813910722732544, 0.025034276768565178, -0.02475655823945999, -0.001221214421093464, -0.03800766542553902, -0.021761173382401466, 0.023824220523238182, -0.02743455208837986, -0.0067644123919308186, -0.015562116168439388, 0.007314888760447502, -0.031342439353466034, -0.02392340637743473, -0.008564619347453117, 0.02727585658431053, -0.03868212178349495, -0.017833450809121132, 0.004872459918260574, -0.01705980859696865, 0.038087014108896255, 0.047608766704797745, 0.08283925801515579, -0.05133812129497528, 0.012566731311380863, -0.024260634556412697, -0.03169950470328331, 0.04005087539553642, 0.010890505276620388, -0.003327654441818595, 0.009065503254532814, -0.010563195683062077, -0.03657940402626991, 0.0462995246052742, 0.02739487774670124, 0.03519081324338913, -0.05494845286011696, -0.07419032603502274, -0.007567810360342264, 0.022435631603002548, 0.003171438118442893, -0.033782389014959335, 0.05050496757030487, 0.031342439353466034, -0.006233773194253445, -0.04530767723917961, -0.05050496757030487, -0.04380006715655327, -0.05756693333387375, 0.012646079063415527, -0.04036826640367508, 0.004971644841134548, 0.0012162552447989583, 0.05903487280011177, 0.013508987613022327, -0.056059323251247406, 0.007329766638576984, 0.011019445955753326, -0.020928021520376205, 0.030310915783047676, 0.007433910854160786, 0.0564560629427433, -0.01799214631319046, 0.04276854172348976, 0.02902151085436344, -0.007840569131076336, -0.008247227407991886, 0.017327608540654182, -0.01578032225370407, -0.0036921591963618994, 0.004557547625154257, -0.05383758246898651, 0.04030875489115715, -0.017297852784395218, 0.010741728357970715, 0.03519081324338913, -0.03485358506441116, 0.03969381004571915, -0.021741338074207306, 0.021900033578276634, 0.05582128092646599, -0.047489747405052185, 0.025272320955991745, 0.010384662076830864, 0.039812833070755005, -0.01410409715026617, -0.03316744044423103, -0.02989433892071247, -0.050901707261800766, -0.028882652521133423, -0.06756477802991867, 0.015601789578795433, -0.011842681095004082, 0.00043982319766655564, -0.01959894225001335, -0.02743455208837986, -0.05740823969244957, 0.01673249900341034, 0.011455859988927841, 0.03417912870645523, 0.016762252897024155, 0.036480218172073364, 0.029299229383468628, 0.01364784687757492, 0.04348267614841461, 0.005375823471695185, -0.10870668292045593, 0.0015931579982861876, -0.003109447658061981, -0.025034276768565178, -0.010563195683062077, -0.006858638022094965, 0.04086419194936752, -0.03713483735918999, 0.0255897119641304, 0.06113759055733681, -0.03326662629842758, 0.0483228974044323, 0.032135918736457825, -0.03199705854058266, -0.03628184646368027, 0.023407643660902977, -0.002329606097191572, 0.03441717103123665, -0.051734860986471176, 0.000789760029874742, -0.08395012468099594, -0.023844057694077492, 0.002816852182149887, -0.10537407547235489, -0.02495492808520794, 0.05058431625366211, 0.0284264013171196, -0.028525587171316147, 0.002320927334949374, -0.0206106286495924, -0.05229029804468155, 0.012199746444821358, 0.011912110261619091, 0.00025958556216210127, -0.042411476373672485, 0.024518515914678574, -0.04376039281487465, -0.002068005735054612, 0.06074085086584091, 0.005678337533026934, -0.03683728352189064, -0.047410398721694946, 0.07010391354560852, 0.016603557392954826, 0.05066366493701935, 0.046775612980127335, 0.0025316954124718904, 0.04050712659955025, 0.04268919304013252, 0.006084995809942484, -0.028961999341845512, 0.09482079744338989, 0.010166455991566181, 0.011892273090779781, 0.06070118024945259, 0.01066238060593605, 0.021622315049171448, -0.060383785516023636, -0.020828835666179657, -0.04618050530552864, 0.029695969074964523, -0.00798934604972601, -0.0005541958380490541, -0.033008746802806854, 0.007057007867842913, -0.03519081324338913, 0.027196507900953293, 0.06312128901481628, 0.028525587171316147, 0.030489448457956314, 0.009863941930234432, -0.05121909826993942, 0.010930179618299007, -0.09053600579500198, 0.0365595668554306, -0.036420706659555435, -0.039753321558237076, -0.04895768314599991, -0.017327608540654182, 0.05312344804406166, -0.020749486982822418, 0.020828835666179657, -0.061375636607408524, -0.005807277746498585, 0.05903487280011177, 0.0309655349701643, 0.017297852784395218, 0.042490825057029724, 0.01723834127187729, -0.03653972968459129, 0.038959842175245285, -0.11076973378658295, 0.0333063006401062, -0.029834827408194542, -0.02656172402203083, 0.014173527248203754, 0.028922326862812042, -0.002009734744206071, -0.032949235290288925, -0.00014203591854311526, -0.06288325041532516, 0.04356202110648155, -0.010959935374557972, -0.00008849155710777268, -0.008410882204771042, -0.0020667659118771553, 0.03241363540291786, 0.050981055945158005, -0.013429639860987663, 0.023427480831742287, -0.0737142413854599, -0.008073653094470501, -0.007647158112376928, -0.028545424342155457, 0.044990286231040955, -0.005663459654897451, -0.004597221501171589, -0.028069335967302322, 0.003664883319288492, -0.020174214616417885, 0.022078566253185272, 0.006218895316123962, -0.022812534123659134, -0.01011190377175808, -0.03842424228787422, -0.004428607411682606, -0.03953511267900467, -0.014520674012601376, 0.019688209518790245, -0.008425760082900524, -0.03679760918021202, 0.10735777020454407, -0.03691663220524788, 0.011674066074192524, -0.01683168299496174, -0.05633703991770744, 0.027156833559274673, 0.019450165331363678, -0.010493765585124493, -0.02739487774670124, -0.003392124781385064, 0.01624649204313755, 0.047648441046476364, 0.07772131264209747, -0.048402246087789536, 0.04788648709654808, -0.05657508596777916, 0.03570657595992088, 0.032969072461128235, 0.027791617438197136, -0.041022889316082, 0.05633703991770744, -0.003922764211893082, -0.032215267419815063, -0.039812833070755005, -0.002943312982097268, 0.021761173382401466, 0.0412212572991848, 0.04530767723917961, 0.021622315049171448, 0.0020804039668291807, -0.030350590124726295, -0.007161152083426714, 0.03521065041422844, 0.04709300771355629, 0.0029606702737510204, -0.04026908427476883, 0.017535895109176636, -0.04479191452264786, 0.010741728357970715, 0.03949543833732605, 0.04713267832994461, 0.0175656508654356, -0.008247227407991886, 0.07054032385349274, -0.012189827859401703, -0.005970933008939028, 0.026760093867778778, -0.04118158295750618, -0.030172055587172508, 0.029517436400055885, 0.00686855660751462, -0.01375695038586855, 0.01539350114762783, -0.037214186042547226, -0.015611708164215088, 0.011336837895214558, 0.05070333555340767, -0.03663891553878784, 0.012765101157128811, -0.027097323909401894, -0.013885890133678913, -0.02144378237426281, 0.008217471651732922, -0.029438087716698647, -0.010136700235307217, -0.01754581369459629, 0.009318424388766289, -0.008465434424579144, 0.007731465622782707, 0.00560394860804081, 0.008634048514068127, 0.04044761508703232, 0.04181636869907379, 0.03340548649430275, 0.02826770581305027, 0.0024932611268013716, -0.02491525560617447, -0.021661989390850067, 0.061375636607408524, 0.049275074154138565, -0.0030995290726423264, -0.0387813076376915, -0.07426967471837997, -0.015849752351641655, 0.016980459913611412, 0.009769715368747711, 0.027632921934127808, -0.048441920429468155, -0.01941049098968506, -0.0010693375952541828, 0.051814209669828415, 0.042252782732248306, 0.019688209518790245, -0.044077783823013306, 0.005931259132921696, -0.0014480999670922756, 0.025490527972579002, -0.04808485507965088, -0.01152528915554285, -0.00579735916107893, 0.02991417609155178, 0.036519892513751984, 0.014689288102090359, 0.0019341062288731337, 0.000167219594004564, 0.024220960214734077, 0.027751944959163666, -0.05110007897019386, 0.025431016460061073, 0.08450556546449661, 0.008237308822572231, -0.020174214616417885, 0.0078008947893977165, -0.05582128092646599, -0.02836688980460167, 0.007691791281104088, 0.0027176672592759132, 0.001609275583177805, 0.020412258803844452, -0.06185172498226166, 0.017397036775946617, -0.016990378499031067, -0.0010036275489255786, 0.008123246021568775, 0.033921245485544205, -0.02747422643005848, -0.006268487777560949, 0.017962390556931496, -0.016534127295017242, -0.010275558568537235, -0.03352450579404831, 0.01849799044430256, 0.01683168299496174, -0.03245330974459648, -0.06633488088846207, 0.053639210760593414, -0.011356675066053867, 0.011019445955753326, -0.014064423739910126, -0.014857903122901917, 0.009363058023154736, 0.02394324354827404, -0.0300530344247818, 0.053678885102272034, -0.0071066003292799, -0.04570441693067551, 0.05244899168610573, 0.018587255850434303, 0.034000594168901443, 0.030330752953886986, 0.0051476978696882725, -0.013915645889937878, 0.007543013896793127, 0.035448696464300156, 0.03489325940608978, -0.11235669255256653, 0.01599852927029133, 0.027236182242631912, -0.03701581805944443, 0.013846216723322868, 0.0499495305120945, -0.036400869488716125, 0.0402095727622509, 0.0033003785647451878, -0.011515370570123196, 0.06320063769817352, -0.0284264013171196, -0.033941082656383514, -0.08823491632938385, 0.08418817073106766, -0.0166531503200531, -0.017843369394540787, 0.040566638112068176, 0.018081413581967354, -0.00322103057987988, -0.019559267908334732, 0.01638535037636757, 0.014252875000238419, 0.024399492889642715, -0.038166362792253494, 0.0044534034095704556, -0.007290092296898365, 0.011346756480634212, 0.010543358512222767, 0.009457283653318882, -0.05637671425938606, 0.03177885338664055, -0.08450556546449661, 0.010583031922578812, -0.01845831610262394, 0.008356330916285515, 0.019093099981546402, -0.01195178460329771, -0.008038938976824284, 0.0033822061959654093, 0.046775612980127335, -0.0010631384793668985, 0.04903703182935715, -0.008029020391404629, -0.009134932421147823, 0.013846216723322868, -0.019142691045999527, 0.027771780267357826, -0.009511834941804409, -0.011812925338745117, 0.06232780963182449, 0.014818228781223297, -0.007423992268741131, -0.031203579157590866, -0.0464978963136673, 0.03076716512441635, -0.0511794239282608, -0.061216939240694046, -0.0238638948649168, 0.011872436851263046, -0.02743455208837986, 0.01009206660091877, 0.01799214631319046, -0.00836624950170517, 0.024141613394021988, -0.03171934187412262, -0.05371855944395065, 0.0008678681333549321, -0.029636457562446594, 0.029001673683524132, 0.025073951110243797, 0.1009305864572525, -0.00772650633007288, -0.041578322649002075, 0.004713763948529959, -0.019985763356089592, 0.041657671332359314, 0.0444745235145092, 0.0010953736491501331, 0.009293627925217152, 0.02560954913496971, -0.00446332199499011, 0.03177885338664055, -0.006734657101333141, 0.00903574749827385, -0.08799687027931213, -0.08498165011405945, 0.06062183156609535, -0.004259992856532335, 0.015492686070501804, 0.025173135101795197, -0.062050092965364456, 0.001267087529413402, 0.04887833446264267, -0.07609467953443527, -0.01630600355565548, -0.0007153713377192616, -0.07280173897743225, -0.01378670521080494, 0.015770403668284416, -0.026700584217905998, -0.09029795974493027, 0.015105864964425564, 0.0029730682726949453, 0.049354422837495804, 0.07442837208509445, 0.019539430737495422, 0.0007308689528144896, 0.0461011566221714, 0.013092410750687122, -0.005678337533026934, -0.06601749360561371, 0.007820731960237026, 0.028485912829637527, 0.03592478111386299, 0.032889723777770996, 0.024339983239769936, -0.07557892054319382, -0.008088530972599983, 0.008792744018137455, -0.02745438925921917, -0.004991481546312571, 0.012080724351108074, 0.09315448999404907, 0.015522441826760769, -0.023725036531686783, 0.015155457891523838 ]
54,878
nbconvert.exporters.webpdf
WebPDFExporter
Writer designed to write to PDF files. This inherits from :class:`HTMLExporter`. It creates the HTML using the template machinery, and then run playwright to create a pdf.
class WebPDFExporter(HTMLExporter): """Writer designed to write to PDF files. This inherits from :class:`HTMLExporter`. It creates the HTML using the template machinery, and then run playwright to create a pdf. """ export_from_notebook = "PDF via HTML" allow_chromium_download = Bool( False, help="Whether to allow downloading Chromium if no suitable version is found on the system.", ).tag(config=True) paginate = Bool( True, help=""" Split generated notebook into multiple pages. If False, a PDF with one long page will be generated. Set to True to match behavior of LaTeX based PDF generator """, ).tag(config=True) @default("file_extension") def _file_extension_default(self): return ".html" @default("template_name") def _template_name_default(self): return "webpdf" disable_sandbox = Bool( False, help=""" Disable chromium security sandbox when converting to PDF. WARNING: This could cause arbitrary code execution in specific circumstances, where JS in your notebook can execute serverside code! Please use with caution. ``https://github.com/puppeteer/puppeteer/blob/main@%7B2020-12-14T17:22:24Z%7D/docs/troubleshooting.md#setting-up-chrome-linux-sandbox`` has more information. This is required for webpdf to work inside most container environments. """, ).tag(config=True) def run_playwright(self, html): """Run playwright.""" async def main(temp_file): """Run main playwright script.""" args = ["--no-sandbox"] if self.disable_sandbox else [] try: from playwright.async_api import async_playwright # type: ignore[import-not-found] except ModuleNotFoundError as e: msg = ( "Playwright is not installed to support Web PDF conversion. " "Please install `nbconvert[webpdf]` to enable." ) raise RuntimeError(msg) from e if self.allow_chromium_download: cmd = [sys.executable, "-m", "playwright", "install", "chromium"] subprocess.check_call(cmd) # noqa: S603 playwright = await async_playwright().start() chromium = playwright.chromium try: browser = await chromium.launch( handle_sigint=False, handle_sigterm=False, handle_sighup=False, args=args ) except Exception as e: msg = ( "No suitable chromium executable found on the system. " "Please use '--allow-chromium-download' to allow downloading one," "or install it using `playwright install chromium`." ) await playwright.stop() raise RuntimeError(msg) from e page = await browser.new_page() await page.emulate_media(media="print") await page.wait_for_timeout(100) await page.goto(f"file://{temp_file.name}", wait_until="networkidle") await page.wait_for_timeout(100) pdf_params = {"print_background": True} if not self.paginate: # Floating point precision errors cause the printed # PDF from spilling over a new page by a pixel fraction. dimensions = await page.evaluate( """() => { const rect = document.body.getBoundingClientRect(); return { width: Math.ceil(rect.width) + 1, height: Math.ceil(rect.height) + 1, } }""" ) width = dimensions["width"] height = dimensions["height"] # 200 inches is the maximum size for Adobe Acrobat Reader. pdf_params.update( { "width": min(width, 200 * 72), "height": min(height, 200 * 72), } ) pdf_data = await page.pdf(**pdf_params) await browser.close() await playwright.stop() return pdf_data pool = concurrent.futures.ThreadPoolExecutor() # Create a temporary file to pass the HTML code to Chromium: # Unfortunately, tempfile on Windows does not allow for an already open # file to be opened by a separate process. So we must close it first # before calling Chromium. We also specify delete=False to ensure the # file is not deleted after closing (the default behavior). temp_file = tempfile.NamedTemporaryFile(suffix=".html", delete=False) with temp_file: temp_file.write(html.encode("utf-8")) try: # TODO: when dropping Python 3.6, use # pdf_data = pool.submit(asyncio.run, main(temp_file)).result() def run_coroutine(coro): """Run an internal coroutine.""" loop = ( asyncio.ProactorEventLoop() # type:ignore[attr-defined] if IS_WINDOWS else asyncio.new_event_loop() ) asyncio.set_event_loop(loop) return loop.run_until_complete(coro) pdf_data = pool.submit(run_coroutine, main(temp_file)).result() finally: # Ensure the file is deleted even if playwright raises an exception os.unlink(temp_file.name) return pdf_data def from_notebook_node(self, nb, resources=None, **kw): """Convert from a notebook node.""" html, resources = super().from_notebook_node(nb, resources=resources, **kw) self.log.info("Building PDF") pdf_data = self.run_playwright(html) self.log.info("PDF successfully created") # convert output extension to pdf # the writer above required it to be html resources["output_extension"] = ".pdf" return pdf_data, resources
(*args: 't.Any', **kwargs: 't.Any') -> 't.Any'
[ -0.024859396740794182, -0.019975949078798294, -0.12412011623382568, 0.0036159122828394175, 0.023365868255496025, 0.04515960067510605, -0.037063099443912506, 0.03387952595949173, -0.05773668363690376, -0.011604326777160168, 0.10014504939317703, 0.009290339425206184, 0.032012615352869034, 0.057304348796606064, -0.024721834808588028, -0.05675410106778145, 0.04449144005775452, 0.033486492931842804, 0.04901133105158806, -0.033643703907728195, -0.03672902286052704, -0.01830555498600006, 0.008661485277116299, -0.008234061300754547, -0.03989294543862343, -0.0037436482962220907, -0.013766013085842133, 0.005350174382328987, -0.07192520797252655, 0.042447663843631744, 0.03403673693537712, -0.0196811743080616, 0.01576066017150879, 0.04103274270892143, 0.05942673236131668, -0.012370742857456207, -0.014571732841432095, 0.011682934127748013, -0.04920784756541252, 0.0285539161413908, -0.009413163177669048, -0.0049866181798279285, 0.03374196216464043, -0.08198688179254532, -0.05585012212395668, -0.024309149011969566, -0.021891990676522255, 0.012370742857456207, -0.06371080130338669, 0.005556517280638218, 0.017028195783495903, 0.020791495218873024, 0.033584751188755035, 0.05518196523189545, 0.03967677429318428, 0.048657599836587906, 0.01462086196988821, 0.024151936173439026, 0.012636041268706322, -0.006544014904648066, 0.00979637075215578, 0.004900641739368439, 0.027060385793447495, -0.015289019793272018, 0.03961782157421112, 0.017165757715702057, 0.017028195783495903, 0.00015613887808285654, -0.017057672142982483, -0.01861998252570629, 0.0023815399035811424, -0.05133023113012314, 0.01980891078710556, 0.013589148409664631, -0.016192998737096786, 0.002918276935815811, -0.00771820405498147, -0.019956298172473907, 0.015613272786140442, 0.05773668363690376, 0.07161078602075577, -0.004018771927803755, -0.014846856705844402, -0.04382328316569328, 0.07436201721429825, 0.0026505226269364357, 0.08214408904314041, 0.0074823834002017975, -0.028377050533890724, -0.030067095533013344, 0.017814263701438904, -0.008062108419835567, 0.023149698972702026, -0.025684768334031105, 0.03800638020038605, -0.02187233790755272, -0.00417598569765687, -0.03629668429493904, -0.06253170222043991, 0.004915380850434303, -0.005261741578578949, 0.041976023465394974, -0.003321136813610792, -0.017627572640776634, 0.05368843674659729, -0.011466764844954014, -0.018128689378499985, 0.036709368228912354, 0.03140341117978096, -0.00907417107373476, -0.07074610888957977, -0.034174300730228424, -0.031324803829193115, -0.02786610648036003, 0.012459175661206245, 0.003333419095724821, -0.052234210073947906, -0.04115065187215805, 0.0093394685536623, -0.013353328220546246, 0.00013909715926274657, 0.00017103117716033012, -0.04791083559393883, -0.023012137040495872, -0.021204181015491486, 0.03462629020214081, 0.009801283478736877, 0.009816022589802742, 0.008587791584432125, 0.07884261012077332, 0.03441012278199196, 0.03997155278921127, -0.0209683608263731, 0.04425562173128128, 0.03103002905845642, 0.0313444547355175, -0.016586031764745712, 0.02338551916182041, 0.0003847433836199343, 0.04484517127275467, -0.0026873694732785225, -0.04979740083217621, 0.04512029513716698, 0.013009423390030861, 0.017352448776364326, 0.031383760273456573, -0.04018772020936012, -0.05372773855924606, -0.06402523070573807, 0.017313145101070404, 0.061509810388088226, 0.01567222736775875, -0.013824968598783016, 0.004298808518797159, 0.017745481804013252, -0.004522346891462803, 0.016556555405259132, 0.0551033578813076, 0.0032523558475077152, 0.025154171511530876, 0.00445110909640789, -0.012252832762897015, 0.012930816039443016, 0.03507827967405319, -0.020221596583724022, 0.07864609360694885, 0.013500715605914593, -0.0014701925683766603, 0.048028748482465744, 0.0606844387948513, 0.05765807628631592, 0.037220314145088196, -0.034862108528614044, 0.03566782921552658, 0.009123300202190876, 0.03826185315847397, 0.04189741611480713, -0.019828561693429947, -0.004529715981334448, -0.0352158397436142, -0.05121232196688652, -0.035333748906850815, -0.012380569241940975, 0.06430035084486008, 0.03213052451610565, 0.03441012278199196, -0.022697709500789642, 0.019042493775486946, 0.027256904169917107, -0.010395747609436512, -0.04449144005775452, 0.04405910521745682, 0.027571329846978188, -0.01930779218673706, 0.06406453251838684, -0.024682531133294106, -0.029575804248452187, -0.0435088574886322, -0.0194650050252676, 0.004706581588834524, 0.006386801600456238, -0.018443116918206215, 0.049718793481588364, -0.046653129160404205, 0.0016224932624027133, -0.011977708898484707, -0.01830555498600006, 0.028652174398303032, -0.045552633702754974, 0.03313276171684265, -0.03067629784345627, 0.016566380858421326, 0.017283666878938675, 0.028416354209184647, 0.05302027612924576, -0.03456733375787735, 0.0032548122107982635, 0.02313004620373249, -0.01433591265231371, -0.005369826219975948, 0.02529173344373703, 0.03631633520126343, 0.009167516604065895, -0.002472429070621729, 0.026372576132416725, -0.03684693202376366, 0.06453616917133331, -0.013019248843193054, -0.008327406831085682, -0.031855400651693344, 0.0019553438760340214, 0.004566562827676535, -0.020771844312548637, 0.05427798628807068, -0.005556517280638218, -0.06477199494838715, -0.037063099443912506, 0.013117507100105286, -0.02692282386124134, -0.030636996030807495, -0.000296924845315516, 0.024250194430351257, 0.014159047044813633, 0.01680220104753971, -0.016281431540846825, 0.019956298172473907, 0.020830798894166946, -0.0017084693536162376, 0.017951825633645058, -0.006534188985824585, -0.0028249314054846764, -0.06257100403308868, -0.04684964567422867, -0.03930339217185974, -0.03456733375787735, -0.008081760257482529, 0.012075968086719513, -0.039028268307447433, -0.016438644379377365, 0.0277678482234478, 0.0249773059040308, -0.06544014811515808, -0.04590636491775513, 0.007310430984944105, 0.054671019315719604, -0.07734908163547516, -0.018885280936956406, 0.013746362179517746, -0.023542732000350952, 0.04071831703186035, 0.09236297756433487, 0.01190892793238163, -0.0159571785479784, -0.0011834006290882826, 0.005713730584830046, -0.05506405234336853, -0.0056989919394254684, 0.08198688179254532, -0.027649937197566032, 0.01153554581105709, 0.027649937197566032, -0.02592058852314949, -0.03103002905845642, 0.003770669223740697, 0.03055838868021965, -0.03747578710317612, -0.013815143145620823, 0.03325067088007927, 0.02992953360080719, -0.04225114732980728, -0.053295399993658066, 0.027748195454478264, 0.009162603877484798, -0.07286848872900009, -0.06650134176015854, -0.01095582079142332, -0.017873218283057213, -0.05156605318188667, -0.04704616218805313, -0.018698589876294136, -0.0005702062626369298, 0.04209393262863159, 0.06477199494838715, 0.005816902033984661, -0.01594735123217106, 0.02839670144021511, -0.018000954762101173, -0.02670665644109249, 0.04256557673215866, -0.04720337688922882, 0.011555197648704052, -0.042015329003334045, 0.06367149949073792, 0.10415399074554443, -0.022363631054759026, 0.007040220312774181, 0.021577563136816025, 0.020889753475785255, 0.0070844367146492004, 0.016713768243789673, -0.03600190952420235, 0.02761063352227211, 0.03213052451610565, 0.025527553632855415, -0.004834317602217197, -0.02908451110124588, 0.026745960116386414, 0.02338551916182041, -0.020830798894166946, 0.036493200808763504, -0.07864609360694885, 0.07679883390665054, -0.015092503279447556, 0.00976198073476553, 0.021990248933434486, 0.034645941108465195, -0.0595446415245533, -0.037338223308324814, 0.015898222103714943, -0.08576000481843948, -0.005197873804718256, -0.011977708898484707, 0.010150101035833359, -0.008754830807447433, -0.04374467581510544, -0.03967677429318428, 0.03997155278921127, 0.002969862660393119, 0.018590504303574562, -0.03594295307993889, 0.06709089130163193, 0.015397104434669018, -0.025783026590943336, 0.07420480996370316, -0.03287728875875473, -0.06319985538721085, -0.021204181015491486, 0.007615032605826855, -0.05121232196688652, -0.04115065187215805, -0.021950945258140564, 0.015406929887831211, -0.042447663843631744, 0.054671019315719604, -0.006666838191449642, -0.04346955195069313, 0.03515688702464104, 0.028475308790802956, -0.03370266035199165, 0.033486492931842804, 0.059308819472789764, -0.015190761536359787, -0.018158167600631714, -0.01664498634636402, 0.004330742638558149, -0.014296608977019787, -0.03863523527979851, 0.0069026583805680275, -0.01048418041318655, 0.00951142143458128, -0.006912484299391508, 0.01564275100827217, -0.033054154366254807, 0.01827607862651348, -0.01930779218673706, -0.08796099573373795, 0.00785085279494524, -0.01570170558989048, 0.023876812309026718, -0.0535312220454216, 0.021420350298285484, -0.015554318204522133, 0.010602090507745743, 0.06304264068603516, 0.04441283270716667, -0.03366335481405258, -0.060252103954553604, 0.06430035084486008, 0.016792375594377518, 0.04083622619509697, 0.04252627119421959, -0.02149895578622818, -0.007315344177186489, 0.024466361850500107, -0.05093719810247421, 0.013549844734370708, 0.0754232108592987, -0.03837976232171059, 0.04999391734600067, 0.05903369560837746, -0.06488990038633347, -0.009845499880611897, -0.06221727281808853, 0.004807296209037304, 0.004062988329678774, 0.05474962666630745, -0.01726401597261429, -0.04622079059481621, -0.00485642533749342, 0.0007793125696480274, -0.015809789299964905, 0.019406050443649292, 0.04535611718893051, 0.07054959237575531, 0.08340179920196533, -0.031167590990662575, 0.037122055888175964, 0.020909404382109642, 0.00017179881979245692, 0.03942130506038666, 0.052234210073947906, 0.013540019281208515, -0.10250324755907059, -0.02187233790755272, 0.02782680280506611, 0.05463171750307083, -0.033545445650815964, 0.03794742748141289, 0.009688286110758781, 0.012321613729000092, -0.02829844318330288, -0.06257100403308868, 0.00893169641494751, 0.011447113007307053, 0.05459241196513176, 0.02403402514755726, -0.029890229925513268, -0.008396187797188759, -0.045709844678640366, 0.0036822366528213024, 0.02945789322257042, 0.024210890755057335, 0.020418113097548485, -0.04677103832364082, 0.019799085333943367, -0.013264895416796207, 0.02291387878358364, -0.03545166179537773, 0.023208653554320335, 0.02566511556506157, 0.08348041027784348, 0.02544894814491272, 0.03920513391494751, -0.015780312940478325, -0.023306911811232567, -0.03757404536008835, -0.004979248624294996, 0.0019013016717508435, -0.05785459652543068, 0.02639222890138626, 0.03771160542964935, -0.007560990285128355, 0.017627572640776634, -0.019573090597987175, -0.004524803254753351, 0.005018551833927631, -0.0475178025662899, -0.049718793481588364, -0.013815143145620823, -0.0519590862095356, -0.01591787487268448, -0.0357857383787632, 0.06748392432928085, 0.036591459065675735, -0.030695950612425804, -0.030204657465219498, 0.04732128605246544, 0.03997155278921127, 0.013933053240180016, 0.008238974027335644, -0.07459784299135208, 0.037063099443912506, -0.005433693993836641, -0.03647354990243912, -0.05950533598661423, -0.016310907900333405, 0.03399743512272835, 0.06716950237751007, -0.027355162426829338, -0.07066749781370163, 0.03197330981492996, -0.023424822837114334, 0.057147134095430374, 0.03509793058037758, 0.06418243795633316, -0.05816902220249176, 0.005389477591961622, -0.0013228048337623477, -0.016212649643421173, 0.034862108528614044, -0.025861632078886032, 0.008410925976932049, -0.014385041780769825, -0.056518279016017914, 0.0010151329915970564, -0.008469881489872932, -0.01641899347305298, -0.028966600075364113, -0.0030582952313125134, -0.03272007405757904, -0.017568616196513176, -0.008008066564798355, 0.007285866420716047, -0.05451380833983421, 0.028160881251096725, 0.04189741611480713, 0.02786610648036003, 0.015151457861065865, 0.010661045089364052, 0.007040220312774181, 0.006598057225346565, 0.020673584192991257, 0.057933200150728226, -0.049129240214824677, -0.005099615082144737, -0.0171068012714386, 0.010287662968039513, -0.01664498634636402, 0.03995189815759659, -0.03967677429318428, 0.0018828782485798001, 0.0209683608263731, -0.025802677497267723, -0.05742225795984268, 0.0029084510169923306, -0.02719794772565365, 0.04142577573657036, 0.017342621460556984, 0.05695061758160591, 0.00198973435908556, 0.01757844351232052, 0.012478827498853207, 0.09307043254375458, -0.0036453898064792156, -0.051723264157772064, 0.020536022260785103, 0.02713899314403534, -0.0313444547355175, 0.044334229081869125, -0.005247002933174372, 0.008686049841344357, -0.07911773025989532, -0.016477948054671288, -0.034174300730228424, 0.015750834718346596, 0.022147461771965027, 0.016821851953864098, -0.005910247564315796, -0.04445213824510574, -0.09283461421728134, 0.07503017783164978, 0.02686386927962303, 0.02491835132241249, -0.03224843367934227, -0.04221184551715851, -0.0317767933011055, -0.024682531133294106, 0.024486014619469643, 0.023267608135938644, -0.017598094418644905, -0.011781192384660244, 0.025213126093149185, 0.004338112194091082, -0.07589485496282578, -0.005934812594205141, -0.03150166943669319, 0.02835739776492119, -0.017480183392763138, 0.07565902918577194, -0.052037693560123444, -0.039323046803474426, -0.019140752032399178, -0.014453822746872902, -0.06563666462898254, 0.032425299286842346, 0.0423690564930439, -0.04032528027892113, 0.006971439346671104, -0.009535985998809338, -0.03313276171684265, 0.0011238313745707273, 0.0760127604007721, 0.019229184836149216, -0.01641899347305298, 0.030263612046837807, 0.01454225555062294, 0.01852172426879406, -0.029693713411688805, 0.06182423606514931, -0.03810463845729828, -0.025841981172561646, -0.05121232196688652, -0.02877008356153965, -0.04115065187215805, -0.03328997269272804, -0.04229045286774635, -0.08261573314666748, -0.013559671118855476, -0.006018332205712795, 0.018669111654162407, -0.046024274080991745, -0.006273804232478142, -0.022481540217995644, 0.013245243579149246, 0.01601613312959671, -0.07098192721605301, 0.030008140951395035, -0.02886834181845188, 0.003844363149255514, 0.0079785892739892, 0.02761063352227211, -0.01720506139099598, 0.0463780052959919, -0.004770449362695217, 0.026215363293886185, 0.00803754385560751, -0.019632045179605484, 0.0050553991459310055, 0.009079083800315857, -0.0017600550781935453, 0.013746362179517746, 0.016134042292833328, -0.044019799679517746, -0.005900422111153603, 0.005527039524167776, -0.034586984664201736, 0.03545166179537773, -0.035962603986263275, 0.049443669617176056, -0.011211292818188667, -0.04445213824510574, 0.06135259568691254, 0.010965647175908089, -0.025900935754179955, -0.054356593638658524, 0.06622622162103653, 0.011938406154513359, -0.038753144443035126, 0.0028273877687752247, 0.017450707033276558, 0.058404844254255295, 0.005527039524167776, -0.023149698972702026, -0.005723556503653526, -0.00791472103446722, -0.022461889311671257, 0.03366335481405258, 0.04830387234687805, -0.016998717561364174, -0.004301265347748995, -0.007477470673620701, 0.013127333484590054, 0.005301045253872871, -0.11515894532203674, 0.06544014811515808, 0.0530988834798336, 0.00415387749671936, -0.0367879755795002, -0.02012333832681179, -0.013530192896723747, 0.021852687001228333, 0.024564620107412338, -0.07125705480575562, 0.027119342237710953, -0.02128278836607933, 0.023012137040495872, 0.026156408712267876, 0.005762860178947449, -0.03183574974536896, -0.027787499129772186, -0.03777056187391281, 0.029949186369776726, -0.00013395394489634782, -0.018757544457912445, -0.0407969206571579, -0.04669243097305298, 0.017725830897688866, -0.03887105733156204, -0.007089349441230297, -0.026333274319767952, -0.004573932383209467, -0.04728198051452637, 0.02930068038403988, 0.011555197648704052, 0.0009009074419736862, 0.010405573062598705, 0.0058562057092785835, 0.02187233790755272, 0.027001431211829185, -0.0535312220454216, 0.04920784756541252, -0.003272007452324033, 0.001050137565471232, 0.00849444605410099, -0.054553110152482986, 0.0026898260693997145, -0.03694519028067589, 0.014159047044813633, 0.005993767641484737, -0.024368103593587875, -0.02118452824652195, 0.03203226625919342, 0.02224572002887726, -0.02766958810389042, -0.011840146966278553, 0.03786882013082504, -0.07538390904664993, -0.05549639090895653, 0.035490963608026505, -0.006205023266375065, 0.04645661264657974, 0.011732063256204128, -0.016595857217907906, -0.006460495293140411, -0.041072044521570206, -0.02413228340446949, 0.031049679964780807, -0.05227351188659668, -0.07691673934459686, -0.045552633702754974, -0.028278792276978493, -0.01570170558989048, -0.04653521627187729, -0.0367879755795002, 0.01949448324739933, 0.02028055116534233, 0.02222606912255287, -0.020516371354460716, 0.05058346688747406, -0.013107681646943092, 0.030754905194044113, 0.028062622994184494, -0.07978589087724686, 0.05184117704629898, 0.04598496854305267, 0.03631633520126343, 0.030361872166395187, 0.02165617048740387, -0.08552418649196625, -0.006519450340420008, -0.017814263701438904, 0.047124769538640976, -0.03920513391494751, 0.010513657703995705, 0.03562852740287781, 0.019288139417767525, 0.016586031764745712, 0.03613946959376335 ]
54,906
nbconvert.exporters.webpdf
from_notebook_node
Convert from a notebook node.
def from_notebook_node(self, nb, resources=None, **kw): """Convert from a notebook node.""" html, resources = super().from_notebook_node(nb, resources=resources, **kw) self.log.info("Building PDF") pdf_data = self.run_playwright(html) self.log.info("PDF successfully created") # convert output extension to pdf # the writer above required it to be html resources["output_extension"] = ".pdf" return pdf_data, resources
(self, nb, resources=None, **kw)
[ -0.02561880834400654, -0.019552158191800117, -0.024942705407738686, -0.04078543558716774, -0.013805285096168518, 0.07309217751026154, -0.023681866005063057, 0.07057049870491028, -0.0025353848468512297, 0.01989934593439102, 0.08785679936408997, 0.024650337174534798, 0.032471198588609695, 0.05014123395085335, -0.019680069759488106, -0.05317455902695656, 0.01647314988076687, 0.022183476015925407, 0.03314730152487755, 0.04718100279569626, -0.08939173072576523, -0.006432111840695143, 0.0073960148729383945, 0.019570430740714073, -0.04674244672060013, 0.021580465137958527, -0.007985320873558521, 0.0034399006981402636, -0.05507495626807213, 0.02391941472887993, 0.021909380331635475, -0.05967976525425911, 0.05105488747358322, 0.03455432876944542, 0.03294629976153374, 0.04506132751703262, -0.03572380170226097, 0.0051895445212721825, -0.10751859098672867, 0.012306895107030869, 0.0072543988935649395, -0.06033759191632271, 0.027373021468520164, -0.06545404344797134, -0.0563175231218338, -0.02242102473974228, 0.009977082721889019, -0.008602036163210869, -0.07367691397666931, 0.003248033579438925, 0.02561880834400654, -0.01909533143043518, 0.01925978809595108, 0.04984886571764946, -0.02852422185242176, 0.024650337174534798, -0.003942409530282021, 0.06801227480173111, 0.027683662250638008, 0.03862921521067619, -0.02225656807422638, -0.011804386973381042, 0.003453605342656374, -0.045134421437978745, 0.028103942051529884, 0.025216801092028618, 0.03585171326994896, -0.05503841117024422, -0.02371841110289097, 0.009903989732265472, 0.006742753554135561, -0.04582879692316055, 0.03709428012371063, 0.0429782010614872, 0.022000744938850403, -0.029383055865764618, -0.009026884101331234, -0.03961595892906189, -0.00018130286480300128, 0.041004713624715805, 0.030972810462117195, -0.01638178527355194, -0.05478258803486824, -0.031210359185934067, 0.05650025233626366, -0.009332957677543163, 0.0893186405301094, 0.03729528561234474, 0.0007132197497412562, 0.002180202631279826, -0.02002725750207901, -0.044366952031850815, 0.009319252334535122, -0.04674244672060013, 0.041699089109897614, -0.021141912788152695, 0.00973039586097002, 0.007875681854784489, -0.001145491492934525, 0.0024120418820530176, 0.011000372469425201, 0.04067579656839371, -0.018748143687844276, 0.020337898284196854, 0.03389649838209152, 0.008638582192361355, -0.0028871409595012665, 0.028432857245206833, 0.021050548180937767, -0.004764696583151817, -0.06541749835014343, 0.007871113717556, -0.0004094304167665541, -0.018784690648317337, 0.01329363975673914, -0.010077583603560925, -0.012306895107030869, -0.0443304069340229, 0.019716614857316017, -0.026276638731360435, -0.008798470720648766, 0.03301938995718956, -0.05774281919002533, -0.01351291686296463, -0.0376424714922905, 0.0709725022315979, 0.029876427724957466, 0.006751889828592539, 0.027665389701724052, 0.011722157709300518, 0.05401511862874031, 0.021233277395367622, -0.04268583282828331, 0.06771990656852722, 0.00908627174794674, 0.017551260069012642, 0.010086720809340477, 0.009383208118379116, 0.003218339988961816, 0.005824532825499773, -0.0128276776522398, -0.0662946030497551, 0.059168118983507156, 0.01788017340004444, -0.015340221114456654, 0.02585635893046856, -0.02848767675459385, 0.0025125436950474977, -0.09699331969022751, -0.0020477231591939926, 0.023243311792612076, 0.04919103533029556, 0.0224941186606884, -0.025545716285705566, 0.00894008670002222, 0.015047851949930191, 0.028579041361808777, -0.0014001720119267702, 0.01817254349589348, 0.04802156239748001, 0.031977828592061996, 0.01527626533061266, -0.01290990598499775, 0.06691589206457138, -0.0020557173993438482, 0.053357288241386414, -0.014207292348146439, -0.02338949777185917, 0.0593143031001091, 0.0334944911301136, 0.027939485386013985, -0.006920915562659502, -0.02362704649567604, 0.015029579401016235, -0.006569159682840109, 0.025417804718017578, 0.06914520263671875, -0.027245109900832176, -0.006966598331928253, -0.0017679170705378056, -0.028834864497184753, 0.01122878585010767, -0.0167472455650568, 0.07813553512096405, 0.004131992347538471, 0.023736685514450073, -0.04407458379864693, 0.051931992173194885, 0.008250279352068901, -0.039323590695858, -0.0017347971443086863, 0.0823017954826355, -0.029401328414678574, 0.009958809241652489, -0.0012825393350794911, -0.03936013951897621, -0.0028939933981746435, -0.02035617083311081, -0.05924120917916298, 0.016418330371379852, 0.024650337174534798, 0.012864223681390285, 0.01456361636519432, -0.0012437091208994389, -0.023974234238266945, -0.01756039634346962, -0.05478258803486824, 0.09048811346292496, -0.07404237985610962, 0.0018033210653811693, 0.022311387583613396, -0.0025764992460608482, 0.0022612891625612974, -0.011475471779704094, 0.045170966535806656, -0.05467294901609421, -0.01046131830662489, 0.03208746761083603, -0.029675424098968506, -0.03177682310342789, 0.010168949142098427, 0.004168538376688957, 0.017222344875335693, -0.008551784791052341, -0.019972437992691994, -0.011886615306138992, 0.07243435084819794, -0.0373135581612587, -0.018053768202662468, -0.019168423488736153, -0.0709725022315979, 0.008149777539074421, 0.000489374971948564, 0.030205342918634415, 0.01602545939385891, -0.017587805166840553, -0.018382683396339417, 0.01072627678513527, -0.030132250860333443, 0.0024120418820530176, -0.017094433307647705, 0.0015680555952712893, 0.005468208808451891, -0.018665915355086327, 0.030497711151838303, 0.02479652129113674, 0.061068516224622726, -0.03406095504760742, -0.03917740657925606, -0.0037185645196586847, 0.005326592363417149, -0.06512513011693954, -0.008917246013879776, -0.00278663937933743, -0.03539488837122917, 0.02119673229753971, 0.004184527322649956, -0.06991267204284668, 0.004426645115017891, 0.01417988259345293, 0.023279858753085136, -0.054928772151470184, -0.03184991702437401, 0.030607350170612335, 0.03661918267607689, -0.059497032314538956, -0.03634508699178696, 0.03428023308515549, 0.01740507408976555, 0.010854188352823257, 0.02662382647395134, 0.04151635617017746, 0.01809031330049038, -0.022567210718989372, 0.02755575068295002, -0.07389619201421738, -0.008898972533643246, 0.0573042668402195, 0.014198155142366886, 0.0036363359540700912, 0.01759694144129753, -0.049629587680101395, -0.016409194096922874, 0.04338020831346512, 0.011521155014634132, -0.06556368619203568, 0.0026952740736305714, 0.03925050050020218, 0.02136118896305561, -0.06761026382446289, -0.013147455640137196, 0.05280909687280655, -0.005938739515841007, -0.02269512042403221, -0.0632978230714798, 0.013558599166572094, -0.031009357422590256, -0.043270569294691086, -0.035340066999197006, 0.0013818989973515272, 0.0032663068268448114, -0.0022921250201761723, 0.06388256698846817, -0.01703961379826069, -0.044732414186000824, 0.030771806836128235, -0.020100349560379982, -0.0018889759667217731, 0.005518459249287844, -0.03636335954070091, 0.015614316798746586, -0.03228846937417984, 0.0863218605518341, 0.08208251744508743, -0.001424155430868268, -0.031941283494234085, 0.02136118896305561, 0.04049306735396385, 0.005550437141209841, 0.046669356524944305, -0.03811757266521454, 0.019405974075198174, 0.0037665313575416803, 0.04118744283914566, 0.027976030483841896, 0.004851493518799543, 0.024138692766427994, -0.004792105872184038, 0.003373660845682025, 0.051529984921216965, -0.01102778222411871, 0.06750062853097916, 0.01219725701957941, -0.038738854229450226, -0.025381259620189667, 0.0006544034113176167, -0.02318849414587021, -0.014326066710054874, -0.008044707588851452, -0.0459749810397625, 0.0283232182264328, -0.006395565811544657, -0.0031658050138503313, -0.010050174780189991, -0.017258889973163605, -0.05204163119196892, -0.017752263695001602, -0.03111899457871914, 0.0003634622844401747, -0.025746719911694527, -0.032672204077243805, 0.05748699977993965, -0.010205495171248913, 0.05123761668801308, -0.01436261273920536, -0.038702309131622314, -0.026879647746682167, 0.0028642998076975346, -0.07543113082647324, -0.05624443292617798, -0.0052946144714951515, 0.056829169392585754, -0.06589259952306747, 0.04319747909903526, 0.0258198119699955, -0.03888503834605217, 0.03892158344388008, 0.05185890197753906, 0.021342916414141655, 0.04038342833518982, 0.07415201514959335, -0.0011786114191636443, -0.04802156239748001, -0.011502881534397602, 0.0073640369810163975, -0.02072163298726082, -0.03925050050020218, -0.025143709033727646, -0.02112364023923874, 0.005468208808451891, -0.05470949411392212, 0.00636358791962266, -0.02196419984102249, 0.011475471779704094, -0.010351679287850857, -0.08332508057355881, -0.009200477972626686, 0.024851340800523758, 0.0052032493986189365, -0.06899901479482651, 0.007597018498927355, 0.001609169994480908, 0.012160710990428925, 0.07323836535215378, 0.0007914512534625828, -0.07305563241243362, -0.011301877908408642, 0.029602332040667534, 0.019533883780241013, -0.00946543738245964, 0.04754646122455597, -0.023809777572751045, -0.015349357388913631, 0.025545716285705566, -0.01646401360630989, 0.018035495653748512, 0.062091805040836334, -0.018135996535420418, 0.03855612501502037, 0.02666037157177925, -0.019168423488736153, -0.007665541954338551, -0.028981048613786697, 0.028049122542142868, -0.015924958512187004, 0.044768959283828735, 0.008108663372695446, -0.027482658624649048, -0.037240464240312576, -0.011009509675204754, -0.03521215543150902, -0.0015703397803008556, 0.08244797587394714, 0.043636031448841095, 0.09757805615663528, -0.03954286873340607, 0.037934839725494385, 0.012316032312810421, 0.020136894658207893, 0.06538095325231552, 0.004189095459878445, -0.010863324627280235, -0.06278618425130844, -0.05134725570678711, 0.045536428689956665, -0.005180408246815205, -0.043562937527894974, -0.0023869164288043976, -0.009067998267710209, 0.040968164801597595, 0.04919103533029556, -0.0429782010614872, 0.06618496775627136, 0.01809031330049038, -0.030972810462117195, 0.01747816801071167, -0.021032273769378662, -0.004502021241933107, -0.06914520263671875, -0.03702118992805481, 0.06194562092423439, -0.005504754837602377, 0.06885283440351486, -0.06786608695983887, 0.0344812348484993, -0.018227361142635345, 0.030479438602924347, -0.07893954962491989, 0.00794877391308546, 0.051201071590185165, 0.016208190470933914, 0.020849544554948807, 0.018254771828651428, -0.04761955514550209, -0.010954690165817738, -0.07104559987783432, 0.007651837542653084, -0.01655537821352482, -0.019278062507510185, 0.011639929376542568, 0.03928704559803009, -0.012060209177434444, 0.030735261738300323, -0.048825573176145554, 0.014865121804177761, 0.019917618483304977, -0.05017777904868126, -0.05960667133331299, -0.015678271651268005, -0.03139309212565422, -0.05474604293704033, -0.02695273980498314, 0.059460487216711044, 0.03228846937417984, -0.04984886571764946, -0.007569608744233847, 0.008181755430996418, 0.03212401270866394, 0.02662382647395134, 0.0030059157870709896, -0.05766972899436951, 0.05390547960996628, -0.026368003338575363, -0.03234328702092171, -0.03574207425117493, 0.005513891112059355, 0.06359019130468369, 0.03532179445028305, -0.020008983090519905, -0.04082198068499565, 0.01586100272834301, -0.02475997619330883, 0.04005451500415802, 0.05467294901609421, 0.029547512531280518, -0.027373021468520164, -0.0063042002730071545, 0.020611993968486786, -0.008793902583420277, 0.0341523215174675, -0.015431585721671581, 0.045901887118816376, 0.01922324299812317, -0.01946079172194004, -0.03954286873340607, 0.006167152430862188, -0.013887513428926468, 0.04750991612672806, -0.024211784824728966, 0.008615740574896336, -0.007925933226943016, -0.0073411958292126656, 0.01173129491508007, -0.03342139720916748, 0.02642282284796238, 0.015413313172757626, -0.01537676714360714, 0.017660897225141525, -0.015047851949930191, 0.0072726719081401825, -0.02962060458958149, -0.018784690648317337, 0.10766477882862091, -0.05660989135503769, -0.060227956622838974, -0.01082677859812975, 0.0386657640337944, 0.005340297240763903, 0.03881194815039635, -0.008350781165063381, 0.05149343982338905, -0.004285029135644436, -0.03161236643791199, -0.057560089975595474, 0.03285493329167366, 0.018053768202662468, 0.03555934503674507, 0.00624024448916316, 0.0749925747513771, 0.03654608875513077, 0.01882123574614525, -0.03208746761083603, 0.019479066133499146, 0.048496659845113754, 0.0010095856850966811, 0.0543074868619442, 0.0007389162201434374, -0.008323371410369873, 0.05825446546077728, -0.01845577545464039, -0.01436261273920536, -0.09311943501234055, 0.006537181790918112, 0.012507898733019829, -0.008387327194213867, 0.04575570300221443, 0.012151574715971947, -0.015184899792075157, -0.030369799584150314, -0.067317895591259, 0.09487364441156387, 0.009456300176680088, 0.026751738041639328, -0.04904485121369362, 0.0011466335272416472, -0.04451313614845276, -0.03482842445373535, 0.007217852398753166, -0.014600162394344807, -0.0032343289349228144, -0.02492443285882473, 0.027866393327713013, -0.002784355077892542, -0.02468688227236271, 0.011338423937559128, -0.01982625387609005, -0.0343167781829834, -0.017934992909431458, 0.09056121110916138, -0.05324765294790268, -0.03789829462766647, -0.02892622910439968, 0.0010507000843062997, -0.04345329850912094, 0.05182235315442085, 0.00356552773155272, -0.042064547538757324, -0.01885778270661831, -0.0134946433827281, -0.05957012623548508, 0.019533883780241013, 0.07144760340452194, 0.0020328762475401163, -0.017670033499598503, 0.046669356524944305, -0.0006669661379419267, 0.04085852578282356, -0.01142978947609663, -0.008031003177165985, -0.02262202836573124, 0.020666813477873802, -0.02528989315032959, -0.0025742151774466038, 0.0037436899729073048, -0.039031222462654114, -0.0316489115357399, -0.047363732010126114, -0.07444438338279724, -0.04634043946862221, 0.03429850563406944, -0.04078543558716774, 0.01066232193261385, -0.013385005295276642, 0.026349730789661407, 0.017140116542577744, -0.06859701126813889, 0.055294234305620193, -0.011877479031682014, -0.0012300043599680066, 0.023736685514450073, 0.07166688144207001, -0.03771556541323662, 0.040237244218587875, -0.007939637638628483, 0.0007446265663020313, 0.01525799185037613, 0.003385081421583891, 0.011795250698924065, 0.007551335729658604, 0.035467978566884995, 0.03002261184155941, -0.002754661487415433, -0.03532179445028305, -0.08259416371583939, 0.012498762458562851, -0.04787537828087807, -0.0027500931173563004, -0.028780044987797737, -0.022768214344978333, 0.0062311082147061825, -0.04447659105062485, 0.012718038633465767, -0.01339414156973362, 0.010141539387404919, 0.0007943063974380493, 0.08149778097867966, 0.06724480539560318, -0.018565412610769272, 0.012608400546014309, 0.021744923666119576, 0.05090870335698128, 0.013686510734260082, -0.005998126696795225, 0.004714445676654577, -0.01321141142398119, -0.018784690648317337, 0.024650337174534798, 0.04147981107234955, -0.05028741806745529, -0.00994967296719551, -0.016162507236003876, 0.024485880509018898, -0.051164526492357254, -0.09640858322381973, 0.040602706372737885, 0.025107163935899734, -0.005404253024607897, -0.04491514340043068, 0.013832694850862026, -0.02306058257818222, -0.04155290499329567, 0.01882123574614525, -0.05390547960996628, 0.01569654606282711, -0.033202122896909714, -0.009584211744368076, 0.05386893451213837, 0.02159873954951763, -0.03888503834605217, -0.02326158620417118, -0.043964944779872894, 0.032836660742759705, 0.014828575775027275, -0.009141090326011181, -0.018766416236758232, -0.01872987113893032, -0.010525274090468884, -0.02812221646308899, -0.020538901910185814, -0.0119140250608325, 0.020447537302970886, -0.046194255352020264, 0.01711270585656166, 0.006582864094525576, 0.008442146703600883, -0.03274529427289963, -0.004403803963214159, -0.004367257468402386, -0.05807173624634743, -0.030077431350946426, 0.02545435167849064, 0.020685086026787758, 0.0035266976337879896, 0.006884369533509016, -0.08332508057355881, -0.01132928766310215, -0.04374567046761513, 0.048204291611909866, 0.008058412931859493, -0.04524405673146248, -0.01683861017227173, -0.03002261184155941, 0.05628097802400589, 0.005002245772629976, 0.021014001220464706, 0.052297454327344894, -0.0896110087633133, -0.043599482625722885, 0.02649591490626335, -0.05639061704277992, 0.046194255352020264, 0.010516136884689331, -0.01357687171548605, -0.05555005371570587, -0.02072163298726082, -0.03177682310342789, 0.030442891642451286, 0.004177674651145935, -0.023170219734311104, -0.067317895591259, 0.0334944911301136, 0.05924120917916298, -0.012672356329858303, 0.005586983170360327, 0.05390547960996628, 0.033805131912231445, -0.009803488850593567, -0.01885778270661831, 0.031484454870224, -0.014919941313564777, 0.043636031448841095, 0.04612116515636444, -0.02702583372592926, 0.07455401867628098, 0.0713014230132103, 0.006911779288202524, 0.060593415051698685, -0.010287724435329437, -0.049300674349069595, -0.02649591490626335, 0.005678348708897829, 0.027665389701724052, -0.04301474615931511, 0.03091799095273018, 0.02335295081138611, 0.009684713557362556, 0.012599264271557331, -0.0002772363368421793 ]
54,917
nbconvert.exporters.webpdf
run_playwright
Run playwright.
def run_playwright(self, html): """Run playwright.""" async def main(temp_file): """Run main playwright script.""" args = ["--no-sandbox"] if self.disable_sandbox else [] try: from playwright.async_api import async_playwright # type: ignore[import-not-found] except ModuleNotFoundError as e: msg = ( "Playwright is not installed to support Web PDF conversion. " "Please install `nbconvert[webpdf]` to enable." ) raise RuntimeError(msg) from e if self.allow_chromium_download: cmd = [sys.executable, "-m", "playwright", "install", "chromium"] subprocess.check_call(cmd) # noqa: S603 playwright = await async_playwright().start() chromium = playwright.chromium try: browser = await chromium.launch( handle_sigint=False, handle_sigterm=False, handle_sighup=False, args=args ) except Exception as e: msg = ( "No suitable chromium executable found on the system. " "Please use '--allow-chromium-download' to allow downloading one," "or install it using `playwright install chromium`." ) await playwright.stop() raise RuntimeError(msg) from e page = await browser.new_page() await page.emulate_media(media="print") await page.wait_for_timeout(100) await page.goto(f"file://{temp_file.name}", wait_until="networkidle") await page.wait_for_timeout(100) pdf_params = {"print_background": True} if not self.paginate: # Floating point precision errors cause the printed # PDF from spilling over a new page by a pixel fraction. dimensions = await page.evaluate( """() => { const rect = document.body.getBoundingClientRect(); return { width: Math.ceil(rect.width) + 1, height: Math.ceil(rect.height) + 1, } }""" ) width = dimensions["width"] height = dimensions["height"] # 200 inches is the maximum size for Adobe Acrobat Reader. pdf_params.update( { "width": min(width, 200 * 72), "height": min(height, 200 * 72), } ) pdf_data = await page.pdf(**pdf_params) await browser.close() await playwright.stop() return pdf_data pool = concurrent.futures.ThreadPoolExecutor() # Create a temporary file to pass the HTML code to Chromium: # Unfortunately, tempfile on Windows does not allow for an already open # file to be opened by a separate process. So we must close it first # before calling Chromium. We also specify delete=False to ensure the # file is not deleted after closing (the default behavior). temp_file = tempfile.NamedTemporaryFile(suffix=".html", delete=False) with temp_file: temp_file.write(html.encode("utf-8")) try: # TODO: when dropping Python 3.6, use # pdf_data = pool.submit(asyncio.run, main(temp_file)).result() def run_coroutine(coro): """Run an internal coroutine.""" loop = ( asyncio.ProactorEventLoop() # type:ignore[attr-defined] if IS_WINDOWS else asyncio.new_event_loop() ) asyncio.set_event_loop(loop) return loop.run_until_complete(coro) pdf_data = pool.submit(run_coroutine, main(temp_file)).result() finally: # Ensure the file is deleted even if playwright raises an exception os.unlink(temp_file.name) return pdf_data
(self, html)
[ -0.033215560019016266, -0.011596646159887314, -0.14576447010040283, 0.018969349563121796, 0.011625446379184723, 0.0635511577129364, -0.035692326724529266, 0.02855002135038376, -0.05637045204639435, -0.02081252448260784, 0.0964595228433609, 0.027858830988407135, 0.017596567049622536, 0.0446586087346077, -0.02676444500684738, -0.03582672402262688, 0.05149371922016144, 0.029241211712360382, -0.002375968499109149, -0.04915134981274605, -0.03164118155837059, -0.002053172793239355, 0.008649485185742378, -0.010607859119772911, -0.031679581850767136, 0.01180784311145544, -0.010713458061218262, 0.022559700533747673, -0.08301970362663269, 0.040165867656469345, 0.050994522869586945, 0.019382143393158913, 0.01491820253431797, 0.036345116794109344, 0.029548408463597298, -0.019833337515592575, -0.002212770748883486, -0.007415901869535446, -0.05130172148346901, 0.028454022482037544, -0.028780419379472733, -0.024383677169680595, 0.019084546715021133, -0.04227783903479576, -0.06750630587339401, -0.048268161714076996, -0.007795096840709448, -0.0027671633288264275, -0.04680898040533066, -0.006407915148884058, 0.011519847437739372, 0.03511633351445198, 0.023289291188120842, 0.034674741327762604, 0.04796096310019493, 0.062091976404190063, -0.017510168254375458, 0.002627965295687318, 0.042316239327192307, -0.025938855484128, 0.004648738540709019, -0.006268716882914305, 0.023289291188120842, 0.005356729030609131, 0.02453727461397648, -0.001742376945912838, 0.0070895059034228325, 0.004859935492277145, -0.0036431518383324146, -0.03647951781749725, -0.01933414302766323, -0.004197544418275356, 0.007771097123622894, 0.0013391822576522827, -0.002109572058543563, -0.010847856290638447, -0.003659951500594616, 0.0015671792207285762, -0.010185465216636658, 0.08017813414335251, 0.06643112003803253, 0.004485540557652712, 0.005155131686478853, -0.026860443875193596, 0.047384973615407944, 0.0073439027182757854, 0.08547727018594742, -0.0061727180145680904, -0.04266183450818062, -0.059020016342401505, 0.030796391889452934, 0.008265490643680096, -0.0050303335301578045, -0.017356570810079575, 0.026937242597341537, -0.004612738732248545, 0.0006959908059798181, -0.04481220617890358, -0.08993160724639893, 0.011894242838025093, -0.00643671490252018, 0.052069708704948425, 0.006407915148884058, -0.0256892591714859, 0.05944241210818291, -0.018306957557797432, -0.016550181433558464, 0.034213945269584656, 0.014342210255563259, -0.007713497616350651, -0.05525686964392662, -0.03859148919582367, -0.018028561025857925, -0.0062639168463647366, -0.015206198208034039, 0.0024383675772696733, -0.06573992967605591, -0.029644407331943512, 0.026169253513216972, -0.000605691981036216, 0.002527166623622179, -0.006355115678161383, -0.03667151555418968, -0.017010973766446114, -0.022828496992588043, 0.053221695125103, -0.0032663566526025534, 0.014515007846057415, 0.007468700874596834, 0.08555406332015991, 0.05030333250761032, 0.0027071640361100435, 0.01514859963208437, 0.04780736565589905, 0.0319867767393589, 0.02876121923327446, 0.00010357362771173939, 0.016578979790210724, 0.02181091159582138, 0.0046007391065359116, -0.027513235807418823, -0.021100521087646484, 0.05030333250761032, -0.0026375651359558105, 0.0017639766447246075, 0.022559700533747673, -0.046578582376241684, -0.07046306878328323, -0.04300742968916893, 0.031737178564071655, 0.07837336510419846, 0.017241371795535088, -0.029817204922437668, 0.025919657200574875, -0.011529447510838509, -0.02108132094144821, 0.018326157703995705, 0.029855605214834213, 0.00007181154796853662, 0.024575674906373024, -0.02574685961008072, 0.0002300969499628991, 0.02173411287367344, 0.01180784311145544, -0.01545579545199871, 0.06604712456464767, 0.03592272475361824, 0.019833337515592575, 0.05014973506331444, 0.06055599823594093, 0.05402808263897896, 0.05867442116141319, -0.044044215232133865, 0.0321979746222496, 0.026169253513216972, 0.017404569312930107, 0.006547113414853811, -0.030393198132514954, -0.016598179936408997, -0.022962896153330803, -0.049458544701337814, -0.036959510296583176, 0.008390288800001144, 0.023788485676050186, 0.039705075323581696, 0.031410783529281616, -0.020716525614261627, 0.03183317929506302, 0.03196757659316063, -0.018844550475478172, -0.08232850581407547, 0.03279316425323486, 0.04630978778004646, -0.02380768395960331, 0.08156052231788635, -0.012767830863595009, -0.0353851318359375, -0.010809456929564476, -0.01860455423593521, -0.027993228286504745, 0.015436595305800438, -0.031929176300764084, 0.06140078604221344, -0.06593192368745804, 0.00027974628028459847, -0.029010815545916557, -0.025458863005042076, 0.033733952790498734, -0.006811109837144613, 0.05030333250761032, -0.03720910847187042, 0.012902229093015194, 0.003753550350666046, 0.01839335635304451, 0.05921201407909393, -0.014140612445771694, 0.010118265636265278, 0.001993173500522971, -0.002596765523776412, 0.015282997861504555, 0.015484594739973545, 0.033349957317113876, 0.00006097419100115076, -0.022636499255895615, 0.026169253513216972, -0.03379155322909355, 0.028185226023197174, 0.00968147162348032, -0.011798243969678879, -0.03653711453080177, 0.015359796583652496, -0.003693551057949662, -0.03323476016521454, 0.031602781265974045, -0.01454380713403225, -0.06988707184791565, -0.036153122782707214, 0.01090545579791069, -0.012815830297768116, -0.029145214706659317, 0.0002768963167909533, 0.03379155322909355, 0.009580672718584538, 0.023711685091257095, -0.03872588649392128, 0.022962896153330803, 0.015503794886171818, -0.027705233544111252, 0.04988094046711922, 0.013535820879042149, -0.007819096557796001, -0.06239917501807213, -0.05318329483270645, -0.042700234800577164, -0.04316102713346481, 0.012556633912026882, 0.03726670518517494, -0.03751630336046219, -0.006566313095390797, 0.04807616397738457, 0.04750017076730728, -0.07510940730571747, -0.01917094551026821, 0.01919974572956562, 0.02219490520656109, -0.09323396533727646, -0.01888294890522957, 0.013900616206228733, -0.022847697138786316, 0.019190145656466484, 0.03317715972661972, -0.01013746578246355, 0.0003392955113667995, 0.00655671302229166, -0.004919935017824173, -0.03780429810285568, 0.003993547055870295, 0.09515394270420074, -0.012988627888262272, 0.00959987286478281, 0.02434527687728405, 0.01723177172243595, -0.04703937843441963, -0.0009113879059441388, 0.030988389626145363, -0.0441594161093235, -0.016089387238025665, 0.036825112998485565, 0.013737417757511139, -0.038437891751527786, -0.032543569803237915, 0.020217332988977432, 0.023308491334319115, -0.09484674036502838, -0.024978868663311005, 0.0010601859539747238, -0.02555486187338829, -0.04634818434715271, -0.04554179683327675, -0.0018707752460613847, -0.0014579807175323367, 0.040089067071676254, 0.03638351708650589, 0.016713378950953484, -0.010454261675477028, 0.048191361129283905, -0.02555486187338829, -0.04235463961958885, 0.03838029131293297, -0.046578582376241684, -0.023788485676050186, -0.058367226272821426, 0.0865524560213089, 0.10106746107339859, -0.014438209123909473, 0.04335302487015724, 0.010780656710267067, 0.03250516951084137, 0.01575339213013649, -0.009230277501046658, -0.026342051103711128, 0.017634965479373932, 0.06612392514944077, 0.03498193621635437, -0.007535899989306927, -0.037612300366163254, 0.0007325902697630227, 0.01427501067519188, -0.02081252448260784, -0.005097532644867897, -0.053605690598487854, 0.09146758913993835, -0.022367702797055244, 0.016847776249051094, 0.017490968108177185, 0.03288916498422623, -0.04381382092833519, -0.01855655387043953, 0.03482833877205849, -0.09891708940267563, 0.004963134415447712, 0.009964668191969395, 0.02856922149658203, -0.0010553860338404775, -0.02313569374382496, -0.021887710317969322, 0.054488878697156906, -0.0013691819040104747, 0.00472553726285696, -0.056831248104572296, 0.06213037669658661, -0.009508674032986164, -0.024902069941163063, 0.05329849198460579, -0.05660085007548332, -0.010425461456179619, 0.0033623555209487677, 0.005721524357795715, -0.04707777500152588, -0.038015495985746384, -0.008649485185742378, 0.012057440355420113, -0.04454341158270836, 0.05318329483270645, -0.01866215281188488, -0.04342982545495033, 0.017490968108177185, 0.03859148919582367, -0.06378155201673508, 0.048805754631757736, 0.04627138748764992, 0.00986866932362318, -0.017001375555992126, -0.017385369166731834, -0.004228744190186262, -0.01013746578246355, -0.038495488464832306, 0.0019427742809057236, -0.0035231532528996468, 0.026726046577095985, -0.00030254598823376, 0.019833337515592575, -0.03872588649392128, -0.007646298501640558, -0.020486129447817802, -0.06823589652776718, -0.009076680056750774, -0.031141987070441246, 0.017577366903424263, -0.035615529865026474, 0.009887868538498878, 0.0009731870959512889, 0.020639726892113686, 0.028742019087076187, 0.06923428177833557, -0.02741723693907261, -0.04577219486236572, 0.05464247614145279, 0.00906227994710207, 0.055410467088222504, 0.025362864136695862, 0.0036551514640450478, -0.03166038170456886, 0.004444741178303957, -0.055487263947725296, 0.01651178114116192, 0.04308423027396202, -0.05967281013727188, 0.05913521721959114, 0.048805754631757736, -0.07645338773727417, 0.004615138750523329, -0.06443434953689575, -0.007147105410695076, -0.003851949004456401, 0.06616232544183731, -0.0177981648594141, -0.05660085007548332, -0.004895935300737619, 0.012777430936694145, 0.0078382957726717, 0.016818977892398834, 0.0183645561337471, 0.0667383149266243, 0.08156052231788635, -0.02033253014087677, 0.07687578350305557, 0.03490513935685158, 0.007991894148290157, 0.024652473628520966, 0.05614005774259567, 0.04316102713346481, -0.09438595175743103, 0.0035663526505231857, 0.01518699899315834, 0.060824792832136154, -0.02956760860979557, 0.03928267955780029, 0.03029719926416874, 0.004763937089592218, -0.05318329483270645, -0.05141691863536835, 0.0004250943602528423, -0.00006971157563384622, 0.06059439852833748, 0.015714991837739944, -0.013046227395534515, -0.034674741327762604, -0.041778646409511566, 0.014227011241018772, -0.00921107828617096, 0.03680591285228729, 0.014908602461218834, -0.04673217982053757, 0.034751538187265396, 0.008678285405039787, -0.011894242838025093, 0.021215718239545822, 0.0003317955997772515, 0.022041307762265205, 0.08171411603689194, 0.02173411287367344, 0.058021631091833115, -0.020294131711125374, -0.017788564786314964, -0.03217877447605133, 0.0011243850458413363, 0.011779043823480606, -0.05433528125286102, 0.007550300098955631, 0.014131012372672558, -0.003962347283959389, 0.023654086515307426, -0.014054213650524616, 0.024633273482322693, -0.010483060963451862, -0.03818829357624054, -0.03820749372243881, 0.0012419834965839982, -0.05652404949069023, -0.01144304871559143, -0.034693941473960876, 0.05679284781217575, 0.05064892768859863, -0.05372088775038719, -0.029529208317399025, 0.04534979909658432, 0.03263956680893898, 0.014438209123909473, -0.0030647593084722757, -0.03599952161312103, 0.007262303959578276, 0.0019403742626309395, -0.0329083651304245, -0.04930494725704193, -0.04473540559411049, 0.011011053808033466, 0.06658472120761871, -0.041164252907037735, -0.06689191609621048, 0.0351739339530468, -0.011481448076665401, 0.053874485194683075, 0.021446116268634796, 0.04650178551673889, -0.01943974196910858, 0.006163118407130241, -0.01535019651055336, -0.00605271989479661, 0.028530821204185486, -0.01715497300028801, -0.015398195944726467, -0.0115006472915411, -0.10145145654678345, 0.03237077221274376, -0.02649564854800701, -0.0034751540515571833, -0.017846163362264633, -0.007679898291826248, -0.02040932886302471, -0.024863669648766518, -0.018210958689451218, 0.010415862314403057, -0.021849310025572777, 0.035692326724529266, 0.02855002135038376, 0.04074186086654663, 0.011126252822577953, 0.0072143045254051685, -0.017385369166731834, 0.03845709189772606, 0.029318012297153473, 0.05402808263897896, -0.06412714719772339, 0.013727817684412003, -0.013334223069250584, 0.0024323677644133568, -0.024460475891828537, 0.03365715220570564, -0.006110318936407566, -0.0005342928925529122, 0.03550032898783684, -0.012527833692729473, -0.03759310021996498, -0.01144304871559143, -0.023788485676050186, 0.03277396410703659, 0.021119719371199608, 0.04342982545495033, 0.005011133383959532, 0.014860603027045727, 0.025650860741734505, 0.11028333753347397, 0.005044733174145222, -0.05779123306274414, 0.005755123682320118, 0.03887948393821716, -0.05276089906692505, 0.028665220364928246, -0.022962896153330803, -0.0015719791408628225, -0.08670604974031448, -0.03690190985798836, -0.028780419379472733, -0.007670298218727112, 0.02246370166540146, 0.010310263372957706, 0.02467167377471924, -0.005385528784245253, -0.09361796081066132, 0.08017813414335251, 0.031065188348293304, 0.03417554870247841, -0.013363023288547993, -0.04554179683327675, -0.03225557133555412, -0.03644111752510071, 0.007996694184839725, 0.0266108475625515, -0.0009689871803857386, -0.019890936091542244, 0.007881495170295238, 0.001432780991308391, -0.05974960699677467, -0.01855655387043953, -0.028204426169395447, 0.03626831993460655, -0.028319625183939934, 0.07414941489696503, -0.04262343421578407, -0.026322850957512856, -0.0062975166365504265, -0.012691032141447067, -0.05141691863536835, 0.010991854593157768, 0.017490968108177185, -0.05245370417833328, 0.027186838909983635, -0.0268220454454422, -0.02889561653137207, -0.0010817856527864933, 0.058021631091833115, 0.035884324461221695, 0.004096745513379574, 0.019516540691256523, 0.03023959882557392, 0.01833575777709484, -0.047999363392591476, 0.07871896028518677, -0.021830109879374504, -0.026783645153045654, -0.06078639626502991, -0.0097486712038517, -0.04001227021217346, -0.021849310025572777, -0.017356570810079575, -0.07269023358821869, -0.01117425225675106, 0.0031367584597319365, 0.04220104217529297, -0.03551952913403511, -0.010348662734031677, -0.038437891751527786, 0.015254197642207146, 0.01311342604458332, -0.05663925036787987, 0.0146494060754776, -0.029606007039546967, -0.017433369532227516, 0.0035447529517114162, 0.03123798593878746, -0.010502261109650135, 0.041433051228523254, -0.008649485185742378, 0.01639658212661743, -0.004751936998218298, -0.008265490643680096, 0.017865363508462906, -0.002894361736252904, -0.0024119680747389793, 0.024921270087361336, 0.02515166625380516, -0.04796096310019493, 0.0007049906416796148, 0.024460475891828537, -0.029318012297153473, 0.024863669648766518, -0.022578900679945946, 0.06635431945323944, -0.011510247364640236, -0.05249210447072983, 0.04803776368498802, 0.011241450905799866, 0.00410634558647871, -0.04193224385380745, 0.044850606471300125, 0.0188253503292799, -0.049381744116544724, -0.009676671586930752, 0.008548686280846596, 0.06005680561065674, 0.03477073833346367, -0.06477994471788406, -0.014505407772958279, -0.014207812026143074, -0.00924947764724493, 0.02676444500684738, 0.06424234807491302, -0.024364477023482323, -0.005452727898955345, 0.015215798281133175, 0.009527874179184437, 0.008155091665685177, -0.08263570815324783, 0.04596419259905815, 0.08540046960115433, -0.007156705018132925, -0.02916441299021244, -0.01873895153403282, -0.012431834824383259, 0.03939787670969963, 0.00009764870628714561, -0.08102292567491531, -0.010511861182749271, -0.024633273482322693, 0.028876418247818947, 0.009431875310838223, 0.005011133383959532, -0.015398195944726467, -0.04354502260684967, -0.043314624577760696, 0.02375008538365364, -0.032332371920347214, -0.018518155440688133, -0.03893708437681198, -0.021561313420534134, 0.0078382957726717, -0.042431436479091644, 0.010665458627045155, -0.006196717731654644, 0.015695791691541672, -0.05556406453251839, 0.02060132659971714, -0.00943667534738779, -0.011625446379184723, 0.014947001822292805, 0.00575032364577055, 0.042047444730997086, 0.02480607107281685, -0.024921270087361336, 0.043045829981565475, -0.018594954162836075, -0.03647951781749725, 0.03148758411407471, -0.054143283516168594, 0.004639138467609882, -0.049381744116544724, 0.002831962425261736, 0.015206198208034039, -0.03939787670969963, -0.03402194753289223, 0.04469700902700424, 0.012777430936694145, -0.04005067050457001, 0.0007409901591017842, 0.04803776368498802, -0.07476381212472916, -0.026169253513216972, 0.04166344925761223, 0.007468700874596834, 0.03772750124335289, -0.012815830297768116, 0.00697430782020092, 0.0031847578939050436, -0.05948081240057945, -0.0031079587060958147, 0.04108745604753494, -0.065816730260849, -0.06620072573423386, -0.058828022330999374, -0.039436277002096176, -0.02789723128080368, -0.015839790925383568, -0.04362182319164276, 0.021580513566732407, 0.00640311511233449, 0.002107172040268779, -0.031276386231184006, 0.06696870923042297, -0.022559700533747673, 0.027570834383368492, 0.040972258895635605, -0.04396741837263107, 0.04527299851179123, 0.035807523876428604, 0.05825202912092209, 0.022022107616066933, 0.008145492523908615, -0.07580059766769409, 0.014591806568205357, -0.012287837453186512, 0.05978800728917122, -0.03379155322909355, 0.008865482173860073, 0.026399649679660797, 0.0016175785567611456, 0.04262343421578407, 0.02254050225019455 ]
54,930
nbconvert.exporters.base
export
Export a notebook object using specific exporter class. Parameters ---------- exporter : ``Exporter`` class or instance Class or instance of the exporter that should be used. If the method initializes its own instance of the class, it is ASSUMED that the class type provided exposes a constructor (``__init__``) with the same signature as the base Exporter class. nb : :class:`~nbformat.NotebookNode` The notebook to export. config : config (optional, keyword arg) User configuration instance. resources : dict (optional, keyword arg) Resources used in the conversion process. Returns ------- tuple output : str The resulting converted notebook. resources : dictionary Dictionary of resources used prior to and during the conversion process.
def export(exporter, nb, **kw): """ Export a notebook object using specific exporter class. Parameters ---------- exporter : ``Exporter`` class or instance Class or instance of the exporter that should be used. If the method initializes its own instance of the class, it is ASSUMED that the class type provided exposes a constructor (``__init__``) with the same signature as the base Exporter class. nb : :class:`~nbformat.NotebookNode` The notebook to export. config : config (optional, keyword arg) User configuration instance. resources : dict (optional, keyword arg) Resources used in the conversion process. Returns ------- tuple output : str The resulting converted notebook. resources : dictionary Dictionary of resources used prior to and during the conversion process. """ # Check arguments if exporter is None: msg = "Exporter is None" raise TypeError(msg) if not isinstance(exporter, Exporter) and not issubclass(exporter, Exporter): msg = "exporter does not inherit from Exporter (base)" raise TypeError(msg) if nb is None: msg = "nb is None" raise TypeError(msg) # Create the exporter resources = kw.pop("resources", None) exporter_instance = exporter if isinstance(exporter, Exporter) else exporter(**kw) # Try to convert the notebook using the appropriate conversion function. if isinstance(nb, NotebookNode): output, resources = exporter_instance.from_notebook_node(nb, resources) elif isinstance(nb, (str,)): output, resources = exporter_instance.from_filename(nb, resources) else: output, resources = exporter_instance.from_file(nb, resources) return output, resources
(exporter, nb, **kw)
[ 0.005025438033044338, -0.051187869161367416, -0.019992996007204056, -0.06209973245859146, 0.006022369023412466, -0.006584275513887405, 0.030071061104536057, 0.06097592040896416, -0.02762404829263687, -0.04875898361206055, 0.036070771515369415, 0.034221917390823364, 0.016014335677027702, 0.029509155079722404, -0.031267378479242325, -0.014446434564888477, 0.010277451016008854, -0.007381820119917393, 0.032246183604002, 0.029944179579615593, -0.030886732041835785, -0.034548185765743256, 0.03409503772854805, 0.03066921979188919, -0.0195398461073637, 0.026572739705443382, 0.06971266120672226, -0.014854270033538342, -0.041871096938848495, 0.03511009365320206, 0.0061583141796290874, -0.07264907658100128, 0.0024379491806030273, 0.04488001763820648, 0.021225564181804657, 0.054523058235645294, -0.0541967898607254, 0.06608745455741882, -0.06782755255699158, -0.012923849746584892, -0.008115923963487148, 0.013875465840101242, 0.06021462753415108, -0.046293847262859344, 0.009724607691168785, 0.024234483018517494, -0.01669406145811081, -0.02858472801744938, -0.05793074890971184, -0.017890378832817078, -0.013132298365235329, -0.07246781140565872, 0.03376876935362816, 0.03788337484002113, 0.0031629898585379124, 0.03485633060336113, 0.040022242814302444, 0.05648066848516464, -0.006140187848359346, 0.021660588681697845, -0.022621268406510353, 0.009452717378735542, 0.06677624583244324, -0.016802817583084106, -0.034167539328336716, -0.0030678282491862774, -0.027044016867876053, -0.013875465840101242, -0.06732002645730972, 0.046765122562646866, 0.05916331708431244, -0.0391884483397007, 0.007078209426254034, 0.014256112277507782, 0.07275783270597458, -0.0029658693820238113, -0.04607633501291275, -0.012108178809285164, -0.028022821992635727, 0.05546560883522034, 0.09302271902561188, -0.040203504264354706, -0.058039505034685135, -0.030397329479455948, 0.03130362927913666, -0.04687387868762016, 0.02106243185698986, -0.05869204178452492, -0.012751652859151363, 0.01793569326400757, 0.0017763496143743396, -0.045061275362968445, 0.01200848538428545, -0.05579187721014023, -0.014346742071211338, -0.07402665168046951, -0.008233742788434029, 0.046438854187726974, 0.01448268722742796, -0.03066921979188919, 0.0018216646276414394, -0.07968197017908096, -0.027225276455283165, 0.012334753759205341, 0.012189745903015137, -0.06866134703159332, -0.022856906056404114, 0.034167539328336716, -0.008836433291435242, 0.0003984891518484801, 0.0039605344645679, 0.04107355326414108, -0.07627427577972412, -0.018515726551413536, 0.05503058433532715, -0.01026838831603527, 0.027116520330309868, -0.025448927655816078, -0.011374074965715408, -0.0581120066344738, -0.033460624516010284, 0.06289727985858917, -0.01664874516427517, 0.03081422857940197, 0.007816844619810581, -0.01093905046582222, 0.011745658703148365, 0.002014253521338105, 0.04832395911216736, 0.012588518671691418, 0.007114461623132229, 0.027841560542583466, -0.11448392271995544, 0.001318667666055262, 0.05999711528420448, 0.01219880860298872, -0.033116232603788376, 0.043973714113235474, -0.04426373168826103, 0.008066077716648579, 0.04756266623735428, -0.0005890955217182636, 0.008854558691382408, 0.056516919285058975, 0.021787472069263458, -0.03529135510325432, -0.02358194813132286, 0.03219180554151535, -0.028131578117609024, -0.00483964616432786, 0.010694349184632301, 0.04328492656350136, 0.008482975885272026, -0.046620115637779236, 0.00017177232075482607, 0.004178046714514494, 0.013775772415101528, 0.035599496215581894, 0.02791406586766243, 0.01688438467681408, 0.05615440011024475, 0.05231168493628502, 0.04419122636318207, 0.050390325486660004, 0.007427135016769171, 0.04437248781323433, -0.020935548469424248, -0.026663370430469513, -0.01536179892718792, -0.003627469064667821, -0.03298934921622276, -0.057423219084739685, -0.06971266120672226, 0.015253042802214622, -0.04763517156243324, 0.028095325455069542, 0.050897855311632156, 0.014011410996317863, 0.009724607691168785, 0.003453006036579609, 0.017246903851628304, -0.007685430813580751, -0.03239119052886963, -0.014963026158511639, -0.008999567478895187, 0.005365300923585892, -0.013567322865128517, 0.03429442271590233, -0.005945333279669285, -0.0016755235847085714, 0.04908525198698044, 0.05151413753628731, -0.028548475354909897, 0.049484025686979294, -0.07362788170576096, -0.07794187217950821, -0.0556468702852726, -0.030705472454428673, 0.02325567975640297, 0.07823188602924347, -0.012606644071638584, 0.04183484613895416, 0.018334465101361275, 0.035363856703042984, 0.015869326889514923, -0.021080557256937027, -0.029273515567183495, -0.0556468702852726, -0.023291930556297302, 0.0024470121134072542, 0.03900718688964844, 0.005329048726707697, -0.00420976709574461, 0.03543636202812195, 0.02814970351755619, 0.008460317738354206, 0.003686378477141261, 0.07420790940523148, 0.01120187807828188, -0.038209643214941025, -0.003663721028715372, 0.020899297669529915, 0.012987290509045124, 0.06238974630832672, -0.015706192702054977, -0.04197985306382179, 0.05778573825955391, -0.03237306699156761, 0.06996642053127289, -0.053000472486019135, -0.02938227169215679, 0.016956888139247894, -0.004803394433110952, 0.0240169707685709, 0.02387196384370327, 0.028457846492528915, -0.025847699493169785, -0.0025965517852455378, -0.07576674968004227, 0.04709139093756676, 0.033025600016117096, 0.018615419045090675, -0.021225564181804657, -0.05600938946008682, 0.07141650468111038, 0.028892869129776955, 0.05187666043639183, -0.017564110457897186, -0.04991905018687248, -0.03143051266670227, 0.024796390905976295, 0.015615562908351421, -0.01227131299674511, -0.03656017407774925, -0.04683762788772583, 0.024850768968462944, -0.09824300557374954, -0.08250962942838669, -0.02006549946963787, 0.019195450469851494, -0.015814948827028275, -0.06420235335826874, -0.0039469399489462376, 0.0005160250002518296, 0.07152526080608368, -0.008673299103975296, -0.01555212214589119, 0.011283445172011852, 0.05151413753628731, 0.0030791570898145437, 0.05354425311088562, 0.05615440011024475, -0.005492182914167643, 0.010159632191061974, 0.0040466333739459515, -0.06771879643201828, -0.015615562908351421, -0.03762960806488991, 0.03063296712934971, 0.014518938958644867, 0.007422603666782379, -0.08134955912828445, -0.027515292167663574, -0.01977548375725746, 0.01588745415210724, -0.044009968638420105, -0.02938227169215679, 0.019104821607470512, 0.02463325671851635, -0.030324826017022133, 0.042016107589006424, 0.021316194906830788, -0.018814804032444954, -0.008705019019544125, -0.017228778451681137, 0.03266308084130287, -0.043864957988262177, -0.0303429514169693, 0.005093410611152649, 0.029599783942103386, 0.016630619764328003, -0.023219427093863487, 0.06786380708217621, -0.02601083368062973, -0.017654739320278168, 0.008066077716648579, -0.00001721440457913559, 0.014401120133697987, -0.01782693713903427, 0.006874291691929102, 0.03409503772854805, -0.04295865818858147, 0.07301159203052521, 0.038535911589860916, -0.019702980294823647, -0.026463983580470085, 0.0492665134370327, -0.021008053794503212, -0.026735873892903328, -0.022385630756616592, -0.029744792729616165, 0.03114049695432186, -0.05028156936168671, 0.019322333857417107, 0.02744278870522976, -0.02914663404226303, -0.006425672676414251, 0.05702444911003113, 0.03081422857940197, 0.023183174431324005, -0.03153926879167557, 0.022548764944076538, 0.04723639786243439, -0.012833219952881336, -0.009851490147411823, -0.011881603859364986, 0.01687532104551792, 0.0037339592818170786, -0.007313847541809082, -0.005750478710979223, 0.010558404959738255, -0.012815093621611595, -0.007898411713540554, 0.029418524354696274, -0.056661926209926605, 0.002095820615068078, -0.05387052148580551, -0.005890955217182636, 0.012787904590368271, -0.018289150670170784, -0.06543491780757904, 0.05963459238409996, -0.008963314816355705, 0.0428861528635025, -0.034022532403469086, 0.0016766565386205912, 0.006162845529615879, -0.12789717316627502, -0.025575809180736542, -0.09476280957460403, 0.003450740361586213, 0.013512944802641869, -0.04237862676382065, 0.005202166736125946, -0.013812024146318436, -0.013440441340208054, 0.053000472486019135, 0.0195398461073637, 0.08874497562646866, -0.010349955409765244, 0.040964797139167786, 0.03086860664188862, -0.01874230057001114, 0.004730890039354563, -0.015398050658404827, -0.01840697042644024, -0.02586582489311695, 0.012207872234284878, -0.05535685271024704, -0.00920348521322012, 0.0014398854691535234, -0.016431232914328575, -0.0019043645588681102, -0.005188572220504284, 0.038680918514728546, -0.032735586166381836, 0.010494963265955448, 0.024470122531056404, -0.00497105997055769, -0.039260949939489365, -0.010902798734605312, 0.030651094391942024, -0.02697151154279709, 0.03451193496584892, -0.024796390905976295, -0.027025889605283737, 0.005723289679735899, 0.06710251420736313, 0.023980719968676567, -0.0014274237910285592, 0.031412385404109955, 0.031231125816702843, 0.03277183696627617, 0.015533995814621449, -0.02791406586766243, 0.06514490395784378, 0.05626315623521805, -0.038209643214941025, 0.037412095814943314, -0.010830294340848923, 0.04770767316222191, -0.00937115028500557, -0.027841560542583466, 0.01448268722742796, -0.0023631793446838856, 0.03491070866584778, -0.032735586166381836, 0.024977650493383408, -0.005256544798612595, -0.06206348165869713, 0.006194565910845995, -0.006606932729482651, 0.06746502965688705, 0.013014479540288448, 0.054088033735752106, -0.06365857273340225, -0.006765535566955805, -0.01114750001579523, -0.014111103489995003, 0.01901419088244438, -0.020337389782071114, -0.040203504264354706, 0.011274382472038269, -0.03875342383980751, 0.06177346408367157, -0.022657521069049835, 0.011346885934472084, -0.010848420672118664, 0.01640404388308525, 0.01706564426422119, 0.02858472801744938, -0.041871096938848495, 0.010694349184632301, -0.006303322035819292, -0.030651094391942024, -0.012969165109097958, -0.012244123965501785, 0.03153926879167557, 0.020790541544556618, 0.00831984169781208, 0.10411583632230759, -0.03994974121451378, 0.030016683042049408, -0.004119137302041054, 0.003357844427227974, -0.10179571062326431, 0.0657249316573143, -0.03208304941654205, 0.02849409729242325, 0.06993017345666885, -0.008274526335299015, -0.0027642175555229187, 0.01208098977804184, -0.029690414667129517, -0.007173371035605669, -0.0189779382199049, 0.04045726731419563, -0.009316772222518921, 0.022276874631643295, 0.023291930556297302, 0.01783600077033043, 0.04564131051301956, 0.006761004216969013, -0.018905434757471085, 0.01606871373951435, 0.06257101148366928, -0.01276977825909853, -0.05202166736125946, -0.06162845715880394, -0.027605922892689705, 0.0068788230419158936, -0.016866257414221764, 0.05260169878602028, 0.007884817197918892, -0.02686275541782379, 0.004989185836166143, 0.010522152297198772, 0.026373352855443954, 0.050716593861579895, 0.043067414313554764, -0.07029268890619278, 0.06050464138388634, -0.007427135016769171, 0.0015486414777114987, -0.006906012073159218, 0.043574944138526917, 0.02999855764210224, 0.01635872945189476, -0.03875342383980751, -0.018434159457683563, 0.07634677737951279, -0.003466600552201271, 0.006847102660685778, 0.004461265634745359, 0.007535891141742468, -0.03998599201440811, -0.00848750676959753, 0.02387196384370327, -0.004921213258057833, 0.030614841729402542, -0.06083090975880623, 0.03210117667913437, 0.02287503331899643, 0.04266864061355591, -0.06267976760864258, -0.00686069717630744, -0.023418813943862915, 0.01997487060725689, 0.0011634636903181672, 0.029599783942103386, 0.03770211338996887, -0.013395125977694988, 0.06271601468324661, -0.0441187247633934, -0.04179859533905983, 0.061555951833724976, 0.023291930556297302, 0.04531504213809967, -0.01641310751438141, 0.03315248340368271, -0.07109023630619049, 0.008532822132110596, 0.016050588339567184, -0.06554367393255234, -0.04469875618815422, -0.007526828441768885, -0.02568456530570984, 0.045858822762966156, 0.07022018730640411, -0.030071061104536057, 0.0010218541137874126, -0.022530637681484222, -0.008578137494623661, -0.04542379826307297, 0.027515292167663574, -0.017573172226548195, 0.01372139435261488, 0.04346618801355362, 0.025992708280682564, -0.014745513908565044, 0.03259057551622391, -0.057894494384527206, 0.0012212403817102313, 0.003772477153688669, 0.0015803620917722583, 0.10070814937353134, -0.0290560033172369, -0.016150280833244324, 0.07040144503116608, 0.007481513079255819, -0.053906772285699844, 0.030016683042049408, 0.010694349184632301, -0.010069002397358418, 0.05764073133468628, 0.04419122636318207, 0.056045643985271454, -0.06666748970746994, -0.04712764173746109, -0.06692124903202057, 0.039587218314409256, -0.01644936017692089, -0.005365300923585892, -0.04970153793692589, -0.003539104713127017, 0.05028156936168671, 0.014953963458538055, -0.0006094872951507568, 0.0021649261470884085, -0.0046583861112594604, -0.023291930556297302, 0.0441187247633934, -0.007676368113607168, -0.045351292937994, 0.0015407113824039698, 0.03781086951494217, -0.08838245272636414, -0.011935981921851635, 0.010993428528308868, 0.012452573515474796, 0.04741765931248665, 0.021932478994131088, 0.045242536813020706, -0.059417080134153366, 0.09229767322540283, -0.039260949939489365, -0.03335186839103699, -0.016440296545624733, 0.02735215798020363, -0.0481426976621151, -0.006742877885699272, -0.01793569326400757, -0.0066749053075909615, -0.05020906403660774, 0.06608745455741882, 0.027134645730257034, -0.013757646083831787, -0.03813713788986206, -0.000740334449801594, -0.020047374069690704, -0.029926052317023277, 0.0013515211176127195, 0.0015339141245931387, -0.012996354140341282, -0.04850522056221962, -0.05140538141131401, 0.01200848538428545, -0.04252363368868828, -0.042342375963926315, 0.006955858785659075, 0.0007952789892442524, 0.017156274989247322, 0.016775628551840782, 0.017990071326494217, 0.0010926589602604508, -0.026500236243009567, -0.005578281357884407, -0.039732228964567184, 0.06945889443159103, 0.011464705690741539, -0.025177037343382835, -0.0008728809771127999, 0.06224473938345909, -0.021533707156777382, 0.015416176989674568, -0.04121856018900871, 0.012724463827908039, 0.005156851839274168, 0.010884672403335571, -0.01208098977804184, -0.009235205128788948, -0.00609940430149436, -0.02563018724322319, -0.031448639929294586, -0.03442130610346794, -0.030089186504483223, 0.045061275362968445, -0.0017253701807931066, 0.051477886736392975, -0.025521431118249893, -0.01102968119084835, 0.050245318561792374, -0.0189779382199049, 0.0008032090845517814, -0.060939665883779526, 0.06235349550843239, 0.03514634445309639, 0.02425261028110981, 0.019956743344664574, 0.02762404829263687, 0.014491749927401543, -0.029219137504696846, 0.004735421855002642, 0.02311067096889019, -0.008238274604082108, 0.006475519388914108, -0.06383983045816422, 0.014935837127268314, -0.06692124903202057, -0.03233681246638298, -0.03306185454130173, 0.04190735146403313, 0.0036977073177695274, -0.06605120003223419, -0.0011781910434365273, -0.007563080172985792, -0.01921357773244381, -0.018443221226334572, -0.01611402817070484, -0.017129085958003998, -0.07290283590555191, 0.0018545180791988969, -0.05887329950928688, 0.043393682688474655, -0.024941397830843925, -0.0010156233329325914, 0.020989926531910896, 0.0018817071104422212, -0.01431049033999443, -0.017990071326494217, 0.013096046634018421, 0.051804155111312866, 0.012733526527881622, -0.04941152036190033, -0.017709117382764816, 0.029092255979776382, -0.017002202570438385, -0.02882036566734314, -0.04941152036190033, -0.01820758357644081, 0.011645965278148651, -0.03014356456696987, 0.036741435527801514, 0.014165481552481651, 0.04517003148794174, -0.013476693071424961, 0.013766709715127945, -0.018959812819957733, -0.000021241425201878883, -0.0367233082652092, -0.05187666043639183, 0.03864466771483421, 0.045097529888153076, -0.021932478994131088, -0.05412428453564644, -0.006946795620024204, 0.02439761720597744, 0.021334320306777954, -0.07235905528068542, -0.010775916278362274, 0.012071927078068256, -0.0348200760781765, 0.041581083089113235, -0.00374981970526278, -0.03940596058964729, -0.01082123164087534, -0.029219137504696846, -0.020790541544556618, 0.027225276455283165, -0.032028671354055405, 0.05517559498548508, 0.05492182821035385, -0.06224473938345909, 0.017754433676600456, 0.02211374044418335, -0.029454777017235756, 0.05013656243681908, -0.00034552719444036484, -0.0052429502829909325, 0.018905434757471085, 0.03253619745373726, 0.0183616541326046, -0.03413128852844238, 0.008143112994730473, -0.05716945603489876, 0.019195450469851494, 0.00033533130772411823, 0.0015055922558531165, 0.01265195943415165, 0.03733959421515465, 0.004180312622338533, 0.01621372066438198, -0.017482543364167213, 0.022476259618997574, 0.07134400308132172, -0.03382314741611481, 0.0055239032953977585, 0.012361942790448666, -0.03458444029092789, -0.04118230938911438, -0.00976992305368185, 0.038970936089754105, -0.01697501353919506, -0.040638528764247894, 0.039877235889434814, -0.0051931035704910755, 0.007984510622918606, -0.03762960806488991 ]
54,933
nbconvert.exporters.base
get_export_names
Return a list of the currently supported export targets Exporters can be found in external packages by registering them as an nbconvert.exporter entrypoint.
def get_export_names(config=get_config()): # noqa: B008 """Return a list of the currently supported export targets Exporters can be found in external packages by registering them as an nbconvert.exporter entrypoint. """ exporters = sorted(e.name for e in entry_points(group="nbconvert.exporters")) if os.environ.get("NBCONVERT_DISABLE_CONFIG_EXPORTERS"): get_logger().info( "Config exporter loading disabled, no additional exporters will be automatically included." ) return exporters enabled_exporters = [] for exporter_name in exporters: try: e = get_exporter(exporter_name)(config=config) if e.enabled: enabled_exporters.append(exporter_name) except (ExporterDisabledError, ValueError): pass return enabled_exporters
(config={})
[ 0.012434364296495914, -0.029885083436965942, -0.05574158579111099, -0.06228802725672722, 0.018109237775206566, 0.04567014053463936, -0.009926185943186283, -0.04578635096549988, -0.0070112766698002815, 0.008797990158200264, 0.008846410550177097, -0.026534389704465866, 0.015174959786236286, -0.04446931555867195, 0.03592795133590698, -0.06283033639192581, 0.05241026356816292, 0.038678232580423355, 0.05574158579111099, 0.007059697061777115, -0.03451407700777054, -0.05450202524662018, 0.02027847245335579, -0.010187656618654728, -0.03381682187318802, 0.07402513921260834, 0.042687442153692245, -0.0551992803812027, -0.028858570381999016, 0.04752948507666588, -0.05903417617082596, -0.02539166808128357, -0.004297312349081039, -0.01783808320760727, -0.009466191753745079, 0.06031247600913048, 0.005200352985411882, 0.08305070549249649, 0.027444694191217422, -0.020549627020955086, 0.04760695621371269, -0.02539166808128357, 0.05949901044368744, -0.015562322922050953, -0.010817121714353561, 0.02027847245335579, -0.05027976259589195, -0.005277825985103846, 0.02492683194577694, 0.010729964822530746, 0.01356740202754736, 0.008739885874092579, 0.019387535750865936, 0.0337006114423275, 0.047452010214328766, 0.008759253658354282, 0.0639536902308464, 0.027502799406647682, 0.012337522581219673, 0.0005371640436351299, -0.001793976523913443, 0.035191960632801056, 0.0488077849149704, -0.018147973343729973, 0.02155677042901516, 0.022796332836151123, 0.007960316725075245, -0.010255444794893265, -0.037922874093055725, 0.04574761167168617, -0.0074034822173416615, -0.08421279489994049, -0.027405958622694016, 0.002527545904740691, -0.011340062133967876, -0.011475639417767525, 0.002529966877773404, -0.004551519639790058, -0.040595680475234985, -0.014458337798714638, 0.02010415866971016, 0.000045848086301703006, -0.023106224834918976, 0.023164328187704086, 0.07696910202503204, -0.06201687455177307, -0.03528880327939987, 0.0015664006350561976, 0.004687096457928419, 0.005568348336964846, 0.017286090180277824, -0.02620513178408146, 0.017073040828108788, 0.0012964567868039012, -0.06325643509626389, -0.05794955790042877, -0.04625118523836136, 0.04028578847646713, -0.01754756085574627, -0.035773005336523056, -0.019736163318157196, 0.012773307040333748, 0.010303865186870098, 0.03552122041583061, -0.0055005596950650215, -0.038097187876701355, -0.04795558378100395, 0.044779203832149506, -0.013402772136032581, -0.020530257374048233, -0.021363088861107826, 0.028916675597429276, 0.05806576833128929, -0.08638203144073486, 0.05670999735593796, -0.03765171766281128, -0.017944607883691788, -0.026747440919280052, -0.004423205275088549, -0.044314369559288025, -0.017160197719931602, 0.08336059749126434, 0.007166222203522921, -0.01092364639043808, 0.007999053224921227, -0.0354631170630455, 0.05376603454351425, 0.027115434408187866, 0.01246341597288847, -0.024946199730038643, 0.010032710619270802, 0.04904020205140114, -0.07452870905399323, 0.002554177073761821, 0.02341611497104168, -0.004483730997890234, -0.028161317110061646, 0.02620513178408146, -0.0036654258146882057, -0.02039468102157116, -0.019048593938350677, -0.014022553339600563, -0.0123472074046731, 0.035947319120168686, 0.021188775077462196, 0.020414048805832863, 0.024946199730038643, 0.00886093731969595, 0.026050185784697533, -0.01900017261505127, 0.017876818776130676, -0.024035897105932236, -0.11117328703403473, -0.11047603189945221, 0.004132682923227549, 0.015533270314335823, 0.026999225839972496, 0.058724284172058105, 0.003856686409562826, -0.008555888198316097, 0.005979921668767929, 0.03724498674273491, -0.05399845167994499, 0.01426465529948473, 0.03457218036055565, 0.0018545021302998066, 0.0013000882463529706, -0.00470646470785141, 0.03381682187318802, 0.007563269697129726, -0.0026268078945577145, 0.012879831716418266, -0.026011450216174126, 0.04276491329073906, 0.009132090955972672, -0.0074034822173416615, 0.010943015106022358, 0.08204355835914612, -0.02178918942809105, -0.005582874640822411, -0.005074460059404373, -0.0011433272156864405, -0.039317380636930466, -0.037516143172979355, 0.0258565042167902, 0.0032950094901025295, -0.0014731913106516004, -0.01574631966650486, -0.0842902660369873, -0.0034209026489406824, 0.02481062337756157, 0.022912543267011642, 0.052681416273117065, 0.020762676373124123, -0.034785229712724686, -0.021944133564829826, -0.07073254883289337, -0.0006031368393450975, -0.032635364681482315, -0.021750451996922493, -0.020181631669402122, 0.0031521692872047424, -0.008178208954632282, 0.022118447348475456, -0.006057394668459892, -0.00517130084335804, -0.01626926101744175, -0.07069381326436996, 0.018796807155013084, -0.0027502798475325108, 0.014535809867084026, 0.0006134262075647712, -0.025759663432836533, 0.03724498674273491, 0.01998795010149479, 0.018060816451907158, 0.04284238815307617, 0.04462425783276558, 0.013838555663824081, -0.023958424106240273, -0.04714212194085121, 0.034204185009002686, 0.0715072751045227, 0.03993716090917587, 0.016433890908956528, -0.009945554658770561, 0.027173539623618126, 0.014971593394875526, 0.046173714101314545, -0.048149265348911285, 0.019552165642380714, -0.023571060970425606, -0.04450805112719536, 0.05670999735593796, 0.009611452929675579, 0.029090987518429756, 0.014710123650729656, -0.02080141194164753, 0.016937462612986565, 0.0313958004117012, 0.009582401253283024, 0.018913015723228455, -0.002905225148424506, 0.0012008263729512691, 0.060467422008514404, -0.01929069496691227, 0.02539166808128357, -0.0017104513244703412, -0.009563032537698746, -0.021576138213276863, 0.07979685068130493, -0.0020263944752514362, -0.0177218746393919, -0.05492812395095825, -0.08653697371482849, -0.022215288132429123, -0.07162348181009293, -0.0019259222317487001, -0.003462060121819377, -0.013799820095300674, -0.05109322816133499, -0.02324180118739605, -0.027444694191217422, -0.01703430339694023, 0.038155291229486465, -0.027909530326724052, 0.04055694490671158, 0.0016220840625464916, -0.03329388052225113, 0.00034892966505140066, 0.1249634176492691, -0.0036581626627594233, -0.07979685068130493, 0.013790135271847248, 0.004011631943285465, 0.04086683318018913, -0.008744727820158005, 0.00807652622461319, -0.004081841558218002, 0.038503918796777725, 0.022467074915766716, -0.038503918796777725, -0.02603081800043583, -0.01141753513365984, 0.004505520220845938, -0.023319274187088013, -0.050008609890937805, -0.049078937619924545, -0.009437140077352524, -0.017111776396632195, 0.008952935226261616, 0.008405785076320171, 0.017934923991560936, -0.07042265683412552, 0.0034717440139502287, 0.00037767927278764546, 0.049659982323646545, -0.0871567577123642, 0.024268314242362976, 0.02661186270415783, -0.0019682899583131075, -0.01860312558710575, -0.00008390350558329374, -0.0017528191674500704, -0.04191271588206291, -0.017566928640007973, 0.02324180118739605, -0.0162789449095726, 0.028606783598661423, -0.025895239785313606, 0.014797280542552471, -0.02335800975561142, 0.08537488430738449, -0.03970474377274513, 0.004796042572706938, -0.03939485549926758, 0.0060380264185369015, 0.021827924996614456, 0.00011628466745605692, -0.014497073367238045, -0.04148661717772484, 0.11698373407125473, -0.014342128299176693, -0.01755724474787712, 0.03935611620545387, 0.030001292005181313, -0.007786003407090902, 0.007727899122983217, 0.018874280154705048, -0.005505401641130447, -0.09428424388170242, -0.04725832864642143, 0.03145390376448631, 0.004558782558888197, 0.027696480974555016, -0.013557717204093933, 0.0078489501029253, 0.026011450216174126, -0.000060865979321533814, 0.009993975050747395, -0.0883188471198082, -0.020007317885756493, -0.013964449055492878, 0.04218386858701706, -0.040595680475234985, 0.03619910776615143, -0.014535809867084026, 0.10768701136112213, 0.006691702175885439, 0.020704571157693863, 0.01426465529948473, 0.05485065281391144, -0.058724284172058105, 0.010613756254315376, 0.0012492468813434243, -0.019145434722304344, -0.01807050034403801, -0.013354351744055748, 0.015504218637943268, 0.03666394203901291, 0.08607213944196701, -0.023726005107164383, -0.015087802894413471, 0.007069381419569254, -0.011669320985674858, -0.06472841650247574, 0.07503228634595871, -0.029245933517813683, 0.1017216145992279, -0.07483860105276108, -0.029652664437890053, 0.05624515935778618, -0.025120513513684273, -0.02341611497104168, -0.027851425111293793, -0.03191874176263809, 0.03712877631187439, 0.01446802169084549, 0.030930964276194572, 0.004224681761115789, -0.003462060121819377, -0.0013049303088337183, -0.006565808784216642, 0.006817595101892948, 0.008797990158200264, -0.014961909502744675, 0.03191874176263809, -0.0008128578192554414, 0.004120577592402697, -0.026224499568343163, 0.0016438732855021954, -0.022873805835843086, -0.07623311132192612, 0.11163812130689621, 0.027173539623618126, -0.03323577716946602, -0.02574029564857483, 0.030814755707979202, 0.016249893233180046, 0.03575363755226135, -0.028025738894939423, 0.059189122170209885, 0.013644874095916748, -0.006347917020320892, -0.03261599317193031, 0.041641559451818466, 0.07367651164531708, -0.02707669883966446, 0.011775846593081951, -0.0023023909889161587, 0.0019162381067872047, -0.038329605013132095, -0.0036533207166939974, -0.044779203832149506, -0.006522230803966522, 0.05473444238305092, -0.05748472362756729, -0.012395627796649933, 0.04555393010377884, -0.058143239468336105, -0.0061009731143713, -0.015446114353835583, -0.0023326536174863577, -0.006338233128190041, 0.06317896395921707, -0.005205194931477308, -0.05190669000148773, 0.009064302779734135, -0.058143239468336105, 0.01356740202754736, -0.014138762839138508, -0.030582336708903313, -0.01563011109828949, -0.06561934947967529, 0.0604286827147007, -0.03412671014666557, 0.015252431854605675, -0.026515021920204163, -0.02486872859299183, -0.032693468034267426, -0.077898770570755, -0.004914672579616308, -0.018787123262882233, 0.01615305244922638, 0.06774985045194626, 0.002924593398347497, -0.007287273183465004, 0.03790350630879402, -0.020995093509554863, -0.02661186270415783, -0.01825449801981449, 0.004026157781481743, 0.011804898269474506, -0.02980761043727398, 0.043268486857414246, 0.006677175872027874, 0.08638203144073486, 0.0005126511678099632, -0.014129078947007656, 0.05655505135655403, 0.050705865025520325, 0.01109796017408371, -0.030485495924949646, 0.021343721076846123, 0.03883317857980728, 0.014826332218945026, 0.030756650492548943, -0.006822437047958374, 0.028083844110369682, 0.01992984488606453, 0.02422957867383957, 0.018167341127991676, 0.017692821100354195, -0.022641388699412346, -0.06015753000974655, 0.0406731516122818, 0.010119867511093616, 0.020259102806448936, 0.034320395439863205, -0.024733150377869606, -0.02295127883553505, -0.03898812085390091, 0.04644486680626869, -0.006812753155827522, -0.007853792048990726, -0.042106397449970245, 0.006236549932509661, 0.014593914151191711, -0.014806964434683323, -0.020472154021263123, 0.017121460288763046, 0.010294181294739246, 0.012095420621335506, -0.028103211894631386, 0.017595980316400528, 0.026301972568035126, 0.021595507860183716, 0.025720927864313126, 0.025662822648882866, 0.04307480528950691, 0.09211500734090805, -0.02626323513686657, -0.01539769396185875, 0.01034260168671608, -0.004130261950194836, -0.10086941719055176, 0.04307480528950691, -0.007810213603079319, -0.03184126690030098, 0.006657807622104883, 0.004885620437562466, 0.020317208021879196, -0.03381682187318802, 0.04795558378100395, 0.004786358680576086, -0.005834660492837429, -0.02655375748872757, -0.032635364681482315, 0.03393302857875824, 0.09505897015333176, -0.039898425340652466, 0.005292351823300123, 0.010846174322068691, -0.06891193985939026, -0.018690282478928566, 0.02097572572529316, -0.05357235297560692, 0.06178445741534233, -0.04160282388329506, 0.09079796820878983, 0.03387492522597313, 0.015426745638251305, -0.023338641971349716, -0.03207368776202202, -0.04171903431415558, 0.007679478731006384, -0.015174959786236286, 0.01883554272353649, 0.08103641122579575, -0.010545967146754265, 0.022408969700336456, -0.05318498983979225, 0.05016355589032173, -0.03794224187731743, 0.00027418063837103546, -0.009945554658770561, 0.006987066473811865, 0.02138245664536953, 0.04369458556175232, -0.022912543267011642, 0.07487733662128448, -0.024616941809654236, -0.02312559261918068, -0.05798829346895218, 0.030175605788826942, -0.006623913533985615, 0.018060816451907158, 0.0016632414190098643, -0.024888096377253532, 0.0021813400089740753, -0.0488077849149704, 0.028568048030138016, -0.014206551015377045, 0.01895175315439701, -0.007810213603079319, -0.028316261246800423, 0.006275286432355642, -0.022176552563905716, -0.030640441924333572, -0.06546440720558167, 0.01895175315439701, -0.08072652667760849, -0.028258157894015312, -0.0784798189997673, -0.0060380264185369015, 0.02411336824297905, 0.017586296424269676, -0.012744254432618618, 0.009582401253283024, -0.02521735429763794, 0.03174442797899246, -0.03174442797899246, 0.009974606335163116, -0.03209305554628372, -0.00027160829631611705, -0.04528277739882469, 0.02713480405509472, -0.028161317110061646, 0.016705045476555824, -0.05922785773873329, 0.002092972630634904, 0.026456916704773903, 0.07243695110082626, -0.065077044069767, 0.010759017430245876, -0.016491994261741638, -0.05043470859527588, 0.04377206042408943, 0.01661788858473301, -0.059886373579502106, 0.0743737667798996, 0.03323577716946602, 0.00793126504868269, -0.056981150060892105, 0.04737453907728195, -0.03852328658103943, -0.0025372300297021866, -0.06368253380060196, 0.008919041603803635, -0.000601623731199652, -0.06248170882463455, -0.005108354147523642, -0.022970646619796753, -0.05670999735593796, -0.01987173967063427, -0.022931911051273346, 0.03238357603549957, 0.0209176205098629, 0.0031231171451509, 0.007209800649434328, 0.004624150227755308, 0.0778600350022316, -0.009955238550901413, 0.03709004074335098, 0.046522337943315506, -0.03377808630466461, -0.0032562732230871916, -0.0371868833899498, 0.072088323533535, 0.040247052907943726, -0.0124924685806036, 0.008095894008874893, 0.04601876810193062, 0.0008540151757188141, -0.053262460976839066, -0.057794611901044846, -0.009345141239464283, -0.06461220979690552, 0.01504906639456749, -0.008386416360735893, 0.015126539394259453, 0.03801971301436424, -0.005035723559558392, 0.006880541797727346, -0.031182751059532166, 0.024907464161515236, -0.014710123650729656, 0.018341654911637306, 0.06895067542791367, -0.030601706355810165, 0.016017474234104156, 0.03784539923071861, -0.016491994261741638, 0.038620125502347946, -0.09792545437812805, 0.054540760815143585, -0.020065421238541603, 0.042919859290122986, 0.016985883936285973, -0.020414048805832863, 0.01825449801981449, -0.02097572572529316, 0.03157011419534683, 0.030078765004873276, 0.014710123650729656, 0.0012135368306189775, -0.033739347010850906, 0.004040684085339308, -0.03395240008831024, -0.016375785693526268, 0.004076999146491289, -0.0177218746393919, 0.02620513178408146, -0.056167688220739365, -0.025411035865545273, 0.01655978336930275, -0.009277352131903172, 0.053378671407699585, 0.025895239785313606, -0.03825213015079498, -0.031996212899684906, -0.004866252187639475, -0.03085349127650261, 0.1173710972070694, -0.0071710641495883465, 0.01940690353512764, 0.0030456443782895803, -0.0023072329349815845, 0.030601706355810165, -0.005941185634583235, -0.02027847245335579, 0.028839202597737312, 0.069764144718647, 0.020200999453663826, 0.03741930052638054, 0.043617114424705505, 0.012250366620719433, -0.010613756254315376, -0.07654300332069397, -0.020956357941031456, 0.0270185936242342, -0.05426960811018944, -0.006435073912143707, 0.033390723168849945, 0.02213781513273716, -0.009567875415086746, 0.009611452929675579, 0.02393905632197857, -0.01725703850388527, -0.013586769811809063, -0.029478352516889572, 0.03242231160402298, 0.03825213015079498, -0.01554295513778925, -0.024713782593607903, -0.04609623923897743, 0.05597400665283203, -0.037922874093055725, -0.025314195081591606, 0.013344667851924896, 0.013557717204093933, -0.01080743782222271, 0.01673409715294838, 0.03703193739056587, -0.01604652777314186, 0.02138245664536953, -0.04737453907728195, -0.018787123262882233, 0.004510362166911364, 0.02318369783461094, 0.01397413294762373, 0.011950159445405006, -0.012008263729512691, 0.05399845167994499, -0.009756715036928654, -0.03453344479203224, 0.05829818546772003, -0.010032710619270802, -0.07038392126560211, -0.02521735429763794, 0.03464965149760246, -0.01458423025906086, -0.006018658168613911, 0.024481363594532013, -0.03561805933713913, 0.002890699077397585, 0.039491694420576096, -0.029013516381382942, 0.0017346615204587579, -0.004253733903169632, -0.006749806459993124, -0.007955474779009819, -0.007132327649742365, -0.02928466908633709, 0.009601769037544727, 0.007064539473503828, 0.012017948552966118, -0.012502152472734451, -0.012066368944942951, -0.037458036094903946, -0.05097701773047447, 0.03753551095724106, -0.05624515935778618, -0.051403116434812546, 0.0424162894487381, -0.019910477101802826, -0.024094000458717346, -0.029323406517505646 ]
54,934
nbconvert.exporters.base
get_exporter
Given an exporter name or import path, return a class ready to be instantiated Raises ExporterName if exporter is not found or ExporterDisabledError if not enabled
def get_exporter(name, config=get_config()): # noqa: B008 """Given an exporter name or import path, return a class ready to be instantiated Raises ExporterName if exporter is not found or ExporterDisabledError if not enabled """ if name == "ipynb": name = "notebook" try: exporters = entry_points(group="nbconvert.exporters") items = [e for e in exporters if e.name == name or e.name == name.lower()] exporter = items[0].load() if getattr(exporter(config=config), "enabled", True): return exporter raise ExporterDisabledError('Exporter "%s" disabled in configuration' % (name)) except IndexError: pass if "." in name: try: exporter = import_item(name) if getattr(exporter(config=config), "enabled", True): return exporter raise ExporterDisabledError('Exporter "%s" disabled in configuration' % (name)) except ImportError: log = get_logger() log.error("Error importing %s", name, exc_info=True) # noqa: G201 msg = 'Unknown exporter "{}", did you mean one of: {}?'.format( name, ", ".join(get_export_names()) ) raise ExporterNameError(msg)
(name, config={})
[ 0.06628766655921936, -0.06106453761458397, -0.06325364112854004, -0.017781686037778854, 0.01275058276951313, -0.02004760317504406, 0.03281738981604576, 0.00704258494079113, -0.03362390026450157, 0.008314762264490128, 0.027306217700242996, 0.032721374183893204, -0.027075786143541336, 0.02655731327831745, 0.007599462755024433, -0.03172283619642258, 0.0651739165186882, 0.03700357303023338, 0.01983637362718582, -0.012328123673796654, 0.01583261415362358, -0.03658111393451691, 0.06966733932495117, 0.015227729454636574, -0.012260914780199528, 0.059989187866449356, 0.06828474998474121, -0.0078058913350105286, -0.047699470072984695, -0.03454563021659851, -0.004683054983615875, -0.05449721962213516, -0.0011563616571947932, 0.040402449667453766, -0.0016658329404890537, 0.06671012938022614, -0.04090172052383423, 0.038674209266901016, -0.00397495599463582, -0.02651890739798546, 0.031453996896743774, 0.02434900403022766, 0.07577379792928696, -0.03441121056675911, 0.0022239109966903925, 0.042130690068006516, -0.05607184022665024, -0.024829071015119553, -0.0186650101095438, 0.017340024933218956, 0.012068887241184711, -0.0044286190532147884, 0.026461299508810043, 0.03636988624930382, 0.04382052645087242, 0.03915427625179291, 0.08479905873537064, 0.028650406748056412, 0.023369668051600456, 0.017925705760717392, -0.030340243130922318, -0.0020846915431320667, 0.0649050772190094, 0.012030482292175293, -0.03352788835763931, 0.027555853128433228, 0.010110213421285152, -0.05933629721403122, -0.050003793090581894, 0.06202467158436775, 0.03206848353147507, -0.024752261117100716, -0.04612484946846962, -0.0399031788110733, 0.037041980773210526, 0.011713637970387936, -0.016946369782090187, -0.041669826954603195, 0.005184724926948547, 0.03293260559439659, 0.0686303973197937, 0.011579219251871109, -0.056033436208963394, -0.023676911368966103, 0.044319797307252884, -0.03304782137274742, -0.019778765738010406, -0.04915887489914894, -0.0229664109647274, 0.023139234632253647, -0.014843675307929516, -0.0528457909822464, -0.00013081829820293933, 0.014248392544686794, -0.017138395458459854, -0.08280197530984879, 0.01901065744459629, -0.0016790347872301936, 0.011031942442059517, 0.0021050942596048117, -0.004099773243069649, 0.00453903479501605, -0.050464656203985214, 0.0019682752899825573, -0.03769487142562866, -0.013758723624050617, 0.02388814091682434, 0.06847677379846573, -0.018809029832482338, -0.04117055609822273, 0.01332666352391243, 0.04562557861208916, -0.03788689896464348, -0.004030163399875164, 0.028304757550358772, -0.037368424236774445, -0.03473765775561333, -0.01158882025629282, -0.001994678983464837, -0.014046764001250267, -0.027901500463485718, 0.05584140866994858, -0.009682954289019108, 0.0563022717833519, 0.028093528002500534, -0.031242769211530685, 0.017061585560441017, -0.04481906816363335, 0.09002218395471573, -0.0433596633374691, 0.0703970417380333, 0.021122952923178673, -0.08257154375314713, 0.006970574613660574, -0.011396793648600578, 0.041208963841199875, -0.038635801523923874, 0.08410776406526566, -0.04428139328956604, 0.02817033976316452, -0.009807771071791649, -0.03468004986643791, -0.0008161141304299235, 0.03948071971535683, 0.025904422625899315, -0.03128117322921753, -0.0023511287290602922, 0.03700357303023338, -0.02421458624303341, -0.01912587508559227, 0.0033580695744603872, -0.0017654468538239598, -0.035390548408031464, -0.03815573453903198, 0.03650430589914322, -0.029015257954597473, 0.014104371890425682, 0.06959053128957748, -0.017695274204015732, -0.027671068906784058, 0.037041980773210526, 0.03496808931231499, -0.010417456738650799, -0.021737439557909966, 0.004318203777074814, 0.008924447931349277, -0.0015794208738952875, -0.012481745332479477, -0.0017426436534151435, 0.013547494076192379, -0.01995158940553665, 0.024368207901716232, -0.06467464566230774, 0.013547494076192379, -0.05088711529970169, 0.021180560812354088, 0.027152596041560173, 0.08134257048368454, 0.04174663871526718, -0.007863499224185944, 0.02285119518637657, 0.02329285629093647, -0.044780660420656204, -0.017234409227967262, 0.022774385288357735, 0.04370531067252159, 0.03141559287905693, 0.015573377721011639, -0.01882823184132576, 0.011857657693326473, 0.019989995285868645, 0.046777740120887756, 0.06329204887151718, 0.015890222042798996, -0.02978336438536644, -0.01951953023672104, -0.06667172163724899, 0.03548656031489372, -0.03729161247611046, 0.05676313862204552, -0.01100313849747181, 0.047469038516283035, 0.00631768349558115, 0.05100233107805252, -0.042130690068006516, 0.015160519629716873, 0.04712338745594025, -0.06759344786405563, 0.0010459462646394968, 0.02191026322543621, -0.017234409227967262, -0.021410994231700897, -0.03093552589416504, 0.06759344786405563, -0.004690255969762802, 0.00947172474116087, 0.0600275918841362, 0.014805270358920097, 0.024387409910559654, -0.008694015443325043, -0.020834913477301598, 0.07531292736530304, 0.06310002505779266, 0.07531292736530304, 0.003922148607671261, -0.056263867765665054, -0.012625765055418015, -0.017416834831237793, 0.024368207901716232, -0.030109809711575508, 0.046048037707805634, -0.040632881224155426, 0.005756004713475704, 0.0026931765023618937, -0.02502109855413437, 0.010475064627826214, -0.0054823667742311954, -0.004752664361149073, -0.0046446495689451694, 0.030090607702732086, 0.057070378214120865, 0.04889003559947014, -0.030109809711575508, 0.013768325559794903, 0.04370531067252159, -0.022294316440820694, -0.01995158940553665, -0.030282633379101753, -0.008612404577434063, -0.02619246207177639, 0.0528457909822464, 0.013096231035888195, -0.0006270876619964838, -0.04324444755911827, -0.040402449667453766, -0.014901283197104931, -0.10884081572294235, -0.04255314916372299, 0.023504085838794708, 0.0023307257797569036, -0.03779088333249092, -0.03903906047344208, 0.03971115127205849, -0.010484665632247925, 0.015784606337547302, -0.06959053128957748, 0.007316222880035639, 0.013192244805395603, 0.05895224213600159, -0.004366210661828518, 0.0640217512845993, 0.058260947465896606, 0.01820414513349533, -0.002959613921120763, 0.0029956188518553972, -0.048160333186388016, 0.020086009055376053, -0.0014678052393719554, 0.022678371518850327, 0.05852978304028511, -0.0020810910500586033, -0.02769027091562748, -0.0015662190271541476, 0.02189106121659279, -0.009241292253136635, -0.019039461389183998, -0.022351926192641258, -0.04044085368514061, 0.01645670086145401, 0.03967274725437164, 0.024060964584350586, -0.010542274452745914, -0.040748097002506256, -0.05699357017874718, 0.008487586863338947, -0.00724421301856637, -0.012692974880337715, -0.0563022717833519, 0.010110213421285152, -0.008223549462854862, 0.029629742726683617, -0.041439395397901535, 0.022102290764451027, 0.01009101141244173, -0.05226970836520195, -0.03427679091691971, -0.02863120287656784, -0.03492968529462814, -0.0239841528236866, 0.02027803473174572, -0.002647570101544261, 0.00399415846914053, 0.040056802332401276, 0.023484883829951286, 0.028823230415582657, -0.0147860674187541, 0.05561097711324692, -0.009817373007535934, 0.015726998448371887, 0.009750163182616234, -0.020239630714058876, 0.12796668708324432, -0.05572619289159775, -0.015640586614608765, -0.0017846495611593127, 0.046547308564186096, -0.03268297016620636, 0.054420407861471176, 0.000031373136152978987, 0.003466084599494934, -0.05991237610578537, -0.009063667617738247, 0.04485747218132019, -0.007263415493071079, -0.0004254594969097525, -0.02444501779973507, 0.051962465047836304, -0.013979555107653141, -0.00798831693828106, -0.03608184680342674, 0.041439395397901535, -0.01049426756799221, -0.028900040313601494, 0.023907342925667763, -0.03792530298233032, 0.04370531067252159, 0.02050846815109253, 0.026365285739302635, 0.026096448302268982, -0.024406611919403076, -0.0132114477455616, 0.015784606337547302, -0.06267756223678589, 0.008449180983006954, -0.01972115784883499, -0.0125681571662426, 0.009994997642934322, -0.024022558704018593, -0.025654787197709084, -0.06409855931997299, -0.0020942927803844213, -0.012097691185772419, -0.0634840801358223, -0.00828595831990242, -0.05818413570523262, -0.048390764743089676, 0.02676854282617569, 0.0064665041863918304, 0.05411316454410553, -0.04036404564976692, -0.030109809711575508, 0.05177043750882149, -0.03012901358306408, -0.02548196353018284, -0.04727701097726822, 0.009783768095076084, 0.029725756496191025, 0.01876102387905121, 0.026096448302268982, -0.03686915338039398, -0.003384473267942667, 0.028093528002500534, -0.029764162376523018, 0.01834816485643387, 0.049197278916835785, -0.043858934193849564, -0.0035813008435070515, 0.01344187930226326, 0.027421433478593826, -0.08134257048368454, -0.033892739564180374, -0.004810272715985775, -0.025001896545290947, 0.05722400173544884, -0.0015338144730776548, -0.03106994368135929, -0.03967274725437164, 0.03247173875570297, -0.024425815790891647, 0.07792449742555618, 0.02306242473423481, 0.05841456726193428, 0.04650890454649925, -0.015026100911200047, -0.06175583600997925, 0.017484044656157494, 0.08418457210063934, -0.05165522173047066, 0.01274098176509142, -0.01901065744459629, 0.04673933610320091, -0.0033508685883134604, -0.04574079439043999, -0.07995998114347458, -0.025174720212817192, 0.04393574222922325, 0.003334066132083535, -0.019577138125896454, -0.011492807418107986, -0.06828474998474121, -0.0468161478638649, 0.013230649754405022, -0.010657490231096745, -0.023964950814843178, -0.00010846516670426354, 0.010417456738650799, -0.028823230415582657, 0.032740578055381775, -0.06855358183383942, 0.0012781787663698196, -0.04854438826441765, -0.044204581528902054, 0.023580897599458694, -0.08280197530984879, 0.05461243540048599, -0.04359009489417076, 0.016792748123407364, -0.0016370288794860244, -0.04182344675064087, -0.02177584543824196, -0.0502726286649704, -0.04101693630218506, -0.003290860215201974, 0.025981232523918152, 0.0009097271831706166, -0.03627387061715126, -0.0407865047454834, 0.03882782906293869, 0.001088552176952362, -0.05415157228708267, 0.035064101219177246, -0.006500109098851681, 0.04458863288164139, 0.01078230794519186, 0.038174938410520554, -0.03915427625179291, 0.03926949203014374, 0.011464002542197704, 0.08426138013601303, 0.0614485926926136, -0.03802131488919258, 0.007004179526120424, 0.0015218127518892288, -0.0334702804684639, 0.020681291818618774, 0.023446477949619293, 0.036177858710289, -0.008727620355784893, 0.034603238105773926, -0.0047598653472959995, 0.05015741288661957, 0.031569212675094604, 0.01292340736836195, 0.008050725795328617, -0.05868340656161308, 0.014651648700237274, 0.014498027041554451, -0.00014109472976997495, 0.040748097002506256, 0.011704036965966225, 0.006764145568013191, -0.03335506469011307, -0.0036005035508424044, 0.03640829026699066, -0.02342727594077587, -0.042245905846357346, -0.002702777972444892, 0.03477606177330017, -0.006600922904908657, 0.0022659169044345617, -0.03857819363474846, 0.03640829026699066, 0.007056986913084984, 0.030781904235482216, -0.018463382497429848, 0.03686915338039398, 0.03375831991434097, 0.005251934286206961, 0.04635528102517128, -0.0045558372512459755, 0.08572078496217728, -0.010110213421285152, 0.0018902643350884318, -0.039000652730464935, -0.0008923247805796564, -0.09908585250377655, -0.0010663490975275636, 0.03358549624681473, 0.030532268807291985, 0.008415577001869678, -0.013067427091300488, 0.020258832722902298, -0.04312923178076744, 0.03222210705280304, -0.017848895862698555, 0.011636827141046524, -0.0003025923215318471, -0.021948669105768204, -0.047238606959581375, 0.008612404577434063, 0.006101652979850769, 0.019615542143583298, 0.02052767015993595, -0.029936986044049263, -0.06037324294447899, 0.04992698132991791, 0.03479526564478874, 0.05979716032743454, -0.007921107113361359, 0.05864499881863594, -0.004145379643887281, 0.03222210705280304, -0.04024882614612579, -0.03464164212346077, -0.015304540283977985, -0.021142156794667244, -0.072355717420578, 0.05760805681347847, 0.020220426842570305, -0.021468602120876312, 0.02492508478462696, -0.03441121056675911, 0.06064207851886749, -0.028784824535250664, -0.02757505513727665, -0.07715638726949692, 0.002052286872640252, 0.05242333188652992, 0.011742441914975643, -0.049888577312231064, 0.05910586565732956, -0.020604481920599937, -0.027555853128433228, -0.08357008546590805, 0.035294536501169205, 0.016245471313595772, -0.010014200583100319, 0.006644128821790218, 0.00739303370937705, 0.01136798970401287, -0.04831395670771599, 0.029360905289649963, 0.008463582955300808, 0.0198171716183424, 0.011079949326813221, -0.010513470508158207, 0.008194745518267155, -0.03592822328209877, -0.018060125410556793, -0.0815730094909668, 0.023369668051600456, -0.04262996092438698, -0.012885001488029957, -0.018012119457125664, -0.011540813371539116, 0.08986856788396835, 0.06751663982868195, 0.007431439124047756, -0.0019010658143088222, 0.016168661415576935, 0.03398875147104263, -0.020489264279603958, -0.019385110586881638, -0.05369070544838905, -0.043052420020103455, -0.061832644045352936, -0.051040735095739365, -0.02711419202387333, -0.01599583588540554, 0.019663549959659576, 0.05238492414355278, 0.014344405382871628, 0.049197278916835785, -0.03418077901005745, 0.046163253486156464, -0.0001695237006060779, -0.032606158405542374, 0.011550415307283401, 0.029879378154873848, -0.03903906047344208, -0.0072250100784003735, 0.016264673322439194, -0.0252707339823246, -0.0743912011384964, 0.041093744337558746, -0.011982475407421589, -0.017090389505028725, -0.08287879079580307, 0.02886163629591465, -0.0407865047454834, -0.010513470508158207, -0.028880838304758072, -0.056839946657419205, 0.013192244805395603, 0.007335425820201635, -0.022908803075551987, 0.019317900761961937, -0.01841537468135357, -0.02434900403022766, 0.02375372126698494, 0.03300941735506058, 0.09117434918880463, 0.016005437821149826, 0.012068887241184711, 0.03178044408559799, -0.03491048142313957, 0.011953671462833881, -0.024829071015119553, 0.07972954958677292, 0.038866233080625534, -0.0005700797191821039, -0.005842417012900114, -0.008914846926927567, -0.07058907300233841, -0.03804051876068115, -0.015429357066750526, 0.027613461017608643, -0.026058044284582138, 0.023964950814843178, 0.04266836494207382, -0.009927787818014622, 0.0032020476646721363, -0.0009859378915280104, 0.014354007318615913, -0.04389733821153641, -0.029975391924381256, 0.04773787409067154, 0.007114594802260399, 0.06624926626682281, 0.005583180580288172, -0.01790650375187397, 0.014267594553530216, -0.010628686286509037, -0.012846596539020538, -0.05653270334005356, 0.02306242473423481, -0.01797371357679367, 0.030205823481082916, -0.030282633379101753, 0.011598422192037106, -0.01187686063349247, -0.025174720212817192, 0.00465425057336688, 0.04262996092438698, 0.03224130719900131, 0.007940310053527355, -0.04481906816363335, -0.013787527568638325, -0.013489886187016964, -0.056494299322366714, -0.04140098765492439, 0.01078230794519186, 0.039231084287166595, -0.07362309098243713, -0.01864580623805523, 0.002971615409478545, 0.00535754906013608, 0.006476105656474829, 0.02317764051258564, 0.015448560006916523, -0.06025802716612816, 0.025981232523918152, -0.021718237549066544, 0.10645968466997147, -0.0004929689457640052, 0.01599583588540554, 0.020892521366477013, -0.04094012454152107, 0.02027803473174572, -0.03082031011581421, 0.0016994376201182604, 0.0746600404381752, 0.03477606177330017, -0.029111269861459732, 0.008276357315480709, 0.020796507596969604, 0.006092051975429058, -0.017618464305996895, -0.05422838404774666, -0.01059988234192133, 0.02548196353018284, -0.05899064987897873, -0.00043626100523397326, 0.02306242473423481, 0.021276574581861496, -0.009370910003781319, -0.014718858525156975, 0.04992698132991791, -0.010983935557305813, -0.039231084287166595, -0.022332722321152687, 0.02073889970779419, 0.06290799379348755, 0.0019238690147176385, -0.017570456489920616, -0.01136798970401287, -0.0011809651041403413, 0.020719697698950768, -0.06920647621154785, 0.022793587297201157, 0.010331044904887676, -0.049773357808589935, 0.009807771071791649, 0.0038885436952114105, -0.024022558704018593, 0.0033364666160196066, -0.06432899832725525, -0.06955212354660034, -0.01274098176509142, 0.03003299981355667, 0.004265396390110254, 0.017925705760717392, -0.04136258363723755, 0.06959053128957748, 0.04458863288164139, -0.05749283730983734, 0.06267756223678589, -0.004983096849173307, 0.029821770265698433, -0.004603843670338392, 0.005251934286206961, -0.0010621484834700823, -0.0563022717833519, 0.03106994368135929, -0.011243171989917755, 0.023561693727970123, 0.02736382558941841, 0.00599603820592165, -0.009764565154910088, 0.038866233080625534, -0.0014306000666692853, -0.04117055609822273, -0.019644346088171005, 0.06601883471012115, -0.013835534453392029, -0.04516471549868584, -0.001627427525818348, -0.0010927527910098433, -0.000052394825615920126, -0.03206848353147507, -0.0030436255037784576, 0.024713855236768723, -0.03648510202765465, -0.06333045661449432, -0.003516491735354066, -0.01818494312465191, -0.020201224833726883, -0.0407865047454834 ]
54,939
ml_wrappers.dataset.dataset_wrapper
DatasetWrapper
A wrapper around a dataset to make dataset operations more uniform across explainers.
class DatasetWrapper(object): """A wrapper around a dataset to make dataset operations more uniform across explainers.""" def __init__(self, dataset, clear_references=False): """Initialize the dataset wrapper. :param dataset: A matrix of feature vector examples (# examples x # features) for initializing the explainer. :type dataset: numpy.ndarray or pandas.DataFrame or panads.Series or scipy.sparse.csr_matrix or shap.DenseData or torch.Tensor or tensorflow.python.data.ops.dataset_ops.BatchDataset :param clear_references: A memory optimization that clears all references after use in explainers. :type clear_references: bool """ if not isinstance(dataset, pd.DataFrame) and not isinstance(dataset, pd.Series) and \ not isinstance(dataset, np.ndarray) and not issparse(dataset) and \ not str(type(dataset)).endswith(".DenseData'>") and \ not str(type(dataset)).endswith("torch.Tensor'>") and \ not str(type(dataset)).endswith("BatchDataset'>"): raise TypeError("Got type {0} which is not supported in DatasetWrapper".format( type(dataset)) ) self._features = None self._original_dataset_with_type = dataset self._dataset_is_df = isinstance(dataset, pd.DataFrame) self._dataset_is_series = isinstance(dataset, pd.Series) self._dataset_is_batch = str(type(dataset)).endswith("BatchDataset'>") self._default_index_cols = ['index'] self._default_index = True if self._dataset_is_df: self._features = dataset.columns.values.tolist() if self._dataset_is_df or self._dataset_is_series: dataset = dataset.values elif self._dataset_is_batch: dataset, features, size = _convert_batch_dataset_to_numpy(dataset) self._features = features self._batch_size = size self._dataset = dataset self._original_dataset = dataset self._summary_dataset = None self._column_indexer = None self._subset_taken = False self._summary_computed = False self._string_indexed = False self._one_hot_encoded = False self._one_hot_encoder = None self._timestamp_featurized = False self._timestamp_featurizer = None self._clear_references = clear_references @property def dataset(self): """Get the dataset. :return: The underlying dataset. :rtype: numpy.ndarray or scipy.sparse.csr_matrix """ return self._dataset @property def typed_dataset(self): """Get the dataset in the original type, pandas DataFrame or Series. :return: The underlying dataset. :rtype: numpy.ndarray or pandas.DataFrame or pandas.Series or scipy.sparse matrix """ wrapper_func = self.typed_wrapper_func return wrapper_func(self._dataset) def typed_wrapper_func(self, dataset, keep_index_as_feature=False): """Get a wrapper function to convert the dataset to the original type, pandas DataFrame or Series. :param dataset: The dataset to convert to original type. :type dataset: numpy.ndarray or scipy.sparse.csr_matrix :param keep_index_as_feature: Whether to keep the index as a feature when converting back. Off by default to convert it back to index. :type keep_index_as_feature: bool :return: A wrapper function for a given dataset to convert to original type. :rtype: numpy.ndarray or scipy.sparse.csr_matrix or pandas.DataFrame or pandas.Series """ if self._dataset_is_df: if len(dataset.shape) == 1: dataset = dataset.reshape(1, dataset.shape[0]) original_dtypes = self._original_dataset_with_type.dtypes output_types = dict(original_dtypes) dataframe = pd.DataFrame(dataset, columns=self._features) if not self._default_index: if keep_index_as_feature: # Add the index name to type as feature dtype for idx, name in enumerate(self._original_dataset_with_type.index.names): level_values_dtype = self._original_dataset_with_type.index.get_level_values(idx).dtype output_types.update({name: level_values_dtype}) else: dataframe = dataframe.set_index(self._default_index_cols) return dataframe.astype(output_types) elif self._dataset_is_series: return pd.Series(dataset) elif self._dataset_is_batch: if len(dataset.shape) == 1: dataset = dataset.reshape(1, dataset.shape[0]) df = pd.DataFrame(dataset, columns=self._features) tensor_slices = (dict(df), None) tf_dataset = tf.data.Dataset.from_tensor_slices(tensor_slices) batch_dataset = tf_dataset.batch(self._batch_size) return batch_dataset else: return dataset @property def original_dataset(self): """Get the original dataset prior to performing any operations. Note: if the original dataset was a pandas dataframe, this will return the numpy version. :return: The original dataset. :rtype: numpy.ndarray or scipy.sparse matrix """ return self._original_dataset @property def original_dataset_with_type(self): """Get the original typed dataset which could be a numpy array or pandas DataFrame or pandas Series. :return: The original dataset. :rtype: numpy.ndarray or pandas.DataFrame or pandas.Series or scipy.sparse matrix """ return self._original_dataset_with_type @property def num_features(self): """Get the number of features (columns) on the dataset. :return: The number of features (columns) in the dataset. :rtype: int """ evaluation_examples_temp = self._dataset if isinstance(evaluation_examples_temp, pd.DataFrame): evaluation_examples_temp = evaluation_examples_temp.values if len(evaluation_examples_temp.shape) == 1: return len(evaluation_examples_temp) elif issparse(evaluation_examples_temp): return evaluation_examples_temp.shape[1] else: return len(evaluation_examples_temp[0]) @property def summary_dataset(self): """Get the summary dataset without any subsetting. :return: The original dataset or None if summary was not computed. :rtype: numpy.ndarray or scipy.sparse.csr_matrix """ return self._summary_dataset def _set_default_index_cols(self, dataset): if dataset.index.names is not None: self._default_index_cols = dataset.index.names def set_index(self): """Undo reset_index. Set index as feature on internal dataset to be an index again. """ if self._dataset_is_df: dataset = self.typed_dataset self._features = dataset.columns.values.tolist() self._dataset = dataset.values self._default_index = True def reset_index(self): """Reset index to be part of the features on the dataset. """ dataset = self._original_dataset_with_type if self._dataset_is_df: self._default_index = pd.Index(np.arange(0, len(dataset))).equals(dataset.index) reset_dataset = dataset if not self._default_index: self._set_default_index_cols(dataset) reset_dataset = dataset.reset_index() # Move index columns to the end of the dataframe to ensure # index arguments are still valid to original dataset dcols = reset_dataset.columns.tolist() for default_index_col in self._default_index_cols: dcols.insert(len(dcols), dcols.pop(dcols.index(default_index_col))) reset_dataset = reset_dataset.reindex(columns=d
(dataset, clear_references=False)
[ -0.016040075570344925, -0.07485368102788925, 0.049291811883449554, 0.022877875715494156, 0.008882750757038593, 0.0027878417167812586, -0.009090441279113293, 0.019139451906085014, 0.03450852632522583, -0.02688256837427616, -0.04575575143098831, 0.012610523961484432, -0.05508583411574364, 0.01385666523128748, -0.0008946655434556305, 0.030844658613204956, -0.03389078378677368, 0.04322086647152901, 0.04117591679096222, -0.003922150004655123, -0.013611696660518646, -0.031845834106206894, -0.05406336113810539, 0.01903294399380684, -0.015060203149914742, 0.020438846200704575, 0.0039141615852713585, -0.03723512589931488, 0.020992686972022057, -0.004310903139412403, -0.03883274272084236, -0.0322718620300293, -0.03913096711039543, 0.029673073440790176, 0.0032005594111979008, -0.09483454376459122, -0.0314411036670208, 0.046522606164216995, 0.06897445023059845, 0.0023298582527786493, -0.06032601743936539, -0.06671648472547531, -0.030674247071146965, -0.03282570466399193, -0.03676649183034897, 0.04562794044613838, -0.004105875734239817, -0.023538224399089813, -0.022324034944176674, -0.06254138052463531, 0.01071468461304903, -0.05120895057916641, 0.0030594365671277046, 0.08652693778276443, -0.0478007011115551, -0.011886270716786385, -0.010203447192907333, 0.038811441510915756, -0.0211737509816885, 0.00960167869925499, 0.008738964796066284, 0.003671856364235282, -0.031973641365766525, -0.01270638033747673, -0.01978914998471737, -0.015901613980531693, -0.01257857121527195, -0.007982759736478329, 0.005671540275216103, 0.009495170786976814, -0.057045578956604004, -0.008701687678694725, 0.04172975569963455, 0.05065511167049408, -0.01740337535738945, -0.024262476712465286, -0.015401028096675873, -0.04805631935596466, 0.021461322903633118, -0.01703059673309326, 0.003256476018577814, 0.01831934228539467, -0.014495711773633957, -0.019863704219460487, -0.008621806278824806, -0.02519974671304226, 0.043881215155124664, 0.06398988515138626, -0.01411228347569704, -0.07306434959173203, 0.0011090125190094113, 0.049164000898599625, 0.02943875640630722, 0.023431716486811638, 0.006949633825570345, -0.03372037038207054, -0.06083725765347481, -0.02939615398645401, 0.001951755490154028, -0.027308600023388863, -0.014389203861355782, 0.04720425605773926, 0.010677407495677471, 0.06543838977813721, -0.007982759736478329, -0.03078075498342514, 0.01459156908094883, -0.027202092111110687, -0.030376024544239044, -0.04618178308010101, -0.09449372440576553, -0.013451935723423958, 0.011268525384366512, -0.0010417794110253453, -0.006837801076471806, -0.03052513673901558, 0.0033336940687149763, -0.004116526339203119, -0.06982651352882385, 0.017307518050074577, 0.00004422570054885, 0.0763021856546402, -0.021418718621134758, -0.02436898462474346, -0.0241133663803339, 0.005602310411632061, 0.04036645591259003, 0.030546437948942184, 0.0049020214937627316, -0.03342214971780777, -0.013718204572796822, -0.012216445058584213, -0.039684806019067764, 0.13232529163360596, 0.040259949862957, -0.014772632159292698, 0.01916075311601162, 0.05845148116350174, -0.07144543528556824, 0.012354904785752296, 0.0381510928273201, 0.010661430656909943, 0.05103853717446327, 0.0025495304726064205, 0.007157324347645044, -0.010411137714982033, 0.01197147648781538, -0.038981854915618896, -0.07536491751670837, -0.04545753076672554, 0.003970078192651272, -0.03069554828107357, -0.026818664744496346, -0.043923817574977875, -0.013803411275148392, 0.0026813338045030832, -0.024539398029446602, -0.07434244453907013, 0.007034840062260628, 0.00043302078847773373, -0.04324216768145561, -0.028821010142564774, -0.025093238800764084, 0.01911815069615841, -0.07894358038902283, 0.04711905121803284, -0.001467144931666553, -0.10182145982980728, -0.04814152792096138, 0.029460057616233826, 0.038470618426799774, 0.049377016723155975, 0.030418628826737404, 0.0270529817789793, -0.032357070595026016, 0.1023326963186264, 0.021461322903633118, -0.006603483576327562, 0.010927700437605381, 0.013824712485074997, 0.02067316509783268, -0.017382072284817696, -0.10454805940389633, -0.028607996180653572, -0.005133675877004862, -0.005554381757974625, -0.02658434771001339, -0.029545264318585396, 0.05372253432869911, 0.054958026856184006, 0.00811056885868311, -0.006150825414806604, 0.026030506938695908, 0.03284700587391853, 0.03035472333431244, -0.0775802806019783, -0.013430633582174778, -0.012301650829613209, 0.04439245164394379, 0.046906035393476486, -0.023751240223646164, 0.017595088109374046, 0.09798717498779297, 0.004595811478793621, -0.04515930637717247, 0.0023378462065011263, -0.00966558326035738, 0.007562053855508566, -0.09082985669374466, -0.003386948024854064, -0.021919306367635727, -0.049419619143009186, 0.011705207638442516, 0.05065511167049408, 0.04711905121803284, -0.07493888586759567, -0.004436050076037645, -0.007018864154815674, 0.028245868161320686, 0.0053999456577003, 0.07165844738483429, -0.029928691685199738, -0.035829223692417145, 0.03244227543473244, 0.021919306367635727, -0.03112157993018627, 0.04181496426463127, 0.0072478558868169785, 0.038683634251356125, -0.07199927419424057, -0.0009851971408352256, -0.059814780950546265, -0.02792634628713131, -0.015560789965093136, 0.03208015114068985, -0.006299936678260565, 0.008989258669316769, 0.021120496094226837, 0.0314411036670208, -0.018596261739730835, -0.04460546746850014, -0.02960916794836521, 0.03493455797433853, -0.009047837927937508, -0.08367253094911575, 0.003386948024854064, 0.041282422840595245, 0.030887262895703316, 0.0003063763433601707, -0.027947647497057915, -0.003139317501336336, -0.02566838078200817, -0.007578030228614807, 0.020619910210371017, 0.033017419278621674, -0.05563967674970627, 0.016444804146885872, 0.0013373385882005095, 0.01727556623518467, -0.022579653188586235, -0.039471790194511414, 0.015219965018332005, 0.008126545697450638, 0.07123241573572159, -0.03761855512857437, -0.03242097422480583, 0.010453741066157818, 0.007460871711373329, 0.024518094956874847, -0.006092246156185865, 0.101480633020401, 0.08852928131818771, -0.031228087842464447, -0.019885007292032242, -0.005708818323910236, 0.0197145938873291, 0.010597526095807552, -0.05389294773340225, 0.011044858954846859, 0.012866142205893993, 0.01978914998471737, -0.0398339182138443, -0.01920335739850998, -0.03065294586122036, -0.01770159602165222, 0.01004368532449007, -0.03930138051509857, 0.006363841239362955, 0.005517104174941778, -0.03178192675113678, -0.008265005424618721, 0.01686018519103527, 0.06343604624271393, 0.014463759027421474, -0.023879049345850945, 0.004284276161342859, -0.059857383370399475, -0.025817491114139557, -0.0067366184666752815, -0.004529244266450405, -0.052444443106651306, -0.022068416699767113, 0.0511663481593132, 0.028544090688228607, -0.0016042737988755107, -0.06744074076414108, 0.0037277729716151953, -0.02826717123389244, 0.032229259610176086, 0.018937086686491966, 0.054404184222221375, 0.03542449325323105, -0.02645653858780861, -0.012876792810857296, -0.0276707261800766, -0.05678996071219444, 0.014485061168670654, -0.016242438927292824, 0.07519450783729553, 0.082181416451931, -0.05069771409034729, -0.014538315124809742, 0.012472063302993774, -0.013430633582174778, 0.004063272848725319, 0.013260221108794212, 0.041538041085004807, -0.06769635528326035, -0.0024656555615365505, -0.006933657918125391, 0.011375033296644688, -0.0373203344643116, 0.0515923798084259, 0.02441158890724182, -0.007769743911921978, -0.03736293688416481, 0.021834099665284157, -0.016966693103313446, 0.013366729021072388, 0.024645905941724777, 0.011034208349883556, 0.03463633731007576, 0.022877875715494156, -0.021322861313819885, 0.005154977552592754, -0.030503833666443825, 0.012983300723135471, -0.02952396310865879, 0.025753585621714592, 0.049419619143009186, 0.00884547270834446, -0.046480003744363785, -0.004614450503140688, 0.054404184222221375, 0.05005866661667824, 0.005676866043359041, -0.004944624844938517, -0.025519268587231636, -0.02779853530228138, -0.0266269501298666, 0.041580647230148315, -0.014889790676534176, 0.017520533874630928, 0.006885729264467955, 0.015294520184397697, -0.002798492554575205, -0.017435327172279358, -0.02021518163383007, -0.02008737064898014, -0.018340643495321274, 0.023240001872181892, -0.05342431366443634, 0.02826717123389244, 0.013547792099416256, 0.015081504359841347, -0.037000808864831924, -0.08708077669143677, 0.016210487112402916, -0.03257008641958237, 0.03199494257569313, 0.02666955254971981, -0.025902697816491127, -0.014889790676534176, 0.03350735455751419, -0.0039567649364471436, -0.02554057165980339, -0.01701994612812996, -0.03129199147224426, 0.012887444347143173, -0.013515840284526348, -0.01836194470524788, -0.012003429234027863, -0.01899034157395363, -0.025561872869729996, -0.013015253469347954, -0.004004693124443293, -0.05129415541887283, 0.0339546874165535, 0.018681468442082405, -0.049632634967565536, -0.052146218717098236, -0.019725244492292404, 0.049036189913749695, 0.03246357664465904, -0.01623178832232952, 0.02134416252374649, 0.06893184781074524, -0.04190016910433769, -0.024177270010113716, 0.020438846200704575, 0.0266269501298666, 0.04711905121803284, 0.0007854950381442904, 0.06403248757123947, 0.02679736353456974, 0.025838792324066162, 0.03727773204445839, 0.021919306367635727, 0.07314955443143845, 0.07579094916582108, 0.044307246804237366, 0.0649697557091713, -0.014538315124809742, 0.03685170039534569, -0.0026600323617458344, -0.015219965018332005, -0.05853668600320816, 0.01710515283048153, -0.02666955254971981, 0.02839498035609722, -0.03493455797433853, -0.05278526619076729, -0.04861016198992729, -0.0015590079128742218, -0.041026804596185684, 0.03099377080798149, -0.017552485689520836, 0.02347431890666485, -0.02302698604762554, 0.04635219648480415, 0.03766115754842758, -0.02377254143357277, 0.023048289120197296, -0.013803411275148392, -0.020183227956295013, -0.031931038945913315, -0.03233576938509941, 0.04554273560643196, -0.05257225036621094, -0.010709359310567379, 0.06296741217374802, -0.00786560121923685, 0.028501488268375397, 0.01694539189338684, -0.03795938193798065, 0.00766323646530509, 0.0012521323515102267, -0.0038662331644445658, 0.02213232032954693, 0.02428377792239189, 0.02436898462474346, 0.02784113958477974, -0.049291811883449554, -0.0033230434637516737, 0.01452766451984644, 0.013696903362870216, 0.02926834300160408, -0.04209188371896744, -0.04341258108615875, 0.022494448348879814, 0.0927043929696083, -0.025881396606564522, 0.04699124023318291, -0.05546926334500313, 0.007151999045163393, 0.040110837668180466, -0.04134633019566536, 0.016838883981108665, -0.01979980058968067, -0.01757378689944744, 0.01052297092974186, -0.02171694114804268, 0.0352114774286747, -0.01883057877421379, -0.017137104645371437, 0.019139451906085014, -0.004193744622170925, 0.009346059523522854, 0.02905532903969288, 0.0457131490111351, -0.008094592951238155, 0.046650417149066925, 0.05304088443517685, 0.023005684837698936, 0.028075456619262695, 0.0457131490111351, 0.043178264051675797, 0.06126328557729721, 0.03129199147224426, 0.02113114856183529, 0.054191168397665024, -0.04584095627069473, -0.07289393991231918, -0.008350211195647717, 0.06445851922035217, -0.028948821127414703, 0.006007039919495583, 0.02105659246444702, -0.040068235248327255, -0.04243270680308342, -0.054489392787218094, -0.038683634251356125, 0.049164000898599625, 0.008131870999932289, 0.01814892888069153, 0.022579653188586235, 0.00422569690272212, 0.024688508361577988, 0.01727556623518467, 0.01601877249777317, -0.03363516554236412, 0.04801371693611145, -0.022750066593289375, -0.018255436792969704, -0.015305170789361, 0.01957613416016102, 0.0182341355830431, 0.004465339705348015, 0.08699557185173035, 0.00559698510915041, -0.0266269501298666, -0.023325208574533463, 0.034785449504852295, 0.02965177223086357, 0.033400844782590866, 0.002268616110086441, 0.02792634628713131, -0.03987652063369751, 0.06897445023059845, -0.024582000449299812, -0.00673129316419363, 0.03832150623202324, -0.018724070861935616, -0.07106200605630875, 0.01622113771736622, -0.03052513673901558, 0.008014712482690811, 0.06058163568377495, 0.02813936024904251, 0.013664950616657734, -0.052103616297245026, 0.009425939992070198, 0.05934614688158035, -0.008328909985721111, 0.024390285834670067, 0.01978914998471737, -0.006512952037155628, 0.052274029701948166, 0.035616207867860794, 0.005501127801835537, -0.019150102511048317, -0.03308132290840149, 0.088870108127594, -0.04541492834687233, 0.024347683414816856, 0.010203447192907333, 0.004436050076037645, 0.03727773204445839, -0.07826193422079086, -0.05866449698805809, 0.003613277105614543, -0.01828738860785961, -0.0060176909901201725, 0.0077324663288891315, -0.02922574058175087, 0.02939615398645401, -0.019682642072439194, -0.01790396124124527, -0.007333062123507261, -0.015188012272119522, -0.021780844777822495, 0.05052730068564415, 0.006449047476053238, -0.026030506938695908, 0.007844300009310246, -0.002114179776981473, -0.008978608064353466, 0.03683039918541908, -0.016828233376145363, -0.019341817125678062, -0.008792218752205372, 0.010017058812081814, -0.01545428205281496, -0.04051556810736656, 0.04826933518052101, 0.04699124023318291, -0.046437401324510574, -0.04507410153746605, 0.08588789403438568, 0.022792669013142586, -0.03374167159199715, 0.0024084076285362244, -0.05129415541887283, -0.029907390475273132, 0.02675475925207138, -0.05538405850529671, -0.02792634628713131, 0.04104810580611229, 0.04200667515397072, -0.05674735829234123, -0.005836627446115017, 0.06386207789182663, 0.008270330727100372, -0.03623395413160324, -0.02213232032954693, -0.06049643084406853, -0.059942591935396194, -0.01589096337556839, 0.0002619426231831312, -0.05606570839881897, 0.007695188745856285, -0.003722447669133544, 0.008036013692617416, -0.033656466752290726, -0.049036189913749695, -0.010049010626971722, 0.0027638773899525404, -0.05559707060456276, -0.022579653188586235, 0.0037277729716151953, 0.0053999456577003, -0.026030506938695908, 0.03308132290840149, 0.005841952748596668, 0.07097680121660233, -0.04211318492889404, 0.005109711550176144, 0.029289646074175835, 0.03908836469054222, 0.026051808148622513, 0.009500496089458466, -0.009633630514144897, 0.033145226538181305, 0.023282606154680252, -0.019863704219460487, -0.06914486736059189, 0.030184311792254448, -0.04711905121803284, 0.04330607131123543, 0.036383066326379776, -0.0314411036670208, 0.04311435669660568, 0.013025904074311256, -0.026435235515236855, 0.0473746694624424, 0.05857929214835167, -0.03589312732219696, 0.0060656191781163216, 0.027265997603535652, -0.007151999045163393, 0.004678355064243078, 0.004731609020382166, 0.04716165363788605, -0.0049712518230080605, 0.016455454751849174, 0.022324034944176674, -0.014538315124809742, 0.04043036326766014, 0.05853668600320816, 0.03493455797433853, -0.05120895057916641, 0.05385034531354904, -0.04177235811948776, -0.008579203858971596, 0.03974870964884758, -0.0236873347312212, -0.018255436792969704, -0.03663868457078934, -0.05086812749505043, -0.02541276067495346, 0.01648740842938423, 0.07289393991231918, -0.030759453773498535, 0.027777234092354774, 0.003978066612035036, -0.02390035055577755, -0.024731110781431198, -0.03749074786901474, 0.007444895338267088, -0.07131762057542801, 0.026733458042144775, -0.01647675596177578, 0.022025812417268753, -0.009170321747660637, -0.051634982228279114, -0.021322861313819885, -0.0406859815120697, -0.060198210179805756, -0.03112157993018627, 0.021035291254520416, -0.011918222531676292, 0.014602219685912132, -0.006086920853704214, 0.022281432524323463, 0.08622871339321136, 0.05559707060456276, -0.06220055744051933, 0.04347648471593857, 0.018543008714914322, -0.01978914998471737, 0.05683256313204765, 0.04187886789441109, -0.001277427887544036, 0.0182341355830431, -0.0011043527629226446, -0.026989076286554337, -0.0578550361096859, 0.011130065657198429, -0.04758768528699875, 0.04609657824039459, 0.05338171124458313, -0.0011609350331127644, 0.03527538478374481, 0.04809892177581787, -0.03182453289628029, 0.026435235515236855, 0.010208772495388985, 0.005144326947629452, 0.04831193760037422, -0.04784330353140831, 0.054233770817518234, 0.03925877436995506, 0.029673073440790176, -0.0014298672322183847, -0.0011689231032505631, -0.018500404432415962, 0.054617200046777725, -0.028544090688228607, 0.02541276067495346, 0.005538405850529671, -0.028948821127414703, 0.00443338742479682, -0.05525624752044678, 0.02918313816189766, -0.02407076396048069, -0.009292805567383766, 0.011066160164773464, 0.00009153014252660796, 0.019895657896995544, -0.05389294773340225, 0.008840147405862808, -0.005927158985286951, -0.057471610605716705, -0.007870926521718502, 0.08405596017837524, -0.007615307811647654, 0.01536907535046339, 0.01197147648781538, -0.0009585702209733427, -0.08507843315601349, 0.009133043698966503, -0.043966419994831085, 0.02788374200463295, 0.006496975664049387, -0.041026804596185684, 0.044222038239240646, 0.0037517372984439135, 0.021333511918783188 ]
54,940
ml_wrappers.dataset.dataset_wrapper
__init__
Initialize the dataset wrapper. :param dataset: A matrix of feature vector examples (# examples x # features) for initializing the explainer. :type dataset: numpy.ndarray or pandas.DataFrame or panads.Series or scipy.sparse.csr_matrix or shap.DenseData or torch.Tensor or tensorflow.python.data.ops.dataset_ops.BatchDataset :param clear_references: A memory optimization that clears all references after use in explainers. :type clear_references: bool
def __init__(self, dataset, clear_references=False): """Initialize the dataset wrapper. :param dataset: A matrix of feature vector examples (# examples x # features) for initializing the explainer. :type dataset: numpy.ndarray or pandas.DataFrame or panads.Series or scipy.sparse.csr_matrix or shap.DenseData or torch.Tensor or tensorflow.python.data.ops.dataset_ops.BatchDataset :param clear_references: A memory optimization that clears all references after use in explainers. :type clear_references: bool """ if not isinstance(dataset, pd.DataFrame) and not isinstance(dataset, pd.Series) and \ not isinstance(dataset, np.ndarray) and not issparse(dataset) and \ not str(type(dataset)).endswith(".DenseData'>") and \ not str(type(dataset)).endswith("torch.Tensor'>") and \ not str(type(dataset)).endswith("BatchDataset'>"): raise TypeError("Got type {0} which is not supported in DatasetWrapper".format( type(dataset)) ) self._features = None self._original_dataset_with_type = dataset self._dataset_is_df = isinstance(dataset, pd.DataFrame) self._dataset_is_series = isinstance(dataset, pd.Series) self._dataset_is_batch = str(type(dataset)).endswith("BatchDataset'>") self._default_index_cols = ['index'] self._default_index = True if self._dataset_is_df: self._features = dataset.columns.values.tolist() if self._dataset_is_df or self._dataset_is_series: dataset = dataset.values elif self._dataset_is_batch: dataset, features, size = _convert_batch_dataset_to_numpy(dataset) self._features = features self._batch_size = size self._dataset = dataset self._original_dataset = dataset self._summary_dataset = None self._column_indexer = None self._subset_taken = False self._summary_computed = False self._string_indexed = False self._one_hot_encoded = False self._one_hot_encoder = None self._timestamp_featurized = False self._timestamp_featurizer = None self._clear_references = clear_references
(self, dataset, clear_references=False)
[ -0.02895401045680046, -0.07188582420349121, 0.051994338631629944, 0.017549049109220505, 0.007924912497401237, 0.016627436503767967, -0.006715295370668173, 0.030931638553738594, 0.0012102171313017607, -0.014141000807285309, -0.05383756384253502, 0.03626931458711624, -0.07008099555969238, 0.02568996511399746, -0.011030556634068489, 0.009609736502170563, -0.027744393795728683, 0.03465649113059044, 0.024134742096066475, 0.0021612306591123343, -0.012604978866875172, -0.006446491461247206, -0.0723850280046463, 0.04177979379892349, -0.02459554933011532, 0.028973210602998734, -0.01310418639332056, -0.03575090691447258, 0.03327407315373421, 0.013056185096502304, -0.05529678612947464, -0.018441861495375633, -0.04972870647907257, 0.04293181002140045, 0.012537778355181217, -0.07461225986480713, 0.0022524320520460606, 0.04035897180438042, 0.01755864918231964, 0.013776195235550404, -0.01766424998641014, -0.07104101032018661, -0.005481678061187267, -0.03936056047677994, -0.024787552654743195, 0.05752401798963547, 0.00564488023519516, -0.0425478033721447, -0.02801319770514965, -0.06912098079919815, 0.000597008503973484, -0.037248529493808746, 0.01693464070558548, 0.054835978895425797, -0.052378345280885696, 0.0005340075585991144, 0.014851410873234272, 0.07649388909339905, -0.015725024044513702, 0.02033308893442154, -0.016627436503767967, 0.0024324345868080854, 0.02250272035598755, -0.003386448137462139, -0.017001841217279434, 0.00423366017639637, -0.024211544543504715, 0.005803282372653484, 0.02432674542069435, 0.009100928902626038, -0.007612908259034157, 0.0013152186293154955, 0.027974797412753105, 0.06570333242416382, 0.0015492220409214497, -0.028858009725809097, -0.0625544860959053, -0.04631105810403824, 0.025593962520360947, -0.014822610653936863, 0.023539533838629723, 0.0009732138132676482, -0.004824068397283554, -0.036230914294719696, -0.006086486391723156, -0.07069540023803711, 0.03907255455851555, 0.03993656858801842, 0.00019620278908405453, -0.04177979379892349, -0.024576349183917046, 0.049459900707006454, 0.024230744689702988, 0.0069264983758330345, 0.028205201029777527, -0.01849946193397045, -0.050765521824359894, -0.011606564745306969, 0.028416402637958527, -0.03367727994918823, -0.0025368360802531242, 0.03409968316555023, 0.02576676569879055, 0.05879123508930206, -0.04270140454173088, -0.04227900132536888, 0.005155273247510195, -0.032678864896297455, -0.03807413950562477, -0.06754656136035919, -0.06942818313837051, 0.01960347779095173, 0.013756995089352131, 0.01664663664996624, -0.013238588348031044, -0.0531463548541069, 0.024729950353503227, -0.021120300516486168, -0.038688547909259796, -0.004845669027417898, -0.002010028576478362, 0.05863763391971588, -0.06378330290317535, -0.004860069137066603, -0.0292420145124197, 0.0016968240961432457, 0.021312301978468895, 0.019123472273349762, -0.006168087478727102, -0.062285684049129486, 0.007910512387752533, -0.02835880219936371, -0.03523249924182892, 0.1014542430639267, 0.048883892595767975, -0.04473663493990898, 0.07223142683506012, 0.059098437428474426, -0.07265383005142212, 0.018835468217730522, 0.016867440193891525, -0.021907510235905647, 0.025497961789369583, 0.027225986123085022, 0.005774482153356075, -0.0003831054491456598, -0.0047352672554552555, -0.05072712153196335, -0.04684866592288017, -0.05744721740484238, 0.01281618233770132, -0.03417648375034332, -0.0018864268204197288, -0.03895735368132591, 0.008217716589570045, 0.0033768480643630028, -0.04097338020801544, -0.0671241506934166, 0.011894568800926208, 0.009369732812047005, 0.003823254257440567, -0.017913853749632835, -0.025017954409122467, 0.03674932196736336, -0.08609402179718018, 0.02461474947631359, -0.008006514050066471, -0.09922701120376587, -0.05998165160417557, 0.03552050516009331, 0.0292420145124197, 0.01447700522840023, 0.019017869606614113, 0.04984390735626221, -0.034790895879268646, 0.10122383385896683, 0.011097757145762444, 0.02375073730945587, 0.017731452360749245, 0.0186050646007061, 0.005976085085421801, 0.00019245273142587394, -0.06839136779308319, -0.037517331540584564, -0.0026208371855318546, -0.020467489957809448, 0.025286758318543434, -0.027053184807300568, 0.05521998554468155, 0.05283914878964424, 0.0208514966070652, 0.00006562592898262665, 0.014870611019432545, 0.021005097776651382, 0.02757159061729908, -0.04915269836783409, -0.016915440559387207, -0.0355973057448864, 0.04277820885181427, 0.020525092259049416, -0.019929882138967514, 0.0304708331823349, 0.07737709581851959, -0.0012336175423115492, -0.01685784012079239, 0.026937982067465782, 0.004819268360733986, 0.048960696905851364, -0.09723018109798431, -0.004963270388543606, 0.00020535291696432978, -0.04842308908700943, 0.010934554971754551, 0.03936056047677994, 0.04300861060619354, -0.07545707374811172, -0.003919255454093218, 0.0038160542026162148, 0.01194256916642189, 0.002676038071513176, 0.0768778920173645, -0.02430754527449608, -0.03177645057439804, 0.04419902712106705, -0.015609821304678917, -0.017021041363477707, 0.07384424656629562, -0.02526755817234516, 0.01998748444020748, -0.058599233627319336, -0.03719092905521393, -0.035635706037282944, -0.02279072441160679, 0.0005676080472767353, 0.03916855528950691, 0.012969784438610077, 0.004418462514877319, 0.038323745131492615, 0.009408134035766125, -0.03769013658165932, -0.0052464744076132774, -0.014496206305921078, 0.051994338631629944, -0.03386928141117096, -0.055834393948316574, -0.0118657685816288, 0.03859254717826843, 0.016925040632486343, -0.01753944903612137, -0.04024377092719078, -0.01998748444020748, -0.047808680683374405, -0.01172176655381918, -0.0007158101652748883, 0.03125804290175438, -0.06305369734764099, 0.015696221962571144, -0.012393776327371597, 0.005952084437012672, -0.03939896076917648, -0.055335186421871185, -0.004869669210165739, 0.002714438596740365, 0.09446533769369125, -0.03219885751605034, -0.010752152651548386, 0.004958470351994038, 0.0001674023806117475, 0.006969699170440435, -0.038093339651823044, 0.09891980141401291, 0.05725521221756935, -0.010444948449730873, -0.025958769023418427, -0.026361973956227303, 0.0077041094191372395, 0.024134742096066475, -0.062285684049129486, -0.023693136870861053, 0.043315816670656204, 0.03277486562728882, -0.047578275203704834, -0.004154459107667208, -0.00854412093758583, 0.027705993503332138, 0.021158700808882713, -0.046925466507673264, 0.030586034059524536, -0.0020976297091692686, -0.04247100278735161, 0.010396948084235191, 0.03872694820165634, 0.06313049793243408, 0.0064848922193050385, -0.008025714196264744, 0.004610465373843908, -0.038477346301078796, 0.022253116592764854, -0.01128976047039032, 0.004718467127531767, -0.02772519364953041, -0.0580616258084774, 0.062285684049129486, 0.028762008994817734, -0.043162211775779724, -0.07100261002779007, 0.010924954898655415, 0.0057792821899056435, 0.049459900707006454, -0.01899866946041584, 0.09423493593931198, 0.04350781813263893, 0.004053657408803701, 0.03216045722365379, -0.045120641589164734, -0.03669172152876854, 0.006432091351598501, -0.02388513833284378, 0.030816437676548958, 0.08939646929502487, -0.04849988967180252, -0.0007626108126714826, 0.01623382978141308, -0.019219473004341125, 0.00514087313786149, -0.025805165991187096, 0.05545038729906082, -0.08417399227619171, -0.00156122213229537, 0.00834731850773096, 0.009374532848596573, -0.049459900707006454, 0.045696649700403214, 0.021043498069047928, -0.030010025948286057, -0.021811509504914284, 0.004200059454888105, 0.015360218472778797, -0.004080058075487614, -0.0018276259070262313, 0.022905925288796425, 0.027974797412753105, 0.010684952139854431, 0.00446166330948472, 0.0290308129042387, -0.04400702565908432, 0.01480341050773859, -0.04588865116238594, 0.023040326312184334, 0.0214851051568985, 0.01868186518549919, -0.03553970530629158, 0.004082458093762398, 0.051495131105184555, 0.08571001887321472, 0.005385676398873329, -0.020755494013428688, -0.01335378922522068, -0.02874280884861946, -0.03379248082637787, 0.03997496888041496, -0.018941069021821022, -0.012979384511709213, 0.018912268802523613, -0.0029808422550559044, -0.004658466205000877, -0.029472418129444122, -0.014390604570508003, -0.023539533838629723, -0.021465905010700226, -0.0004911069991067052, -0.05710161104798317, 0.016992241144180298, 0.021177900955080986, 0.03609651327133179, -0.07031139731407166, -0.08793725073337555, 0.03552050516009331, -0.02236831746995449, 0.017913853749632835, -0.0005976085085421801, 0.01327698864042759, 0.019065869972109795, 0.0007950112922117114, -0.041011784225702286, -0.038035739213228226, -0.04876869171857834, -0.0023856337647885084, 0.03300526738166809, 0.02344353310763836, -0.0071185012347996235, -0.027033984661102295, -0.03385008126497269, -0.022253116592764854, -0.024941153824329376, -0.008126514963805676, -0.0009450134239159524, 0.02801319770514965, 0.000743410550057888, -0.05310795456171036, -0.01451540645211935, -0.037594132125377655, 0.04366141930222511, 0.031219642609357834, 0.004785668104887009, 0.03865014761686325, 0.06201688200235367, -0.02749479003250599, 0.003223245730623603, 0.02302112616598606, 0.0421253964304924, 0.020006684586405754, 0.01892186887562275, 0.06362970173358917, -0.0009912140667438507, 0.004596065264195204, 0.04220220074057579, 0.0006972099072299898, 0.06320729851722717, 0.0629768967628479, 0.044122226536273956, 0.09031808376312256, 0.005990485195070505, 0.027302788570523262, -0.004504864104092121, 0.012115372344851494, -0.05833042785525322, -0.007483306340873241, 0.00036930525675415993, -0.027917196974158287, -0.07038819789886475, -0.02352033369243145, -0.009398533031344414, -0.015763424336910248, -0.04177979379892349, 0.024365145713090897, -0.008524920791387558, 0.009225730784237385, -0.005841683130711317, 0.0355973057448864, 0.03018282912671566, -0.04600385203957558, 0.028762008994817734, -0.022061113268136978, -0.04419902712106705, -0.02446114644408226, -0.00877932459115982, 0.057639218866825104, -0.014957012608647346, -0.009038528427481651, 0.07415145635604858, 0.007392105180770159, 0.005923284217715263, 0.01143376249819994, -0.01523541659116745, -0.012364975176751614, 0.0032136456575244665, -0.00400565704330802, 0.034560490399599075, 0.029203614220023155, 0.00995534099638462, 0.02012188546359539, -0.04934469982981682, -0.011529764160513878, -0.004423263017088175, 0.006360090337693691, 0.05191753804683685, -0.024441946297883987, -0.04058937728404999, -0.01594582572579384, 0.07979633659124374, -0.010444948449730873, 0.04162619262933731, -0.028838809579610825, -0.03146924823522568, 0.0036144512705504894, -0.023270729929208755, -0.003268846310675144, -0.0032832466531544924, -0.01719384454190731, 0.004022457171231508, -0.025133157148957253, 0.027763593941926956, -0.02553636208176613, -0.02686118148267269, 0.004171259235590696, -0.023289930075407028, -0.008851326070725918, 0.022752322256565094, 0.035712506622076035, -0.0022104314994066954, 0.05929044261574745, 0.013699394650757313, 0.004507264122366905, 0.05752401798963547, 0.05161033198237419, 0.059175241738557816, 0.06359130144119263, 0.028838809579610825, -0.00009870139911072329, 0.035654906183481216, -0.05233994498848915, -0.07253862917423248, -0.029626021161675453, 0.05783122032880783, -0.020467489957809448, 0.007876912131905556, -0.009057728573679924, -0.038246944546699524, -0.024729950353503227, -0.021293101832270622, -0.07657068967819214, 0.03661492094397545, 0.030528433620929718, 0.007022499572485685, 0.01918107271194458, -0.04431422799825668, 0.034848496317863464, 0.01614742912352085, 0.04581185057759285, -0.005673680454492569, 0.08156275749206543, -0.022963525727391243, -0.0255555622279644, -0.03859254717826843, -0.03104684129357338, 0.028973210602998734, -0.014995412901043892, 0.07499626278877258, 0.027264386415481567, -0.03603891283273697, -0.04550464451313019, -0.0018780266400426626, 0.05767761915922165, 0.02845480479300022, 0.04688706621527672, 0.009662536904215813, -0.02743718959391117, 0.02482595294713974, -0.02757159061729908, -0.010416148230433464, 0.01732824556529522, -0.0010740152793005109, -0.10452628135681152, 0.030298030003905296, -0.023366732522845268, -0.0023808337282389402, 0.09876620024442673, 0.023558733984827995, 0.015504220500588417, -0.03936056047677994, -0.002265632152557373, 0.0036888523027300835, -0.01732824556529522, 0.01975708082318306, 0.03757493197917938, -0.003312047105282545, 0.015763424336910248, 0.051571931689977646, 0.025958769023418427, -0.023558733984827995, -0.03415728360414505, 0.07461225986480713, -0.01451540645211935, 0.03951416164636612, 0.01620502956211567, 0.038170140236616135, -0.010761752724647522, -0.07971952855587006, -0.045773450285196304, -0.018230658024549484, -0.009859340265393257, -0.002222431590780616, 0.055911194533109665, -0.06113366782665253, 0.02895401045680046, -0.021005097776651382, -0.003297646762803197, 0.020640293136239052, -0.01925787329673767, -0.001671623787842691, 0.024115541949868202, -0.002460035029798746, -0.00398645643144846, 0.006446491461247206, 0.01623382978141308, -0.012624179013073444, 0.032602064311504364, -0.005092872306704521, -0.026937982067465782, -0.0004998071235604584, -0.03907255455851555, -0.033907681703567505, -0.031450048089027405, 0.038688547909259796, 0.031584449112415314, -0.0347524918615818, -0.06086486577987671, 0.0662793442606926, 0.03959096223115921, -0.03711412847042084, 0.008918526582419872, -0.05437517166137695, -0.03444528952240944, 0.0195170771330595, -0.05882963538169861, -0.03465649113059044, 0.05072712153196335, 0.001668023644015193, -0.047002267092466354, -0.026592377573251724, 0.05913684144616127, 0.01654103398323059, -0.018384261056780815, -0.05291595309972763, -0.05978965014219284, -0.02872360870242119, -0.020006684586405754, 0.00837611872702837, -0.02830120176076889, 0.02280992455780506, -0.01562902145087719, 0.020947497338056564, -0.03054763376712799, -0.05391436442732811, -0.0245379488915205, 0.01122255902737379, -0.049114298075437546, -0.026899581775069237, 0.014237002469599247, 0.03523249924182892, -0.03408048301935196, 0.03555890545248985, 0.034042082726955414, 0.06931298226118088, -0.022310717031359673, 0.01808665692806244, 0.03807413950562477, 0.050919122993946075, 0.03265966475009918, 0.011923369020223618, -0.004915270023047924, 0.01868186518549919, 0.016272231936454773, -0.021523505449295044, -0.027091585099697113, 0.018547464162111282, -0.04546624422073364, 0.03719092905521393, 0.02605476975440979, -0.021581105887889862, 0.04719426855444908, 0.01270098052918911, -0.019536277279257774, 0.02808999828994274, 0.04995910823345184, -0.03632691502571106, -0.00036600520252250135, 0.03219885751605034, -0.01873946562409401, -0.013008184731006622, 0.0023184330202639103, 0.047079067677259445, -0.020313888788223267, 0.013401790522038937, 0.020313888788223267, -0.0067536961287260056, 0.02121630124747753, 0.02250272035598755, 0.0560263954102993, -0.06854497641324997, 0.05825362727046013, -0.0544135719537735, -0.004096858203411102, 0.03613491356372833, -0.023923540487885475, -0.011520163156092167, -0.02547876164317131, -0.04058937728404999, -0.017760252580046654, 0.031142842024564743, 0.0519559383392334, -0.004591265227645636, 0.0014304203214123845, -0.015552220866084099, 0.03002922609448433, -0.04615745693445206, -0.02524835802614689, 0.0037656535860151052, -0.05675600469112396, -0.003237646073102951, 0.011472162790596485, 0.04596545174717903, -0.020160285755991936, -0.0222915168851614, -0.03018282912671566, -0.059328842908144, -0.08993407338857651, -0.02062109299004078, -0.03189165145158768, 0.010924954898655415, 0.04638785868883133, -0.016080228611826897, 0.01855706423521042, 0.040858179330825806, 0.04485183581709862, -0.05506638064980507, 0.04062777757644653, 0.011395362205803394, -0.004387262277305126, 0.06973539292812347, 0.07226982712745667, 0.004420862998813391, 0.012192172929644585, 0.010896154679358006, -0.014342603273689747, -0.020217886194586754, -0.009561736136674881, -0.03719092905521393, 0.018825868144631386, 0.05015111342072487, -0.00959053635597229, 0.04419902712106705, 0.048538289964199066, -0.032102856785058975, -0.0006372090429067612, -0.00492487009614706, -0.009720138274133205, 0.05790802091360092, -0.06355290114879608, 0.03306286782026291, 0.003494449658319354, 0.012211373075842857, -0.01766424998641014, -0.0032496461644768715, -0.02814760059118271, 0.08186995983123779, -0.0267843808978796, 0.05045831575989723, 0.024806752800941467, -0.019459476694464684, 0.0009768138406798244, -0.04243260249495506, 0.06700894981622696, 0.003744053188711405, -0.015801824629306793, 0.008433720096945763, 0.02221471630036831, 0.029990825802087784, -0.055834393948316574, 0.001956027699634433, 0.012432176619768143, -0.03855414688587189, 0.007080100476741791, 0.06935138255357742, -0.037882138043642044, 0.018941069021821022, 0.0060480860993266106, 0.005280075129121542, -0.10360467433929443, -0.006969699170440435, -0.04435262829065323, 0.014678608626127243, -0.014313803054392338, -0.03498289734125137, 0.06124886870384216, 0.044621434062719345, 0.027091585099697113 ]
54,941
ml_wrappers.dataset.dataset_wrapper
_clear
Optimization for memory usage. Clears all internal references so they can be garbage collected.
def _clear(self): """Optimization for memory usage. Clears all internal references so they can be garbage collected. """ if self._clear_references: self._features = None self._original_dataset_with_type = None self._dataset_is_df = None self._dataset_is_series = None self._default_index_cols = None self._default_index = None self._dataset = None self._original_dataset = None self._summary_dataset = None self._column_indexer = None self._subset_taken = False self._summary_computed = False self._string_indexed = False self._one_hot_encoded = False self._one_hot_encoder = None self._timestamp_featurized = False self._timestamp_featurizer = None
(self)
[ -0.020609965547919273, -0.04280531033873558, 0.03265132009983063, 0.000134032015921548, -0.04763695225119591, -0.026026686653494835, -0.07375800609588623, 0.027026986703276634, 0.000762611161917448, -0.037275347858667374, -0.04155965521931648, 0.01028610859066248, -0.00922446884214878, 0.03823790326714516, -0.0120319165289402, 0.01849612221121788, -0.05107194557785988, 0.011711065657436848, 0.02836701273918152, -0.05235534906387329, -0.03895509988069534, 0.01424956414848566, -0.01859992742538452, 0.02653627283871174, -0.022837048396468163, 0.02989577315747738, 0.030254371464252472, -0.03204736486077309, 0.010757949203252792, 0.03027324564754963, -0.02200661040842533, 0.011069362983107567, -0.049637552350759506, 0.018477248027920723, -0.005789475049823523, -0.05688501521945, 0.0333307683467865, 0.04050273448228836, 0.04944881796836853, 0.040313996374607086, -0.01505169179290533, -0.050166014581918716, -0.046655524522066116, -0.03317977860569954, 0.0049071344546973705, 0.028782231733202934, 0.006199975963681936, -0.008134518750011921, 0.009455670602619648, -0.06213187426328659, -0.003647322067990899, 0.018033718690276146, -0.012513193301856518, 0.08953633159399033, -0.0315755233168602, -0.0005611945525743067, 0.018788663670420647, 0.05348776653409004, 0.007865570485591888, 0.00024226028472185135, 0.015957623720169067, 0.011909238062798977, 0.0032533358316868544, -0.03967229649424553, 0.0363316684961319, 0.02751770056784153, -0.040012020617723465, 0.05994253605604172, 0.06654829531908035, 0.023799601942300797, -0.04744821786880493, 0.0028499127365648746, 0.013315320946276188, 0.03814353421330452, -0.01340968906879425, -0.05435595288872719, 0.001314074033871293, -0.04408871755003929, -0.02147815003991127, -0.08795095235109329, 0.05039249733090401, 0.031669892370700836, -0.06205637753009796, -0.028442507609725, 0.03485953062772751, -0.025403857231140137, 0.027612067759037018, 0.027612067759037018, -0.0038785235956311226, -0.0403517447412014, 0.014806334860622883, 0.04922233521938324, 0.008002404123544693, -0.0028404758777469397, 0.04744821786880493, -0.023742981255054474, -0.05605457350611687, -0.012201778590679169, -0.02040235511958599, -0.04722173139452934, 0.009965257719159126, -0.028310392051935196, -0.007879725657403469, 0.06779395043849945, -0.01809033937752247, -0.00014944052963983268, 0.0699077919125557, -0.0761738270521164, 0.008389312773942947, 0.014872392639517784, -0.048882611095905304, 0.020893068984150887, -0.013541803695261478, 0.027781931683421135, 0.010993869043886662, -0.014844082295894623, -0.07602284103631973, -0.0011925752041861415, -0.0355955995619297, 0.022497324272990227, -0.03621842712163925, 0.019034020602703094, -0.05669627711176872, -0.02308240532875061, 0.023403257131576538, -0.0039209891110658646, 0.014259000308811665, 0.05443144589662552, -0.02691374532878399, -0.05152491107583046, -0.01942092925310135, 0.006048987153917551, -0.027536574751138687, 0.07549437880516052, -0.016174670308828354, -0.02438468486070633, 0.02697036601603031, 0.014419426210224628, -0.060508742928504944, -0.0024228976108133793, -0.03723760321736336, 0.019515296444296837, -0.0058130668476223946, 0.01726933941245079, 0.07277657836675644, 0.031084809452295303, 0.031141430139541626, -0.04884486272931099, -0.12743450701236725, -0.05039249733090401, -0.007016258779913187, -0.03395359590649605, -0.016882430762052536, -0.0774572342634201, -0.04669327288866043, 0.004015357233583927, -0.03110368363559246, -0.003949299454689026, -0.043220531195402145, 0.00004674163574236445, -0.020081505179405212, 0.036256175488233566, -0.01676918938755989, -0.03646378591656685, -0.03869086876511574, 0.014693093486130238, 0.06858664005994797, -0.05718699097633362, -0.03937031701207161, 0.001212628441862762, -0.023724108934402466, -0.0010457150638103485, 0.009101791307330132, 0.04616481065750122, -0.010257798247039318, 0.06458543986082077, -0.027725310996174812, -0.017609063535928726, 0.011805432848632336, 0.054997652769088745, -0.001916849403642118, -0.03299104422330856, -0.0932355597615242, -0.030820580199360847, 0.014504357241094112, -0.027649816125631332, 0.011220351792871952, -0.058432649821043015, 0.048505138605833054, 0.02880110591650009, 0.01410801149904728, 0.005619612522423267, -0.011399650946259499, -0.0009318836964666843, 0.0641702190041542, -0.05303480103611946, -0.018930215388536453, -0.043598003685474396, 0.02208210527896881, -0.02225196734070778, -0.06484966725111008, -0.0000754575157770887, 0.04639129340648651, -0.05390298739075661, -0.042692068964242935, 0.024252569302916527, -0.02676275745034218, 0.01861880160868168, -0.044843658804893494, 0.104257732629776, -0.014277874492108822, -0.023403257131576538, 0.020006010308861732, 0.010795695707201958, 0.061037205159664154, -0.042692068964242935, 0.008276071399450302, 0.02821602299809456, -0.0001226046442752704, 0.02400721237063408, 0.00009134524589171633, -0.037860430777072906, -0.04495690017938614, -0.015778325498104095, -0.022950291633605957, 0.009984130971133709, -0.002014756202697754, 0.015363105572760105, 0.023403257131576538, -0.10954234004020691, 0.02897096797823906, -0.016599325463175774, -0.009488699957728386, -0.03418007865548134, 0.04805217310786247, -0.015032817609608173, -0.02040235511958599, 0.018552742898464203, 0.03293442353606224, -0.07987304776906967, -0.033066537231206894, -0.035501230508089066, 0.00902157835662365, -0.02185562252998352, -0.017684558406472206, 0.037029992789030075, 0.02897096797823906, 0.022270841524004936, 0.01631622202694416, -0.04363575205206871, -0.004220607690513134, -0.07224811613559723, -0.012248963117599487, -0.02285592257976532, 0.044352948665618896, -0.06783169507980347, -0.0049448818899691105, -0.020987436175346375, -0.03180200606584549, -0.010946684516966343, 0.029839152470231056, -0.005209112074226141, 0.036879003047943115, 0.08040151000022888, -0.003482178086414933, 0.020213618874549866, 0.06847339868545532, 0.0005644384073093534, -0.019439801573753357, -0.018335696309804916, 0.14223140478134155, -0.0008192319655790925, 0.0008929569157771766, -0.02240295708179474, -0.028555748984217644, 0.033519502729177475, -0.012692492455244064, -0.020742081105709076, 0.016759751364588737, 0.07013427466154099, 0.06284906715154648, -0.05556386336684227, 0.0309526938945055, 0.00789388082921505, 0.018382880836725235, 0.004015357233583927, -0.04533437266945839, -0.021836748346686363, 0.011059925891458988, -0.011522329412400723, -0.0001153795892605558, 0.031518902629613876, 0.01448548398911953, 0.04352250695228577, 0.03814353421330452, -0.009767085313796997, -0.020496724173426628, -0.0038667276967316866, 0.012050789780914783, 0.05605457350611687, -0.046806514263153076, -0.045900583267211914, 0.010295545682311058, 0.03814353421330452, 0.03706774115562439, -0.02476215548813343, 0.0011772403959184885, -0.017750615254044533, 0.08493117243051529, 0.032538075000047684, 0.022289715707302094, -0.038181282579898834, 0.027781931683421135, 0.046429041773080826, 0.025403857231140137, -0.0699077919125557, -0.006530263461172581, -0.0021975941490381956, -0.021931117400527, 0.06764296442270279, -0.02651740051805973, -0.026102181524038315, 0.015504658222198486, -0.014702529646456242, -0.0355955995619297, -0.03331189230084419, 0.004312616307288408, -0.017448637634515762, -0.0028735047671943903, -0.015240427106618881, -0.007648523896932602, -0.05401622876524925, 0.04525887966156006, 0.010248362086713314, 0.0053695375099778175, -0.052921559661626816, 0.008818686939775944, -0.01497619692236185, -0.012173468247056007, 0.013655046001076698, -0.006086734123528004, 0.06311330199241638, -0.019383180886507034, 0.004741990473121405, 0.02085532248020172, -0.0030787549912929535, 0.036577027291059494, -0.03670914098620415, 0.02385622262954712, -0.01729764975607395, 0.024044958874583244, 0.030329866334795952, 0.0240638330578804, 0.06605757772922516, 0.08062799274921417, 0.0037983108777552843, -0.014494920149445534, 0.018581053242087364, -0.000021361813196563162, -0.020119251683354378, 0.0563943013548851, 0.016108613461256027, -0.05658303573727608, -0.022270841524004936, 0.07255009561777115, -0.018703732639551163, -0.019685158506035805, -0.01987389475107193, -0.03204736486077309, -0.06734098494052887, 0.008186421357095242, -0.07791019976139069, -0.0006163408397696912, 0.010493718087673187, 0.009403767995536327, -0.006148073356598616, -0.033047664910554886, 0.07560762017965317, 0.0007632009801454842, 0.03265132009983063, -0.005747009534388781, 0.03655815124511719, -0.004166346043348312, -0.018656548112630844, -0.029688164591789246, 0.012399951927363873, -0.04408871755003929, 0.004855232313275337, 0.0249320175498724, 0.06556686758995056, 0.010597523301839828, -0.015372542664408684, -0.06511390209197998, -0.021799001842737198, 0.04722173139452934, 0.07145542651414871, 0.00682280445471406, 0.03080170601606369, -0.051411669701337814, -0.013806033879518509, 0.03172651305794716, -0.02766869030892849, -0.020156998187303543, 0.05160040780901909, 0.0011064644204452634, 0.030537474900484085, 0.019383180886507034, -0.012399951927363873, 0.021874496713280678, 0.0278196781873703, 0.029008714482188225, 0.015372542664408684, 0.0009183183428831398, 0.010304982773959637, 0.00955947581678629, -0.013541803695261478, 0.04563635215163231, -0.007403167430311441, 0.11648782342672348, 0.0631510466337204, 0.005086433608084917, 0.09165017306804657, -0.025083007290959358, 0.042465586215257645, -0.04348476231098175, -0.015901003032922745, -0.040313996374607086, -0.01569339446723461, 0.015504658222198486, 0.03125467151403427, -0.04756145924329758, -0.024252569302916527, -0.02859349548816681, -0.0266872625797987, -0.04431520029902458, 0.061943136155605316, 0.004645263310521841, 0.009833143092691898, -0.029763657599687576, 0.012126284651458263, 0.00953588355332613, -0.023516498506069183, 0.049260079860687256, -0.02821602299809456, -0.005610175896435976, 0.021799001842737198, -0.032538075000047684, 0.060886215418577194, -0.04669327288866043, -0.006813367363065481, 0.011852617375552654, -0.0014190584188327193, -0.03372711315751076, -0.04982629045844078, -0.010408787056803703, -0.0002233866835013032, -0.006506671663373709, 0.027083607390522957, -0.006629350129514933, -0.008134518750011921, 0.003913911525160074, 0.040012020617723465, -0.022421829402446747, -0.003309956518933177, 0.007653242442756891, 0.025045258924365044, 0.04473041743040085, 0.002112662885338068, -0.020043756812810898, -0.0011188503121957183, 0.037879303097724915, -0.044352948665618896, -0.027498826384544373, -0.05473342537879944, -0.022667186334729195, 0.011663881130516529, -0.022742681205272675, 0.05058123171329498, 0.03338738903403282, -0.042692068964242935, 0.0239317175000906, -0.01206966396421194, -0.004055463708937168, -0.01940205506980419, 0.012720802798867226, 0.029707036912441254, 0.005666796583682299, -0.0067567466758191586, 0.009965257719159126, 0.0037133796140551567, -0.042465586215257645, -0.019628537818789482, -0.01919444464147091, -0.03436881676316261, 0.03653927892446518, 0.03563334792852402, -0.0026446625124663115, 0.03869086876511574, 0.03838888928294182, 0.005166646558791399, 0.04257882758975029, -0.030612969771027565, -0.08002404123544693, 0.019760653376579285, 0.03248145431280136, -0.021912243217229843, 0.030386487022042274, -0.025045258924365044, -0.058508142828941345, -0.02215760014951229, -0.05318579077720642, -0.08327029645442963, 0.04352250695228577, 0.012126284651458263, 0.02110067941248417, 0.03012225590646267, -0.031367912888526917, -0.006464206147938967, -0.008139237761497498, 0.0024394120555371046, -0.06311330199241638, 0.09414149075746536, -0.010720201767981052, -0.01501394435763359, -0.03446318209171295, -0.022214220836758614, -0.027253469452261925, 0.019741779193282127, 0.05703600123524666, -0.010031315498054028, 0.005647923331707716, -0.05220436304807663, -0.0032910830341279507, 0.025196248665452003, 0.037860430777072906, -0.02385622262954712, 0.028555748984217644, -0.15068677067756653, 0.040313996374607086, -0.004225325770676136, -0.004140394739806652, -0.026479652151465416, 0.055979080498218536, -0.05390298739075661, 0.009649124927818775, 0.009672717191278934, 0.017826110124588013, 0.06277357786893845, 0.031311292201280594, 0.04514563828706741, -0.01571226678788662, -0.03989877924323082, 0.03012225590646267, -0.02208210527896881, 0.04121993109583855, -0.0043786740861833096, 0.021515898406505585, 0.009738774970173836, 0.05043024569749832, -0.009229187853634357, -0.023441003635525703, -0.00655385572463274, 0.0486183799803257, -0.0049684736877679825, -0.008559174835681915, -0.007686271332204342, -0.02278042770922184, 0.020893068984150887, 0.011843180283904076, -0.00789388082921505, 0.006176383700221777, -0.0147874616086483, 0.0179204773157835, -0.031915247440338135, -0.009257498197257519, 0.014768587425351143, -0.031462281942367554, 0.00907348096370697, 0.015032817609608173, -0.02897096797823906, -0.0044258576817810535, 0.039408065378665924, -0.03110368363559246, -0.031065937131643295, 0.04548536241054535, -0.006610476411879063, 0.013315320946276188, 0.008611077442765236, 0.021817876026034355, -0.03774718940258026, 0.012824607081711292, 0.019185008481144905, 0.02085532248020172, -0.04220135882496834, -0.004409343469887972, 0.05020376294851303, -0.0009867351036518812, -0.022988038137555122, -0.0062707518227398396, 0.03204736486077309, 0.0350860133767128, 0.009833143092691898, 0.0018201222410425544, -0.016278475522994995, -0.032745685428380966, 0.040087513625621796, -0.02438468486070633, 0.04827865585684776, 0.028838852420449257, -0.011569513007998466, -0.01779779978096485, 0.0044659641571342945, 0.034293320029973984, -0.015155496075749397, -0.004973192233592272, -0.06745422631502151, 0.0164200272411108, -0.0363316684961319, -0.03317977860569954, -0.013692792505025864, -0.060886215418577194, -0.025819076225161552, -0.01894908957183361, -0.0071955579333007336, -0.0067567466758191586, 0.0045485361479222775, -0.01122978888452053, -0.02323339506983757, -0.03180200606584549, 0.06888861954212189, -0.006577447522431612, -0.10237037390470505, -0.011380777694284916, 0.03767169266939163, 0.043447013944387436, 0.014419426210224628, -0.0004122700775042176, 0.046051569283008575, 0.021666886284947395, 0.020232493057847023, 0.021685760468244553, 0.0007401987677440047, 0.03842663764953613, -0.021213920786976814, -0.04250333458185196, -0.03744520992040634, -0.010795695707201958, -0.034085713326931, 0.05473342537879944, 0.026177674531936646, -0.06888861954212189, 0.02185562252998352, 0.024554546922445297, -0.024799903854727745, 0.00709175318479538, 0.01761849969625473, -0.0295749232172966, 0.0025054696016013622, 0.017580753192305565, -0.03453867882490158, -0.06734098494052887, 0.01284348126500845, 0.021308287978172302, -0.006917172577232122, 0.039936523884534836, -0.010229487903416157, -0.013938149437308311, 0.07738173753023148, -0.0028900192119181156, 0.03982328251004219, -0.06836015731096268, 0.04631580039858818, -0.015485784038901329, -0.015230990946292877, -0.02208210527896881, 0.01686355657875538, 0.015721704810857773, 0.007568311411887407, -0.03712436184287071, 0.02338438294827938, 0.04491915553808212, 0.06137692928314209, -0.009540601633489132, 0.005723417270928621, -0.000753174361307174, 0.05646979436278343, -0.06613307446241379, -0.01604255475103855, 0.0059546190313994884, 0.009436797350645065, -0.011805432848632336, -0.0019923436921089888, 0.09014029055833817, -0.029631543904542923, -0.02934843860566616, 0.034821782261133194, 0.019439801573753357, -0.10055851191282272, 0.05401622876524925, -0.04718398675322533, 0.01814696192741394, 0.029329566285014153, -0.05092095583677292, 0.0023993055801838636, 0.02849912829697132, 0.068171426653862, -0.021421529352664948, 0.05726248398423195, -0.0498640350997448, 0.02255394496023655, 0.07821217179298401, 0.05518639087677002, -0.026423031464219093, 0.02232746221125126, 0.023478752002120018, -0.0038879604544490576, -0.029405059292912483, -0.048354148864746094, -0.02636641077697277, -0.004567409865558147, 0.07002103328704834, 0.05114744231104851, 0.0256869625300169, 0.015853818506002426, 0.008176985196769238, 0.046731021255254745, -0.04121993109583855, -0.02536611072719097, 0.0299523938447237, -0.023667488247156143, -0.006242441479116678, -0.0019380822777748108, 0.030858326703310013, 0.03065071813762188, -0.0266872625797987, -0.042616575956344604, 0.09081973880529404, 0.006846396252512932, 0.014315620996057987, -0.012626434676349163, -0.06330203264951706, 0.00150045077316463, -0.02355424501001835, 0.07153092324733734, 0.0063556828536093235, -0.01042766124010086, 0.04778794199228287, 0.014957323670387268, -0.0054733422584831715, -0.055299632251262665, 0.0019180290400981903, 0.007181402761489153, 0.004253636114299297, 0.027083607390522957, 0.03204736486077309, 0.00952172838151455, -0.029744785279035568, -0.006308498792350292, -0.009351866319775581, -0.0603955015540123, -0.02659289538860321, -0.04793892800807953, -0.04042723774909973, 0.015759451314806938, -0.0037369716446846724, 0.04393772780895233, 0.030178876593708992, -0.0037133796140551567 ]
54,942
ml_wrappers.dataset.dataset_wrapper
_find_k_hdbscan
Use hdbscan to downsample the examples. We use optimal k to determine how much to downsample the examples. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int
def _find_k_hdbscan(self, max_dim_clustering=Defaults.MAX_DIM): """Use hdbscan to downsample the examples. We use optimal k to determine how much to downsample the examples. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int """ import hdbscan num_rows = self._dataset.shape[0] reduced_examples = self._reduce_examples(max_dim_clustering) hdbs = hdbscan.HDBSCAN(min_cluster_size=2).fit(reduced_examples) clusters = hdbs.labels_ opt_k = len(set(clusters)) clustering_threshold = 5 samples = opt_k * clustering_threshold module_logger.info(('found optimal k for hdbscan: {},' ' will use clustering_threshold * k for sampling: {}').format(str(opt_k), str(samples))) return min(samples, num_rows)
(self, max_dim_clustering=50)
[ 0.04210337623953819, -0.02007085084915161, -0.06157482787966728, 0.008809378370642662, 0.03440198302268982, 0.05699758604168892, 0.012578338384628296, 0.004904190078377724, -0.04097723215818405, -0.02112434431910515, -0.04751615226268768, 0.0007872814312577248, -0.055181216448545456, -0.04540916532278061, 0.03696306049823761, 0.02286805585026741, 0.022940710186958313, 0.005194808356463909, 0.054599981755018234, 0.015548097901046276, -0.01325947605073452, -0.033130526542663574, -0.058523330837488174, 0.02929799258708954, -0.01581147126853466, 0.012124246917665005, -0.0024339312221854925, 0.027172844856977463, 0.043338507413864136, 0.02650078944861889, -0.06807742267847061, -0.003971031401306391, 0.012033428996801376, 0.026609770953655243, -0.043883416801691055, 0.008791214786469936, 0.08115526288747787, 0.027227334678173065, -0.0091681107878685, -0.036254677921533585, -0.025737915188074112, -0.0004864456714130938, -0.01000817958265543, -0.006448101252317429, 0.038216352462768555, 0.05256564915180206, 0.009826543740928173, -0.02310418337583542, -0.014222150668501854, 0.024975040927529335, 0.019671250134706497, -0.04635367542505264, -0.058523330837488174, 0.01201526541262865, -0.07781314849853516, -0.016438117250800133, 0.032567452639341354, -0.03547364100813866, 0.047298185527324677, -0.04817004129290581, -0.01085279043763876, 0.0014599047135561705, 0.07076564431190491, 0.08645904809236526, -0.06982113420963287, 0.010880036279559135, -0.07861234992742538, 0.01916266791522503, -0.015039515681564808, 0.03131416067481041, 0.023303983733057976, 0.0013940613716840744, 0.06117522716522217, 0.04747982323169708, -0.030605778098106384, 0.006793211214244366, 0.0366361141204834, -0.03127783164381981, -0.04649898409843445, -0.00769685348495841, 0.09147222340106964, -0.001094928476959467, 0.04341116175055504, -0.09990016371011734, 0.029570449143648148, -0.020161669701337814, -0.005276544950902462, 0.0423576682806015, 0.05507223680615425, -0.06713291257619858, -0.0007940927753224969, 0.02597404271364212, 0.07312691956758499, 0.061066243797540665, -0.01196985598653555, 0.01493053324520588, -0.05805107578635216, -0.01806376688182354, 0.02001635916531086, -0.07490696012973785, 0.05249299481511116, 0.025810569524765015, 0.08318959176540375, 0.01582963578402996, 0.018154583871364594, -0.07577881217002869, -0.017555182799696922, 0.0008054450736381114, -0.044973235577344894, 0.021233325824141502, -0.04569978266954422, 0.015202988870441914, -0.0005880487151443958, 0.03556445986032486, -0.028135519474744797, -0.025556277483701706, 0.02085188962519169, 0.05859598517417908, 0.016538018360733986, -0.010662072338163853, 0.008577791042625904, -0.03351196274161339, -0.028843902051448822, -0.0051085310988128185, -0.005948600824922323, 0.008169109001755714, 0.03140497952699661, 0.019598595798015594, 0.008005635812878609, 0.026609770953655243, 0.05983111634850502, -0.024321148172020912, -0.051802776753902435, -0.02312234789133072, 0.003646356053650379, -0.02088821679353714, 0.05594409257173538, 0.0072790891863405704, 0.025501787662506104, -0.07109259068965912, 0.02768142707645893, -0.00817819032818079, 0.005689768586307764, 0.024121347814798355, 0.011179736815392971, 0.006189269013702869, 0.04115886613726616, -0.003507857909426093, 0.06716923415660858, -0.0310053788125515, 0.02682773396372795, -0.019326141104102135, 0.02882573753595352, -0.055471837520599365, -0.01606576330959797, 0.018390711396932602, -0.00082077068509534, -0.051512155681848526, -0.0366179496049881, -0.06310057640075684, 0.046644292771816254, -0.045045893639326096, -0.017319055274128914, -0.01158841885626316, -0.017936620861291885, 0.015929535031318665, 0.005380986258387566, 0.039705775678157806, -0.037707772105932236, 0.022958874702453613, -0.026991207152605057, -0.0038620494306087494, -0.08348020911216736, 0.005312872119247913, -0.048351678997278214, 0.04969578981399536, -0.01725548319518566, -0.030387813225388527, 0.022522946819663048, 0.002965218387544155, 0.024611767381429672, -0.01552993431687355, 0.01540278922766447, -0.04915088042616844, 0.006706933490931988, -0.019671250134706497, 0.036672443151474, 0.019653087481856346, 0.012233229354023933, 0.00204681814648211, 0.010098998434841633, -0.07189179211854935, -0.001951458863914013, 0.03449280187487602, -0.04083191975951195, -0.01099810004234314, 0.013849795795977116, 0.0676414892077446, 0.013486522249877453, 0.04689858481287956, -0.005726095754653215, 0.02090637944638729, -0.03151395916938782, -0.05699758604168892, 0.04747982323169708, -0.03857962787151337, -0.002026383997872472, -0.0018209075788035989, 0.020979033783078194, 0.013077839277684689, -0.0537281259894371, -0.03799838945269585, -0.00725638447329402, 0.014122250489890575, 0.06161115691065788, -0.005639818497002125, 0.01173372846096754, -0.02564709633588791, 0.010362371802330017, -0.03042414039373398, -0.045845095068216324, 0.005408231634646654, -0.000395627343095839, 0.024466458708047867, -0.029134521260857582, -0.05805107578635216, 0.05837802216410637, -0.05681594833731651, 0.03358461707830429, -0.05049499124288559, 0.01606576330959797, -0.032621946185827255, 0.04973211884498596, -0.022759074345231056, -0.02314051054418087, 0.014485524035990238, -0.016438117250800133, -0.025792405009269714, 0.04326585307717323, -0.03051495924592018, -0.006511674262583256, -0.048969242721796036, -0.0038847541436553, -0.034892402589321136, -0.06186544522643089, 0.030278831720352173, -0.012796302326023579, -0.0011602041777223349, 0.027608772739768028, 0.02112434431910515, -0.02791755460202694, -0.11421313136816025, 0.001300972537137568, -0.03901555389165878, 0.013232231140136719, -0.03985108435153961, -0.015094006434082985, 0.037671443074941635, 0.018853886052966118, 0.02426665835082531, -0.004817912355065346, 0.019671250134706497, -0.05183910205960274, 0.05903191491961479, -0.04620836675167084, 0.06382711976766586, 0.0070656659081578255, 0.015702489763498306, 0.0007083829841576517, -0.03523751348257065, 0.06153850257396698, 0.08231773227453232, -0.03690857067704201, -0.041376832872629166, -0.05794209614396095, 0.0025974041782319546, 0.009917361661791801, -0.03509220480918884, 0.005435477010905743, 0.007823999039828777, 0.03280358016490936, -0.05162113904953003, -0.01070748083293438, 0.0105803357437253, 0.022068854421377182, 0.03590956702828407, -0.04315686970949173, -0.05503590777516365, 0.023013364523649216, 0.012587420642375946, -0.022722747176885605, -0.05594409257173538, 0.017564265057444572, 0.006888570263981819, 0.016801390796899796, 0.06044868007302284, 0.01243302971124649, -0.06288260966539383, -0.03322134539484978, 0.04540916532278061, -0.009554088115692139, -0.060811955481767654, -0.012314965948462486, 0.06745985895395279, 0.024720748886466026, 0.029715757817029953, 0.05394608899950981, -0.0183453019708395, 0.004220781847834587, 0.0002024964924203232, -0.04606305807828903, -0.022686418145895004, 0.09990016371011734, -0.01998003199696541, -0.07730456441640854, -0.07210975140333176, 0.07225506752729416, 0.011906282976269722, -0.019961869344115257, 0.02908002957701683, -0.015103088691830635, 0.021360471844673157, -0.045845095068216324, -0.023558275774121284, 0.045881420373916626, -0.0074062347412109375, 0.04424669221043587, -0.007111075334250927, 0.009508679620921612, -0.0452275276184082, -0.009222601540386677, -0.04886026307940483, 0.03024250455200672, 0.026046697050333023, -0.013105085119605064, 0.004300247877836227, 0.05903191491961479, -0.009372451342642307, -0.021215161308646202, 0.0050358762964606285, 0.03507404029369354, 0.01661067269742489, -0.0010665478184819221, 0.014630832709372044, 0.005131235811859369, 0.012487520463764668, 0.0035578079987317324, -0.022068854421377182, -0.049223534762859344, 0.004990467336028814, 0.0450822189450264, -0.018000192940235138, -0.0035282920580357313, 0.07200077176094055, 0.06509857624769211, 0.025047695264220238, 0.020397797226905823, 0.005962223280221224, -0.014639914967119694, -0.0023294901475310326, 0.020797397941350937, 0.04072294011712074, -0.0423576682806015, 0.01998003199696541, -0.00013679510448127985, 0.026973044499754906, -0.09060036391019821, 0.017092010006308556, 0.0338752381503582, 0.005017712712287903, -0.03828900679945946, -0.029752084985375404, 0.015911372378468513, 0.06854967772960663, 0.06658799946308136, -0.010071752592921257, -0.10941792279481888, 0.028625937178730965, -0.013477439992129803, 0.07305426150560379, -0.026119351387023926, 0.010816463269293308, -0.005576245486736298, -0.013768059201538563, -0.029842903837561607, -0.012106083333492279, -0.058523330837488174, -0.0452275276184082, 0.04548181965947151, -0.016828637570142746, 0.022704582661390305, 0.037090204656124115, 0.010353289544582367, 0.0021467183250933886, 0.0051039899699389935, 0.04155846685171127, 0.0043343049474060535, -0.006062123458832502, -0.03018801286816597, 0.008868410252034664, -0.036835916340351105, -0.019071849063038826, -0.04744349420070648, 0.02059759758412838, 0.015865962952375412, 0.007006634026765823, 0.043047890067100525, -0.010207979939877987, -0.02059759758412838, 0.0044455574825406075, -0.07476165145635605, -0.04617203772068024, 0.008305336348712444, 0.035691604018211365, -0.018517857417464256, -0.020197996869683266, 0.015148497186601162, 0.05481794476509094, -0.01606576330959797, -0.005594409070909023, 0.011942610144615173, -0.048388008028268814, 0.04421036317944527, -0.03405687212944031, 0.006302792113274336, 0.017400791868567467, -0.06237402930855751, -0.034874238073825836, -0.009899198077619076, -0.06818640232086182, -0.0592862069606781, 0.034819748252630234, -0.03641815111041069, 0.012460274621844292, -0.0734175369143486, 0.03320318087935448, -0.013105085119605064, 0.056271038949489594, -0.0008264468051493168, -0.0621560662984848, 0.020216159522533417, -0.04065028578042984, 0.017028436064720154, 0.030079031363129616, 0.022686418145895004, -0.02987923100590706, 0.021959872916340828, 0.032876234501600266, -0.0016472174320369959, -0.018563266843557358, 0.020815560594201088, -0.09096363931894302, -0.009381533600389957, 0.029788412153720856, -0.0036440854892134666, -0.035455476492643356, -0.022995201870799065, 0.04010537639260292, 0.026464462280273438, 0.024466458708047867, 0.040250685065984726, 0.023067856207489967, -0.013595503754913807, 0.038833919912576675, 0.005508131813257933, 0.04711655154824257, -0.007451644167304039, -0.01028971653431654, 0.015657080337405205, -0.04326585307717323, -0.005739718675613403, 0.02314051054418087, -0.02112434431910515, 0.0006913545657880604, 0.015520852990448475, -0.037671443074941635, 0.009726643562316895, 0.02457544021308422, -0.00801925826817751, 0.004822453483939171, 0.03187723457813263, 0.01215149275958538, 0.005203890148550272, -0.024920549243688583, -0.02001635916531086, -0.05256564915180206, -0.025756077840924263, -0.017891211435198784, -0.04635367542505264, -0.059685807675123215, 0.011361373588442802, 0.014912369661033154, 0.023358475416898727, -0.020434124395251274, 0.02929799258708954, -0.024702586233615875, 0.03649080544710159, 0.03605487570166588, 0.05452732741832733, 0.03169559687376022, -0.01979839615523815, 0.009390614926815033, -0.04464629292488098, -0.03187723457813263, -0.033112362027168274, 0.007814917713403702, 0.00621197372674942, 0.013114167377352715, 0.017046600580215454, 0.028553282842040062, -0.000683407939504832, 0.0001604930148459971, 0.029406975954771042, 0.05895926058292389, 0.006162023637443781, -0.035437311977148056, -0.014276641421020031, 0.011706482619047165, 0.014403787441551685, 0.031786415725946426, -0.013976940885186195, 0.07258200645446777, -0.0127145666629076, -0.011424945667386055, 0.019108176231384277, -0.01750069297850132, 0.03923352062702179, -0.007369907572865486, 0.008182731457054615, 0.03745348006486893, -0.040759265422821045, 0.009980934672057629, 0.034583620727062225, 0.05002273619174957, -0.0041640205308794975, 0.017564265057444572, -0.04639000445604324, -0.00493597611784935, 0.010044507682323456, -0.04126784950494766, -0.021923545747995377, -0.04282992333173752, 0.020688416436314583, -0.02991555817425251, 0.022958874702453613, 0.06542552262544632, -0.009935525245964527, 0.03336665406823158, -0.009131782688200474, -0.024902386590838432, 0.052638303488492966, 0.022522946819663048, 0.042430322617292404, -0.051185209304094315, 0.015103088691830635, 0.044464655220508575, -0.027299990877509117, -0.004654439631849527, 0.03930617496371269, -0.007519757840782404, -0.012314965948462486, -0.018763067200779915, 0.06604308634996414, -0.006084828171879053, 0.040468648076057434, -0.055217545479536057, -0.012460274621844292, -0.023794403299689293, -0.05499958246946335, 0.008400695398449898, -0.08275366574525833, -0.007651444524526596, 0.0112705547362566, 0.02510218694806099, -0.050349682569503784, 0.03438381850719452, 0.022468455135822296, -0.027536118403077126, -0.01754610240459442, -0.07141953706741333, 0.0026995749212801456, 0.004722553305327892, 0.07359917461872101, 0.03839799016714096, -0.01835438422858715, 0.06088460981845856, -0.013749895617365837, -0.02059759758412838, -0.08711294084787369, 0.0394514836370945, 0.025156676769256592, 0.011143408715724945, -0.04762513190507889, -0.015702489763498306, -0.0007986336713656783, -0.0057306368835270405, -0.028135519474744797, -0.021959872916340828, 0.07127422839403152, -0.025501787662506104, -0.008718559518456459, 0.0021365012507885695, -0.012750893831253052, 0.045118547976017, 0.03046046756207943, 0.06749618053436279, 0.005076744593679905, -0.06520756334066391, -0.014458278194069862, -0.02991555817425251, -0.05529019981622696, 0.052674632519483566, -0.0112705547362566, -0.03923352062702179, -0.04678960517048836, 0.030060866847634315, 0.03647264093160629, -0.04094090312719345, 0.014948696829378605, -0.009663070552051067, 0.02341296523809433, 0.073344886302948, 0.07120157033205032, 0.026591606438159943, -0.007628739811480045, -0.009717561304569244, -0.04860597103834152, 0.03589140251278877, -0.004291166085749865, 0.06702392548322678, 0.018000192940235138, -0.007374448236078024, 0.027608772739768028, -0.005362822208553553, -0.003380712354555726, -0.010734726674854755, 0.05409139767289162, 0.011334127746522427, -0.025828734040260315, 0.029752084985375404, -0.00031644513364881277, 0.07138320803642273, 0.03719918802380562, 0.007910276763141155, 0.014340214431285858, -0.0791209265589714, 0.05863231420516968, 0.05790576711297035, -0.030642105266451836, 0.011533928103744984, -0.03476525843143463, -0.011479437351226807, 0.010553089901804924, -0.034020546823740005, -0.05212972313165665, -0.061974428594112396, 0.03618202358484268, 0.05390975996851921, -0.040795594453811646, -0.06862232834100723, -0.025338314473628998, 0.037162862718105316, -0.02346745692193508, -0.041049886494874954, -0.029170848429203033, 0.057687804102897644, 0.03703571483492851, -0.028843902051448822, -0.05677961930632591, -0.0007271142676472664, 0.0014792035799473524, -0.01890837587416172, -0.02481156773865223, -0.009808380156755447, -0.04987742751836777, -0.0423576682806015, -0.029261665418744087, -0.008414318785071373, 0.00009223736560670659, -0.03865228220820427, 0.04827902466058731, 0.02570158801972866, -0.032294999808073044, 0.031441304832696915, 0.027227334678173065, 0.03897922858595848, -0.037162862718105316, -0.03503771126270294, 0.02484789490699768, -0.01493053324520588, -0.024884222075343132, -0.010117162019014359, 0.01776406541466713, 0.013422949239611626, -0.026973044499754906, 0.019925542175769806, -0.023830730468034744, 0.02286805585026741, 0.02030697837471962, -0.043338507413864136, 0.03919719159603119, 0.04395607113838196, -0.013377539813518524, 0.030914559960365295, -0.05605307221412659, 0.03194988891482353, -0.03552813082933426, 0.0009320231038145721, -0.008328041061758995, -0.02034330554306507, 0.03491056710481644, 0.03236765414476395, -0.05332852527499199, -0.021632926538586617, -0.03363911062479019, 0.015938617289066315, -0.010462271980941296, -0.028680428862571716, -0.043374836444854736, 0.022486617788672447, 0.006098451092839241, -0.028843902051448822, 0.0621560662984848, 0.0054445588029921055, -0.09394247829914093, 0.0366361141204834, 0.03996006399393082, 0.003782583400607109, 0.04569978266954422, -0.005380986258387566, 0.01581147126853466, -0.0034056873992085457, -0.01498502492904663, 0.048642296344041824, 0.03814369812607765, 0.008032881654798985, 0.05754249542951584, -0.05529019981622696, 0.08268100768327713, 0.021360471844673157, 0.02797204628586769, 0.03594589605927467, -0.04377443715929985, -0.011806382797658443, 0.008450645953416824, 0.032876234501600266, -0.02008901536464691, 0.02455727569758892, 0.04003271833062172, 0.001147716655395925, 0.011034427210688591, -0.034565456211566925, 0.06357283145189285, 0.03759878873825073, -0.0148306330665946, 0.04460996389389038, -0.015493607148528099, -0.05663431063294411, 0.034819748252630234, 0.01550268940627575, 0.03554629534482956, -0.028680428862571716, -0.045009564608335495, -0.028662264347076416, -0.01423123199492693, -0.001504178624600172, 0.012078838422894478, -0.03133232519030571 ]
54,943
ml_wrappers.dataset.dataset_wrapper
_find_k_kmeans
Use k-means to downsample the examples. Starting from k_upper_bound, cuts k in half each time and run k-means clustering on the examples. After each run, computes the silhouette score and stores k with highest silhouette score. We use optimal k to determine how much to downsample the examples. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int
def _find_k_kmeans(self, max_dim_clustering=Defaults.MAX_DIM): """Use k-means to downsample the examples. Starting from k_upper_bound, cuts k in half each time and run k-means clustering on the examples. After each run, computes the silhouette score and stores k with highest silhouette score. We use optimal k to determine how much to downsample the examples. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int """ from math import ceil, isnan, log from sklearn.cluster import KMeans from sklearn.metrics import silhouette_score reduced_examples = self._reduce_examples(max_dim_clustering) num_rows = self._dataset.shape[0] k_upper_bound = 2000 k_list = [] k = min(num_rows / 2, k_upper_bound) for _ in range(int(ceil(log(num_rows, 2) - 7))): k_list.append(int(k)) k /= 2 prev_highest_score = -1 prev_highest_index = 0 opt_k = int(k) for k_index, k in enumerate(k_list): module_logger.info('running KMeans with k: {}'.format(str(k))) km = KMeans(n_clusters=k).fit(reduced_examples) clusters = km.labels_ num_clusters = len(set(clusters)) k_too_big = num_clusters <= 1 if k_too_big or num_clusters == reduced_examples.shape[0]: score = -1 else: score = silhouette_score(reduced_examples, clusters) if isnan(score): score = -1 module_logger.info('KMeans silhouette score: {}'.format(str(score))) # Find k with highest silhouette score for optimal clustering if score >= prev_highest_score and not k_too_big: prev_highest_score = score prev_highest_index = k_index opt_k = k_list[prev_highest_index] module_logger.info('best silhouette score: {}'.format(str(prev_highest_score))) module_logger.info('optimal k for KMeans: {}'.format(str(opt_k))) return opt_k
(self, max_dim_clustering=50)
[ 0.030134569853544235, -0.03697818145155907, -0.0272988211363554, 0.015691149979829788, 0.03847167640924454, 0.003211486851796508, 0.007325687445700169, 0.040607940405607224, 0.0014757715398445725, 0.033783234655857086, -0.051421601325273514, 0.017884129658341408, -0.02941618114709854, -0.04911519214510918, 0.02865998074412346, 0.03049376606941223, 0.003714832477271557, 0.036221981048583984, 0.041780050843954086, 0.013602147810161114, 0.010473370552062988, -0.017194097861647606, -0.05939951166510582, -0.0023985719308257103, -0.005014551337808371, 0.03355637565255165, 0.01448123063892126, -0.02058754488825798, 0.02323424443602562, -0.0002639315207488835, -0.04801870137453079, -0.0007372950203716755, 0.011569860391318798, 0.04291434958577156, 0.0034336205571889877, -0.048737090080976486, 0.060911912471055984, 0.08582869917154312, -0.004440311808139086, -0.02671276591718197, -0.01892390474677086, -0.02162731997668743, -0.017411505803465843, -0.0002781102666631341, 0.00032049883157014847, 0.06382328271865845, 0.013063355349004269, 0.04079699143767357, -0.021778561174869537, -0.020322876051068306, -0.010870374739170074, -0.040078599005937576, -0.015728959813714027, 0.026656050235033035, -0.056639380753040314, -0.013337478041648865, 0.029435085132718086, -0.0326867438852787, -0.007212257478386164, -0.012477300129830837, 0.013781744986772537, -0.002263873815536499, 0.07592248171567917, 0.06427700072526932, -0.07410760223865509, 0.008497797884047031, -0.09581054002046585, 0.061743732541799545, -0.010993258096277714, 0.06268898397684097, 0.03272455558180809, -0.013743935152888298, 0.0473003089427948, 0.051837511360645294, -0.010161438025534153, 0.0455610491335392, 0.01519962027668953, -0.028981365263462067, -0.013517075218260288, -0.001853871624916792, 0.015530457720160484, 0.01432999037206173, 0.009981839917600155, -0.08847539871931076, -0.007760502398014069, -0.02100345492362976, -0.011532050557434559, 0.020039299502968788, 0.04677097126841545, -0.047980889678001404, -0.0122598921880126, 0.08650927990674973, 0.06439042836427689, 0.05406830087304115, -0.0025096386671066284, 0.029151510447263718, -0.06072286143898964, -0.05195093899965286, 0.014509587548673153, -0.09051714092493057, 0.05191313102841377, 0.03168477863073349, 0.1252267211675644, 0.00897042267024517, 0.021022360771894455, -0.0678311437368393, -0.03416133671998978, 0.01540757529437542, -0.04945547878742218, 0.042725302278995514, -0.07452350854873657, -0.005326483864337206, -0.049644529819488525, 0.01140916720032692, -0.05626128241419792, -0.044426750391721725, 0.025748610496520996, 0.043973032385110855, -0.018460731953382492, -0.01679709181189537, 0.0017558018444105983, -0.013772292993962765, -0.02024725452065468, -0.04480484873056412, -0.043103400617837906, -0.0006155940936878324, 0.025408320128917694, 0.02389592118561268, -0.013715577311813831, 0.017988108098506927, 0.023801395669579506, -0.010189794935286045, -0.021778561174869537, -0.000007615539743710542, 0.013167332857847214, -0.018630877137184143, 0.011777815409004688, 0.038301531225442886, 0.055353838950395584, -0.006697096396237612, 0.04298996925354004, -0.037923429161310196, -0.0069901240058243275, 0.017988108098506927, 0.019188575446605682, -0.009305986575782299, 0.02389592118561268, -0.030928580090403557, 0.04518295079469681, -0.03677022457122803, 0.005524986423552036, 0.030834054574370384, 0.0528583824634552, -0.03939802199602127, -0.007524190004914999, 0.005189422518014908, 0.018876641988754272, -0.05168627202510834, -0.0389443002641201, -0.06208401918411255, -0.01476480532437563, -0.046997830271720886, 0.04204472154378891, -0.005340662784874439, -0.03697818145155907, 0.03525782376527786, -0.012137009762227535, 0.03996517136693001, -0.030871866270899773, 0.00676326360553503, -0.04896394908428192, 0.03028581105172634, -0.06813362240791321, 0.005019277334213257, -0.011777815409004688, 0.053954869508743286, -0.0002804734103847295, -0.05168627202510834, 0.02973756566643715, -0.004277256317436695, -0.055769748985767365, -0.027733635157346725, -0.03310265392065048, -0.05040073022246361, -0.02535160444676876, 0.0021279940847307444, 0.06544911116361618, -0.013346930034458637, -0.012524562887847424, -0.006621476262807846, 0.004657719284296036, -0.0219108946621418, -0.016910523176193237, 0.06809581071138382, 0.004905847366899252, 0.017373695969581604, 0.007968457415699959, 0.011012163013219833, 0.01309171225875616, 0.010520632378757, 0.004872763995081186, 0.034066811203956604, 0.00749583262950182, -0.029680849984288216, 0.043179020285606384, 0.0014001515228301287, -0.03351856395602226, 0.04030546173453331, -0.007774681318551302, 0.035352349281311035, -0.04888832941651344, -0.05255590006709099, 0.03671351075172424, 0.07293549180030823, 0.07796422392129898, -0.031949449330568314, 0.05989104136824608, -0.02194870449602604, -0.01937762461602688, 0.003017710754647851, -0.06888981908559799, -0.03718613460659981, 0.0038660725113004446, 0.07376731187105179, -0.002722320146858692, -0.011673837900161743, 0.05542946234345436, -0.05539165064692497, 0.026750575751066208, -0.03697818145155907, 0.017137382179498672, -0.06034475937485695, 0.00925399735569954, -0.01004800759255886, -0.037885621190071106, -0.0021291757002472878, 0.0001766435889294371, -0.034766294062137604, 0.006791621446609497, -0.02107907459139824, -0.02489788457751274, -0.0406835600733757, 0.012193725444376469, -0.0019661199767142534, -0.03673241659998894, 0.012193725444376469, 0.010151985101401806, 0.009192556142807007, 0.036014024168252945, 0.02145717479288578, 0.004657719284296036, -0.056601569056510925, 0.010151985101401806, -0.01773289032280445, 0.027601299807429314, -0.0772080197930336, 0.008105519227683544, 0.045750100165605545, 0.01871594972908497, 0.017373695969581604, -0.029510704800486565, -0.013082260265946388, -0.03149573132395744, 0.04344369098544121, -0.05758463218808174, 0.02535160444676876, 0.004485211335122585, 0.04253625124692917, 0.003705380018800497, -0.04019203037023544, 0.08295514434576035, 0.07596029341220856, -0.026996340602636337, -0.03540906682610512, -0.03996517136693001, 0.04559886083006859, -0.00417327880859375, -0.03060719557106495, -0.016721472144126892, 0.042082529515028, 0.04461580142378807, -0.023877015337347984, -0.024708835408091545, 0.009126388467848301, 0.005189422518014908, 0.01718464493751526, -0.033329516649246216, -0.08567745983600616, 0.01427327562123537, 0.01259073056280613, -0.0389443002641201, -0.026693860068917274, 0.01536976546049118, -0.037261754274368286, -0.019528865814208984, 0.044918280094861984, -0.024860074743628502, -0.03380214050412178, -0.022875050082802773, -0.0025639906525611877, -0.008932612836360931, -0.05259371176362038, 0.016891617327928543, 0.023139720782637596, 0.0657137781381607, 0.020927835255861282, 0.04775403067469597, -0.034690674394369125, 0.02368796616792679, 0.012061390094459057, -0.013318573124706745, -0.02920822612941265, 0.07970348000526428, -0.02837640605866909, -0.055731941014528275, -0.032119594514369965, 0.09467624127864838, -0.01246784720569849, 0.01599363051354885, 0.06393671035766602, -0.028508739545941353, -0.008356010541319847, -0.0245197843760252, 0.013932985253632069, 0.07013755291700363, -0.026107804849743843, 0.037469711154699326, -0.0071413638070225716, -0.006782168988138437, 0.003703017020598054, -0.02344219945371151, -0.06484415382146835, -0.006664012558758259, 0.044880472123622894, -0.012647445313632488, 0.008672668598592281, 0.027828160673379898, -0.04741374030709267, 0.007977910339832306, -0.011872339993715286, 0.005075992550700903, -0.020984550938010216, -0.03174149617552757, 0.028281880542635918, 0.01325240544974804, 0.03179820999503136, 0.052291229367256165, -0.026996340602636337, -0.028943555429577827, 0.05100569128990173, 0.04956891015172005, 0.010350487194955349, -0.00727842515334487, 0.0796278640627861, 0.06461729109287262, 0.044010840356349945, 0.008530881255865097, -0.04121290147304535, -0.0008932612836360931, -0.034823011606931686, 0.004076390527188778, -0.01180617231875658, 0.026561524718999863, 0.01721300184726715, 0.013120070099830627, -0.0037266481667757034, -0.07285986840724945, -0.020606450736522675, 0.06038257107138634, -0.026032185181975365, -0.054408591240644455, -0.05584537237882614, -0.01899007335305214, 0.016872713342308998, 0.06106315180659294, -0.03977612033486366, -0.1130518987774849, 0.01004800759255886, 0.01727917045354843, 0.07626277208328247, -0.006890872493386269, 0.008261485025286674, 0.0027884875889867544, 0.006002337671816349, -0.029813185334205627, -0.03351856395602226, 0.000010237131391477305, -0.060117900371551514, 0.04106166213750839, -0.03763985633850098, 0.02232680469751358, 0.002042921492829919, 0.043179020285606384, 0.011399715207517147, -0.008105519227683544, 0.05085445195436478, -0.0042914352379739285, -0.02128702960908413, -0.059626370668411255, 0.002230789978057146, -0.03242207691073418, -0.016390634700655937, -0.03342404216527939, 0.03414243087172508, -0.020700974389910698, -0.00013026726082898676, -0.0109554473310709, -0.011380810290575027, 0.0008377277990803123, 0.045258570462465286, -0.04261187091469765, -0.012184272520244122, 0.04858585074543953, -0.013450907543301582, 0.01623939536511898, 0.019434340298175812, -0.004868037533015013, 0.04223376885056496, 0.02302628941833973, 0.00841745175421238, 0.02692072093486786, -0.08575308322906494, 0.04643068090081215, -0.011919602751731873, 0.013053902424871922, -0.04805650934576988, -0.03629760071635246, -0.07592248171567917, -0.0354657806456089, -0.07452350854873657, -0.04926643148064613, 0.038547296077013016, -0.061327822506427765, 0.010218152776360512, -0.013734482228755951, 0.049644529819488525, -0.03487972542643547, 0.027601299807429314, -0.0023501277901232243, -0.06079848110675812, 0.024160590022802353, -0.017865225672721863, 0.0008731746929697692, -0.005846371408551931, 0.04639286920428276, -0.0034407100174576044, -0.033858854323625565, 0.03631650656461716, 0.031249964609742165, -0.028433119878172874, 0.040532320737838745, -0.06197059154510498, 0.010454464703798294, 0.01867813989520073, -0.01968010514974594, 0.0024127506185323, -0.029964424669742584, 0.010756945237517357, 0.03917115926742554, 0.0493798591196537, 0.028149545192718506, 0.013989700004458427, -0.0618949718773365, 0.010454464703798294, 0.021986516192555428, 0.01871594972908497, 0.014660827815532684, -0.0026136161759495735, 0.042347200214862823, -0.05637471005320549, 0.059550751000642776, -0.009717170149087906, 0.041855670511722565, -0.0037620950024574995, 0.000747338286601007, 0.009660455398261547, -0.02510583959519863, 0.008081887848675251, 0.011097234673798084, 0.021797465160489082, -0.019112955778837204, -0.02597546949982643, 0.03429367020726204, -0.004539563320577145, -0.03348075598478317, -0.054900120943784714, -0.028433119878172874, -0.020719880238175392, 0.017751794308423996, -0.055656321346759796, 0.010076365433633327, 0.031457919627428055, 0.042347200214862823, 0.023877015337347984, 0.012184272520244122, 0.009116936475038528, 0.03981393203139305, 0.035352349281311035, 0.045750100165605545, 0.010246509686112404, -0.007717966567724943, 0.06352080404758453, -0.025937659665942192, -0.06318051367998123, 0.004352876450866461, 0.036146361380815506, -0.017780153080821037, -0.005028730258345604, -0.026826195418834686, 0.029926614835858345, 0.008006267249584198, -0.0375642366707325, 0.054862309247255325, 0.031249964609742165, 0.040532320737838745, 0.009107483550906181, -0.04540980979800224, 0.040040791034698486, 0.02087111957371235, -0.010832564905285835, -0.012118104845285416, 0.02204323001205921, -0.018092084676027298, 0.005444640293717384, 0.007670703809708357, 0.009022410959005356, 0.03251659870147705, -0.005657321307808161, -0.005874728783965111, 0.0507788322865963, -0.05293400213122368, 0.0022615105845034122, 0.012392227537930012, 0.02998333051800728, 0.007760502398014069, -0.0015313050244003534, -0.053123049437999725, -0.014036962762475014, 0.03550358861684799, -0.006838883738964796, -0.024349641054868698, -0.05539165064692497, 0.034823011606931686, -0.05713091045618057, -0.003202034393325448, 0.0525180920958519, -0.028697790578007698, 0.0476405993103981, -0.04325463995337486, -0.02932165563106537, 0.07796422392129898, 0.043103400617837906, 0.02382029965519905, -0.012430037371814251, 0.05936169996857643, -0.0011384354438632727, -0.047943081706762314, -0.03809357434511185, 0.020360685884952545, -0.0013280762359499931, -0.003490335773676634, 0.007160268723964691, 0.0800059586763382, -0.057811491191387177, 0.008719931356608868, -0.023139720782637596, -0.04389740899205208, 0.003204397624358535, -0.07694335281848907, -0.0490395687520504, -0.059134840965270996, 0.02162731997668743, 0.014452872797846794, 0.027828160673379898, -0.06272678822278976, 0.0963398814201355, 0.04215814918279648, -0.04072137176990509, -0.034274764358997345, -0.04609039053320885, -0.013658862560987473, -0.016390634700655937, 0.08953408151865005, -0.02406606450676918, -0.024084970355033875, 0.034823011606931686, -0.036146361380815506, -0.03370761498808861, -0.058076161891222, 0.07335139811038971, 0.01238277554512024, -0.011021615006029606, -0.024160590022802353, -0.04692221060395241, -0.025483939796686172, 0.008748289197683334, -0.0019377624848857522, -0.023385485634207726, 0.08643366396427155, 0.01536976546049118, -0.03060719557106495, 0.0044757588766515255, -0.013138975016772747, 0.045750100165605545, 0.04684659093618393, 0.04718688130378723, -0.040607940405607224, -0.06416357308626175, -0.0025474487338215113, -0.010454464703798294, -0.0528583824634552, 0.0525180920958519, 0.031911641359329224, -0.00902713742107153, 0.013242952525615692, 0.04994701221585274, 0.03102310560643673, -0.06314270198345184, 0.04189348220825195, -0.01621103845536709, 0.013309120200574398, 0.029586324468255043, 0.06786894798278809, 0.006923956330865622, -0.02900027111172676, -0.06669683754444122, -0.038585104048252106, -0.02493569441139698, -0.0307773407548666, 0.008252033032476902, -0.01814880035817623, -0.01950995996594429, 0.04302778095006943, -0.0227805245667696, 0.019699010998010635, 0.017619460821151733, 0.05149722099304199, -0.007287877611815929, -0.0459013395011425, 0.011239022947847843, 0.027809254825115204, 0.022232281044125557, 0.016258299350738525, 0.011588765308260918, -0.030890770256519318, -0.0806865394115448, 0.05338772013783455, 0.06945697218179703, 0.016437897458672523, 0.040607940405607224, -0.06877639144659042, -0.002490733750164509, -0.012864852324128151, -0.03321608528494835, -0.03760204464197159, -0.023177530616521835, -0.005184696521610022, 0.020152730867266655, -0.00987786240875721, -0.084165059030056, -0.04423769935965538, 0.035106584429740906, -0.03917115926742554, -0.0337265208363533, 0.026277950033545494, 0.02932165563106537, -0.003124051261693239, -0.006612023804336786, -0.009055495262145996, 0.016532422974705696, 0.010397749952971935, 0.038585104048252106, -0.019699010998010635, 0.0007751050288788974, -0.03073953092098236, -0.00987786240875721, -0.033083751797676086, -0.007628167513757944, -0.05123255029320717, -0.014462324790656567, 0.027393344789743423, 0.04892614111304283, -0.04752717167139053, 0.0542573519051075, 0.0028688337188214064, 0.03901991993188858, -0.022232281044125557, -0.05338772013783455, -0.017903035506606102, -0.02344219945371151, -0.028395310044288635, -0.023536724969744682, 0.003197308164089918, 0.02941618114709854, -0.027147579938173294, 0.0038755249697715044, -0.033688709139823914, 0.007335139904171228, 0.013129523023962975, 0.0004927115514874458, 0.052291229367256165, 0.0193020049482584, -0.03818809986114502, 0.021154696121811867, -0.047489359974861145, 0.005179970059543848, -0.06749085336923599, 0.0193020049482584, -0.0003098647575825453, 0.01606925018131733, 0.0382637195289135, 0.018697045743465424, 0.010945995338261127, -0.022478045895695686, -0.03977612033486366, 0.02900027111172676, -0.023498915135860443, -0.06068504974246025, 0.00724061531946063, 0.017515482380986214, 0.018441827967762947, -0.017988108098506927, 0.043973032385110855, 0.012864852324128151, -0.08159398287534714, -0.009849505499005318, 0.041439760476350784, -0.0011165766045451164, 0.043103400617837906, -0.017411505803465843, 0.004938931204378605, -0.012836495414376259, -0.00989676732569933, 0.047905270010232925, 0.027431154623627663, -0.013337478041648865, 0.045296382158994675, -0.010161438025534153, 0.012307154946029186, 0.019188575446605682, -0.007287877611815929, -0.004187457729130983, -0.058303020894527435, 0.0020724607165902853, 0.023877015337347984, -0.007354045286774635, 0.02357453480362892, 0.026693860068917274, 0.06567597389221191, -0.007547821383923292, 0.027771444991230965, -0.04692221060395241, 0.010010197758674622, 0.05716872215270996, 0.015095642767846584, 0.03297032043337822, 0.01300664059817791, -0.04159099981188774, 0.04518295079469681, -0.021891990676522255, 0.03818809986114502, -0.050967879593372345, -0.003773910691961646, 0.00810079276561737, -0.002015745732933283, 0.022440236061811447, 0.017222454771399498, 0.0010870374972000718 ]
54,944
ml_wrappers.dataset.dataset_wrapper
_reduce_examples
Reduces the dimensionality of the examples if dimensionality is higher than max_dim_clustering. If the dataset is sparse, we mean-scale the data and then run truncated SVD to reduce the number of features to max_dim_clustering. For dense dataset, we also scale the data and then run PCA to reduce the number of features to max_dim_clustering. This is used to get better clustering results in _find_k. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int
def _reduce_examples(self, max_dim_clustering=Defaults.MAX_DIM): """Reduces the dimensionality of the examples if dimensionality is higher than max_dim_clustering. If the dataset is sparse, we mean-scale the data and then run truncated SVD to reduce the number of features to max_dim_clustering. For dense dataset, we also scale the data and then run PCA to reduce the number of features to max_dim_clustering. This is used to get better clustering results in _find_k. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int """ from sklearn.decomposition import PCA, TruncatedSVD from sklearn.preprocessing import StandardScaler num_cols = self._dataset.shape[1] # Run PCA or SVD on input data and reduce to about MAX_DIM features prior to clustering components = min(max_dim_clustering, num_cols) reduced_examples = self._dataset if components != num_cols: if issparse(self._dataset): module_logger.debug('Reducing sparse data with StandardScaler and TruncatedSVD') normalized_examples = StandardScaler(with_mean=False).fit_transform(self._dataset) reducer = TruncatedSVD(n_components=components) else: module_logger.debug('Reducing normal data with StandardScaler and PCA') normalized_examples = StandardScaler().fit_transform(self._dataset) reducer = PCA(n_components=components) module_logger.info('reducing dimensionality to {0} components for clustering'.format(str(components))) reduced_examples = reducer.fit_transform(normalized_examples) return reduced_examples
(self, max_dim_clustering=50)
[ 0.02800614759325981, 0.0022950517013669014, 0.008295703679323196, 0.010139193385839462, 0.035473212599754333, 0.018239375203847885, 0.030780691653490067, -0.0024952285457402468, 0.06368418782949448, 0.02996136248111725, -0.034951820969581604, -0.0011725479271262884, -0.012140962295234203, -0.021823938935995102, 0.05999721214175224, 0.03403938561677933, -0.011470602825284004, -0.007001536898314953, 0.07500582188367844, 0.047334857285022736, -0.018369723111391068, -0.023034311830997467, -0.06845119595527649, -0.04096643999218941, 0.01001815591007471, 0.04226991534233093, 0.024356409907341003, -0.03869466483592987, 0.027652345597743988, -0.013211676850914955, -0.06312555819749832, 0.04934593662619591, -0.03709324821829796, 0.04431823641061783, 0.01115404348820448, -0.020799778401851654, 0.018518691882491112, 0.04793073236942291, 0.040109869092702866, 0.0076672411523759365, -0.019533542916178703, -0.02107909508049488, -0.04286579042673111, -0.02284809947013855, 0.018146270886063576, 0.0528094619512558, 0.006373074371367693, 0.06014617905020714, -0.05050044506788254, -0.027708210051059723, -0.010036777704954147, -0.07332992553710938, 0.009515386074781418, 0.06990364193916321, -0.009231414645910263, 0.0006918905419297516, 0.02318328060209751, 0.03521251678466797, 0.02463572658598423, -0.06968018412590027, 0.0004797845031134784, -0.024691589176654816, 0.029011687263846397, 0.03174899145960808, -0.04912248253822327, -0.006284623872488737, -0.03439318761229515, 0.04740934073925018, -0.009915740229189396, 0.030352406203746796, -0.03659047931432724, -0.008868303149938583, 0.03752153366804123, 0.010753690265119076, 0.013044086284935474, 0.04390857368707657, -0.013807551935315132, -0.03199106454849243, 0.0018912063678726554, -0.024300547316670418, 0.004345701076090336, -0.014785160310566425, -0.031171735376119614, -0.03780084848403931, 0.023127416148781776, -0.05523020774126053, 0.02454262040555477, 0.0016735721146687865, 0.022717751562595367, -0.0425306111574173, 0.037670500576496124, 0.08573158085346222, 0.07243610918521881, 0.02757786214351654, -0.008747265674173832, 0.03891811519861221, -0.06480145454406738, -0.03113449364900589, 0.06819050014019012, -0.07571342587471008, 0.06778083741664886, 0.05567711219191551, 0.09258414804935455, 0.014654812403023243, 0.05042596161365509, -0.044504448771476746, -0.02558540366590023, -0.015865184366703033, -0.04078022763133049, 0.027503376826643944, -0.054969511926174164, 0.025548160076141357, -0.01788557507097721, 0.05757646635174751, -0.05385224521160126, -0.08975373953580856, 0.020483219996094704, -0.005977375898510218, -0.072100929915905, -0.035156652331352234, -0.017177972942590714, 0.023518459871411324, -0.0007902332581579685, -0.07481961697340012, -0.006312555633485317, 0.021656349301338196, -0.0026232486125081778, 0.036739446222782135, -0.00896606408059597, -0.03448629379272461, 0.008630883879959583, -0.037893954664468765, -0.03776360675692558, -0.01951492205262184, 0.031302083283662796, -0.058544766157865524, 0.07537824660539627, 0.016610028222203255, 0.021432895213365555, -0.020688051357865334, 0.015436898916959763, 0.023015689104795456, -0.00963642355054617, 0.0668870210647583, 0.012308552861213684, -0.019216984510421753, 0.07761278003454208, -0.007909315638244152, -0.0013861088082194328, -0.04644104465842247, 0.013044086284935474, 0.016907965764403343, 0.0398491732776165, -0.09630837291479111, 0.01734556257724762, 0.010679205879569054, -0.0027582517359405756, -0.07541549205780029, -0.008640194311738014, -0.05284670740365982, -0.05578884109854698, -0.032642804086208344, -0.011721987277269363, 0.0418974943459034, -0.019794238731265068, 0.00014264059427659959, 0.03992365673184395, -0.012708906084299088, -0.053405337035655975, 0.05653368681669235, 0.01970113255083561, 0.009352452121675014, -0.03865741938352585, 0.005050975829362869, -0.03282901272177696, 0.04673898220062256, 0.013211676850914955, -0.05396397039294243, 0.023332249373197556, -0.00027902566944248974, -0.06346073746681213, -0.024784695357084274, -0.017717985436320305, -0.0437968485057354, 0.006931707728654146, 0.005134770646691322, 0.022457057610154152, 0.0218984242528677, 0.015585867688059807, -0.05943857878446579, -0.01927284710109234, -0.05307015776634216, -0.03435594588518143, 0.06997812539339066, -0.029533077031373978, -0.02284809947013855, -0.02653507888317108, -0.007257577031850815, 0.05679437890648842, 0.014245147816836834, -0.07165402173995972, 0.027801314368844032, 0.06152414157986641, -0.0456961989402771, -0.0020273730624467134, 0.00896606408059597, -0.06077929958701134, 0.018472138792276382, -0.011712676845490932, 0.006866533774882555, 0.0040314700454473495, -0.01782040111720562, 0.06986639648675919, 0.031376566737890244, 0.08245427161455154, -0.03614357113838196, 0.05631023272871971, -0.03599460422992706, -0.0006959639140404761, 0.035156652331352234, -0.028434433043003082, 0.007932592183351517, 0.01246683206409216, 0.04979284480214119, -0.011861645616590977, -0.03377868980169296, 0.0597737580537796, -0.02234533056616783, 0.01619105413556099, -0.07880453020334244, 0.025119874626398087, -0.08960477262735367, -0.038620177656412125, -0.015092408284544945, 0.011126112192869186, 0.006340487394481897, 0.019868722185492516, 0.008598296903073788, 0.035808391869068146, 0.006256692577153444, -0.05973651632666588, -0.07429822534322739, -0.0010381267638877034, -0.01620967499911785, -0.03729807958006859, 0.03040827065706253, -0.00001076532862498425, 0.022159118205308914, 0.04383409023284912, 0.00933848600834608, 0.011405428871512413, -0.04267958179116249, -0.025827476754784584, -0.00048123925807885826, 0.018965598195791245, -0.05742749944329262, -0.012234068475663662, 0.021768076345324516, 0.03403938561677933, -0.010036777704954147, -0.03577115014195442, -0.021339790895581245, -0.02107909508049488, 0.08453983068466187, -0.016945209354162216, -0.012625111266970634, 0.03407662734389305, 0.011312323622405529, 0.04744658246636391, -0.04331269860267639, 0.07217541337013245, 0.08677436411380768, 0.007406545802950859, -0.014775849878787994, -0.046403802931308746, 0.05995997041463852, -0.02787579968571663, -0.049420420080423355, 0.05239979922771454, 0.04331269860267639, 0.02284809947013855, -0.022196361795067787, -0.049755603075027466, -0.04431823641061783, 0.013900657184422016, -0.012820633128285408, -0.05549090355634689, -0.04182301089167595, -0.009906429797410965, 0.024188820272684097, -0.0042875101789832115, -0.04200921952724457, 0.0013511942233890295, -0.05593780800700188, -0.02999860607087612, -0.0026395421009510756, -0.047632794827222824, -0.018490761518478394, -0.04353615269064903, -0.011666124686598778, -0.03362972289323807, -0.0430147610604763, -0.006182208191603422, 0.0177086740732193, 0.059289608150720596, 0.007979145273566246, 0.009534007869660854, -0.04718589037656784, 0.0107909319922328, 0.03331316262483597, 0.028750991448760033, -0.027633724734187126, 0.004629672970622778, -0.01592104695737362, -0.058246828615665436, 0.015520693734288216, 0.12312276661396027, -0.022680509835481644, 0.02065080963075161, 0.027652345597743988, -0.01850007101893425, -0.021786697208881378, -0.049643874168395996, 0.00946417823433876, 0.03895535692572594, 0.028359947726130486, 0.03163726255297661, -0.03839672729372978, 0.022568782791495323, -0.028322705999016762, -0.037782229483127594, -0.03364834189414978, -0.00161770882550627, 0.039662960916757584, -0.05128253251314163, -0.05668265372514725, 0.0624551959335804, -0.06852567940950394, 0.03906708583235741, 0.028229599818587303, 0.004410875029861927, 0.027112333104014397, -0.04290303215384483, -0.0017154696397483349, -0.010548857972025871, 0.017475910484790802, 0.02796890400350094, 0.0040314700454473495, -0.009655044414103031, -0.0030445512384176254, 0.05165495350956917, -0.019794238731265068, -0.009236069396138191, 0.08200736343860626, 0.04804246127605438, 0.043759603053331375, -0.00045185282942838967, -0.009096411056816578, -0.0007128393044695258, -0.012131651863455772, 0.07452167570590973, -0.05169219523668289, 0.03148829564452171, 0.0022426797077059746, 0.01320236548781395, -0.0004480704083107412, -0.061077237129211426, -0.06584423780441284, 0.06528560817241669, -0.03847121074795723, -0.025752993300557137, -0.026684047654271126, 0.018192822113633156, 0.0016665891744196415, 0.050910111516714096, -0.015045855194330215, -0.10889624059200287, 0.01047437358647585, -0.02796890400350094, 0.07407476752996445, -0.014124110341072083, -0.0011952423956245184, -0.023518459871411324, -0.028173737227916718, -0.014906196855008602, -0.0008117639226838946, -0.021954286843538284, -0.04148782789707184, 0.007392580155283213, -0.006391695234924555, -0.007215679623186588, 0.03940226510167122, 0.006224105600267649, -0.04651552811264992, -0.0076206885278224945, 0.034635260701179504, -0.030017226934432983, 0.003977934364229441, -0.03452353551983833, -0.0036427543964236975, -0.033275920897722244, 0.015995532274246216, 0.029216518625617027, 0.05333085358142853, -0.01772729493677616, 0.006084447260946035, 0.02662818506360054, -0.017969369888305664, -0.007215679623186588, 0.10725758224725723, 0.02599506638944149, 0.03173036873340607, 0.0553419329226017, 0.010362646542489529, -0.006298589985817671, -0.007611378096044064, -0.027447514235973358, 0.01687072403728962, 0.05128253251314163, 0.01204785704612732, 0.033722829073667526, -0.01677761785686016, 0.023034311830997467, -0.012364416383206844, -0.01940319500863552, -0.06327452510595322, -0.05396397039294243, -0.04547274485230446, -0.010865416377782822, -0.05336809530854225, -0.06692426651716232, 0.02703784964978695, -0.051617711782455444, 0.011107491329312325, -0.03038964979350567, 0.013137191534042358, -0.04934593662619591, 0.05932684987783432, -0.011172665283083916, -0.001004375983029604, 0.05321912840008736, -0.05385224521160126, 0.029179276898503304, -0.022252224385738373, 0.05180392414331436, 0.02402123063802719, -0.03221451863646507, 0.05333085358142853, -0.026069551706314087, -0.010623342357575893, 0.06193380802869797, -0.059587545692920685, -0.019012151286005974, 0.02294120565056801, 0.015399656258523464, 0.01829523965716362, 0.04476514458656311, 0.0018330153543502092, -0.012485452927649021, 0.029328245669603348, 0.012019925750792027, -0.01702900417149067, -0.04997905343770981, 0.02307155355811119, 0.007513617165386677, 0.055304691195487976, -0.007504306733608246, 0.014598948881030083, 0.01342581957578659, -0.012923048809170723, 0.07292026281356812, -0.028695128858089447, 0.03156277909874916, -0.010390578769147396, 0.0030166194774210453, 0.030147574841976166, -0.03493319824337959, 0.007057399954646826, 0.015399656258523464, 0.04927145317196846, 0.03396490216255188, 0.010520926676690578, 0.045435503125190735, -0.040929194539785385, -0.03899260237812996, -0.03625529631972313, -0.007844141684472561, -0.010688516311347485, 0.03785671293735504, -0.006326521746814251, 0.020166659727692604, 0.04793073236942291, 0.04148782789707184, 0.01951492205262184, 0.022382572293281555, -0.017326941713690758, 0.047632794827222824, 0.04536101967096329, 0.028862718492746353, 0.032866254448890686, 0.00872864481061697, 0.023295005783438683, -0.02809925191104412, -0.046068623661994934, 0.018211444839835167, 0.013332713395357132, -0.001646804274059832, 0.003826637752354145, 0.01168474555015564, 0.022810857743024826, -0.029123414307832718, -0.0676691085100174, 0.051319774240255356, 0.013137191534042358, 0.06070481240749359, 0.01080024242401123, -0.005414087325334549, 0.048377640545368195, 0.016740376129746437, 0.0068618785589933395, -0.02923513948917389, -0.0036055122036486864, -0.07671896368265152, 0.05388948693871498, -0.04327545687556267, 0.020203903317451477, 0.016814861446619034, -0.017513152211904526, -0.001325590186752379, 0.028769612312316895, -0.06279037892818451, -0.03943950682878494, 0.018285928294062614, 0.07344165444374084, -0.019216984510421753, 0.02160048484802246, -0.052027378231287, -0.010344025678932667, 0.01908663660287857, 0.027075091376900673, -0.0020913833286613226, -0.006549974903464317, 0.024375030770897865, -0.03362972289323807, 0.005390810780227184, 0.005553745664656162, 0.022159118205308914, 0.04178576543927193, 0.025734372437000275, 0.0023416043259203434, -0.006675667129456997, 0.057501982897520065, -0.0061682420782744884, 0.01677761785686016, 0.09951120615005493, 0.02619989961385727, -0.0332014374434948, -0.030687587335705757, -0.016293469816446304, 0.006712909787893295, 0.002441692864522338, -0.013220987282693386, 0.09511662274599075, -0.05966203287243843, 0.045547232031822205, 0.002402123063802719, -0.043573394417762756, -0.01919836364686489, -0.06796704232692719, -0.023332249373197556, -0.03091103956103325, -0.029477214440703392, -0.03174899145960808, 0.0347842313349247, -0.055416420102119446, 0.04882454499602318, 0.016218984499573708, -0.025026770308613777, -0.006768772844225168, -0.03169312700629234, -0.04644104465842247, -0.00566081702709198, 0.0978725478053093, -0.02850891649723053, -0.013220987282693386, 0.020371492952108383, -0.00311670801602304, -0.006526698358356953, 0.004171128384768963, -0.004157162271440029, 0.013472371734678745, -0.011517155915498734, -0.014868955127894878, -0.025306086987257004, 0.001886551035568118, -0.01623760722577572, -0.015688283368945122, -0.016218984499573708, 0.0507611408829689, 0.0009648061823099852, -0.020594945177435875, 0.01525068748742342, 0.024896422401070595, 0.024356409907341003, 0.009385038167238235, -0.010148503817617893, -0.045137565582990646, -0.009990224614739418, 0.022997068241238594, 0.008756576105952263, -0.053628791123628616, 0.03493319824337959, 0.0016421489417552948, -0.06982915848493576, -0.007904660888016224, -0.0005295377923175693, -0.013146502897143364, -0.055602628737688065, 0.028024768456816673, -0.05050044506788254, 0.03504492715001106, -0.015744147822260857, -0.006089102476835251, -0.009841255843639374, -0.054261911660432816, -0.006810670252889395, -0.04070574417710304, -0.02767096646130085, -0.03154415637254715, 0.009259345941245556, 0.012094410136342049, -0.019347332417964935, 0.023928124457597733, -0.017429357394576073, 0.0156137989833951, -0.044280994683504105, 0.04908524081110954, 0.024766074493527412, -0.014608259312808514, -0.03996089845895767, 0.028490295633673668, 0.0005467041046358645, 0.008565709926187992, 0.0052558076567947865, -0.04431823641061783, -0.06632839143276215, 0.04469066113233566, 0.018257996067404747, 0.026795774698257446, 0.014263768680393696, -0.018686281517148018, 0.007532238494604826, -0.0032633491791784763, -0.014477911405265331, 0.010614031925797462, -0.028583401814103127, 0.03476560860872269, 0.03880639001727104, -0.021749455481767654, -0.05690610781311989, -0.008449328131973743, 0.030519995838403702, 0.003977934364229441, -0.013165123760700226, 0.05239979922771454, 0.010753690265119076, 0.0379498191177845, 0.0030794658232480288, -0.006764117628335953, 0.0117406090721488, -0.04882454499602318, 0.030222058296203613, -0.0038382760249078274, 0.0025231600739061832, -0.0012289931764826179, -0.03009171038866043, -0.017811089754104614, 0.0019610354211181402, -0.05671989545226097, -0.025119874626398087, 0.01927284710109234, 0.059177882969379425, -0.020613567903637886, -0.0005589242209680378, -0.0030515340622514486, -0.027298545464873314, -0.03850845247507095, -0.04979284480214119, -0.010604721494019032, -0.027745451778173447, -0.00628927955403924, 0.018900424242019653, 0.026814395561814308, -0.04875006154179573, -0.053628791123628616, 0.03377868980169296, -0.030482754111289978, 0.0234812181442976, 0.02022252418100834, 0.035156652331352234, 0.016945209354162216, 0.05020250752568245, -0.05128253251314163, 0.0014885248383507133, -0.0040314700454473495, 0.045025840401649475, -0.07694242149591446, 0.026181278750300407, -0.001902844524011016, -0.018667660653591156, 0.04037056118249893, 0.06558354198932648, -0.015222756192088127, -0.04267958179116249, -0.026888880878686905, -0.008230529725551605, 0.0209487471729517, -0.011489223688840866, 0.002402123063802719, 0.03092966042459011, 0.05448536202311516, 0.028248220682144165, 0.02286672033369541, 0.00048123925807885826, -0.10271403193473816, -0.006982915569096804, 0.025026770308613777, -0.036851175129413605, 0.07805968821048737, -0.026553699746727943, 0.03511941060423851, 0.054559849202632904, -0.0004797845031134784, 0.0578744038939476, -0.01904008351266384, 0.00963642355054617, 0.021470138803124428, -0.021637728437781334, -0.012383037246763706, -0.032046929001808167, -0.006568595767021179, -0.0039849174208939075, 0.010195056907832623, 0.01886318251490593, -0.02538057044148445, -0.008239840157330036, 0.023648807778954506, 0.03577115014195442, 0.01782040111720562, -0.010623342357575893, -0.010046088136732578, -0.01179647259414196, -0.011116801761090755, 0.02672129124403, -0.009361762553453445, 0.0010945720132440329, -0.00205181329511106, -0.047111403197050095, 0.03761463984847069, -0.05828407034277916, -0.02171221189200878, -0.05239979922771454, -0.01811833865940571, 0.014775849878787994, 0.04699967801570892, 0.03079931251704693, 0.046180348843336105, 0.027745451778173447 ]
54,945
ml_wrappers.dataset.dataset_wrapper
_set_default_index_cols
null
def _set_default_index_cols(self, dataset): if dataset.index.names is not None: self._default_index_cols = dataset.index.names
(self, dataset)
[ -0.0007281808648258448, -0.004110352136194706, 0.004221076145768166, 0.013784028589725494, -0.03306359052658081, 0.017833368852734566, 0.04150574281811714, 0.01498617697507143, 0.02800191566348076, -0.00026099267415702343, -0.02060825191438198, -0.008189069107174873, -0.013576138764619827, -0.032033178955316544, 0.01993938907980919, -0.009183326736092567, 0.06381327658891678, 0.07093577831983566, 0.05242450162768364, -0.0165046788752079, 0.014633667655289173, -0.06265632063150406, -0.03698639199137688, -0.03541365638375282, -0.007140578702092171, 0.014199809171259403, -0.06196937710046768, 0.012274564243853092, 0.07292429357767105, -0.05542535334825516, -0.09472565352916718, -0.04139728099107742, -0.015284454450011253, 0.04107188433408737, 0.0016732907388359308, -0.08518077433109283, 0.022144833579659462, 0.03541365638375282, 0.05546150729060173, 0.017752021551132202, 0.08228839188814163, -0.08510846644639969, -0.055533818900585175, -0.07433433085680008, -0.013549022376537323, 0.036227140575647354, 0.018511272966861725, 0.0002824596012942493, 0.03526903688907623, -0.022180987522006035, -0.039517227560281754, -0.014028074219822884, 0.010665674693882465, 0.04005955159664154, -0.03476286679506302, -0.017173543572425842, 0.0034392280504107475, 0.029032327234745026, -0.05947469547390938, 0.010105274617671967, -0.007935984991490841, -0.034925565123558044, -0.03635368123650551, -0.036570608615875244, -0.02491067722439766, 0.002220132388174534, 0.04595278948545456, 0.018908975645899773, -0.017507975921034813, 0.008713314309716225, -0.04685666039586067, -0.026664186269044876, -0.0021252259612083435, 0.01011431310325861, 0.006173436995595694, -0.04627818241715431, -0.07816673815250397, -0.015013293363153934, 0.006806146819144487, 0.036317527294158936, 0.00513850525021553, -0.00895735900849104, -0.03691408038139343, 0.05238834768533707, -0.002614445984363556, -0.015420034527778625, 0.027007658034563065, 0.04815823212265968, 0.0071993302553892136, -0.08800085633993149, 0.010783177800476551, 0.01013239100575447, 0.0346544049680233, 0.023681413382291794, 0.021457891911268234, -0.009707571938633919, -0.016576988622546196, 0.0641748234629631, 0.0217652078717947, 0.0030980168376117945, -0.026194173842668533, -0.05412377789616585, 0.06149936467409134, -0.0078004044480621815, -0.04613356292247772, -0.07061038166284561, 0.027206508442759514, -0.03460017219185829, -0.044868141412734985, -0.04653126373887062, -0.06099319830536842, -0.034003615379333496, 0.06728413701057434, -0.009382178075611591, 0.00431824242696166, -0.03582943603396416, 0.06135474517941475, 0.0009338114759884775, -0.012735539115965366, 0.035648662596940994, -0.020734794437885284, 0.007294236682355404, -0.040276478976011276, 0.01930667832493782, 0.009016110561788082, -0.010005849413573742, 0.006783549673855305, 0.07541897147893906, 0.034925565123558044, -0.013666525483131409, 0.02572416141629219, -0.015392919071018696, -0.047471292316913605, 0.017200659960508347, 0.042264994233846664, -0.04222884029150009, 0.05716078355908394, 0.06580179184675217, -0.04277116432785988, 0.05752233415842056, -0.00863648485392332, -0.054810721427202225, 0.041867293417453766, 0.016567951068282127, 0.025416845455765724, 0.030424289405345917, 0.01549234427511692, -0.03112930804491043, -0.031075075268745422, -0.018429923802614212, 0.04830285161733627, 0.00499388575553894, -0.11497236043214798, -0.04139728099107742, -0.028110379353165627, -0.02973734773695469, -0.03074968233704567, -0.03098468855023384, -0.01892705261707306, 0.01654987223446369, 0.021349426358938217, -0.011171841993927956, 0.010394513607025146, 0.020192472264170647, -0.023536793887615204, 0.03165355324745178, -0.03078583814203739, -0.08518077433109283, -0.02597724460065365, 0.01180455181747675, -0.051339857280254364, 0.020246705040335655, -0.0075563592836260796, 0.0344555526971817, 0.06164398416876793, 0.052352193742990494, -0.04522969201207161, -0.01579062081873417, 0.02124096266925335, 0.011813590303063393, 0.008311090990900993, 0.0028291153721511364, 0.0024472300428897142, 0.0035205765161663294, -0.026501489803195, -0.006259304936975241, -0.0257783941924572, 0.01008719764649868, -0.014606551267206669, 0.007719056215137243, 0.03441939875483513, -0.021566355600953102, 0.012844002805650234, 0.05585921183228493, 0.058968525379896164, 0.028309231624007225, 0.010810294188559055, -0.020680561661720276, 0.07151424884796143, -0.03273819759488106, 0.01339536439627409, 0.006995959673076868, 0.0359017439186573, 0.002964695915579796, 0.007393662817776203, 0.04360272362828255, 0.021891748532652855, -0.010783177800476551, -0.06540408730506897, 0.00615535955876112, 0.015248299576342106, -0.020246705040335655, -0.07230965793132782, 0.005979104898869991, -0.023446407169103622, -0.010710868053138256, -0.04049341008067131, -0.011714165098965168, 0.06330710649490356, 0.06901957094669342, 0.02979157865047455, -0.008509943261742592, 0.045446619391441345, 0.020825181156396866, 0.04830285161733627, -0.020210549235343933, 0.04508507251739502, -0.05231603980064392, -0.021837517619132996, 0.017354318872094154, -0.0188728217035532, 0.004257231019437313, -0.052966825664043427, 0.004230115097016096, 0.021710975095629692, 0.02292216196656227, 0.084168441593647, -0.014028074219822884, -0.001880051102489233, 0.030532753095030785, -0.027477670460939407, -0.006367769557982683, -0.007633188273757696, 0.011668970808386803, -0.02548915520310402, 0.001492516603320837, -0.005590440705418587, 0.001429245574399829, -0.00868619792163372, 0.004399590659886599, -0.014480008743703365, -0.010602403432130814, 0.0031612878665328026, 0.0021794582717120647, 0.013811144977807999, 0.008889568969607353, -0.052496813237667084, 0.028490005061030388, -0.060884732753038406, -0.0197947695851326, -0.04403658211231232, 0.004169103689491749, -0.044145047664642334, -0.0008276066510006785, 0.03850489482283592, 0.0004544775001704693, 0.036462146788835526, -0.002350063994526863, -0.0038437102921307087, 0.02378987707197666, 0.1241556853055954, 0.04403658211231232, -0.036516375839710236, -0.015085602179169655, 0.020789027214050293, 0.03319013491272926, -0.003068641060963273, -0.04259038716554642, -0.04396427422761917, 0.0359017439186573, 0.054376862943172455, -0.027640366926789284, -0.019378988072276115, 0.008537058718502522, 0.0006457026465795934, 0.01484155748039484, -0.023157168179750443, -0.0029353201389312744, -0.05184602364897728, -0.058426205068826675, -0.003371437778696418, 0.050508297979831696, 0.03239472582936287, -0.004087755456566811, -0.04750744625926018, -0.0478689931333065, 0.013774990104138851, -0.007705498021095991, -0.028598470613360405, 0.06840493530035019, -0.0573415607213974, -0.06258401274681091, 0.05014674738049507, -0.03756486624479294, 0.0011400069342926145, -0.03304551541805267, 0.012907274067401886, 0.016757763922214508, 0.0666695088148117, -0.02205444499850273, -0.006114685442298651, 0.05499149486422539, -0.042264994233846664, -0.005070714745670557, 0.0012631593272089958, -0.03223203122615814, 0.021421736106276512, -0.04031263291835785, 0.06630795449018478, 0.03185240551829338, -0.07968524098396301, -0.025163760408759117, -0.07534666359424591, -0.07939600199460983, 0.00638584652915597, 0.06016163527965546, 0.028218844905495644, -0.030948534607887268, -0.06388558447360992, 0.003549952292814851, -0.005057156551629305, -0.03817949816584587, 0.010783177800476551, -0.01008719764649868, -0.023012548685073853, -0.03440131992101669, 0.005432263016700745, 0.015148873440921307, -0.006042375694960356, 0.033804766833782196, -0.040999576449394226, -0.049785200506448746, 0.0074433754198253155, -0.004817631095647812, 0.008790142834186554, -0.02993619814515114, 0.04067418351769447, -0.012482455000281334, -0.024603361263871193, 0.03566673770546913, -0.0031364315655082464, -0.023392174392938614, -0.01679391786456108, 0.00910197850316763, 0.09646108746528625, -0.0045035360381007195, 0.013964802958071232, -0.05936622992157936, 0.005382550414651632, 0.017028924077749252, 0.016631221398711205, -0.0344555526971817, 0.016088899224996567, -0.01574542745947838, -0.010620481334626675, 0.024784134700894356, 0.015718312934041023, 0.037239473313093185, 0.022144833579659462, -0.030370056629180908, -0.021060187369585037, -0.024458741769194603, 0.006797107867896557, -0.0018890898209065199, -0.0035996651276946068, -0.01780625432729721, -0.035070184618234634, -0.006666046567261219, -0.0701042115688324, -0.10759676992893219, -0.029466185718774796, -0.05864313244819641, 0.0007722445297986269, 0.06818801164627075, -0.04924287647008896, -0.007823001593351364, 0.044000428169965744, -0.018547426909208298, 0.019035518169403076, 0.03165355324745178, 0.05137601122260094, -0.02317524515092373, 0.010295087471604347, 0.002896905643865466, -0.01307900995016098, 0.027929605916142464, 0.020734794437885284, -0.018800511956214905, 0.05184602364897728, -0.08286686986684799, -0.04956826940178871, -0.0063948854804039, 0.026465335860848427, 0.041144195944070816, -0.00747049180790782, 0.02442258782684803, 0.029430031776428223, -0.0286707803606987, 0.01790567860007286, -0.009590068832039833, 0.0038685668259859085, 0.044145047664642334, 0.03742024675011635, 0.0243321992456913, 0.041867293417453766, 0.00137614319100976, 0.10217354446649551, 0.003629040904343128, 0.07151424884796143, 0.016278712078928947, 0.012871119193732738, 0.01008719764649868, 0.026085710152983665, 0.025706084445118904, 0.055967677384614944, -0.006878456100821495, -0.03575712442398071, -0.03626329451799393, -0.033714380115270615, 0.014416738413274288, -0.04118034988641739, -0.018077414482831955, -0.03821565583348274, 0.02245214954018593, 0.02543492242693901, -0.002465307479724288, -0.011587622575461864, 0.0052469694055616856, -0.0175260528922081, 0.049929820001125336, 0.01375691220164299, -0.03008081763982773, -0.012834964320063591, -0.013268822804093361, 0.006272863131016493, 0.009816036559641361, -0.011307423003017902, 0.06037856638431549, -0.016251595690846443, -0.018836665898561478, -0.024151425808668137, 0.01622447930276394, -0.004356657154858112, -0.04009570553898811, 0.04034879058599472, 0.008853414095938206, -0.037384092807769775, 0.03349744901061058, 0.06540408730506897, 0.022940238937735558, 0.008378881961107254, 0.015998512506484985, -0.0478689931333065, -0.008473788388073444, 0.02060825191438198, 0.03225010633468628, -0.014959060586988926, -0.060559339821338654, -0.0005886458093300462, -0.024386432021856308, 0.006209591869264841, -0.017309123650193214, 0.032177798449993134, -0.09421948343515396, -0.04595278948545456, -0.02592301182448864, -0.011361654847860336, 0.03857720270752907, -0.0070863463915884495, -0.0044651213102042675, -0.0026325234211981297, 0.019523607566952705, 0.0849638506770134, -0.007895310409367085, 0.025037219747900963, 0.024729903787374496, -0.03214164450764656, -0.03582943603396416, -0.03832411766052246, -0.0022291711065918207, 0.04526584595441818, -0.00864100456237793, -0.014733092859387398, -0.0034030734095722437, 0.04765206575393677, 0.034347087144851685, 0.09233943372964859, 0.015166951343417168, 0.011443003080785275, 0.026519566774368286, 0.059149302542209625, -0.05806465446949005, -0.053689923137426376, 0.011171841993927956, -0.014272118918597698, -0.07968524098396301, -0.0008744949591346085, -0.021982137113809586, 0.002978254109621048, -0.03648022189736366, 0.02331986464560032, -0.0072716400027275085, -0.024784134700894356, 0.0348532572388649, 0.0754912868142128, 0.01718258298933506, -0.03127392753958702, 0.010945874266326427, 0.05361761152744293, 0.057847727090120316, -0.027206508442759514, 0.01419077068567276, -0.0102589325979352, 0.007687420584261417, -0.014615589752793312, 0.04016801714897156, 0.010991068556904793, -0.001993034966289997, 0.0175260528922081, 0.03467248007655144, -0.02312101423740387, -0.011714165098965168, 0.0226871557533741, 0.06511484831571579, -0.020011698827147484, 0.035160571336746216, 0.042301151901483536, -0.015564654022455215, 0.029863888397812843, -0.005811888724565506, -0.02626648359000683, 0.0061327628791332245, 0.039372608065605164, -0.11316461861133575, 0.03179817274212837, -0.0016156689962372184, -0.08170991390943527, 0.065621018409729, 0.02760421298444271, -0.039698000997304916, -0.022904084995388985, 0.03244895860552788, -0.009300829842686653, -0.08199915289878845, -0.026700342074036598, 0.003629040904343128, -0.011840706691145897, 0.015311569906771183, 0.019722459837794304, 0.0377456434071064, 0.005310240667313337, -0.04407273605465889, 0.09176095575094223, -0.014868673868477345, 0.00798569805920124, -0.00038019061321392655, -0.021566355600953102, -0.03214164450764656, -0.0548468753695488, -0.02066248469054699, -0.05199064314365387, -0.05332837253808975, -0.009391216561198235, 0.02153020165860653, 0.012148022651672363, 0.020789027214050293, 0.06164398416876793, -0.008550616912543774, -0.008374362252652645, -0.020391324535012245, 0.02274138852953911, 0.03158124163746834, 0.02688111551105976, 0.00287204934284091, 0.0027296897023916245, -0.00352283613756299, 0.01498617697507143, 0.013350171037018299, 0.02254253625869751, -0.02254253625869751, -0.054955340921878815, -0.0274234376847744, 0.00919236522167921, 0.00235910271294415, -0.0453743115067482, 0.08185453712940216, -0.03720331937074661, -0.06920034438371658, 0.09053169190883636, -0.03648022189736366, 0.0026980540715157986, 0.011958209797739983, -0.040276478976011276, 0.02225329726934433, 0.005979104898869991, -0.03208741173148155, -0.007786846254020929, 0.027640366926789284, 0.0014902568655088544, -0.01849319599568844, 0.0017817552434280515, -0.0214398130774498, 0.008803701028227806, 0.04089111089706421, -0.0053915889002382755, -0.02794768288731575, 0.023392174392938614, -0.04859209060668945, -0.0075563592836260796, -0.056112296879291534, -0.04880901798605919, -0.033913228660821915, -0.0034708636812865734, -0.019234368577599525, -0.008930242620408535, -0.004935134202241898, -0.018890898674726486, 0.0439281165599823, -0.00719029176980257, 0.01544715091586113, -0.01795991137623787, -0.01626967266201973, -0.04902594909071922, 0.008500903844833374, 0.011732242070138454, 0.01950553059577942, 0.01310612540692091, -0.02069864049553871, 0.03541365638375282, 0.02621225081384182, 0.02592301182448864, -0.02876116707921028, 0.10672905296087265, 0.04569970443844795, -0.016667377203702927, -0.026176096871495247, -0.03496171906590462, 0.009870268404483795, 0.0020913309417665005, -0.018457040190696716, -0.0166041050106287, -0.025995321571826935, -0.012672267854213715, -0.0020630848594009876, -0.01544715091586113, 0.040710337460041046, -0.058823905885219574, -0.03577520325779915, 0.07014036923646927, -0.058860063552856445, -0.019270524382591248, -0.008184549398720264, 0.06236708164215088, -0.019812846556305885, 0.0493151880800724, 0.0031838847789913416, -0.03132816031575203, -0.005671788938343525, -0.026049554347991943, 0.01669449172914028, -0.019993619993329048, 0.024585284292697906, -0.02346448414027691, -0.036317527294158936, 0.012970545329153538, 0.0038301523309201, 0.051773715764284134, -0.0131513187661767, 0.017309123650193214, -0.014480008743703365, 0.014127499423921108, -0.018131647258996964, -0.030930455774068832, 0.04985750839114189, 0.0009083900949917734, 0.052352193742990494, 0.0022574171889573336, -0.05126754939556122, 0.06135474517941475, 0.03172586113214493, 0.034925565123558044, -0.06598256528377533, 0.04049341008067131, 0.058860063552856445, -0.018547426909208298, 0.012563803233206272, -0.06981497257947922, -0.016052743420004845, -0.05716078355908394, 0.04938749596476555, -0.010810294188559055, -0.007307794876396656, -0.024404508993029594, 0.016929497942328453, 0.016242556273937225, -0.026917271316051483, -0.002912723459303379, 0.06316248327493668, -0.02297639474272728, -0.020156316459178925, 0.015989473089575768, 0.01356709934771061, 0.0012676786864176393, 0.03561250865459442, 0.013666525483131409, -0.012979583814740181, -0.02427796833217144, -0.0131513187661767, -0.057413868606090546, 0.007163175381720066, 0.03595597669482231, -0.04739898070693016, -0.0569438561797142, 0.058823905885219574, 0.027983838692307472, -0.05314759910106659, -0.022578690201044083, -0.018131647258996964, 0.026664186269044876, 0.020337091758847237, 0.04154190048575401, -0.014154615812003613, 0.04439812898635864, 0.011334539391100407, 0.02060825191438198, -0.010123352520167828, 0.07361122965812683, -0.04190344735980034, -0.036082521080970764, 0.0236091036349535, -0.08778392523527145, -0.006819704547524452, -0.008537058718502522, 0.07954062521457672, 0.008912165649235249, -0.012175139039754868, 0.004126169718801975, 0.05246065929532051, 0.0006502220057882369, 0.07672055065631866, 0.029231179505586624, 0.013350171037018299, -0.022813696414232254, -0.014543280005455017, 0.0031612878665328026, 0.004695608280599117, 0.022650999948382378, 0.05318375304341316, 0.0395895391702652, -0.017200659960508347, 0.025742238387465477, -0.014588473364710808, -0.05300297960639, -0.012256487272679806, 0.04468736797571182, 0.003911500796675682, 0.07672055065631866, 0.0004157805524300784 ]
54,946
ml_wrappers.dataset.dataset_wrapper
apply_indexer
Indexes categorical string features on the dataset. :param column_indexer: The transformation steps to index the given dataset. :type column_indexer: sklearn.compose.ColumnTransformer :param bucket_unknown: If true, buckets unknown values to separate categorical level. :type bucket_unknown: bool
def apply_indexer(self, column_indexer, bucket_unknown=False): """Indexes categorical string features on the dataset. :param column_indexer: The transformation steps to index the given dataset. :type column_indexer: sklearn.compose.ColumnTransformer :param bucket_unknown: If true, buckets unknown values to separate categorical level. :type bucket_unknown: bool """ if self._string_indexed or issparse(self._dataset): return name, ordinal_encoder, cols = column_indexer.transformers_[0] all_categories = ordinal_encoder.categories_ def convert_cols(category_to_index, value, unknown): if value in category_to_index: index = category_to_index[value] elif not bucket_unknown: # Add new index on the fly - note the background data does NOT need to # contain all possible category levels! index = len(category_to_index) + 1 category_to_index[value] = index else: # Put all unknown indexes into a separate 'unknown' bucket index = unknown category_to_index[value] = index return index for idx, i in enumerate(cols): categories_for_col = all_categories[idx] category_to_index = dict(zip(categories_for_col, range(len(categories_for_col)))) unknown = len(category_to_index) + 1 self._dataset[:, i] = list(map(lambda x: convert_cols(category_to_index, x, unknown), self._dataset[:, i])) # Ensure element types are float and not object self._dataset = self._dataset.astype(float) self._string_indexed = True
(self, column_indexer, bucket_unknown=False)
[ -0.010393218137323856, 0.00844228733330965, -0.034896548837423325, 0.01759800873696804, 0.046258628368377686, -0.02999940700829029, 0.00835420936346054, 0.04058639705181122, 0.03339922055602074, -0.04012839123606682, -0.007156346924602985, 0.028361154720187187, -0.041291020810604095, -0.05633476376533508, 0.020821666345000267, -0.033927690237760544, -0.011353269219398499, 0.06042158976197243, 0.07025110721588135, 0.01675245724618435, -0.03491416573524475, -0.08434360474348068, -0.004936778452247381, 0.007887395098805428, 0.03893052786588669, -0.013564029708504677, -0.01196981593966484, -0.016329683363437653, 0.032095666974782944, -0.05365718901157379, -0.05334010720252991, -0.06951124966144562, -0.03664049506187439, 0.0277798380702734, 0.014629775658249855, -0.06722121685743332, -0.003490095492452383, -0.02526080422103405, 0.11534710228443146, 0.03290598466992378, 0.029858481138944626, -0.025014186277985573, -0.03554832935333252, -0.05453797057271004, -0.000017194155589095317, 0.04076255112886429, -0.05453797057271004, -0.01662914827466011, 0.018602099269628525, -0.043404895812273026, -0.08194787800312042, -0.0918830931186676, 0.034720394760370255, 0.02075120434165001, -0.0026643630117177963, 0.03320544958114624, 0.026476282626390457, 0.003058512695133686, 0.0027832684572786093, 0.0002645096101332456, -0.006161064375191927, -0.0015237514162436128, -0.0024023307487368584, 0.0178974736481905, -0.017148809507489204, -0.009759055450558662, 0.029559016227722168, 0.05214224383234978, -0.029224319383502007, -0.008107590489089489, -0.021684832870960236, -0.0360591821372509, 0.06412086635828018, -0.004447944927960634, -0.07412654161453247, 0.013202909380197525, -0.04802019149065018, 0.004663736093789339, 0.07419700920581818, 0.07049772888422012, 0.012630402110517025, -0.013493567705154419, 0.0282378438860178, -0.028731081634759903, 0.024450484663248062, -0.03611202910542488, -0.006006927695125341, 0.024556178599596024, -0.03667572885751724, 0.04262980818748474, 0.0013740186113864183, -0.007508659735321999, 0.028044072911143303, 0.004185912664979696, -0.0028162978123873472, 0.017051924020051956, -0.002803086070343852, -0.005170185584574938, 0.043581053614616394, -0.024556178599596024, 0.022530382499098778, 0.0514376200735569, 0.07821337133646011, -0.03819067031145096, -0.030844956636428833, -0.045413076877593994, -0.01670841872692108, -0.042488884180784225, -0.10548235476016998, -0.0431935079395771, -0.05348103120923042, -0.08469592034816742, 0.021015439182519913, -0.05133192613720894, -0.021050669252872467, -0.03840205818414688, -0.017104770988225937, -0.02136775106191635, -0.05348103120923042, 0.0037146946415305138, 0.020874513313174248, -0.024256713688373566, 0.005879214499145746, 0.00550047867000103, -0.040093157440423965, 0.009882364422082901, 0.017509929835796356, 0.04647001624107361, -0.0005862699472345412, 0.023869169875979424, -0.016083063557744026, -0.017457082867622375, -0.02057504840195179, 0.012973906472325325, 0.049922678619623184, -0.01879587024450302, -0.01180246751755476, -0.0004610338946804404, -0.029629478231072426, 0.03787359222769737, 0.052670713514089584, -0.03829636424779892, 0.025736425071954727, -0.019764728844165802, 0.03371630236506462, 0.0427355021238327, 0.03595348820090294, 0.010137791745364666, -0.008816619403660297, -0.08215926587581635, -0.0027854705695062876, 0.04213657230138779, -0.045060764998197556, -0.04509599506855011, 0.03491416573524475, -0.02536649815738201, -0.017967935651540756, 0.0016228393651545048, 0.013370257802307606, 0.03498462960124016, 0.010040905326604843, -0.07335145771503448, -0.04196041449904442, 0.03156719729304314, -0.052600253373384476, 0.035178400576114655, 0.011071419343352318, -0.04935897886753082, -0.020152272656559944, 0.003974525257945061, -0.006279969587922096, 0.03635864704847336, -0.09033291786909103, 0.05679276958107948, -0.0006693936884403229, 0.09850656986236572, -0.05087392032146454, 0.04417998343706131, 0.07127281278371811, 0.03667572885751724, -0.0035407403483986855, -0.013246948830783367, -0.08554146438837051, -0.027304217219352722, 0.006834861822426319, -0.026300126686692238, 0.022142838686704636, 0.007244425360113382, -0.002598304534330964, 0.05841340869665146, 0.05073299631476402, -0.0418194904923439, 0.02439763769507408, 0.026617206633090973, 0.04787926375865936, 0.004720987286418676, -0.02526080422103405, 0.0005177342100068927, 0.007301676087081432, 0.0514376200735569, 0.0064869532361626625, 0.015272745862603188, 0.07039203494787216, 0.03681665286421776, -0.010190637782216072, 0.007834548130631447, 0.016312066465616226, 0.009265817701816559, -0.09632223099470139, -0.04692802205681801, -0.0016547676641494036, -0.019817575812339783, -0.032324668020009995, 0.050380684435367584, 0.018831102177500725, -0.023182161152362823, -0.028378769755363464, -0.011934584937989712, 0.05119100213050842, -0.0018672561272978783, 0.04636432230472565, 0.012859405018389225, 0.07018064707517624, 0.04417998343706131, 0.03547786548733711, -0.06979309767484665, 0.06947601586580276, -0.02378109097480774, -0.0038049747236073017, 0.02640581876039505, -0.06732691079378128, -0.08793719112873077, 0.014814739115536213, 0.00793143454939127, 0.033804383128881454, 0.015933331102132797, 0.05675753951072693, 0.012603978626430035, 0.02371062897145748, 0.03126773238182068, 0.0070066144689917564, -0.030950650572776794, -0.021526291966438293, -0.033804383128881454, -0.04382767155766487, -0.01159988809376955, 0.023745860904455185, 0.055172134190797806, -0.02212522365152836, -0.023111697286367416, -0.00801951251924038, 0.0035121149849146605, -0.02795599400997162, 0.006231526844203472, 0.008909101597964764, -0.0689123198390007, -0.05288210138678551, 0.020046578720211983, -0.002538851695135236, -0.0335049144923687, -0.08568239212036133, 0.024644257500767708, 0.04139671474695206, 0.030386950820684433, -0.04675186425447464, -0.022847464308142662, 0.06732691079378128, 0.0337691493332386, 0.0872325673699379, 0.022266147658228874, -0.05658138170838356, 0.0463995523750782, -0.03840205818414688, 0.03857821598649025, -0.021068286150693893, 0.04794972762465477, 0.020099425688385963, -0.03299406170845032, -0.057814475148916245, 0.011934584937989712, 0.008433479815721512, 0.0056237876415252686, -0.035125553607940674, -0.023569704964756966, 0.010551758110523224, -0.007799317128956318, -0.02748037315905094, -0.03202520310878754, -0.03119726851582527, 0.006641089916229248, -0.05073299631476402, -0.0314791202545166, 0.011767236515879631, 0.023446394130587578, -0.009838325902819633, -0.02874869666993618, -0.011467770673334599, -0.050838690251111984, 0.027128059417009354, -0.028836775571107864, -0.011379692703485489, -0.03995223343372345, -0.009952827356755733, 0.0023362720385193825, 0.014453618787229061, 0.007627564948052168, -0.007944646291434765, 0.014929240569472313, -0.016153527423739433, 0.02520795725286007, 0.019341954961419106, 0.022301379591226578, -0.07049772888422012, -0.020081810653209686, -0.05400950089097023, -0.03228943794965744, -0.006980190984904766, 0.014039651490747929, 0.006319604814052582, 0.0675382986664772, -0.019465263932943344, -0.015774790197610855, -0.06827815622091293, -0.034227155148983, -0.004113248083740473, 0.06415610015392303, 0.045236922800540924, -0.01579240709543228, 0.00010596898209769279, -0.030246024951338768, 0.027445141226053238, -0.0030959458090364933, 0.00985594093799591, -0.02416863478720188, -0.0035033072344958782, -0.04794972762465477, -0.012797750532627106, -0.010040905326604843, 0.01645299233496189, 0.002589496551081538, -0.054714128375053406, 0.03988177329301834, -0.01594213955104351, 0.018549252301454544, 0.023006005212664604, 0.005967292468994856, -0.0026159200351685286, 0.023235008120536804, -0.01397799700498581, 0.07116711884737015, 0.040375009179115295, -0.10146599262952805, -0.021684832870960236, 0.05651092156767845, 0.031919509172439575, -0.007046249229460955, 0.024186251685023308, -0.047808803617954254, -0.004205730278044939, -0.008169244974851608, 0.07743827998638153, -0.10062044113874435, 0.01955334283411503, -0.009952827356755733, 0.021790526807308197, -0.00888708233833313, 0.004927970468997955, 0.026441050693392754, 0.02943570725619793, -0.03475562483072281, 0.032729826867580414, -0.03713373467326164, 0.04590631648898125, 0.027110444381833076, 0.021649600937962532, -0.03547786548733711, -0.03251844272017479, 0.016435377299785614, -0.015422478318214417, -0.027621297165751457, 0.0013079600175842643, 0.02439763769507408, -0.006390067283064127, 0.061231907457113266, 0.01626802794635296, -0.026088738813996315, 0.028220228850841522, -0.018011974170804024, -0.0003525877255015075, 0.008111994713544846, -0.01662914827466011, 0.0066014546900987625, -0.0001509714056737721, -0.06285254657268524, 0.001721927197650075, -0.006103813648223877, -0.011159497313201427, -0.044215213507413864, 0.019412416964769363, 0.014788315631449223, -0.054432276636362076, -0.01669961027801037, -0.010058521293103695, 0.02920670434832573, -0.0023693013936281204, 0.06211268901824951, 0.03339922055602074, 0.02897770144045353, -0.03886006399989128, 0.03618248924612999, -0.004362068604677916, 0.042946889996528625, 0.03727465867996216, -0.02006419561803341, -0.014894009567797184, -0.000544432841707021, 0.051472850143909454, -0.03755651041865349, -0.013784225098788738, 0.04351058974862099, 0.013264564797282219, -0.03383961319923401, 0.012163587845861912, 0.026388203725218773, -0.02245992049574852, -0.038542985916137695, -0.03445615991950035, -0.04270027205348015, -0.012119549326598644, -0.010278716683387756, -0.025877350941300392, -0.09068523347377777, -0.08300481736660004, -0.011820083484053612, -0.020663127303123474, 0.011379692703485489, -0.037063270807266235, 0.0725059062242508, 0.0068260543048381805, 0.039353303611278534, -0.02263607643544674, -0.008539173752069473, 0.0044281273148953915, 0.041572872549295425, 0.002580688800662756, -0.006927344016730785, 0.004809065256267786, 0.05577106401324272, -0.0482315756380558, -0.05943511426448822, 0.00968859251588583, -0.008015108294785023, -0.05545398220419884, 0.043862901628017426, 0.04453229531645775, 0.027850300073623657, -0.02513749524950981, 0.016083063557744026, 0.041572872549295425, 0.10153645277023315, 0.0023120506666600704, 0.014550505205988884, 0.000616546836681664, 0.022389456629753113, 0.007209193892776966, 0.01879587024450302, -0.03188427910208702, -0.04696325212717056, -0.015669096261262894, 0.03364584222435951, 0.03177858516573906, -0.02401009574532509, 0.039071451872587204, -0.06052728369832039, -0.0610557496547699, 0.047632645815610886, -0.023622551932930946, -0.00940674263983965, 0.016673186793923378, 0.008847447112202644, 0.0227417703717947, 0.013995612971484661, 0.0360591821372509, -0.021068286150693893, -0.02085689827799797, 0.014612159691751003, 0.033980537205934525, 0.002798682078719139, 0.057814475148916245, 0.026564359664916992, -0.008552385494112968, 0.04453229531645775, 0.04971129074692726, 0.012630402110517025, 0.05263548344373703, 0.030034638941287994, 0.0017681681783869863, 0.049640826880931854, -0.013194101862609386, 0.01920102909207344, 0.01897202618420124, -0.027339447289705276, -0.08476638048887253, -0.044955071061849594, 0.0477735698223114, -0.06493119150400162, 0.005716269835829735, 0.028889622539281845, -0.012357359752058983, -0.09153077751398087, -0.030087484046816826, -0.0647902637720108, 0.04720987007021904, -0.005407996475696564, 0.032659366726875305, 0.02811453491449356, -0.0141189219430089, -0.007482236251235008, 0.015193475410342216, 0.059752196073532104, 0.00047259413986466825, -0.03847252205014229, -0.00411985395476222, -0.026546744629740715, 0.00569865433499217, 0.033927690237760544, 0.06944078952074051, -0.015413670800626278, -0.02434479258954525, 0.0029043760150671005, -0.09315142035484314, 0.015563403256237507, 0.035407401621341705, 0.0660938173532486, 0.007878587581217289, 0.06767922639846802, 0.0596817322075367, 0.020134657621383667, 0.08476638048887253, 0.005667827092111111, -0.03251844272017479, -0.0036970789078623056, 0.0399874672293663, -0.06154898926615715, 0.04907712712883949, -0.045694928616285324, -0.03184904903173447, 0.0002741431526374072, 0.02714567631483078, 0.018320247530937195, -0.0454835407435894, 0.04865435138344765, -0.014347925782203674, 0.010322755202651024, 0.04132625460624695, 0.019747113808989525, -0.046610940247774124, 0.0173425804823637, -0.04280596598982811, 0.024767566472291946, -0.002503620460629463, 0.013114831410348415, 0.11126028001308441, -0.029876098036766052, 0.02240707352757454, 0.030369335785508156, -0.03230705484747887, -0.0064297025091946125, -0.03309975564479828, -0.0431935079395771, -0.03198997303843498, -0.05971696227788925, -0.05806109681725502, -0.006266757845878601, -0.04354581981897354, 0.03428000211715698, 0.03475562483072281, -0.047632645815610886, 0.02304123528301716, -0.05291733145713806, -0.03218374401330948, 0.031056344509124756, 0.02090974524617195, 0.008785792626440525, 0.008499538525938988, -0.015034934505820274, 0.04601201042532921, 0.06190130114555359, -0.03556594252586365, -0.026934288442134857, 0.007416177541017532, -0.025278419256210327, -0.003956909291446209, -0.0188134852796793, 0.044497065246105194, -0.02543696016073227, -0.05573583394289017, -0.04558923467993736, 0.06715075671672821, -0.051120538264513016, -0.005306706763803959, -0.03748604655265808, -0.04484937712550163, 0.011388500221073627, 0.050380684435367584, -0.015845254063606262, 0.03685188293457031, 0.017157617956399918, 0.004494186025112867, -0.051014844328165054, -0.03524886444211006, 0.03075687773525715, -0.018425941467285156, 0.024485716596245766, 0.0037543298676609993, -0.015484132803976536, -0.03639387711882591, -0.04925328493118286, 0.01920102909207344, 0.008477519266307354, -0.029858481138944626, -0.04308781400322914, -0.004188114311546087, -0.005456439219415188, -0.006196295376867056, -0.02999940700829029, 0.021579138934612274, 0.006284373812377453, 0.021103516221046448, 0.002688584616407752, 0.002133692381903529, 0.022547997534275055, 0.026106353849172592, -0.028449231758713722, -0.008111994713544846, 0.018883949145674706, 0.021244442090392113, 0.017148809507489204, 0.0012650219723582268, 0.014568120241165161, -0.007913818582892418, 0.027304217219352722, 0.051120538264513016, 0.0036882711574435234, -0.0020566240418702364, -0.052670713514089584, 0.019747113808989525, -0.036323416978120804, 0.003476883750408888, -0.002552063437178731, -0.010146599262952805, 0.032659366726875305, -0.000538377498742193, 0.009944019839167595, -0.03459708392620087, 0.04287642613053322, -0.003591385204344988, 0.025806888937950134, -0.02515511028468609, 0.0014059469103813171, -0.0037785512395203114, 0.0459415465593338, 0.04876004531979561, -0.006205103360116482, 0.027304217219352722, 0.030157947912812233, 0.047315564006567, -0.018760638311505318, 0.025190342217683792, 0.0012584161013364792, 0.012603978626430035, -0.010076136328279972, -0.010261100716888905, -0.044320907443761826, 0.013493567705154419, -0.012692056596279144, 0.03720419853925705, 0.03200758621096611, 0.007927030324935913, -0.010164215229451656, 0.021226827055215836, -0.001364109804853797, -0.005733885336667299, 0.09589945524930954, 0.036887116730213165, -0.01856686733663082, -0.015484132803976536, -0.07271729409694672, 0.018672561272978783, -0.05622906982898712, 0.037415582686662674, -0.012339744716882706, -0.002347281901165843, -0.029928945004940033, -0.020539816468954086, 0.01669961027801037, -0.04911235719919205, -0.02120921015739441, 0.017413044348359108, -0.011494194157421589, 0.05499597638845444, 0.015334400348365307, -0.014761892147362232, -0.00954766757786274, 0.049288515001535416, 0.009979250840842724, -0.01382826454937458, 0.01828501746058464, 0.031813815236091614, -0.03575971722602844, 0.011705582030117512, 0.030439797788858414, -0.03709850460290909, 0.03759174048900604, -0.004115450195968151, 0.012339744716882706, -0.032148513942956924, -0.0007607747684232891, -0.021790526807308197, 0.01943003199994564, 0.07722689211368561, -0.024080557748675346, 0.008614039979875088, 0.0532696470618248, -0.0418194904923439, -0.02571881003677845, -0.0011081327684223652, 0.023798707872629166, 0.021843373775482178, -0.01363449264317751, 0.014717853628098965, -0.01683172769844532, 0.02075120434165001, 0.05362195894122124, 0.007011018227785826, -0.009450782090425491, 0.0376269705593586, -0.02075120434165001, 0.04150240868330002, -0.007504255510866642, -0.03503747656941414, -0.015721943229436874, -0.02075120434165001, -0.012498284690082073, 0.03006986901164055, 0.06239453703165054, 0.02548980712890625, 0.0413614846765995, -0.01357283815741539, 0.031690508127212524, 0.029118625447154045, -0.005650211125612259, -0.04298212006688118, -0.0023164544254541397, 0.03713373467326164, -0.013352642767131329, 0.06722121685743332, 0.007222405634820461, -0.020539816468954086, -0.0038622254505753517, 0.00793143454939127, -0.053868576884269714, -0.019306723028421402, -0.05031022056937218, 0.05027499049901962, 0.041925184428691864, 0.037979286164045334, 0.0555596761405468 ]
54,947
ml_wrappers.dataset.dataset_wrapper
apply_one_hot_encoder
One-hot-encode categorical string features on the dataset. :param one_hot_encoder: The transformation steps to one-hot-encode the given dataset. :type one_hot_encoder: sklearn.preprocessing.OneHotEncoder
def apply_one_hot_encoder(self, one_hot_encoder): """One-hot-encode categorical string features on the dataset. :param one_hot_encoder: The transformation steps to one-hot-encode the given dataset. :type one_hot_encoder: sklearn.preprocessing.OneHotEncoder """ if self._one_hot_encoded or issparse(self._dataset): return self._dataset = one_hot_encoder.transform(self._dataset).astype(float) self._one_hot_encoded = True
(self, one_hot_encoder)
[ -0.02846013754606247, 0.014954380691051483, 0.046744585037231445, -0.002557172439992428, 0.026357868686318398, -0.02356661856174469, -0.03169304132461548, 0.0003132977872155607, 0.06342141330242157, 0.01584652066230774, 0.022541983053088188, 0.02467958629131317, 0.013585255481302738, 0.02208266407251358, 0.017498303204774857, -0.02118169143795967, -0.03490827605128288, 0.007327028084546328, 0.05893421545624733, 0.02213566191494465, 0.0022921806667000055, -0.03762885928153992, 0.036745551973581314, 0.023548953235149384, 0.0014408938586711884, -0.012640116736292839, -0.0030120753217488527, 0.0009180867928080261, -0.012180797755718231, -0.02930811233818531, -0.000691187393385917, -0.05925220623612404, -0.05522432550787926, 0.026057543233036995, 0.020616374909877777, -0.012869777157902718, -0.013594088144600391, -0.020121723413467407, 0.01501621212810278, 0.00337202288210392, 0.0047080242075026035, -0.026410866528749466, -0.041232749819755554, -0.0031136556062847376, -0.00041625823359936476, 0.010855837725102901, -0.025280233472585678, 0.014503894373774529, 0.036427564918994904, -0.04268137365579605, -0.07221914827823639, -0.03805284574627876, 0.03911281377077103, 0.03883015736937523, -0.006465804297477007, 0.02761216275393963, 0.014044574461877346, 0.009327717125415802, -0.016085011884570122, 0.029908761382102966, -0.017922289669513702, 0.0212700217962265, 0.036250900477170944, -0.016385337337851524, 0.025845550000667572, 0.011562483385205269, -0.026234205812215805, 0.10698609054088593, 0.0024379261303693056, -0.010520181618630886, -0.02194133587181568, -0.023036636412143707, 0.006002068053930998, 0.014804217964410782, -0.048405200242996216, 0.03755819424986839, -0.05988818407058716, -0.020669374614953995, 0.004606443922966719, 0.03478461131453514, 0.02563355676829815, -0.0038357588928192854, 0.00583424000069499, 0.002707334700971842, 0.028018483892083168, -0.04999515041708946, -0.029431775212287903, 0.05660228431224823, -0.040914759039878845, 0.02365495078265667, 0.04886452108621597, -0.0016462625935673714, 0.025951547548174858, 0.0378761850297451, 0.0451546311378479, 0.0017467387951910496, 0.003983712755143642, 0.012383958324790001, 0.012057134881615639, -0.03639223054051399, -0.006611549761146307, 0.04285803437232971, -0.013673585839569569, -0.00792326033115387, -0.040243446826934814, -0.017789794132113457, 0.0390421524643898, 0.008497409522533417, -0.06426938623189926, -0.02944944053888321, -0.03282367065548897, -0.07363243401050568, 0.05674361437559128, -0.03989012539386749, 0.03964279964566231, -0.011394654400646687, 0.013505757786333561, 0.004045544192194939, -0.03639223054051399, 0.046567924320697784, 0.04013745114207268, 0.03194036707282066, 0.02217099443078041, -0.03183436766266823, -0.006814710330218077, 0.022329989820718765, 0.045048635452985764, 0.01876143179833889, 0.008307497948408127, -0.03868882730603218, 0.012154298834502697, 0.029696766287088394, -0.016473667696118355, 0.08790667355060577, 0.03289433568716049, -0.07168915867805481, -0.050560466945171356, 0.023107299581170082, 0.007684767246246338, -0.026092875748872757, 0.026640526950359344, -0.008934645913541317, 0.0278241578489542, 0.005838656332343817, 0.041268084198236465, -0.020139390602707863, -0.05066646635532379, -0.01902642287313938, 0.029255114495754242, -0.034766945987939835, 0.006929540075361729, -0.0029237447306513786, -0.04469531401991844, -0.08875464648008347, 0.034183964133262634, -0.016155676916241646, -0.01745413802564144, 0.005335171706974506, 0.04116208478808403, 0.051055118441581726, 0.021199358627200127, -0.022506652399897575, -0.018655434250831604, 0.05995884910225868, -0.03734620288014412, -0.007433024700731039, 0.0032947335857897997, 0.030898064374923706, -0.012799112126231194, -0.012348625808954239, 0.08748268336057663, -0.044589314609766006, -0.02800081856548786, 0.04045544192194939, 0.022630315274000168, 0.051691100001335144, -0.019998060539364815, 0.02720584161579609, 0.003166654147207737, 0.03851216658949852, -0.025297900661826134, 0.004030086100101471, -0.0731377825140953, -0.030456410720944405, 0.008444410748779774, -0.05077246204018593, 0.06412805616855621, 0.031445715576410294, 0.0008060172549448907, 0.028566135093569756, 0.05024247616529465, -0.014327232725918293, -0.014742386527359486, 0.017604300752282143, 0.07084118574857712, -0.05381103605031967, 0.017047816887497902, -0.07978025078773499, -0.027188176289200783, 0.035879913717508316, -0.03964279964566231, -0.0009843347361311316, 0.13094136118888855, 0.022612648084759712, -0.0267995223402977, 0.0352439321577549, 0.008382579311728477, 0.04942983761429787, -0.008166169747710228, -0.10825805366039276, 0.02114635892212391, -0.03713420778512955, 0.0012763780541718006, 0.03621556982398033, 0.0004957558121532202, -0.03012075461447239, 0.02307196706533432, -0.03805284574627876, 0.003736386774107814, -0.03653356060385704, -0.0310217272490263, 0.023195629939436913, -0.037240203469991684, 0.03499660640954971, 0.02109336107969284, -0.03236435353755951, 0.009954865090548992, -0.02653452940285206, 0.02225932478904724, 0.037946850061416626, -0.017586633563041687, -0.016659162938594818, 0.014963213354349136, -0.018549438565969467, 0.031710706651210785, -0.00533075537532568, 0.020528044551610947, -0.05561298131942749, -0.025333233177661896, -0.033018000423908234, 0.03020908497273922, -0.05988818407058716, 0.005056930240243673, -0.026198873296380043, 0.01032585371285677, 0.013223099522292614, -0.02181767299771309, 0.0416567362844944, -0.04049077257514, -0.03536759689450264, 0.004409907851368189, 0.031269051134586334, -0.016482500359416008, -0.018567103892564774, 0.003508935449644923, -0.06391606479883194, -0.021429017186164856, 0.0038755075074732304, -0.03451962023973465, -0.010626178234815598, -0.05755625665187836, 0.04699191078543663, 0.024025939404964447, 0.06988721340894699, -0.0310217272490263, -0.014433229342103004, 0.012348625808954239, 0.0413740798830986, 0.026499196887016296, -0.009769370779395103, 0.002409218577668071, 0.01791345700621605, 0.016447167843580246, 0.016005516052246094, -0.009619208984076977, 0.026605194434523582, 0.020793037489056587, -0.05257440730929375, 0.007737765554338694, 0.03271767497062683, 0.01578468829393387, -0.03600357472896576, -0.026446199044585228, -0.030315082520246506, 0.022188661620020866, 0.02164101041853428, 0.020987363532185555, -0.01054668053984642, 0.03183436766266823, -0.01611151173710823, 0.01692415401339531, 0.04402399808168411, 0.041727401316165924, 0.05533032491803169, -0.05363437533378601, -0.031763702630996704, 0.035084936767816544, -0.019379746168851852, 0.04635592922568321, -0.01377958245575428, -0.033777642995119095, -0.020616374909877777, -0.05995884910225868, -0.05162043496966362, -0.013055271469056606, 0.005949069745838642, -0.035296931862831116, 0.03450195491313934, -0.007817262783646584, 0.01483071781694889, -0.001812986796721816, 0.023955274373292923, -0.07077052444219589, 0.039748795330524445, -0.03519093245267868, -0.006942789535969496, 0.04914717748761177, 0.03886548802256584, 0.021164026111364365, 0.05342238023877144, 0.028919456526637077, 0.0027735827025026083, 0.012207296676933765, -0.03667489066720009, -0.01299344003200531, 0.007366776932030916, 0.14048108458518982, -0.060524165630340576, -0.008833065629005432, -0.06345674395561218, 0.020121723413467407, -0.011297491379082203, 0.05957019701600075, -0.043918002396821976, -0.0029524522833526134, 0.013240765780210495, -0.013028771616518497, 0.006412805523723364, -0.02877812832593918, -0.013832581229507923, -0.003908631391823292, -0.005352837964892387, 0.024396928027272224, 0.025774884968996048, 0.024750249460339546, 0.01559919398277998, -0.06161946803331375, -0.0038777159061282873, -0.006200812291353941, 0.011765643954277039, 0.020263053476810455, -0.04653258994221687, 0.0812642052769661, 0.022064998745918274, 0.05875755473971367, -0.01657083071768284, -0.005313089117407799, 0.03681621700525284, -0.011765643954277039, -0.0451546311378479, 0.0393248088657856, -0.06402206420898438, -0.03160471096634865, -0.02621653862297535, -0.007176865823566914, 0.026110542938113213, 0.018107784911990166, 0.03156937658786774, -0.020298385992646217, -0.015431365929543972, 0.037098877131938934, 0.009005310945212841, -0.03805284574627876, -0.013293763622641563, -0.012613617815077305, -0.004250912927091122, -0.050737131386995316, 0.021128693595528603, -0.0009169826516881585, -0.006514385808259249, 0.022524317726492882, 0.008921395987272263, -0.05875755473971367, 0.030580073595046997, 0.04932383820414543, 0.019238417968153954, 0.012525287456810474, -0.022011999040842056, 0.0071636163629591465, -0.016005516052246094, -0.056708283722400665, 0.011509484611451626, -0.0477692186832428, -0.0033918973058462143, -0.003239526879042387, 0.018567103892564774, 0.008024840615689754, 0.026940850540995598, -0.004460697993636131, 0.056036967784166336, -0.0015446824254468083, -0.08062822371721268, 0.01566985808312893, 0.03577391803264618, -0.010228689759969711, 0.038759492337703705, -0.022559650242328644, 0.01497204601764679, -0.04197472706437111, 0.03989012539386749, -0.023725613951683044, 0.05829823389649391, 0.06366873532533646, 0.0016893238062039018, -0.04533129185438156, 0.02024538628757, -0.020404381677508354, -0.03448428958654404, 0.03250568360090256, 0.010493681766092777, -0.009875367395579815, 0.06720196455717087, -0.03550892323255539, 0.005392586812376976, -0.040243446826934814, -0.01695948652923107, 0.008771234191954136, -0.008545991033315659, -0.004942100495100021, 0.04699191078543663, -0.05458834767341614, -0.09370116144418716, -0.016005516052246094, -0.04918251186609268, -0.016208674758672714, 0.033194661140441895, -0.027806490659713745, 0.011288657784461975, -0.017807461321353912, 0.020210053771734238, 0.0045446124859154224, -0.024856247007846832, 0.04617926850914955, 0.01407107338309288, -0.012551786378026009, 0.0010533430613577366, -0.03443128988146782, 0.05642562359571457, -0.04932383820414543, -0.03847683593630791, 0.0071812826208770275, -0.024485258385539055, -0.03333599120378494, 0.029749765992164612, 0.05430568754673004, 0.009186387993395329, -0.019892064854502678, 0.03879482299089432, 0.041268084198236465, 0.06967522203922272, -0.0006707609281875193, -0.002649919828400016, -0.03070373646914959, 0.05631962791085243, -0.01286094356328249, 0.02773582562804222, -0.05550698563456535, 0.04003145545721054, 0.02118169143795967, 0.09567976742982864, 0.011058998294174671, -0.00012939060979988426, 0.04798121377825737, -0.03598590940237045, -0.013364428654313087, 0.025562891736626625, -0.016906488686800003, -0.02688785269856453, 0.017842791974544525, 0.01319660060107708, -0.05349304527044296, -0.025916215032339096, 0.06161946803331375, -0.02095203287899494, 0.011544817127287388, 0.00815733615309, 0.011032499372959137, -0.05543632060289383, 0.04038477689027786, 0.07843762636184692, -0.022630315274000168, 0.02791248820722103, 0.013258432038128376, 0.029431775212287903, 0.00047174093197099864, 0.02213566191494465, -0.04317602515220642, 0.03169304132461548, -0.05483567342162132, 0.04102075845003128, -0.00014933402417227626, 0.05133777856826782, -0.11221526563167572, -0.04536662623286247, 0.03649822622537613, -0.021040363237261772, -0.039572134613990784, -0.017030151560902596, -0.06275010108947754, -0.036021243780851364, -0.021711675450205803, -0.07942692935466766, -0.023902276530861855, 0.025933880358934402, 0.04328202083706856, 0.03280600532889366, 0.0190794225782156, -0.005741492845118046, -0.03333599120378494, 0.0786496177315712, -0.018231447786092758, 0.007212198339402676, 0.018655434250831604, -0.0208283681422472, -0.024573588743805885, -0.013090603053569794, 0.045437291264534, -0.01916775293648243, -0.0054809171706438065, 0.026092875748872757, -0.06995788216590881, -0.022877641022205353, -0.030756734311580658, 0.08917862921953201, 0.02849547006189823, 0.02823047898709774, 0.014848383143544197, -0.011164994910359383, 0.05561298131942749, 0.030827399343252182, -0.07059386372566223, -0.04402399808168411, 0.0655413493514061, -0.045048635452985764, 0.020263053476810455, -0.04685058072209358, -0.017321642488241196, 0.054553013294935226, -0.018832096830010414, -0.00007094055763445795, -0.11405254155397415, -0.01045835018157959, -0.02499757520854473, 0.0498184897005558, 0.04533129185438156, -0.014300733804702759, 0.02692318521440029, 0.0812642052769661, 0.008996477350592613, 0.06995788216590881, -0.0320463627576828, 0.0038490083534270525, 0.0332123264670372, -0.010060861706733704, 0.055047664791345596, 0.04105608910322189, -0.04681525006890297, 0.01083817146718502, -0.051408443599939346, -0.050560466945171356, -0.02225932478904724, -0.0196624044328928, -0.06607133150100708, -0.008669653907418251, -0.08649338036775589, -0.024202600121498108, -0.014336065389215946, -0.024979909881949425, -0.02487391233444214, -0.0160231813788414, -0.0955384373664856, 0.034272294491529465, -0.04783988371491432, 0.03971346467733383, 0.010025529190897942, -0.018885094672441483, 0.0754697173833847, 0.06861525774002075, -0.11143795400857925, -0.04999515041708946, -0.0016164510743692517, -0.06324475258588791, 0.01279027946293354, 0.001662824652157724, 0.03914814814925194, -0.032611679285764694, -0.006152230314910412, -0.02275397814810276, 0.01497204601764679, 0.010979500599205494, -0.0018505272455513477, -0.012507621198892593, -0.011641981080174446, -0.01377958245575428, 0.06013550981879234, 0.009689873084425926, -0.02289530634880066, 0.08239483833312988, 0.009142222814261913, -0.07412708550691605, -0.007070869207382202, 0.06886257976293564, -0.01840810850262642, 0.03985479101538658, -0.018231447786092758, -0.0032881086226552725, 0.0006050650263205171, -0.06677797436714172, -0.019185418263077736, 0.009371882304549217, 0.03890082240104675, 0.0006056170677766204, -0.03315933048725128, -0.008263332769274712, -0.01631467230618, -0.011253326199948788, 0.029078451916575432, 0.00044827809324488044, -0.005525082815438509, -0.06706063449382782, 0.008771234191954136, 0.02275397814810276, 0.04395333677530289, -0.022117996588349342, 0.021128693595528603, -0.005732659716159105, -0.058368898928165436, 0.008426744490861893, -0.00013360011507757008, -0.04685058072209358, -0.026693524792790413, 0.030456410720944405, 0.017701463773846626, 0.008250083774328232, 0.01893809251487255, -0.025774884968996048, -0.02989109419286251, -0.03285900503396988, -0.027223508805036545, -0.02558055892586708, -0.025863217189908028, 0.026817187666893005, 0.021340686827898026, 0.027682827785611153, 0.05423502251505852, -0.0005470979958772659, 0.008311915211379528, -0.003840175224468112, -0.03572091832756996, -0.022683313116431236, 0.032523348927497864, -0.012905108742415905, 0.11574849486351013, -0.003413979895412922, 0.04218672215938568, 0.033282991498708725, 0.03568558394908905, -0.031004060059785843, -0.0195210762321949, -0.030898064374923706, -0.035261597484350204, -0.020793037489056587, 0.01227796170860529, -0.06706063449382782, 0.06942790001630783, -0.0067352126352488995, 0.014795385301113129, 0.029166782274842262, 0.03155171126127243, -0.014212402515113354, -0.030845066532492638, 0.005379336886107922, 0.034713950008153915, 0.0013680210104212165, -0.002309846691787243, -0.05660228431224823, -0.05776825174689293, -0.04363534599542618, -0.015369534492492676, -0.017992954701185226, 0.013364428654313087, -0.04730990156531334, 0.009689873084425926, -0.05458834767341614, -0.007927676662802696, 0.008925813250243664, -0.007088535465300083, -0.03773485869169235, -0.006730796303600073, -0.029467107728123665, 0.024202600121498108, 0.006615966092795134, -0.029202114790678024, -0.012242629192769527, 0.06628332287073135, 0.012304460629820824, -0.008877230808138847, -0.0026565445587038994, 0.022365322336554527, -0.01725097745656967, 0.024520590901374817, -0.0027470835484564304, -0.024714918807148933, 0.05508299916982651, -0.016553165391087532, 0.01870843395590782, -0.05988818407058716, 0.02109336107969284, -0.0026278370060026646, 0.022559650242328644, 0.020634042099118233, -0.0020161473657935858, -0.0010268439073115587, 0.07412708550691605, 0.02118169143795967, -0.04218672215938568, 0.01214546523988247, 0.00862107239663601, 0.007062036078423262, -0.03165770694613457, -0.02324862964451313, -0.0003306879079900682, -0.017789794132113457, 0.040102116763591766, -0.029414109885692596, -0.01584652066230774, 0.0367102213203907, -0.01440673042088747, 0.036780886352062225, -0.02575721964240074, 0.005993234924972057, -0.05041914060711861, 0.0095397112891078, 0.01146531943231821, 0.050913792103528976, 0.003120280569419265, 0.06812060624361038, -0.0025262567214667797, -0.023195629939436913, -0.0071282838471233845, -0.00547650083899498, 0.02761216275393963, -0.0559309720993042, -0.016729826107621193, 0.06635399162769318, -0.006660131737589836, -0.01771029643714428, 0.047380562871694565, -0.022029666230082512, -0.04430665820837021, -0.04102075845003128, -0.07115917652845383, 0.008033673278987408, -0.06070082634687424, 0.028018483892083168, 0.03149871155619621, 0.09391315281391144, 0.019185418263077736 ]
54,948
ml_wrappers.dataset.dataset_wrapper
apply_timestamp_featurizer
Apply timestamp featurization on the dataset. :param timestamp_featurizer: The transformation steps to featurize timestamps in the given dataset. :type timestamp_featurizer: CustomTimestampFeaturizer
def apply_timestamp_featurizer(self, timestamp_featurizer): """Apply timestamp featurization on the dataset. :param timestamp_featurizer: The transformation steps to featurize timestamps in the given dataset. :type timestamp_featurizer: CustomTimestampFeaturizer """ if self._timestamp_featurized or issparse(self._dataset): return self._dataset = timestamp_featurizer.transform(self._dataset) self._timestamp_featurized = True
(self, timestamp_featurizer)
[ -0.0042276508174836636, -0.002175338799133897, 0.011506368406116962, 0.06170133501291275, 0.014369538985192776, -0.02208220586180687, -0.010996365919709206, 0.07988247275352478, 0.019845353439450264, 0.05389919504523277, -0.003596858587116003, -0.043126512318849564, -0.006795557215809822, -0.004250019323080778, 0.0032904096879065037, 0.01946956291794777, -0.07608877122402191, 0.04330546036362648, -0.008893724530935287, -0.03111908957362175, 0.0024046162143349648, -0.09899413585662842, -0.038903336971998215, 0.008925041183829308, 0.0052610766142606735, 0.038473859429359436, -0.0036460692062973976, -0.038366492837667465, -0.035521216690540314, 0.005153707694262266, 0.007860299199819565, -0.05572446435689926, -0.021169571205973625, -0.005847131833434105, -0.030958035960793495, -0.027683284133672714, -0.08510775864124298, -0.00023389086709357798, 0.057299207895994186, -0.001711192075163126, 0.05787184461951256, -0.011121629737317562, -0.06059185415506363, 0.019952721893787384, -0.00104684685356915, 0.04938969761133194, -0.023030631244182587, 0.031369615346193314, -0.01640954799950123, -0.048387590795755386, -0.03566437214612961, -0.003784754080697894, 0.03260435909032822, 0.06771399080753326, -0.025195904076099396, 0.0071713486686348915, 0.029007500037550926, 0.08489301800727844, -0.015550597570836544, 0.019183246418833733, 0.02240431308746338, 0.008392670191824436, -0.02449800632894039, 0.05647604912519455, 0.033767521381378174, -0.013090060092508793, 0.006755293812602758, 0.0251243244856596, 0.01245479378849268, 0.011443736031651497, -0.028774868696928024, -0.027110649272799492, 0.013671641238033772, 0.03620121628046036, -0.022869577631354332, 0.01360006257891655, -0.050427597016096115, 0.010307415388524532, -0.010191098786890507, 0.03822333365678787, 0.007721614092588425, 0.0008449709857814014, 0.00788266770541668, 0.027593810111284256, 0.02392537333071232, -0.033767521381378174, -0.0010177678195759654, -0.009171094745397568, -0.0848214402794838, 0.02002430148422718, -0.0007873720023781061, -0.0049837068654596806, 0.04452230781316757, 0.00884451437741518, 0.011756896041333675, -0.01959482580423355, -0.04971180483698845, 0.027790652588009834, 0.03298015147447586, 0.007247401401400566, 0.04742126911878586, 0.01957693137228489, -0.0032255409751087427, 0.0376506969332695, 0.06155817583203316, -0.01028057374060154, -0.0057218680158257484, -0.04666968807578087, -0.02961592562496662, 0.0043305461294949055, -0.03489489480853081, 0.004274624865502119, 0.020954832434654236, -0.002251391764730215, -0.04788653552532196, -0.06832242012023926, 0.059339217841625214, 0.010378994978964329, 0.0034201471135020256, 0.0042790984734892845, 0.04341283068060875, 0.023245370015501976, 0.017143236473202705, -0.01601586304605007, -0.07408455014228821, -0.041301243007183075, 0.03638016805052757, 0.03736438229680061, 0.017653238028287888, -0.01664218120276928, -0.022905368357896805, 0.04513073340058327, 0.03711385279893875, 0.045202311128377914, 0.04903180152177811, -0.0911204144358635, 0.024175899103283882, 0.05039180815219879, -0.034859105944633484, 0.012293740175664425, 0.031101195141673088, -0.03308751806616783, 0.06542345881462097, -0.027039071545004845, -0.0017324421787634492, -0.015729544684290886, -0.05268234759569168, 0.020954832434654236, 0.003366462653502822, -0.025195904076099396, 0.01028952095657587, 0.04624021053314209, -0.005015023052692413, -0.02524958923459053, 0.008016878738999367, 0.003901070449501276, 0.008343459106981754, -0.04362756758928299, 0.040084391832351685, -0.01818113587796688, -0.01775166019797325, -0.022887472063302994, -0.012759005650877953, -0.0066926623694598675, -0.03392857685685158, 0.030403297394514084, -0.00473765330389142, 0.03761490806937218, -0.02068641036748886, 0.057513948529958725, 0.08940251171588898, 0.024659059941768646, 0.0763750821352005, 0.058802373707294464, 0.05626130849123001, 0.06742767989635468, 0.011443736031651497, 0.009269515983760357, 0.045739155262708664, 0.07487192004919052, 0.03700648620724678, 0.003912254702299833, -0.03958334028720856, 0.0026260646991431713, -0.002706591272726655, -0.024891693145036697, -0.03743596002459526, 0.028667500242590904, -0.052610766142606735, 0.043591778725385666, 0.07261717319488525, -0.021402202546596527, -0.025518011301755905, -0.01724165864288807, -0.01925482414662838, 0.019505351781845093, -0.0665329322218895, -0.031154878437519073, 0.001953890547156334, -0.0039950180798769, 0.011228999122977257, -0.016185862943530083, 0.024676954373717308, -0.027146439999341965, -0.00748003413900733, -0.000638062134385109, -0.02304852567613125, 0.06159396469593048, -0.13965116441249847, -0.0668550431728363, 0.03468015789985657, -0.07587403059005737, -0.0164453387260437, 0.057191841304302216, 0.022386418655514717, -0.03480542078614235, 0.003066724631935358, -0.03646964207291603, -0.010906891897320747, -0.005466867238283157, 0.07122138142585754, 0.03936859965324402, -0.03707806393504143, 0.023012736812233925, 0.07644666731357574, 0.02142009697854519, 0.08532249182462692, -0.03736438229680061, 0.011067945510149002, -0.0353422649204731, -0.025392748415470123, -0.013743220828473568, -0.053720247000455856, 0.015300069935619831, 0.052932873368263245, -0.0424107201397419, 0.0711497962474823, 0.004359625279903412, 0.026394857093691826, -0.031154878437519073, 0.022046416997909546, -0.006437661126255989, 0.00852240715175867, -0.06388450413942337, -0.049783386290073395, -0.03707806393504143, -0.007958720438182354, 0.021939046680927277, -0.010978471487760544, 0.006218449678272009, 0.010638469830155373, 0.025303274393081665, -0.01576533541083336, 0.02448011189699173, 0.0027960652951151133, -0.058802373707294464, 0.06073501333594322, -0.009403727017343044, -0.0229769479483366, 0.0072250328958034515, -0.011318473145365715, 0.027504336088895798, -0.05994764342904091, 0.03668437898159027, -0.04938969761133194, -0.03315909951925278, 0.020382197573781013, -0.0037690962199121714, 0.05321919173002243, -0.03645174577832222, -0.08546565473079681, -0.007059506140649319, -0.04341283068060875, -0.010987418703734875, -0.007148980163037777, -0.019415877759456635, -0.00864319782704115, -0.032586462795734406, 0.05339813977479935, 0.027611704543232918, 0.025965381413698196, -0.01601586304605007, -0.007918457500636578, 0.014315854758024216, -0.012105844914913177, 0.011363210156559944, -0.04115808382630348, 0.053684454411268234, -0.013823747634887695, -0.03829491138458252, -0.016839023679494858, 0.01120215654373169, 0.09434148669242859, 0.02319168485701084, -0.04677705466747284, 0.01895061321556568, -0.01970219612121582, -0.029347501695156097, 0.061987653374671936, -0.0649939775466919, 0.002905671251937747, 0.006079764571040869, 0.02056114748120308, 0.018252715468406677, -0.017554817721247673, -0.019397983327507973, -0.005976869259029627, -0.019022192806005478, 0.00161836261395365, -0.01572059839963913, 0.061522386968135834, -0.03570016473531723, -0.06155817583203316, -0.03235383331775665, 0.006370555609464645, -0.02011377550661564, 0.006858189124614, -0.0004789660160895437, -0.03179909288883209, 0.01959482580423355, -0.017062708735466003, -0.03469805419445038, 0.045524418354034424, -0.015550597570836544, 0.027683284133672714, -0.016230599954724312, 0.053147610276937485, -0.07401297241449356, -0.0622381791472435, -0.007591876666992903, 0.053684454411268234, 0.0002765308599919081, 0.04452230781316757, 0.03328436240553856, -0.03153067082166672, 0.009609517641365528, -0.04523809999227524, -0.02621590904891491, -0.02349589765071869, 0.025732748210430145, -0.06810767948627472, 0.05114339292049408, -0.02786223217844963, 0.05429287999868393, 0.02308431640267372, 0.018628505989909172, -0.040979135781526566, -0.038581229746341705, 0.05246760696172714, 0.0347338430583477, 0.02664538472890854, -0.03598647937178612, -0.048673905432224274, 0.06567398458719254, 0.040442291647195816, -0.027593810111284256, 0.018646400421857834, 0.0015971125103533268, -0.03883175551891327, -0.0015355991199612617, 0.02013167180120945, -0.03668437898159027, 0.02884644828736782, -0.023227473720908165, 0.029311712831258774, 0.03947596997022629, 0.01409216970205307, 0.016006914898753166, -0.025267483666539192, 0.025374852120876312, 0.00903688371181488, 0.010692154057323933, 0.013796905055642128, -0.002925802953541279, 0.035073842853307724, -0.09906571358442307, -0.009833202697336674, 0.05361287668347359, -0.059124480932950974, 0.045417048037052155, -0.010647417046129704, 0.050749704241752625, 0.030009610578417778, 0.01290216390043497, 0.03908228501677513, -0.0046526528894901276, -0.014566382393240929, -0.05311182141304016, 0.03686332702636719, -0.04033492133021355, -0.037149641662836075, -0.020095881074666977, -0.018467452377080917, -0.029401186853647232, -0.02426537312567234, -0.014432171359658241, -0.035109635442495346, 0.01893271878361702, 0.053254980593919754, -0.00622739689424634, -0.029311712831258774, -0.03689911589026451, -0.01240110956132412, 0.010047940537333488, 0.0033686996903270483, 0.041086502373218536, -0.01895061321556568, 0.024981167167425156, -0.05558130517601967, 0.062202390283346176, 0.02272642031311989, 0.04033492133021355, 0.04559599608182907, 0.02677064947783947, 0.005153707694262266, 0.04785074666142464, -0.002210010075941682, -0.006540555972605944, -0.022457998245954514, 0.061307650059461594, -0.002422511111944914, 0.03815175220370293, -0.04341283068060875, 0.0251243244856596, -0.013403219170868397, 0.012168476358056068, -0.007247401401400566, 0.0035297530703246593, -0.00004847678428632207, 0.025410642847418785, -0.027450650930404663, -0.07716245949268341, -0.05550972744822502, 0.04112229496240616, 0.01884324476122856, 0.01895061321556568, -0.008016878738999367, -0.0037042275071144104, -0.010566890239715576, -0.0066658197902143, 0.011023208498954773, -0.006594240665435791, 0.0888298824429512, -0.021706415340304375, 0.005784499924629927, -0.04906759411096573, -0.060556065291166306, 0.07308243960142136, -0.029669608920812607, 0.010808470658957958, 0.0023039579391479492, 0.0022871815599501133, -0.01250847801566124, 0.05493709444999695, -0.019415877759456635, 0.01698218286037445, 0.03969070687890053, -0.05615394189953804, -0.013573219999670982, 0.03947596997022629, -0.057513948529958725, 0.007560560945421457, 0.003350804792717099, -0.036720167845487595, 0.05976869538426399, -0.043269671499729156, -0.040979135781526566, -0.06216660141944885, -0.04037071019411087, 0.011524262838065624, 0.06774978339672089, -0.037722278386354446, 0.050534967333078384, -0.03256857022643089, -0.011372157372534275, 0.042160194367170334, -0.020829569548368454, 0.03983386605978012, 0.014405328780412674, 0.03843807056546211, -0.021724309772253036, 0.0018688901327550411, 0.00913530495017767, 0.005489235743880272, 0.03625490143895149, -0.0020511934999376535, -0.03230014815926552, -0.0476360060274601, 0.024444323033094406, 0.03206751495599747, -0.020167460665106773, 0.016606392338871956, 0.09119199216365814, -0.0016787577187642455, 0.025070641189813614, -0.0018744822591543198, 0.04903180152177811, 0.06767820566892624, 0.050320230424404144, 0.03253278136253357, -0.03537805750966072, 0.008133195340633392, -0.04713495075702667, -0.013832694850862026, 0.035073842853307724, 0.012750058434903622, -0.029633820056915283, 0.014781120233237743, -0.05454340577125549, -0.002532116835936904, -0.06245291605591774, -0.02109799161553383, 0.04681284725666046, 0.012275845743715763, 0.024086425080895424, -0.0035700162407010794, 0.0054087089374661446, 0.017161130905151367, -0.036183323711156845, 0.03897491469979286, -0.019201140850782394, 0.041193872690200806, 0.009157673455774784, -0.05354129895567894, 0.05386340245604515, -0.01447690837085247, -0.012052160687744617, 0.010763733647763729, 0.058695003390312195, 0.001967311603948474, 0.026198014616966248, -0.0043797567486763, 0.05812237039208412, -0.002015403937548399, 0.0159800723195076, 0.008933988399803638, -0.03287278115749359, -0.053720247000455856, 0.030313823372125626, -0.03351699560880661, -0.023692740127444267, -0.02938329242169857, 0.017340078949928284, -0.016311127692461014, -0.008142142556607723, -0.006826873403042555, -0.046526528894901276, 0.03360646963119507, 0.033355940133333206, 0.02970539964735508, -0.028309602290391922, 0.02460537478327751, 0.024981167167425156, 0.07301086187362671, -0.015729544684290886, -0.004220940172672272, -0.01936219446361065, 0.07458560168743134, -0.04105071350932121, 0.004630284383893013, -0.027003280818462372, -0.01491533126682043, 0.09226568788290024, 0.04398546367883682, -0.04462967813014984, 0.00410686107352376, -0.050749704241752625, -0.004413309507071972, -0.07780667394399643, 0.029902242124080658, 0.06302554905414581, -0.019934827461838722, -0.021921152248978615, -0.03815175220370293, -0.027021175250411034, 0.004290282726287842, -0.009734781458973885, -0.041838087141513824, -0.007117663975805044, -0.01724165864288807, -0.03854544088244438, 0.042804405093193054, 0.03305172920227051, 0.0009506622445769608, 0.00012393560609780252, -0.041623346507549286, 0.031834881752729416, 0.023692740127444267, -0.033481206744909286, 0.014503750018775463, -0.03761490806937218, -0.026716964319348335, -0.002720012329518795, -0.0016888234531506896, 0.03808017447590828, -0.07480034232139587, 0.009564780630171299, -0.05683394521474838, 0.03188856691122055, -0.006938715931028128, 0.012186371721327305, 0.0005910882027819753, -0.06256028264760971, -0.015881652012467384, -0.00985109806060791, -0.07336875796318054, -0.0940551683306694, 0.03317699208855629, -0.015622176229953766, -0.01457532960921526, 0.013260060921311378, 0.06968242675065994, 0.060341328382492065, 0.005627920385450125, 0.05343392863869667, -0.009707938879728317, -0.016901656985282898, 0.000568999326787889, 0.037937015295028687, -0.05253918841481209, 0.015147963538765907, 0.016677970066666603, 0.0012336240615695715, 0.013931116089224815, -0.024533797055482864, -0.05550972744822502, 0.0159800723195076, -0.02111588604748249, -0.017438501119613647, -0.0673203095793724, 0.003243435872718692, -0.05819395184516907, 0.028327498584985733, -0.07608877122402191, 0.008907145820558071, -0.020167460665106773, -0.034232787787914276, -0.03144119679927826, 0.00206685159355402, -0.03947596997022629, 0.03382120653986931, 0.020919043570756912, 0.030761193484067917, -0.07326138764619827, 0.03689911589026451, 0.0031338301487267017, -0.0266632791608572, 0.0031875146087259054, 0.016123231500387192, 0.065459243953228, -0.026466436684131622, -0.009752675890922546, 0.028703289106488228, 0.05157286673784256, -0.026967491954565048, 0.05801500007510185, -0.030009610578417778, -0.0035252792295068502, 0.039977025240659714, -0.025267483666539192, 0.011094787158071995, 0.021491676568984985, 0.0336601547896862, 0.009842149913311005, -0.03961912915110588, -0.05461498722434044, -0.04742126911878586, 0.002402379410341382, 0.0024560638703405857, 0.03417910262942314, -0.07866562157869339, 0.032586462795734406, 0.013716378249228, 0.038473859429359436, 0.06706977635622025, -0.04938969761133194, -0.033570680767297745, -0.0007331283413805068, -0.030331717804074287, -0.017742712050676346, 0.03340962529182434, -0.000012564818462124094, 0.0015121122123673558, 0.006142396479845047, -0.06975400447845459, -0.001748100039549172, -0.008061615750193596, -0.007090821862220764, 0.020972726866602898, 0.0032658043783158064, 0.03221067413687706, -0.02677064947783947, -0.001063623232766986, -0.02947276644408703, 0.008674513548612595, -0.03768648952245712, -0.06553082913160324, 0.026502225548028946, 0.02983066253364086, -0.021831678226590157, -0.003162909299135208, 0.0668550431728363, -0.015613229013979435, 0.01980956457555294, 0.01948745734989643, -0.006929768715053797, -0.08754145354032516, -0.014548487961292267, 0.016033757477998734, -0.010790575295686722, 0.0061200279742479324, -0.01633797027170658, 0.020954832434654236, 0.01715218275785446, -0.014700593426823616, -0.013340586796402931, -0.04029913246631622, 0.010208994150161743, 0.08568038791418076, 0.00574423698708415, 0.014127959497272968, -0.011631632223725319, -0.018789559602737427, 0.055008672177791595, -0.0706845298409462, -0.0011933606583625078, 0.015944283455610275, 0.00683134701102972, 0.017527975142002106, -0.05375603586435318, 0.015130069106817245, 0.0006716148927807808, 0.016839023679494858, -0.015684807673096657, 0.015702703967690468, 0.01196268666535616, -0.006182659883052111, -0.007059506140649319, 0.053147610276937485, 0.006003711838275194, 0.007131085265427828, -0.007811088114976883, -0.03496647626161575, 0.020471671596169472, 0.07064874470233917, -0.031190669164061546, 0.0005292951827868819, -0.020954832434654236, -0.014799014665186405, 0.03818754106760025, -0.0017380343051627278, -0.009564780630171299, -0.0889730378985405, -0.04584652557969093, 0.03983386605978012, 0.03221067413687706, 0.01991693302989006, 0.026180120185017586, -0.014459013007581234, -0.001266058417968452, 0.027933811768889427, -0.03047487698495388, 0.022440101951360703, -0.03144119679927826, 0.05278971418738365, 0.02338852733373642, -0.006290028803050518, 0.06216660141944885 ]
54,949
ml_wrappers.dataset.dataset_wrapper
augment_data
Augment the current dataset. :param max_augment_data_size: number of times we stack permuted x to augment. :type max_augment_data_size: int
def augment_data(self, max_num_of_augmentations=np.inf): """Augment the current dataset. :param max_augment_data_size: number of times we stack permuted x to augment. :type max_augment_data_size: int """ self._dataset = _generate_augmented_data(self._dataset, max_num_of_augmentations=max_num_of_augmentations)
(self, max_num_of_augmentations=inf)
[ -0.00044801775948144495, -0.00037017068825662136, -0.012989337556064129, 0.02869008295238018, 0.028825653716921806, 0.059989895671606064, -0.029283203184604645, -0.06029492989182472, 0.013362156227231026, 0.02791055291891098, -0.006736153736710548, -0.028520619496703148, 0.0012709724251180887, 0.035349976271390915, 0.058227479457855225, 0.0020367333199828863, 0.036400649696588516, 0.024622971192002296, 0.03277413919568062, 0.03843420371413231, 0.004156079608947039, 0.020115256309509277, -0.09361135214567184, -0.07151337713003159, -0.008113040588796139, 0.09042544662952423, -0.04829695075750351, 0.01577700302004814, 0.01779361255466938, 0.011354019865393639, -0.07619055360555649, -0.07402142882347107, 0.012472475878894329, 0.019945792853832245, 0.01892901584506035, -0.04212849587202072, -0.04016272723674774, 0.03541776165366173, -0.03170652315020561, 0.008655321784317493, 0.07076773792505264, -0.03728185594081879, 0.004609392955899239, 0.03292665630578995, 0.018505357205867767, 0.05249963328242302, 0.03221491351723671, -0.008312159217894077, 0.029893269762396812, -0.038095276802778244, -0.005609224550426006, -0.05005936324596405, 0.03562111780047417, 0.061243921518325806, -0.012303012423217297, 0.07253015786409378, 0.009794960729777813, 0.061820097267627716, 0.03253689408302307, -0.08032545447349548, -0.017776666209101677, -0.02411458268761635, 0.02189461700618267, -0.05202513560652733, -0.030316928401589394, 0.042094603180885315, -0.06676841527223587, 0.012048818171024323, -0.036604005843400955, -0.008545170538127422, -0.0077868239022791386, 0.0451449379324913, 0.002654213923960924, 0.04467044398188591, -0.006842067930847406, 0.03697682172060013, -0.035044945776462555, -0.015793949365615845, -0.04528050869703293, 0.02189461700618267, 0.010659221559762955, -0.01707339473068714, -0.03551943972706795, 0.04646674916148186, 0.018844284117221832, -0.04436540976166725, -0.03453655540943146, -0.005155911203473806, -0.011048986576497555, -0.08364693075418472, 0.0014764462830498815, 0.03160484507679939, 0.035824473947286606, 0.008447729982435703, 0.04016272723674774, -0.004766146186739206, -0.042569100856781006, -0.04402648285031319, 0.06270129978656769, -0.025182198733091354, -0.010879523120820522, -0.02345367707312107, 0.05080500245094299, -0.03238437697291374, -0.013353683054447174, 0.006545507814735174, 0.001567532541230321, 0.009786487556993961, -0.0653788149356842, 0.004079821519553661, -0.040738899260759354, 0.0306050144135952, -0.00835028849542141, 0.0030693982262164354, -0.002607611706480384, -0.03962044417858124, 0.0425352081656456, 0.024419615045189857, -0.0004729076463263482, 0.06185398995876312, 0.02635149285197258, 0.010955781675875187, 0.006248947698622942, 0.009430615231394768, -0.018302002921700478, -0.006134559866040945, 0.03228269889950752, 0.02869008295238018, -0.013167274184525013, -0.0830368623137474, -0.028249479830265045, -0.010430446825921535, -0.0658872053027153, 0.03307917341589928, -0.011387912556529045, -0.03551943972706795, 0.08310464769601822, -0.028978170827031136, -0.037959709763526917, -0.03972212225198746, -0.03128286823630333, 0.03360451012849808, 0.05765130743384361, 0.08859524875879288, -0.013582457788288593, -0.026182031258940697, 0.06568384915590286, 0.02587699703872204, 0.0030693982262164354, -0.08622276782989502, 0.005427051801234484, 0.009354356676340103, 0.0005724671646021307, -0.046975139528512955, 0.03531608730554581, 0.04907647892832756, -0.03921373561024666, 0.025961728766560555, 0.0018831574125215411, -0.03799360245466232, -0.06656505912542343, -0.017132706940174103, -0.045992255210876465, 0.03907816484570503, -0.050025470554828644, -0.07117445021867752, -0.009710229001939297, -0.018607035279273987, 0.02821558713912964, 0.05541439354419708, 0.06853082776069641, -0.04331474006175995, 0.030130518600344658, -0.024724649265408516, -0.009456034749746323, 0.04155232384800911, -0.01582784205675125, -0.034011222422122955, 0.054804328829050064, 0.06256573647260666, -0.0032049687579274178, -0.007808006834238768, 0.010472812689840794, -0.0487714447081089, -0.04243353009223938, -0.06819190084934235, 0.02252162992954254, 0.013997642323374748, 0.05094057321548462, -0.017132706940174103, 0.03917984291911125, -0.01826811023056507, -0.006592109799385071, -0.0027855478692799807, -0.016319286078214645, -0.03201155737042427, -0.005905785132199526, 0.005998989567160606, 0.025707533583045006, -0.00413489667698741, -0.03194377198815346, -0.03274024650454521, 0.06402311474084854, -0.07822411507368088, 0.013760394416749477, -0.008604482747614384, -0.018335895612835884, -0.04128118231892586, -0.044941581785678864, 0.011828516609966755, 0.05358419567346573, 0.0002933827927336097, 0.0617184191942215, 0.0023809548001736403, 0.038942594081163406, -0.046670105308294296, 0.0069903479889035225, 0.003692174796015024, 0.03377397358417511, 0.040908362716436386, 0.007981706410646439, -0.0269785076379776, -0.02330115996301174, 0.043653663247823715, 0.0352821946144104, 0.011006620712578297, 0.013802760280668736, -0.009244205430150032, 0.0012148377718403935, 0.010006789118051529, 0.025927836075425148, 0.02401290461421013, -0.026368439197540283, -0.047754667699337006, 0.002779192989692092, 0.029486559331417084, 0.04985601082444191, -0.05534661188721657, 0.028503673151135445, 0.013133381493389606, 0.0036900565028190613, 0.0042789401486516, 0.006308259442448616, -0.050296612083911896, -0.049618761986494064, 0.02919847145676613, -0.023267267271876335, 0.02209797315299511, -0.01935267262160778, -0.009727175347507, 0.01892901584506035, -0.009074742905795574, -0.05514325574040413, 0.023318106308579445, -0.00788850151002407, -0.02682599052786827, -0.013412995263934135, -0.0014828010462224483, 0.015107625164091587, -0.02869008295238018, 0.03999326378107071, -0.026622634381055832, -0.04273856431245804, 0.06439593434333801, -0.042569100856781006, 0.018962908536195755, -0.027402164414525032, -0.0032070870511233807, 0.015107625164091587, -0.0321471281349659, 0.05144895985722542, 0.08513820171356201, 0.012845293618738651, -0.05443150922656059, 0.01540418528020382, 0.07564827799797058, 0.022691093385219574, -0.023690924048423767, -0.012116603553295135, -0.035824473947286606, 0.04351809248328209, -0.04911037161946297, 0.01748858019709587, -0.019522136077284813, 0.02682599052786827, -0.027453003451228142, -0.04077279195189476, 0.005732085555791855, 0.0254194475710392, -0.034468770027160645, 0.009456034749746323, 0.01304864976555109, -0.027368271723389626, 0.038942594081163406, -0.02184377796947956, -0.04914426431059837, 0.018454518169164658, 0.025504179298877716, -0.037383534014225006, 0.027249647304415703, 0.020606698468327522, -0.05165231600403786, 0.01691240631043911, 0.036909036338329315, -0.015039839781820774, 0.004533134866505861, 0.027215754613280296, 0.00006910911906743422, -0.0565328523516655, 0.008341815322637558, 0.020725322887301445, 0.04056943953037262, -0.04009494185447693, -0.008803602308034897, -0.0043107145465910435, -0.06148117035627365, 0.08683282881975174, 0.03014746494591236, -0.011709892190992832, 0.011142191477119923, 0.0007980647496879101, -0.045687220990657806, -0.05680399015545845, -0.0850704163312912, 0.023063911125063896, 0.05887144058942795, 0.06446371972560883, -0.011964086443185806, -0.041891250759363174, 0.0016035435255616903, -0.03887480869889259, -0.055787213146686554, -0.041010040789842606, 0.052533525973558426, -0.043653663247823715, -0.007689382880926132, -0.06524325162172318, -0.05975264683365822, 0.08127444982528687, 0.02101340889930725, -0.03745131939649582, 0.009134055115282536, -0.054228153079748154, -0.0015632959548383951, 0.008265556767582893, -0.01809864677488804, 0.02479243464767933, -0.026944614946842194, -0.025978675112128258, 0.04860198497772217, 0.008676504716277122, 0.042297959327697754, -0.0065836370922625065, 0.010006789118051529, 0.034841589629650116, 0.0034633995965123177, 0.0028173220343887806, 0.030910048633813858, 0.012057291343808174, 0.015175409615039825, 0.010040681809186935, -0.015412658452987671, 0.012209807522594929, 0.03762078285217285, -0.004253520630300045, 0.021098140627145767, -0.035146623849868774, 0.017183545976877213, 0.0016363769536837935, 0.011243868619203568, 0.021775992587208748, -0.0316556841135025, -0.012913079001009464, 0.06615834683179855, -0.0012561443727463484, -0.051381174474954605, -0.035248301923274994, 0.012353851459920406, -0.02609729953110218, 0.015082205645740032, -0.022555522620677948, 0.010464339517056942, -0.01852230355143547, -0.009752594865858555, 0.04436540976166725, 0.02131844311952591, 0.01107440609484911, -0.03521440923213959, -0.03228269889950752, -0.01540418528020382, 0.05172010138630867, -0.00899848435074091, 0.0035841420758515596, -0.010413500480353832, -0.03209628909826279, -0.013760394416749477, -0.046297285705804825, 0.004931372590363026, -0.036027830094099045, 0.05100835859775543, 0.014980527572333813, 0.012514840811491013, 0.03184209391474724, 0.0021733627654612064, 0.010769372805953026, -0.04487379640340805, 0.05599056929349899, -0.007189467083662748, -0.029334042221307755, 0.05697345361113548, 0.033723134547472, 0.06107445806264877, 0.01665821112692356, 0.009167947806417942, 0.05388922989368439, -0.018183378502726555, -0.03357061743736267, -0.043348632752895355, -0.003077871399000287, 0.029113739728927612, 0.045890577137470245, 0.06209123507142067, -0.03765467554330826, 0.03002884052693844, -0.03928152099251747, -0.032079342752695084, -0.07985095679759979, -0.01638706959784031, -0.04755131155252457, 0.009845798835158348, -0.03551943972706795, -0.023114750161767006, 0.024470454081892967, 0.02064059115946293, 0.03233353793621063, 0.025588911026716232, 0.014675494283437729, -0.02086089365184307, -0.05670231208205223, -0.0013133380562067032, 0.03143538162112236, -0.03490937501192093, 0.019522136077284813, -0.010523650795221329, -0.007515683304518461, -0.00724877929314971, -0.043857019394636154, 0.07720733433961868, -0.014616182073950768, -0.00010598055814625695, 0.07585163414478302, -0.004240811336785555, 0.01496358122676611, 0.01675988920032978, 0.027944445610046387, 0.0054778908379375935, 0.02479243464767933, 0.010566016659140587, -0.002804612275213003, -0.007354693487286568, -0.030893102288246155, -0.03223185986280441, -0.02504662796854973, -0.02423320710659027, 0.0451449379324913, 0.03901037946343422, 0.000919336685910821, -0.03128286823630333, -0.020742269232869148, -0.005736322142183781, 0.011667526327073574, -0.016319286078214645, 0.048839230090379715, -0.03718017786741257, -0.012099657207727432, -0.034739911556243896, 0.023063911125063896, -0.0051093087531626225, 0.04602614417672157, 0.032197967171669006, 0.05934593826532364, -0.015853261575102806, 0.04006104916334152, -0.015209302306175232, 0.002713525900617242, 0.04331474006175995, -0.01209118403494358, -0.038468096405267715, -0.048839230090379715, 0.04836473613977432, 0.0004395446158014238, 0.016098983585834503, 0.003270635614171624, 0.044229838997125626, 0.011099825613200665, 0.002607611706480384, 0.049415405839681625, 0.011972559615969658, 0.06209123507142067, 0.029300149530172348, 0.014955108053982258, -0.028673136606812477, -0.015378765761852264, -0.08588384091854095, -0.013184219598770142, 0.061650633811950684, -0.020928679034113884, 0.005579568911343813, -0.03238437697291374, 0.006435356568545103, -0.0202338807284832, 0.0032642807345837355, 0.013989169150590897, 0.0352821946144104, 0.05873586982488632, -0.01248094905167818, 0.014743279665708542, 0.008498569019138813, 0.016319286078214645, 0.0027622466441243887, 0.012192861177027225, 0.028147801756858826, -0.05836305022239685, 0.024199314415454865, 0.0023449440486729145, 0.015260141342878342, 0.009566185064613819, 0.01920015551149845, -0.017759719863533974, 0.05649895966053009, -0.05826137214899063, 0.0018768025329336524, 0.07347914576530457, 0.0757160633802414, 0.010303349234163761, -0.022487737238407135, 0.007092025596648455, -0.012209807522594929, 0.031520113348960876, -0.03379091992974281, -0.04016272723674774, 0.005765977781265974, -0.008663794957101345, -0.09266235679388046, -0.02841894142329693, -0.013218112289905548, -0.02474159561097622, 0.05510936304926872, 0.0689714327454567, -0.030367765575647354, -0.08263015002012253, 0.003753605065867305, 0.012362324632704258, 0.02194545604288578, 0.043348632752895355, -0.04294192045927048, 0.03568890318274498, -0.0010940954089164734, 0.001241316320374608, 0.03399427607655525, 0.008439256809651852, 0.0027262356597930193, 0.07144559174776077, -0.010227090679109097, 0.012175914831459522, 0.016768362373113632, -0.09042544662952423, 0.04134896770119667, -0.05063553899526596, -0.015658380463719368, -0.004999157972633839, -0.020928679034113884, -0.026893775910139084, -0.04456876590847969, -0.04612782225012779, -0.007435188163071871, -0.049618761986494064, -0.021403174847364426, 0.032248806208372116, -0.0048635876737535, -0.040128834545612335, 0.026232870295643806, 0.06409090012311935, -0.028723975643515587, 0.012616518884897232, 0.025538071990013123, -0.0254194475710392, 0.08202008157968521, 0.013548565097153187, 0.008676504716277122, -0.041111718863248825, 0.030164411291480064, -0.04080668464303017, -0.018657874315977097, 0.010811738669872284, 0.009633970446884632, 0.004605156369507313, -0.022487737238407135, 0.011760731227695942, -0.05094057321548462, 0.028096962720155716, 0.029605183750391006, -0.05504157766699791, 0.04206071048974991, -0.013455361127853394, -0.04243353009223938, -0.03379091992974281, 0.0202338807284832, -0.01842062547802925, -0.015294034034013748, -0.02511441335082054, 0.05751573666930199, -0.015056786127388477, -0.08330800384283066, -0.04829695075750351, -0.03029998205602169, -0.053041912615299225, 0.01804780773818493, 0.018945962190628052, -0.0033193561248481274, 0.01821727119386196, 0.007608887739479542, -0.03917984291911125, 0.018810391426086426, -0.031825147569179535, -0.04009494185447693, 0.006566690746694803, 0.0038319816812872887, -0.0008213659166358411, -0.023877333849668503, 0.04107782617211342, -0.037383534014225006, 0.020606698468327522, -0.04029829800128937, 0.011396385729312897, -0.0077656409703195095, 0.008392654359340668, 0.0762583389878273, 0.006850541103631258, -0.029537398368120193, 0.054804328829050064, -0.027893606573343277, 0.010133886709809303, -0.032248806208372116, 0.007570758927613497, -0.021555691957473755, -0.008871386758983135, 0.007994416169822216, -0.062125127762556076, -0.0008181884768418968, 0.005079653114080429, -0.05405868962407112, 0.03175736218690872, -0.013158801011741161, -0.008032545447349548, -0.010337241925299168, 0.006359098479151726, 0.030384711921215057, -0.011972559615969658, -0.03136759623885155, -0.02894427813589573, 0.026944614946842194, 0.0014107793103903532, 0.03406205773353577, 0.09842409938573837, 0.005888838786631823, -0.019742436707019806, -0.07510599493980408, -0.015065259300172329, 0.037112392485141754, -0.05565164238214493, -0.005939677357673645, 0.0068632508628070354, 0.03714628517627716, 0.051177822053432465, -0.06812411546707153, -0.045416079461574554, 0.02806307002902031, -0.021284550428390503, 0.0034146790858358145, 0.021725153550505638, -0.012743616476655006, 0.06981875002384186, -0.006558217573910952, -0.03329947590827942, -0.021555691957473755, 0.003842573147267103, -0.015836315229535103, -0.028961224481463432, 0.04477211833000183, 0.05297412723302841, 0.008591772988438606, 0.025741426274180412, -0.052262384444475174, -0.05768520012497902, -0.0101169403642416, -0.014870376326143742, 0.03251994773745537, -0.04016272723674774, -0.031147295609116554, 0.00474920030683279, 0.06927646696567535, -0.03938319534063339, -0.04633117839694023, -0.010438919998705387, 0.05514325574040413, -0.05768520012497902, 0.029537398368120193, -0.06615834683179855, -0.005283008329570293, 0.045992255210876465, 0.07802075892686844, -0.036231186240911484, -0.003349012229591608, -0.04006104916334152, -0.013658716343343258, 0.020115256309509277, 0.053245268762111664, -0.020013578236103058, 0.06317579746246338, -0.002533471677452326, 0.0695476084947586, -0.0176410973072052, -0.008129986934363842, -0.1161838173866272, 0.010481285862624645, 0.004069230053573847, 0.0013821824686601758, 0.04348419979214668, -0.04724628105759621, 0.021657370030879974, 0.034417930990457535, 0.05924426019191742, 0.02375870943069458, -0.0036582821048796177, 0.01992884650826454, -0.03792581707239151, 0.0002740534255281091, -0.005494837183505297, -0.018115593120455742, -0.012599572539329529, -0.02577531896531582, -0.026520956307649612, 0.01629386655986309, 0.024097636342048645, -0.014073900878429413, 0.032401323318481445, 0.006397227756679058, -0.051381174474954605, 0.029062900692224503, 0.00876970961689949, 0.07551270723342896, -0.027791928499937057, -0.006278603337705135, 0.039552658796310425, 0.005105072166770697, 0.05639728158712387, -0.014099320396780968, 0.06354861706495285, -0.04572111368179321, -0.017810558900237083, -0.07903753221035004, -0.007829190231859684, -0.06822579354047775, 0.004024745896458626, 0.0565667450428009, 0.052635204046964645, 0.018912069499492645 ]
54,950
ml_wrappers.dataset.dataset_wrapper
compute_summary
Summarizes the dataset if it hasn't been summarized yet.
def compute_summary(self, nclusters=10, use_gpu=False, **kwargs): """Summarizes the dataset if it hasn't been summarized yet.""" if self._summary_computed: return self._summary_dataset = _summarize_data(self._dataset, nclusters, use_gpu) self._dataset = self._summary_dataset self._summary_computed = True
(self, nclusters=10, use_gpu=False, **kwargs)
[ -0.015140046365559101, -0.013636591844260693, 0.023387063294649124, 0.012546367943286896, 0.061896588653326035, 0.017601842060685158, 0.020204313099384308, -0.047055475413799286, 0.021575884893536568, -0.004088339861482382, -0.056515805423259735, 0.030332844704389572, 0.005591793917119503, 0.009539459832012653, 0.01727653294801712, 0.018234875053167343, -0.06414737552404404, -0.03195059671998024, 0.014849905855953693, 0.02140004187822342, -0.021892400458455086, 0.006567720323801041, -0.03710278496146202, 0.014972995966672897, 0.02252543531358242, -0.02002847008407116, 0.06499141454696655, -0.10670127719640732, 0.01844588667154312, 0.08447477966547012, -0.03173958510160446, -0.028451329097151756, -0.006128114182502031, 0.009592212736606598, 0.005301653873175383, 0.017566673457622528, 0.041850533336400986, 0.050009630620479584, 0.003360791364684701, 0.020749425515532494, -0.05324513465166092, -0.0028508477844297886, -0.010515386238694191, 0.001471582567319274, -0.0006649047718383372, 0.022279255092144012, 0.005503872875124216, 0.03344525769352913, -0.03469374030828476, -0.047090642154216766, -0.01521917525678873, -0.02277161367237568, -0.026270881295204163, 0.06893029063940048, 0.022929873317480087, -0.040619637817144394, 0.03812267258763313, -0.01608959585428238, -0.0020595563109964132, -0.016432488337159157, -0.00283546163700521, -0.0006269887089729309, -0.0011072587221860886, -0.016722628846764565, -0.064393550157547, -0.02140004187822342, -0.046985138207674026, 0.009794431738555431, 0.011649571359157562, 0.024635545909404755, -0.0003563559730537236, 0.03282980993390083, 0.08039522916078568, 0.006106133572757244, -0.021997906267642975, 0.014753192663192749, -0.031018631532788277, -0.056269627064466476, -0.025901611894369125, -0.02788863331079483, 0.018270043656229973, 0.02507515251636505, 0.012572744861245155, -0.07244714349508286, -0.005073058418929577, -0.045859746634960175, 0.02662256732583046, 0.025690600275993347, -0.0035014653112739325, -0.018041448667645454, 0.043292444199323654, 0.06027883663773537, 0.04948210343718529, 0.040725141763687134, 0.022120997309684753, -0.0024705883115530014, -0.08827297389507294, -0.0005385178956203163, -0.02519824169576168, -0.03056144155561924, 0.05342097580432892, 0.024494871497154236, 0.08412308990955353, 0.027431443333625793, -0.01058572344481945, -0.04786435142159462, 0.013838810846209526, 0.003409147961065173, -0.010260414332151413, 0.05591794103384018, -0.05430018901824951, 0.01851622387766838, -0.022859536111354828, -0.0035871886648237705, 0.000331628107232973, -0.022191334515810013, -0.02132970467209816, -0.016819342970848083, -0.043257273733615875, 0.0015287314308807254, -0.05539041385054588, 0.04645761102437973, 0.02940087951719761, -0.06038434058427811, -0.04888423904776573, -0.016687460243701935, -0.007613983936607838, 0.025831274688243866, 0.0013803642941638827, -0.027308352291584015, 0.027449026703834534, -0.052365921437740326, 0.02152313105762005, 0.02908436208963394, 0.023685995489358902, -0.05591794103384018, 0.049868956208229065, 0.01598409004509449, -0.004906008020043373, 0.048286374658346176, 0.05335063859820366, 0.06087670102715492, -0.055003561079502106, 0.030877957120537758, 0.039107389748096466, 0.012968390248715878, -0.00937240943312645, 0.00929328054189682, -0.03984592854976654, -0.09474398195743561, 0.034095875918865204, -0.055425580590963364, -0.012880468741059303, -0.019272346049547195, 0.033761776983737946, 0.012256228365004063, 0.0200460534542799, -0.04005694016814232, -0.04536738619208336, -0.03833368420600891, 0.0071611893363296986, -0.011491312645375729, 0.02639397233724594, 0.060525014996528625, -0.06027883663773537, 0.01596650667488575, -0.008378898724913597, -0.006092945579439402, -0.07694871723651886, -0.015438978560268879, -0.005059870425611734, -0.031176889315247536, -0.006818295922130346, 0.041850533336400986, -0.00349926738999784, 0.04371446743607521, 0.019395437091588974, -0.055144231766462326, -0.016502825543284416, -0.017716139554977417, -0.048673227429389954, -0.06435838341712952, -0.012915637344121933, -0.013135440647602081, -0.050115134567022324, -0.023158468306064606, 0.03038559854030609, -0.048427045345306396, 0.02658739872276783, -0.0003849304048344493, -0.012194682843983173, 0.02273644506931305, -0.05549591779708862, 0.035080596804618835, 0.021857233718037605, -0.06354951113462448, -0.02918986789882183, 0.009838392026722431, 0.026886330917477608, 0.008532761596143246, -0.028363408520817757, 0.03537952899932861, 0.06010299548506737, -0.007679924834519625, 0.02658739872276783, -0.014128951355814934, -0.07191961258649826, 0.029893238097429276, -0.009161398746073246, 0.0315813273191452, -0.009038308635354042, -0.027431443333625793, 0.03038559854030609, 0.08398241549730301, 0.01853380724787712, -0.024143187329173088, 0.05060749500989914, -0.00699853477999568, -0.037876490503549576, -0.010066987946629524, 0.003433326492086053, -0.08306803554296494, 0.024741051718592644, 0.059118274599313736, -0.052436258643865585, -0.0006374293589033186, 0.06302198022603989, -0.01586979255080223, 0.056480638682842255, -0.04156918451189995, 0.035186100751161575, -0.026956668123602867, -0.018199706450104713, 0.02409043349325657, -0.017935942858457565, -0.022068243473768234, -0.00794368889182806, 0.05890726298093796, -0.0001898550399346277, -0.012994767166674137, -0.11225790530443192, -0.08623319864273071, -0.0022233095951378345, -0.012687042355537415, -0.055179402232170105, -0.008783336728811264, 0.013003558851778507, 0.049798619002103806, -0.0397404246032238, 0.01050659455358982, 0.05278794467449188, -0.030315261334180832, 0.01328490674495697, -0.04364413022994995, -0.030895542353391647, -0.03710278496146202, -0.027501780539751053, 0.047231316566467285, 0.05725434422492981, -0.01580824889242649, 0.01521917525678873, -0.001001753262244165, -0.020344987511634827, 0.08257567882537842, 0.008075570687651634, -0.014700439758598804, -0.007934896275401115, 0.02790621854364872, -0.00997906643897295, -0.02259577251970768, 0.045789409428834915, 0.07272849231958389, 0.05989198386669159, -0.056269627064466476, -0.03703244775533676, -0.011042914353311062, 0.01584341749548912, -0.03550261631608009, -0.0022233095951378345, 0.011201172135770321, 0.07540129870176315, -0.010198869742453098, -0.045648735016584396, -0.03293531388044357, 0.008097550831735134, -0.016283022239804268, -0.016485242173075676, 0.014155327342450619, -0.04702030494809151, 0.01399706955999136, -0.012335357256233692, -0.03567846119403839, -0.002637638710439205, -0.012933221645653248, -0.01723257265985012, 0.04649277776479721, -0.01525434385985136, 0.003705882467329502, -0.02811722829937935, 0.04642244055867195, -0.055109065026044846, -0.064041867852211, -0.00014081144763622433, 0.001152867916971445, 0.05806322023272514, 0.00866464339196682, 0.02145279571413994, -0.04360895976424217, 0.006167678628116846, -0.00870860368013382, 0.022068243473768234, -0.002516746986657381, 0.04128783941268921, 0.04104165732860565, -0.05324513465166092, -0.010401088744401932, 0.028679924085736275, 0.000029295648346305825, 0.010858279652893543, 0.013671760447323322, -0.010963784530758858, -0.03611806780099869, 0.01877998746931553, 0.015588444657623768, 0.02658739872276783, -0.018199706450104713, 0.027132511138916016, -0.04079547896981239, 0.03070211410522461, -0.001291343942284584, 0.02398492768406868, -0.08911702036857605, 0.07005568593740463, 0.03151099011301994, -0.05176805704832077, -0.0008599801221862435, 0.03587188571691513, -0.043292444199323654, 0.013715721666812897, -0.0031212058383971453, -0.017909567803144455, 0.08862466365098953, -0.033867280930280685, 0.031440652906894684, 0.004884027875959873, 0.010251622647047043, 0.020890098065137863, -0.023545321077108383, -0.030192170292139053, -0.0508536733686924, -0.016291815787553787, 0.05454636737704277, -0.03374418988823891, 0.0560586154460907, 0.08560016751289368, 0.09263387322425842, 0.056761983782052994, 0.0010083472589030862, -0.008625078946352005, -0.06963366270065308, 0.010814318433403969, -0.016968809068202972, 0.0397404246032238, 0.014665271155536175, 0.031317565590143204, -0.00021636880410369486, -0.02790621854364872, 0.012511199340224266, 0.07163827121257782, -0.04392547532916069, -0.023176051676273346, -0.0657651275396347, 0.022226503118872643, 0.0006753454217687249, 0.017672179266810417, -0.03056144155561924, -0.07772242277860641, -0.02120661549270153, -0.0025738957338035107, 0.025690600275993347, -0.012229851447045803, 0.014357546344399452, -0.023052962496876717, -0.016933640465140343, -0.010946200229227543, 0.04128783941268921, -0.049868956208229065, -0.01328490674495697, -0.004110320471227169, -0.043257273733615875, 0.007257902529090643, 0.022824367508292198, -0.012493615038692951, -0.003193740965798497, -0.02124178409576416, 0.039142560213804245, 0.04898974299430847, -0.030209755524992943, -0.09812016040086746, -0.00797446072101593, -0.0020287837833166122, -0.05285827815532684, -0.004919196013361216, 0.048673227429389954, -0.01886790804564953, -0.03337492048740387, -0.03325183317065239, -0.08440443873405457, -0.011060498654842377, 0.03307598829269409, 0.020731840282678604, -0.03959975019097328, -0.01001423504203558, 0.018182123079895973, -0.01727653294801712, 0.03843918815255165, -0.00283546163700521, -0.008268997073173523, 0.10177768766880035, 0.014920243062078953, 0.01615114137530327, -0.005583001766353846, 0.020995603874325752, 0.073924221098423, 0.027185263112187386, -0.059188611805438995, -0.0127134183421731, -0.04638727381825447, 0.024371782317757607, -0.009126230143010616, -0.023263974115252495, 0.017663387581706047, -0.063690185546875, 0.051099855452775955, -0.004884027875959873, -0.02646430768072605, -0.01976470649242401, 0.00631274888291955, -0.002907996764406562, 0.014383923262357712, 0.017786476761102676, -0.009029516950249672, 0.04673895984888077, -0.020819760859012604, -0.05018547177314758, 0.07244714349508286, -0.03829851374030113, 0.0005698398454114795, -0.07434624433517456, -0.005301653873175383, 0.07118107378482819, -0.018006280064582825, -0.03332217037677765, 0.024424534291028976, -0.025549927726387978, -0.041745029389858246, 0.01718861237168312, -0.028574420139193535, 0.010823111049830914, 0.06136906147003174, -0.015588444657623768, -0.0023914591874927282, -0.07694871723651886, 0.030965877696871758, 0.00593908317387104, -0.06973917037248611, 0.0005088444449938834, 0.025057567283511162, 0.03077245131134987, -0.01603684388101101, 0.018322797492146492, -0.01979987509548664, 0.006123717874288559, -0.016810551285743713, 0.01073518954217434, -0.017909567803144455, -0.040514130145311356, -0.006813900079578161, -0.036540087312459946, 0.031176889315247536, -0.010524178855121136, 0.04406614974141121, 0.051029518246650696, -0.004000418819487095, 0.02382666990160942, 0.018023865297436714, 0.008501988835632801, -0.014339962042868137, 0.061615239828825, -0.0011264915810897946, -0.002890412462875247, 0.0030091062653809786, 0.05060749500989914, -0.009460330940783024, -0.05978647619485855, 0.05465187504887581, 0.02544442191720009, 0.028398577123880386, 0.036645594984292984, 0.008523968979716301, 0.02808205969631672, 0.017839230597019196, 0.005455516278743744, -0.010260414332151413, 0.021681390702724457, 0.020995603874325752, 0.03325183317065239, 0.016634708270430565, 0.001278155716136098, 0.023228805512189865, 0.01321456953883171, -0.053807828575372696, 0.04965794458985329, 0.03434205427765846, 0.02284195087850094, -0.008814109489321709, -0.032513294368982315, -0.0027013816870748997, 0.009926313534379005, 0.008374502882361412, -0.00766234053298831, 0.07547163218259811, -0.032759472727775574, 0.014480636455118656, -0.019307514652609825, 0.0001417730818502605, -0.002721163909882307, 0.004558718763291836, -0.023650826886296272, 0.02263094112277031, -0.037665482610464096, 0.009135021828114986, -0.02380908466875553, -0.0013144232798367739, 0.03432447090744972, 0.005358802620321512, 0.009521875530481339, -0.010568139143288136, -0.02781829610466957, -0.014691648073494434, 0.004958760924637318, -0.04090098291635513, 0.074275903403759, -0.07673770189285278, 0.030139418318867683, 0.03717312216758728, 0.0666443407535553, 0.005121415015310049, 0.06347917020320892, -0.028697509318590164, 0.0015298305079340935, 0.027589701116085052, -0.03170441836118698, 0.01137701515108347, 0.06010299548506737, 0.05718400701880455, -0.04283525422215462, 0.01978228986263275, 0.00993510615080595, 0.003173958510160446, 0.0006006123148836195, 0.027378689497709274, 0.030368013307452202, 0.019078919664025307, 0.07061838358640671, -0.03180992230772972, -0.02783588133752346, 0.007877747528254986, -0.057992883026599884, -0.06474523991346359, -0.037806153297424316, 0.04800502583384514, -0.03156374394893646, -0.025655433535575867, 0.007552438881248236, 0.0030882353894412518, 0.01005819533020258, 0.011042914353311062, 0.030948294326663017, -0.02774795889854431, -0.09333724528551102, -0.049974460154771805, 0.07476826757192612, -0.018252460286021233, -0.008831693790853024, 0.06326816231012344, -0.06755872070789337, -0.024389365687966347, 0.01721498928964138, 0.009319656528532505, 0.021575884893536568, -0.04498053342103958, -0.0145773496478796, -0.01584341749548912, 0.014383923262357712, -0.007772242184728384, -0.02644672431051731, -0.014410299248993397, 0.0035871886648237705, 0.017733724787831306, -0.07969185709953308, 0.056375131011009216, -0.018955830484628677, 0.006238015368580818, 0.024406950920820236, 0.012731002643704414, -0.05672681704163551, 0.060665689408779144, -0.014410299248993397, 0.022103412076830864, -0.00142322585452348, 0.056269627064466476, 0.0029167889151722193, -0.0019111890578642488, 0.03557295352220535, -0.029998743906617165, 0.00633472902700305, -0.06506175547838211, 0.0044554113410413265, -0.02918986789882183, 0.048638056963682175, 0.03699727728962898, -0.027343520894646645, 0.012968390248715878, -0.030332844704389572, -0.003470693016424775, -0.024987230077385902, -0.03344525769352913, -0.00198042718693614, -0.008814109489321709, -0.05338580906391144, -0.03710278496146202, 0.022103412076830864, -0.00989993754774332, 0.09636173397302628, -0.06347917020320892, 0.023088131099939346, 0.048497382551431656, -0.031176889315247536, -0.07272849231958389, 0.04068997502326965, 0.04244839772582054, 0.045648735016584396, -0.037665482610464096, 0.0069677624851465225, -0.041920870542526245, 0.005200544372200966, 0.0034245343413203955, 0.08236466348171234, -0.009618589654564857, -0.03189784288406372, 0.004097132012248039, 0.05092401057481766, 0.00497194891795516, 0.06713669747114182, 0.02521582692861557, -0.028380991891026497, 0.006787523627281189, -0.0062424116767942905, -0.06618715077638626, -0.02402009628713131, -0.016757797449827194, 0.03879087418317795, -0.033884864300489426, 0.019659200683236122, 0.020591165870428085, -0.04568390175700188, 0.028240319341421127, -0.032741889357566833, -0.002106813946738839, -0.05173288658261299, 0.049974460154771805, 0.03432447090744972, -0.0036421394906938076, -0.007218338083475828, 0.012783755548298359, -0.04420682415366173, -0.01983504369854927, -0.08377140760421753, -0.023123299703001976, 0.03599497675895691, 0.015104877762496471, -0.03967008739709854, -0.02669290453195572, -0.016414904966950417, -0.011711115948855877, -0.05630479380488396, -0.05989198386669159, 0.005442327819764614, -0.013135440647602081, -0.032706718891859055, -0.01119238045066595, 0.0308076199144125, -0.010524178855121136, -0.033955201506614685, 0.009697718545794487, -0.021927569061517715, 0.020344987511634827, 0.05887209624052048, 0.0043938662856817245, -0.0032684740144759417, 0.0428704209625721, -0.014630102552473545, 0.01725015789270401, 0.018990999087691307, 0.06390119343996048, -0.08363073319196701, -0.0011605609906837344, -0.025743354111909866, 0.019553694874048233, 0.033955201506614685, 0.027712790295481682, -0.06312748789787292, 0.013662968762218952, -0.010365920141339302, -0.0007572221220470965, 0.023211220279335976, -0.007046891376376152, -0.018146954476833344, -0.03478166088461876, 0.04508603736758232, 0.011702323332428932, 0.024319028481841087, 0.01456855796277523, -0.020608751103281975, 0.007583211176097393, 0.015131253749132156, -0.029875654727220535, 0.07293950021266937, 0.003525643842294812, 0.06087670102715492, 0.0253389161080122, 0.02787104994058609, 0.0374896377325058, 0.013091480359435081, 0.04818086698651314, 0.0452970489859581, -0.0024354197084903717, -0.0016968809068202972, -0.010163701139390469, 0.028926104307174683, 0.0009852679213508964, -0.005811597220599651, -0.004747749771922827, -0.0024837765377014875, -0.029893238097429276, 0.001966139767318964, 0.00500711752101779, 0.02938329614698887, -0.02788863331079483, 0.018146954476833344, -0.003198137041181326, -0.004149884916841984, 0.09228218346834183, 0.056656479835510254, 0.009618589654564857, 0.007064475677907467, -0.025760937482118607, 0.0843341052532196, -0.05342097580432892, 0.02649947628378868, -0.02815239690244198, -0.023211220279335976, 0.011790244840085506, -0.03406070917844772, 0.009636173024773598, -0.011491312645375729, 0.01849863864481449 ]
54,951
ml_wrappers.dataset.dataset_wrapper
get_column_indexes
Get the column indexes for the given column names. :param features: The full list of existing column names. :type features: list[str] :param categorical_features: The list of categorical feature names to get indexes for. :type categorical_features: list[str] :return: The list of column indexes. :rtype: list[int]
def get_column_indexes(self, features, categorical_features): """Get the column indexes for the given column names. :param features: The full list of existing column names. :type features: list[str] :param categorical_features: The list of categorical feature names to get indexes for. :type categorical_features: list[str] :return: The list of column indexes. :rtype: list[int] """ return [features.index(categorical_feature) for categorical_feature in categorical_features]
(self, features, categorical_features)
[ 0.01423666998744011, -0.04838299751281738, 0.011571810580790043, 0.017615169286727905, 0.045564569532871246, 0.008631432428956032, -0.005022581201046705, 0.07747060805559158, 0.0007401758339256048, -0.024046963080763817, -0.059765104204416275, 0.014372170902788639, -0.02729899436235428, -0.05615173652768135, 0.03309845179319382, -0.0448780283331871, 0.025420043617486954, -0.03311651572585106, 0.004832879640161991, -0.0460343062877655, -0.025149039924144745, 0.003963413182646036, -0.02124660275876522, -0.028870809823274612, 0.03508580103516579, 0.060921382158994675, -0.0011878947261720896, 0.029141811653971672, 0.05228543281555176, -0.05257450416684151, -0.07566392421722412, -0.04621497541666031, -0.04386628791689873, 0.016061419621109962, -0.0651128888130188, -0.04043358564376831, 0.06258353590965271, 0.03523033857345581, 0.09503157436847687, 0.022583549842238426, 0.0003604899102356285, -0.07233962416648865, 0.010243898257613182, -0.013468828983604908, -0.056910544633865356, -0.005930440034717321, -0.05503159388899803, -0.06435408443212509, 0.0004511064034886658, -0.009810294024646282, -0.04798552766442299, -0.06887079030275345, 0.03143630176782608, -0.0054381187073886395, -0.00250225723721087, 0.040903326123952866, 0.030731694772839546, -0.02332429029047489, 0.0034146327525377274, 0.01631435565650463, -0.05492319166660309, 0.015112911351025105, 0.016684725880622864, -0.04690151661634445, 0.005551036447286606, -0.015826551243662834, -0.025835581123828888, 0.058608826249837875, -0.04299907758831978, -0.014769641682505608, -0.009367655962705612, -0.02361335977911949, 0.06652210652828217, 0.04361335188150406, 0.00283875223249197, 0.012204150669276714, -0.0033988242503255606, 0.037073154002428055, 0.03819330036640167, 0.05853655934333801, -0.008766934275627136, -0.051887962967157364, 0.006219509523361921, 0.0077551910653710365, 0.0203251950442791, -0.013179759494960308, -0.008112011477351189, 0.04332428053021431, -0.005578136537224054, -0.008473347872495651, -0.022330613806843758, 0.028130069375038147, 0.024028897285461426, 0.023468824103474617, -0.026341451331973076, 0.010523933917284012, -0.005153566133230925, 0.00930442288517952, 0.02648598700761795, -0.014652206562459469, 0.01575428433716297, 0.05376691371202469, 0.038807570934295654, 0.027425462380051613, -0.02236674726009369, -0.05087621882557869, -0.036838285624980927, -0.04169826582074165, -0.04968380928039551, -0.038590770214796066, -0.0728093609213829, -0.044336024671792984, 0.057163480669260025, -0.05387531593441963, -0.016350489109754562, -0.04596203938126564, 0.04383015260100365, 0.03714542090892792, -0.07302616536617279, -0.00364046823233366, -0.0159891527146101, -0.026702789589762688, 0.03692862018942833, 0.0014724474167451262, 0.032700978219509125, 0.018988247960805893, 0.02236674726009369, 0.018500443547964096, -0.015338746830821037, 0.02323395572602749, 0.04574523866176605, -0.03750675916671753, 0.010442633181810379, 0.058681096881628036, 0.021102068945765495, -0.029828352853655815, 0.05618787184357643, -0.016413724049925804, 0.04747965559363365, -0.003238481003791094, 0.021138202399015427, -0.00986449420452118, -0.033044248819351196, -0.0008147015469148755, -0.026522120460867882, 0.02879854291677475, 0.03226737678050995, -0.029539283365011215, -0.02854560688138008, -0.06872625648975372, -0.003945345990359783, -0.03432699665427208, -0.07913275808095932, -0.07118334621191025, -0.03468833118677139, 0.002166891470551491, -0.018247507512569427, -0.025781380012631416, 0.02298101969063282, 0.004747061990201473, 0.01947605237364769, 0.005207766313105822, -0.05084008723497391, 0.05799455568194389, -0.020812999457120895, 0.051635026931762695, -0.005194216500967741, -0.04657631367444992, 0.006097558420151472, -0.052827440202236176, 0.0203251950442791, 0.06464315205812454, -0.013495929539203644, 0.023721760138869286, -0.001994127407670021, 0.05441731959581375, -0.0191689170897007, 0.013134592212736607, 0.07288163155317307, 0.0737849697470665, 0.03170730546116829, -0.01600722037255764, -0.09416437149047852, -0.05159889534115791, 0.024661235511302948, 0.004437667317688465, 0.005415535066276789, 0.007601622957736254, 0.04039745405316353, 0.02643178589642048, 0.046070441603660583, -0.06214992702007294, 0.03689248487353325, 0.04968380928039551, -0.003502708626911044, 0.0031820221338421106, -0.02448056824505329, -0.009385723620653152, -0.01566394977271557, -0.015799451619386673, 0.047588054090738297, 0.02560071274638176, 0.007601622957736254, 0.06388434767723083, 0.055681999772787094, 0.03174343705177307, 0.012944890186190605, -0.06475155055522919, -0.05676601082086563, -0.0836133360862732, 0.05669374391436577, -0.06041551008820534, 0.008654016070067883, 0.02820233628153801, 0.06363140791654587, 0.015085810795426369, -0.05206863209605217, 0.012737122364342213, 0.032158974558115005, -0.014308936893939972, 0.05813908949494362, 0.014218603260815144, 0.04625111073255539, 0.038807570934295654, 0.0760975256562233, -0.06330620497465134, 0.036513082683086395, -0.018699178472161293, -0.024317966774106026, -0.010027095675468445, -0.06782291829586029, -0.028617873787879944, 0.007303520105779171, 0.01653115823864937, 0.007899725809693336, 0.05257450416684151, 0.0355374738574028, -0.0007859074976295233, 0.0009304422419518232, -0.004900630097836256, -0.04560070484876633, 0.02502257376909256, 0.05149049311876297, -0.014209569431841373, -0.03434506058692932, 0.006747964769601822, -0.00860433280467987, 0.03400179371237755, -0.05878949537873268, 0.005876239389181137, -0.046395644545555115, -0.016422757878899574, 0.011418242938816547, -0.001320008421316743, 0.002165762474760413, -0.07949409633874893, -0.06247512996196747, 0.026305317878723145, -0.01893404871225357, 0.020740732550621033, -0.044950298964977264, 0.008825651369988918, 0.017922304570674896, 0.045275501906871796, -0.011689245700836182, -0.05217703431844711, 0.01655825786292553, 0.03985544666647911, 0.022565482184290886, 0.005212283227592707, 0.08202344924211502, 0.03887983784079552, -0.023342356085777283, -0.001679086941294372, -0.00371273560449481, -0.028364937752485275, 0.025980114936828613, -0.03262871131300926, -0.10428179800510406, 0.01604335382580757, -0.01222221739590168, -0.011318875476717949, -0.032773248851299286, 0.05987350642681122, -0.029033411294221878, 0.014200535602867603, -0.038229431957006454, -0.03812103345990181, -0.04415535554289818, -0.015167111530900002, -0.006034324411302805, 0.0071138180792331696, 0.03555554151535034, 0.00442637549713254, -0.014769641682505608, 0.020849132910370827, 0.011906047351658344, -0.017588067799806595, 0.015907851979136467, 0.012158983387053013, -0.0005888660671189427, 0.014796741306781769, -0.01004516240209341, -0.018392043188214302, -0.04068652167916298, -0.03812103345990181, 0.0471905842423439, 0.011219507083296776, -0.02271001785993576, 0.013170725665986538, 0.029774151742458344, 0.005546519998461008, -0.029286347329616547, -0.027154460549354553, -0.05373078212141991, -0.053369443863630295, -0.044119223952293396, 0.01566394977271557, 0.01234868448227644, 0.06713637709617615, 0.01322492677718401, -0.015519415028393269, 0.007877142168581486, -0.007958442904055119, -0.007448054850101471, 0.0807226374745369, 0.026269184425473213, -0.03989158198237419, -0.006770547945052385, -0.007773257791996002, -0.03898824006319046, -0.004494126420468092, 0.03235771134495735, 0.012402885593473911, 0.016404690220952034, -0.0652935579419136, -0.00914182048290968, 0.061210453510284424, 0.0212827380746603, 0.004656727891415358, -0.05116529017686844, 0.014372170902788639, 0.015067744068801403, 0.009394756518304348, 0.019909657537937164, -0.0011032064212486148, -0.020162593573331833, 0.036205947399139404, -0.011743445880711079, 0.032158974558115005, 0.04473349452018738, -0.05293583869934082, -0.010849136859178543, 0.02476963773369789, 0.008559165522456169, 0.02410116419196129, 0.022926820442080498, -0.01192411407828331, -0.007086717989295721, 0.044372159987688065, 0.07797648012638092, -0.05477865785360336, 0.05636854097247124, -0.0418066680431366, -0.009485091082751751, 0.016820227727293968, -0.005126465577632189, 0.02762419730424881, 0.04271000996232033, -0.0680035874247551, -0.014010834507644176, 0.03887983784079552, 0.04285454377532005, 0.050767820328474045, 0.017244799062609673, -0.04444442689418793, -0.027551930397748947, 0.021589873358607292, -0.041481465101242065, -0.006666664034128189, -0.056260138750076294, -0.04050585627555847, 0.02822040393948555, 0.0035523923579603434, -0.04422762244939804, -0.018193308264017105, -0.028925010934472084, -0.06229446455836296, -0.025438109412789345, 0.049286339432001114, -0.04766032472252846, 0.006657630205154419, -0.058644961565732956, 0.002594849793240428, 0.022908752784132957, -0.06507675349712372, 0.021698273718357086, -0.021300803869962692, 0.05907856673002243, -0.03221317380666733, -0.03631434962153435, 0.004433150868862867, -0.04827459529042244, 0.035953011363744736, -0.004575427155941725, 0.0793495625257492, 0.0026784089859575033, 0.031869906932115555, -0.013315260410308838, -0.01598011888563633, -0.022601615637540817, 0.0789882242679596, -0.016766026616096497, -0.05958443880081177, -0.014878042042255402, -0.011897013522684574, -0.00352077535353601, 0.006124658510088921, 0.0011082877172157168, 0.013595297001302242, 0.028654007241129875, -0.055645864456892014, -0.00010120253136847168, 0.010298098437488079, -0.010731702670454979, 0.017579035833477974, 0.0008288162644021213, 0.004284099210053682, -0.0030374873895198107, -0.010560067370533943, -0.08028903603553772, -0.008279128931462765, -0.07302616536617279, -0.01662149280309677, 0.0031187881249934435, -0.024372166022658348, -0.04426375776529312, 0.0034914168063551188, -0.004349591676145792, 0.03472446650266647, 0.033008117228746414, 0.01891598105430603, 0.011436309665441513, 0.06373981386423111, 0.000505024625454098, -0.016458891332149506, -0.009322489611804485, 0.025528443977236748, 0.002615174977108836, -0.018771447241306305, 0.03450766205787659, -0.012890690006315708, 0.01441733818501234, -0.03470639884471893, 0.08231252431869507, 0.028346871957182884, -0.11765126138925552, 0.0593315027654171, 0.011942180804908276, 0.021644074469804764, 0.016793128103017807, 0.038843706250190735, -0.027154460549354553, 0.00444218423217535, 0.025401975959539413, -0.035953011363744736, -0.006675697397440672, -0.03989158198237419, 0.00017841004591900855, 0.07515805214643478, 0.06507675349712372, -0.022764217108488083, -0.023378491401672363, -0.10023482888936996, -0.024823836982250214, 0.040325187146663666, -0.027732599526643753, 0.021300803869962692, 0.04281840845942497, -0.03028002381324768, 0.02672085538506508, -0.0073893372900784016, -0.01235771831125021, -0.058355893939733505, 0.01383016537874937, 0.023035220801830292, 0.03698281943798065, -0.03112916462123394, -0.0069828336127102375, -0.06428181380033493, 0.04093945771455765, 0.023757893592119217, 0.04943087324500084, -0.031869906932115555, 0.11721765249967575, -0.029232146218419075, 0.01860884577035904, 0.05380304902791977, 0.00121499493252486, 0.0691598653793335, -0.0025406493805348873, 0.010794936679303646, -0.020867200568318367, -0.03340558707714081, -0.02267388440668583, -0.055429063737392426, 0.06749771535396576, -0.03132789954543114, -0.04791325703263283, -0.08346880227327347, -0.014254736714065075, -0.0320686399936676, 0.009710926562547684, -0.01746159978210926, 0.038843706250190735, 0.05206863209605217, 0.0044060503132641315, 0.027154460549354553, 0.01077686995267868, 0.0966937243938446, 0.0014272803673520684, -0.06070458143949509, 0.016964761540293694, 0.006237576249986887, 0.0007864721119403839, 0.049936745315790176, 0.03353205323219299, -0.010325198993086815, -0.01427280344069004, 0.05286357179284096, -0.04664858058094978, 0.005320684518665075, 0.012908756732940674, 0.024896105751395226, -0.031562767922878265, 0.03862690180540085, 0.02883467637002468, -0.008753383532166481, 0.04646791145205498, 0.033297184854745865, -0.0157452505081892, 0.03232157602906227, 0.004067297093570232, 0.020198727026581764, 0.0009564133360981941, -0.037940364331007004, -0.0593315027654171, -0.030388424172997475, 0.00005289490582072176, 0.016088521108031273, 0.01626015640795231, 0.007140918169170618, -0.009972895495593548, 0.012953924015164375, 0.019042449072003365, -0.023920495063066483, -0.004841913003474474, -0.0195483211427927, -0.05026194825768471, 0.026251118630170822, -0.013604329898953438, -0.03627821430563927, 0.09886174649000168, -0.0026716338470578194, -0.0402529202401638, 0.031598903238773346, 0.0019162142416462302, -0.035971079021692276, -0.0699186697602272, -0.02704605832695961, -0.011860880069434643, -0.014751574955880642, -0.04596203938126564, -0.001178861246444285, -0.024534767493605614, 0.014859975315630436, 0.0626196637749672, -0.012240284122526646, 0.017967471852898598, 0.006887982599437237, -0.04935860633850098, 0.009277322329580784, 0.00800361018627882, 0.015835585072636604, -0.0011133690131828189, 0.035934943705797195, 0.04021678492426872, -0.0027077675331383944, -0.018229441717267036, -0.018988247960805893, -0.030081288889050484, -0.06435408443212509, 0.024932239204645157, -0.029593482613563538, -0.015925919637084007, 0.045203231275081635, -0.08108397573232651, -0.021174335852265358, 0.03714542090892792, -0.01924118399620056, 0.01105690561234951, -0.02556457743048668, 0.017669368535280228, -0.02010839246213436, 0.06059617921710014, -0.03224930912256241, 0.014869009144604206, 0.03145436942577362, -0.027136392891407013, -0.010532967746257782, -0.06897919625043869, -0.015510382130742073, -0.013414628803730011, 0.009683826006948948, -0.045275501906871796, 0.01683829538524151, 0.02440830133855343, 0.021969277411699295, 0.029756084084510803, 0.012303518131375313, -0.06196926161646843, -0.06327006965875626, 0.03172536939382553, -0.008929535746574402, 0.02619691751897335, -0.0014284094795584679, -0.00813911110162735, 0.0018981473986059427, -0.007782291155308485, 0.04820232838392258, -0.01770550198853016, 0.04158986359834671, 0.04946700856089592, -0.004220865201205015, 0.030117422342300415, 0.0020652655512094498, 0.0010721540311351418, -0.015880752354860306, -0.02036132849752903, 0.0157000832259655, -0.04531163349747658, 0.05362237989902496, 0.040072251111269, -0.031544700264930725, 0.03452572971582413, -0.027443530037999153, -0.007434504572302103, -0.03728995844721794, 0.09177954494953156, -0.019331518560647964, -0.009963861666619778, -0.010270998813211918, -0.0477687232196331, 0.0366034172475338, -0.02498643845319748, -0.011246607638895512, -0.05492319166660309, 0.011373075656592846, 0.007439021021127701, -0.04101172462105751, 0.004692861810326576, 0.020885266363620758, 0.05738028138875961, -0.03134596720337868, -0.06113818660378456, 0.008956635370850563, 0.010415532626211643, -0.0460343062877655, -0.01020776480436325, 0.07215895503759384, 0.057488683611154556, 0.018157174810767174, 0.009629625827074051, -0.028979210183024406, 0.012195116840302944, 0.03848236799240112, 0.008568198420107365, 0.0038911455776542425, 0.030948495492339134, -0.0027348678559064865, 0.02648598700761795, -0.011074972338974476, 0.027443530037999153, 0.041120126843452454, 0.05322491005063057, -0.014354104176163673, 0.013640464283525944, -0.017967471852898598, 0.012890690006315708, -0.003373982384800911, -0.023739827796816826, -0.009945794939994812, 0.017795836552977562, 0.002913277829065919, -0.0087398337200284, 0.07078588008880615, -0.02473350428044796, 0.002752934582531452, 0.028021669015288353, 0.04151759669184685, -0.001078929053619504, 0.023179754614830017, 0.007158985361456871, 0.04574523866176605, 0.013730797916650772, -0.013459795154631138, 0.02355915866792202, 0.024570902809500694, 0.03920504078269005, -0.005130982492119074, -0.02766033075749874, -0.028906943276524544, 0.04343268275260925, 0.028039734810590744, 0.003459799801930785, 0.013387528248131275, -0.06081298366189003, -0.0032113806810230017, 0.004706411622464657, 0.019096650183200836, 0.07638660073280334, -0.014805775135755539, 0.057488683611154556, 0.06406501680612564, -0.043468818068504333, -0.09004513174295425, 0.029557349160313606, 0.015112911351025105, 0.0206142645329237, -0.023378491401672363, -0.004415084142237902, -0.01626918837428093, -0.03635048121213913, 0.051924098283052444, -0.012953924015164375, 0.005456185434013605, 0.02294488623738289, -0.0418066680431366, -0.024841904640197754, 0.009801260195672512, -0.025076773017644882, 0.01687442883849144, -0.0048012626357376575, -0.0056594377383589745, 0.051671162247657776, 0.04343268275260925, 0.00827009603381157, 0.004141822922974825, -0.03355012089014053, 0.009069553576409817, -0.02092139981687069, 0.007935859262943268, -0.044119223952293396, -0.04560070484876633, 0.0011856363853439689, 0.018843714147806168, 0.04213187098503113, -0.028039734810590744, -0.053369443863630295, -0.028455272316932678, -0.046720847487449646, -0.00845979806035757, -0.042926810681819916, -0.041156262159347534, -0.011734412051737309, 0.01004516240209341, 0.029250213876366615, 0.04646791145205498 ]
54,952
ml_wrappers.dataset.dataset_wrapper
get_features
Get the features of the dataset if None on current kwargs. :return: The features of the dataset if currently None on kwargs. :rtype: list
def get_features(self, features=None, explain_subset=None, **kwargs): """Get the features of the dataset if None on current kwargs. :return: The features of the dataset if currently None on kwargs. :rtype: list """ if features is not None: if explain_subset is not None: return np.array(features)[explain_subset].tolist() return features if explain_subset is not None and self._features is not None: return np.array(self._features)[explain_subset].tolist() if self._features is None: return list(range(self._dataset.shape[1])) return self._features
(self, features=None, explain_subset=None, **kwargs)
[ 0.006507835816591978, -0.06929796934127808, 0.060091547667980194, -0.028743313625454903, -0.006614887621253729, 0.016450239345431328, 0.05149174854159355, -0.0028034099377691746, 0.006958344019949436, 0.0019904877990484238, -0.042356688529253006, 0.017065785825252533, -0.059591975063085556, -0.04678148403763771, 0.004955590236932039, 0.00047531959717161953, -0.03875262662768364, -0.03582655265927315, 0.0015667425468564034, 0.04442635178565979, -0.03359631448984146, -0.0010431940900161862, -0.015772247686982155, 0.0012645452516153455, -0.012007604353129864, 0.04824452102184296, 0.018591267988085747, -0.048030417412519455, 0.044033829122781754, 0.0032784505747258663, -0.05944923684000969, -0.026673652231693268, -0.06708557158708572, 0.039287883788347244, -0.05320456996560097, -0.008697930723428726, 0.0265309177339077, 0.0381460003554821, 0.0827864557504654, 0.04724537208676338, -0.03686138242483139, -0.11311769485473633, 0.02219533361494541, 0.0023529017344117165, -0.04806610196828842, -0.0010404062923043966, 0.041750065982341766, -0.024211470037698746, -0.021695761010050774, -0.02535335160791874, 0.04824452102184296, -0.005481926258653402, -0.018287956714630127, 0.008242961950600147, -0.0024086576886475086, 0.008813902735710144, 0.012301995418965816, 0.04995734244585037, 0.017083628103137016, 0.033257316797971725, -0.006797767244279385, 0.005183074157685041, 0.03363199532032013, -0.03521992638707161, 0.011053062044084072, -0.033560629934072495, -0.04556823521852493, 0.05184858664870262, -0.010642698034644127, 0.026566602289676666, -0.005606819875538349, 0.013818558305501938, 0.016735710203647614, 0.052633628249168396, 0.002143259160220623, -0.004199539311230183, -0.02556745521724224, -0.0018466374604031444, -0.017529675737023354, -0.007979793474078178, -0.02913583628833294, 0.01644131913781166, -0.02688775584101677, 0.02669149450957775, 0.051812902092933655, -0.04078660160303116, 0.006101932842284441, 0.008880809880793095, 0.04406951367855072, -0.021231871098279953, -0.042606476694345474, 0.07465054094791412, -0.005762936547398567, 0.0413932278752327, 0.018519900739192963, -0.021713603287935257, -0.07557832449674606, -0.004199539311230183, -0.002841323846951127, -0.002897079801186919, -0.02883252315223217, 0.007993174716830254, 0.026316814124584198, 0.08021721988916397, 0.030152825638651848, -0.006864674389362335, -0.0028613959439098835, -0.0342564657330513, -0.010160966776311398, 0.004603212233632803, -0.04667443037033081, 0.05516717955470085, 0.05745094642043114, 0.029456989839673042, -0.04824452102184296, -0.05377551168203354, 0.01948336325585842, 0.026191921904683113, -0.0790039673447609, -0.026495233178138733, -0.042713526636362076, 0.0452827624976635, -0.0004616593651007861, -0.016949811950325966, -0.012685596942901611, 0.015531381592154503, 0.003071038518100977, 0.015879297628998756, -0.03700411692261696, -0.07971764355897903, 0.04321310296654701, -0.009670314379036427, -0.029456989839673042, 0.04642464593052864, 0.0014128561597317457, -0.04303468391299248, 0.08335739374160767, 0.026495233178138733, 0.02305174618959427, -0.028404317796230316, -0.008443683385848999, 0.0023796644527465105, -0.004529614467173815, 0.03654022887349129, -0.0876394510269165, 0.006623808294534683, 0.0532759390771389, -0.04942208528518677, -0.039287883788347244, -0.039394933730363846, 0.01962609961628914, 0.00010015165025833994, -0.07436507195234299, -0.11561556905508041, -0.006472152192145586, -0.02387247420847416, -0.03332868590950966, -0.0452827624976635, 0.005410558544099331, 0.00008426119893556461, -0.02071445621550083, -0.00046054425183683634, -0.04242805764079094, 0.004812854807823896, -0.02192770503461361, 0.05955629050731659, -0.003401113674044609, -0.05448918789625168, -0.03600497171282768, 0.04824452102184296, 0.05884261429309845, 0.04599643871188164, 0.02934993989765644, 0.029778145253658295, 0.005102785769850016, 0.05049259960651398, -0.013336826115846634, -0.01677139289677143, 0.03227601200342178, 0.0726165696978569, 0.02719106897711754, -0.04481887444853783, -0.05398961529135704, -0.06936933845281601, 0.09177877753973007, -0.0379318967461586, -0.006409705616533756, -0.0026740559842437506, -0.013256537728011608, 0.029474832117557526, 0.01613800600171089, -0.027833376079797745, 0.012917541898787022, 0.021856337785720825, -0.0532759390771389, -0.0413932278752327, -0.03671864792704582, -0.045925073325634, -0.0030911106150597334, -0.0019380772719159722, -0.031169813126325607, -0.04299899935722351, 0.04535413160920143, 0.01101737841963768, 0.00420622993260622, 0.0606268048286438, 0.005102785769850016, -0.0017830757424235344, -0.0380389466881752, -0.033560629934072495, -0.002794488798826933, -0.050171446055173874, 0.013952372595667839, 0.025371193885803223, 0.06783493608236313, -0.0032940623350441456, -0.011445583775639534, 0.016646500676870346, -0.0017161685973405838, 0.006338337901979685, 0.03241874650120735, -0.08171594142913818, -0.004079106263816357, 0.05509581416845322, 0.027637116611003876, 0.010392911732196808, 0.05691568925976753, -0.02198123186826706, -0.027315961197018623, -0.06237531080842018, -0.015656273812055588, -0.0604127012193203, 0.005080483388155699, -0.046852849423885345, -0.013800716027617455, 0.08585526049137115, 0.06772788614034653, 0.0265309177339077, 0.06690715253353119, -0.02071445621550083, -0.027012649923563004, 0.017386939376592636, 0.056059274822473526, -0.012730201706290245, -0.060448385775089264, 0.0340423621237278, 0.003439027816057205, 0.01984020136296749, 0.0031937016174197197, -0.008907572366297245, -0.024300679564476013, 0.0008558540139347315, -0.013720427639782429, 0.015263752080500126, -0.002698588650673628, -0.057129789143800735, 0.022480804473161697, 0.005664805881679058, -0.011267164722084999, -0.0003886190534103662, -0.02556745521724224, -0.04635327681899071, 0.009447290562093258, 0.08606936782598495, -0.03220464289188385, 0.004166085738688707, -0.006931581534445286, -0.017065785825252533, -0.04499729350209236, -0.02075013890862465, -0.010089599527418613, 0.06291057169437408, -0.02340858429670334, -0.035344820469617844, 0.004852999001741409, -0.009036926552653313, 0.003907377831637859, -0.07465054094791412, -0.028493527323007584, 0.013684744015336037, -0.0021744826808571815, -0.0264773927628994, 0.003180320141837001, 0.04385541006922722, 0.01503180805593729, -0.004215150605887175, 0.01989372819662094, 0.026602284982800484, 0.007649718318134546, -0.027833376079797745, -0.014978282153606415, 0.054524872452020645, 0.021178344264626503, -0.03307889774441719, 0.03743232414126396, 0.007707704324275255, 0.016075558960437775, -0.008925414644181728, 0.03395315259695053, 0.051705848425626755, -0.022320227697491646, -0.04431930184364319, 0.01030370220541954, 0.010357228107750416, -0.007752309087663889, -0.05434645339846611, 0.06779924780130386, -0.004741487093269825, 0.0014429643051698804, -0.037039801478385925, 0.036112021654844284, -0.030491821467876434, 0.0053391908295452595, -0.040822286158800125, -0.07079669088125229, -0.05944923684000969, -0.0013827478978782892, 0.016780314967036247, 0.008158212527632713, 0.030545346438884735, -0.05509581416845322, -0.0023261387832462788, 0.020678771659731865, 0.020785823464393616, 0.052633628249168396, 0.050742387771606445, -0.023087428882718086, -0.06537275016307831, -0.009732761420309544, 0.01222170703113079, -0.03505935147404671, -0.0007532630697824061, 0.027208909392356873, 0.06737104803323746, -0.041286174207925797, 0.013104882091283798, 0.021802812814712524, 0.08021721988916397, -0.026102712377905846, 0.01962609961628914, -0.03521992638707161, -0.015290515497326851, 0.007199210114777088, 0.03543402999639511, 0.057843465358018875, 0.008158212527632713, 0.04374836012721062, 0.0022090512793511152, 0.04474750533699989, 0.021124819293618202, -0.006721938960254192, -0.04717400670051575, 0.03968040272593498, 0.03789621219038963, 0.06576527655124664, 0.014344894327223301, -0.01809169538319111, 0.027173226699233055, 0.008738074451684952, 0.033863943070173264, 0.09506168961524963, -0.03950198367238045, 0.021802812814712524, 0.013961292803287506, -0.02622760459780693, -0.0038716942071914673, -0.003800326492637396, 0.042106904089450836, 0.011534793302416801, -0.07686293870210648, 0.009304555132985115, 0.008390157483518124, -0.018154142424464226, 0.027387328445911407, 0.040251344442367554, -0.0570584237575531, -0.03497014194726944, 0.006851292680948973, -0.027012649923563004, 0.04489023983478546, -0.025531770661473274, -0.0008870773599483073, 0.008871888741850853, -0.031259022653102875, -0.05527423322200775, -0.005553293973207474, -0.06665737181901932, -0.06833451241254807, 0.022123966366052628, 0.016646500676870346, -0.04781631380319595, 0.023069586604833603, -0.05905671790242195, 0.018056010827422142, -0.02719106897711754, -0.04075091704726219, 0.041643012315034866, -0.015522460453212261, 0.028332950547337532, -0.001009740517474711, -0.00016671033517923206, -0.006298193708062172, -0.028386475518345833, 0.04007292538881302, -0.012899699620902538, 0.03518424183130264, 0.01114227157086134, -0.03914514556527138, 0.01423784252256155, 0.0209107156842947, -0.008122528903186321, 0.03316810727119446, -0.023248005658388138, 0.048958197236061096, 0.0011363065568730235, 0.02831510826945305, -0.024247152730822563, 0.06112637743353844, 0.036825697869062424, 0.0605197511613369, 0.06291057169437408, -0.01066054031252861, -0.054774656891822815, 0.01620045304298401, 0.015549222938716412, 0.012605308555066586, -0.028440002351999283, -0.025389036163687706, 0.05127764493227005, -0.000278919207630679, -0.08542705327272415, -0.0031379456631839275, -0.07829029113054276, -0.02488946169614792, -0.0027119701262563467, -0.01372934877872467, -0.04132185876369476, -0.00922426674515009, -0.04514002799987793, 0.002084157895296812, 0.04713832214474678, -0.03429214656352997, 0.02050035260617733, -0.000498179520945996, -0.02740517072379589, -0.052276790142059326, -0.022837642580270767, 0.027922585606575012, -0.005709410645067692, -0.05752231180667877, 0.00441364198923111, -0.013211932964622974, 0.01505857054144144, 0.031223339959979057, 0.03293616324663162, 0.018180904909968376, -0.008354473859071732, 0.007970872335135937, 0.01646808162331581, -0.0012333219638094306, 0.018466375768184662, 0.024978671222925186, -0.03935924917459488, -0.00281902146525681, 0.07147468626499176, 0.0016213833587244153, 0.07457917928695679, -0.012917541898787022, -0.05905671790242195, 0.01644131913781166, 0.06615779548883438, -0.0060127233155071735, -0.01907300017774105, -0.07557832449674606, 0.08050268888473511, 0.04274921119213104, -0.023640528321266174, 0.01677139289677143, 0.05366846174001694, -0.05377551168203354, 0.030866501852869987, -0.0056157405488193035, -0.0036754331085830927, -0.033810414373874664, -0.023836789652705193, -0.009188583120703697, -0.008764837868511677, -0.00023138725373428315, -0.009830891154706478, -0.025228457525372505, 0.04446203634142876, 0.025067880749702454, 0.029742460697889328, -0.02392599917948246, 0.046139173209667206, 0.048601359128952026, 0.09384843707084656, 0.052383843809366226, 0.040358398109674454, 0.1023411825299263, 0.00801547709852457, 0.013256537728011608, -0.026495233178138733, 0.021392447873950005, -0.03118765540421009, -0.023123113438487053, 0.01880537159740925, -0.0015121017349883914, -0.015986349433660507, 0.002575925551354885, 0.00239750649780035, -0.03389962390065193, 0.032900478690862656, 0.02310527116060257, 0.03650454431772232, 0.03725390508770943, -0.013666901737451553, 0.06423086673021317, 0.013791794888675213, 0.05356140807271004, -0.008457064628601074, 0.04902956262230873, -0.01352416630834341, -0.007159065920859575, 0.010339385829865932, -0.0017674639821052551, -0.011436663568019867, -0.023069586604833603, 0.028154531493782997, 0.04417656362056732, -0.0019403075566515326, -0.04028702899813652, 0.02801179513335228, 0.06665737181901932, -0.02535335160791874, -0.007283959072083235, -0.008390157483518124, -0.04985029250383377, 0.017146073281764984, 0.0019057388417422771, 0.008309869095683098, 0.024728884920477867, -0.021445972844958305, -0.023943841457366943, 0.0023662829771637917, -0.06919091939926147, -0.008399078622460365, 0.043070364743471146, 0.06437360495328903, 0.004380188416689634, 0.0643022358417511, -0.018243351951241493, 0.05766504630446434, 0.03143744170665741, 0.026352498680353165, -0.007368708029389381, 0.009242108091711998, 0.0342564657330513, -0.04924366623163223, -0.0031602480448782444, -0.020875032991170883, -0.04563960060477257, 0.05502444505691528, 0.03778916224837303, -0.033061057329177856, 0.005294586066156626, -0.02249864675104618, 0.046603064984083176, -0.068941131234169, -0.05834304168820381, -0.013461720198392868, 0.00843030121177435, -0.03061671555042267, 0.07871849834918976, -0.017966801300644875, 0.013408194296061993, 0.0032896017655730247, -0.04499729350209236, -0.004745947662740946, 0.04521139711141586, -0.04617485776543617, -0.005807541310787201, -0.000587667862419039, 0.003421186003834009, -0.0015410948544740677, 0.04503297805786133, 0.01907300017774105, -0.01792219653725624, -0.024907303974032402, -0.007257196120917797, 0.0420355349779129, -0.03725390508770943, 0.04503297805786133, -0.02822589874267578, 0.00019890940166078508, -0.0013203012058511376, -0.07140331715345383, -0.05944923684000969, 0.019340628758072853, -0.002275958424434066, 0.009536500088870525, 0.017699172720313072, 0.021231871098279953, -0.049207981675863266, 0.019358471035957336, 0.013354668393731117, -0.041286174207925797, 0.02146381512284279, -0.024871619418263435, -0.03338221088051796, -0.06412381678819656, -0.00027989494265057147, 0.006936041638255119, -0.025192774832248688, -0.07836166024208069, 0.01078543346375227, -0.0010454242583364248, 0.04820883646607399, 0.011053062044084072, -0.03236522153019905, -0.018894581124186516, -0.024211470037698746, 0.014246763661503792, 0.04042976349592209, 0.00036659545730799437, -0.05277636647224426, 0.006369561422616243, -0.04806610196828842, -0.04671011492609978, 0.05680863559246063, 0.01620045304298401, -0.0413932278752327, 0.04977892339229584, 0.027851218357682228, 0.020946400240063667, -0.027084017172455788, 0.0008664476918056607, 0.007957491092383862, 0.0026584442239254713, -0.007979793474078178, -0.03083081729710102, 0.0718672052025795, 0.0023752041161060333, -0.03347142040729523, 0.02331937476992607, -0.014309210702776909, -0.03957335278391838, -0.025389036163687706, 0.0874253511428833, -0.018341481685638428, -0.0458180196583271, 0.004580909851938486, -0.024835936725139618, 0.06665737181901932, 0.0033475880045443773, 0.0168606024235487, -0.020161356776952744, 0.04042976349592209, 0.023301532492041588, -0.03789621219038963, -0.0456039160490036, 0.021767128258943558, 0.039287883788347244, -0.045782335102558136, -0.0532759390771389, 0.024764569476246834, -0.04406951367855072, -0.023587003350257874, 0.0343099907040596, 0.04371267557144165, 0.016423476859927177, 0.08271508663892746, -0.03359631448984146, 0.02110697701573372, 0.007408852223306894, 0.04521139711141586, -0.03778916224837303, -0.04421224817633629, -0.03645101934671402, -0.05102785676717758, 0.08128773421049118, 0.007453456986695528, 0.015201305970549583, 0.005722791887819767, 0.026191921904683113, 0.000670186651404947, -0.044247932732105255, 0.008037779480218887, 0.0035862235818058252, 0.013301142491400242, 0.006280351895838976, -0.036112021654844284, 0.03968040272593498, 0.01470173243433237, 0.01479986310005188, 0.04406951367855072, -0.04728105664253235, -0.04157164692878723, 0.034024517983198166, -0.0023261387832462788, -0.03636180981993675, 0.05602359026670456, -0.04706695303320885, 0.03145528584718704, 0.030795134603977203, 0.01326545886695385, -0.058913979679346085, 0.010633776895701885, 0.014505471102893353, -0.0011022953549399972, 0.009830891154706478, 0.03921651467680931, -0.01646808162331581, -0.010383990593254566, -0.019001632928848267, -0.005437321495264769, -0.023961683735251427, 0.013586613349616528, 0.01053564716130495, 0.034131571650505066, 0.036932751536369324, 0.0023328294046223164, 0.03470251336693764, 0.04995734244585037, -0.043070364743471146, 0.012168181128799915, -0.009023545309901237, -0.029564041644334793, 0.01778838224709034, -0.046139173209667206, -0.00925102923065424, -0.009777366183698177, 0.036825697869062424, 0.021588709205389023, -0.032846953719854355, -0.04228532314300537, 0.020589562132954597, -0.04778062924742699, -0.016182610765099525, 0.008550734259188175, 0.00996470544487238, 0.006182221230119467, -0.010232334025204182, 0.10355443507432938, 0.018323639407753944, -0.02970677800476551, -0.0008101341663859785, -0.015094254165887833, 0.00811360776424408, -0.0718672052025795, -0.039894506335258484, -0.004451556131243706, 0.012301995418965816, 0.0013916688039898872, 0.007194749545305967, 0.008992321789264679, -0.031098445877432823, -0.010276938788592815, 0.007078777067363262, -0.05124196037650108, -0.08978047966957092, 0.033810414373874664, -0.028404317796230316, 0.04524707794189453, -0.0802885890007019, 0.025638822466135025, 0.0190194733440876, 0.02438988909125328 ]
54,953
ml_wrappers.dataset.dataset_wrapper
one_hot_encode
Indexes categorical string features on the dataset. :param columns: Parameter specifying the subset of column indexes that may need to be one-hot-encoded. :type columns: list[int] :return: The transformation steps to one-hot-encode the given dataset. :rtype: sklearn.preprocessing.OneHotEncoder
def one_hot_encode(self, columns): """Indexes categorical string features on the dataset. :param columns: Parameter specifying the subset of column indexes that may need to be one-hot-encoded. :type columns: list[int] :return: The transformation steps to one-hot-encode the given dataset. :rtype: sklearn.preprocessing.OneHotEncoder """ if self._one_hot_encoded: return self._one_hot_encoder # Optimization so we don't redo this operation multiple times on the same dataset self._one_hot_encoded = True # If the data was previously successfully summarized, then there are no # categorical columns as it must be numeric. # Also, if the dataset is sparse, we can assume there are no categorical strings if not columns or str(type(self._dataset)).endswith(".DenseData'>") or issparse(self._dataset): return None # If the user doesn't have a newer version of scikit-learn with OneHotEncoder, don't do encoding try: from sklearn.compose import ColumnTransformer from sklearn.preprocessing import OneHotEncoder except ImportError: return None one_hot_encoder = OneHotEncoder(handle_unknown='ignore', sparse=False) self._one_hot_encoder = ColumnTransformer([('ord', one_hot_encoder, columns)], remainder='passthrough') # Note this will change column order, the one hot encoded columns will be at the start and the # rest of the columns at the end self._dataset = self._one_hot_encoder.fit_transform(self._dataset.astype(float)).astype(float) return self._one_hot_encoder
(self, columns)
[ -0.03693169355392456, -0.013138985261321068, 0.062241144478321075, -0.007510602008551359, 0.04111643508076668, -0.030956106260418892, -0.024688133969902992, 0.025802846997976303, 0.01999172382056713, 0.007844101637601852, -0.006130916997790337, 0.045940760523080826, 0.03283832594752312, 0.03274695575237274, 0.052738677710294724, 0.00835577305406332, 0.005002499558031559, -0.00468270480632782, 0.04853566735982895, 0.0011649656808003783, 0.014582628384232521, -0.03205254301428795, 0.032253559678792953, 0.0153135871514678, -0.02801399677991867, 0.0014699124731123447, 0.004499965347349644, -0.007725321222096682, -0.013933902606368065, -0.045867666602134705, -0.028470845893025398, -0.051569145172834396, -0.04542909190058708, -0.008995361626148224, 0.019790710881352425, -0.03152259811758995, 0.029640380293130875, 0.024633312597870827, 0.061948761343955994, -0.01135727297514677, -0.007428369019180536, -0.030681997537612915, -0.06271626800298691, -0.036803778260946274, -0.046086955815553665, 0.019260765984654427, -0.056503117084503174, 0.036273833364248276, 0.00842886883765459, -0.04309002310037613, -0.04531944543123245, -0.07152432203292847, 0.05255594104528427, 0.02547391504049301, -0.0053679789416491985, 0.02715511992573738, 0.0216729287058115, 0.003554287366569042, -0.012819190509617329, 0.016757231205701828, -0.02070440910756588, 0.01335827261209488, 0.06509188562631607, -0.003896924201399088, 0.030499257147312164, 0.038777366280555725, -0.020412025973200798, 0.06640760600566864, -0.0102973822504282, 0.0012905992334708571, -0.018931834027171135, -0.02496224455535412, 0.02808709256350994, 0.049559008330106735, -0.017817120999097824, 0.04279763996601105, -0.07543495297431946, -0.018155189231038094, 0.04115298017859459, 0.014527807012200356, 0.00942023191601038, -0.027575422078371048, -0.0023710476234555244, -0.06066958233714104, 0.0227510929107666, -0.04374788701534271, 0.011119711212813854, 0.05544322729110718, -0.04133572056889534, 0.021764298900961876, 0.0009570991969667375, 0.009511602111160755, 0.018474984914064407, 0.0526655837893486, 0.05343309044837952, -0.007716184016317129, -0.021983586251735687, 0.02227596938610077, 0.022623175755143166, -0.05032651498913765, 0.008136485703289509, 0.06352031975984573, 0.031504325568675995, -0.0009787995368242264, -0.05957314372062683, -0.02987794205546379, -0.011128848418593407, 0.019041476771235466, -0.060413748025894165, -0.08179429173469543, -0.06867358088493347, -0.07046443223953247, 0.07711615413427353, -0.05171533674001694, 0.030389612540602684, -0.05018032342195511, 0.014591765590012074, 0.0055096023716032505, -0.056795500218868256, 0.06421473622322083, 0.033222079277038574, 0.02264145016670227, 0.028708407655358315, -0.036200735718011856, -0.017405956983566284, 0.01966279186308384, 0.04561183229088783, 0.021764298900961876, 0.0012723251711577177, -0.010452711023390293, 0.006117211654782295, -0.0009610966662876308, 0.012207012623548508, 0.11556459218263626, 0.01438161451369524, -0.062168046832084656, -0.02145364135503769, 0.03779057040810585, 0.027027202770113945, 0.027301311492919922, 0.027392681688070297, -0.03715098276734352, 0.020722683519124985, 0.012252697721123695, 0.0684177428483963, 0.0015532874967902899, 0.03205254301428795, -0.011631382629275322, -0.0076385196298360825, -0.026424162089824677, -0.0015909775393083692, -0.03413577750325203, -0.024377476423978806, -0.0752156600356102, 0.013248628936707973, -0.00146191765088588, -0.0025240920949727297, -0.011795847676694393, 0.004264688119292259, 0.016172464936971664, 0.014372478239238262, -0.01674809493124485, -0.035341858863830566, 0.07251111418008804, -0.03936213254928589, 0.026204874739050865, -0.012252697721123695, 0.008579629473388195, 0.01916939578950405, -0.028342928737401962, 0.043820980936288834, 0.005267472006380558, -0.010004999116063118, 0.0338616669178009, 0.008972520008683205, 0.05902492627501488, -0.013787711039185524, 0.02812364138662815, 0.02353687398135662, 0.038740817457437515, -0.025638381019234657, 0.0019450357649475336, -0.12024272978305817, -0.025126710534095764, -0.0004888286930508912, -0.0017680067103356123, 0.06743095070123672, 0.002473838860169053, 0.018155189231038094, 0.013924765400588512, 0.037059612572193146, 0.004691842012107372, 0.027922626584768295, 0.03921594098210335, 0.06436092406511307, -0.05219046026468277, -0.014409026131033897, -0.04528290033340454, -0.023116573691368103, 0.01873081922531128, -0.01757042296230793, 0.009977588430047035, 0.13208426535129547, 0.04714684560894966, -0.0008880007662810385, 0.02551046386361122, 0.004538797307759523, 0.03194290027022362, -0.017223216593265533, -0.08661861717700958, 0.045977309346199036, -0.042322516441345215, -0.0006475838599726558, 0.03921594098210335, 0.009575560688972473, -0.024158189073204994, 0.02070440910756588, -0.042432159185409546, 0.002098080236464739, -0.05061889812350273, 0.025017065927386284, 0.024633312597870827, -0.0031179962679743767, 0.0501437745988369, 0.05876908823847771, -0.06991621106863022, 0.01731458678841591, -0.04535599425435066, 0.00038318231236189604, 0.014335930347442627, -0.029256626963615417, -0.04842602089047432, -0.007519738748669624, -0.009041046723723412, 0.03179670870304108, 0.02869013324379921, 0.03369720280170441, -0.045136708766222, -0.019900353625416756, -0.023445503786206245, -0.01035220455378294, -0.02178257331252098, 0.01619073748588562, -0.036164186894893646, -0.008529376238584518, -0.00929231382906437, 0.005998430773615837, 0.03994689881801605, -0.05018032342195511, -0.004075095523148775, -0.0034149482380598783, -0.013760300353169441, -0.008648156188428402, -0.0490838848054409, 0.02085060067474842, -0.08179429173469543, -0.03983725607395172, 0.020466847345232964, -0.014482121914625168, -0.00983139593154192, -0.04630624130368233, 0.033368270844221115, 0.0011095727095380425, 0.07835878431797028, -0.033039338886737823, -0.04915698245167732, 0.021618107333779335, 0.03409922868013382, 0.029713476076722145, 0.005445643328130245, 0.049193527549505234, 0.025126710534095764, -0.028397750109434128, -0.006400458049029112, 0.0006018989370204508, 0.02779470942914486, 0.01861203834414482, -0.06593248248100281, -0.06918524950742722, 0.034190598875284195, -0.005706047173589468, -0.0352870374917984, -0.006756800692528486, -0.0023596263490617275, 0.004171033855527639, 0.04912043362855911, -0.021545011550188065, -0.024377476423978806, 0.012928834185004234, -0.025528736412525177, 0.023847531527280807, 0.04374788701534271, 0.027465777471661568, 0.05281177535653114, -0.03700479120016098, -0.014573491178452969, -0.010050684213638306, -0.02801399677991867, 0.028269832953810692, -0.01689428649842739, -0.05094783008098602, -0.004102506209164858, -0.004285246133804321, -0.04363824054598808, 0.0005833394243381917, -0.028964243829250336, -0.03428196907043457, 0.00491569796577096, -0.00317967077717185, 0.0163003820925951, -0.00014454996562562883, 0.015350135043263435, -0.02536427043378353, -0.013276039622724056, -0.07240147143602371, -0.040348928421735764, 0.03607281669974327, 0.047512322664260864, 0.03643829748034477, 0.07115884125232697, 0.003398958593606949, -0.00894967745989561, -0.0012015135725960135, -0.058878734707832336, -0.008808054029941559, 0.0533599928021431, 0.12601730227470398, -0.07726234942674637, 0.004228139761835337, -0.052957966923713684, 0.00915525946766138, -0.013075025752186775, 0.060559939593076706, -0.00037433087709359825, -0.024742955341935158, -0.029146982356905937, 0.0004468557017389685, -0.008031410165131092, -0.019443504512310028, 0.011603971011936665, -0.010790779255330563, -0.005523307714611292, 0.007496896665543318, -0.00942023191601038, 0.021124709397554398, 0.005112143233418465, -0.04484432563185692, 0.00032179319532588124, -0.01749732717871666, 0.04674481600522995, 0.04703719913959503, -0.07901664823293686, 0.054931554943323135, 0.02350032702088356, 0.04875495284795761, -0.01955314911901951, 0.01980898343026638, 0.025912489742040634, 0.026881011202931404, -0.03212564066052437, 0.06151018664240837, -0.07207254320383072, -0.022001860663294792, -0.010123779997229576, 0.03391648828983307, 0.02510843612253666, -0.0010473269503563643, 0.0263327918946743, 0.006135485600680113, -0.04542909190058708, 0.033368270844221115, 0.0024213010910898447, -0.014719683676958084, 0.019297312945127487, -0.014966381713747978, -0.012800916098058224, -0.02998758666217327, 0.036237284541130066, -0.014801916666328907, -0.028708407655358315, 0.0036136778071522713, 0.000022931692001293413, -0.0469275563955307, 0.031211942434310913, 0.0072593349032104015, -0.015076025389134884, 0.03238147497177124, -0.03972761332988739, -0.024340929463505745, -0.014180601574480534, -0.0634106770157814, 0.006505533587187529, -0.04612350091338158, 0.0051486911252141, -0.006638019811362028, -0.005162396933883429, 0.028470845893025398, 0.025656655430793762, -0.0010747378692030907, 0.013312587514519691, -0.018511531874537468, -0.060304101556539536, 0.0072913141921162605, 0.010617177002131939, -0.03775402158498764, 0.05010722577571869, 0.022440435364842415, -0.0016161042731255293, -0.02722821570932865, 0.018374476581811905, -0.032180462032556534, 0.06081577390432358, 0.05602799355983734, -0.030608901754021645, -0.04115298017859459, -0.005893355701118708, -0.028562216088175774, -0.024231284856796265, 0.022330792620778084, 0.024487121030688286, 0.022732820361852646, 0.040458571165800095, -0.05182497948408127, 0.020174464210867882, -0.014692272059619427, -0.024870874360203743, -0.010452711023390293, -0.000319223414408043, -0.009849670343101025, 0.02413991466164589, -0.047512322664260864, -0.05219046026468277, -0.047585420310497284, -0.06319139152765274, -0.005025342106819153, 0.007620245683938265, -0.03197944909334183, 0.002562924288213253, -0.012252697721123695, 0.0483529269695282, -0.0060395472683012486, -0.026131778955459595, 0.03077336587011814, 0.015953175723552704, 0.027392681688070297, -0.040750954300165176, -0.04283418878912926, 0.02331758663058281, -0.04254180192947388, -0.04203013330698013, 0.053104158490896225, -0.01402527280151844, -0.019205942749977112, -0.002403027145192027, 0.07960141450166702, 0.03377029672265053, -0.04327276349067688, 0.06779643148183823, 0.03384339436888695, 0.05968278646469116, 0.016099367290735245, -0.007601971738040447, -0.0200648196041584, 0.05039961263537407, -0.03735199570655823, -0.012115642428398132, -0.07002585381269455, 0.004653009586036205, 0.011338998563587666, 0.06633451581001282, 0.03561596944928169, -0.01820087432861328, 0.053286898881196976, -0.05639347434043884, -0.031394682824611664, 0.02551046386361122, -0.034190598875284195, -0.029457639902830124, 0.04985139146447182, 0.013047615066170692, -0.012079094536602497, -0.012773505412042141, 0.058732543140649796, -0.04689100757241249, 0.018264833837747574, 0.03662103787064552, 0.02600385993719101, -0.04985139146447182, 0.026771366596221924, 0.04319966584444046, 0.00023870373843237758, 0.02861703746020794, 0.013422231189906597, 0.0356525182723999, 0.011338998563587666, 0.02887287363409996, -0.021343998610973358, 0.022367339581251144, -0.0544564314186573, 0.03561596944928169, 0.007757300511002541, 0.03557942062616348, -0.07711615413427353, -0.03495810553431511, 0.019681066274642944, -0.04645243287086487, 0.0326007641851902, -0.01585266925394535, -0.06852739304304123, -0.05390821397304535, -0.03943523019552231, -0.09210081398487091, 0.01122935488820076, 0.01042530033737421, 0.0426148995757103, 0.04462503641843796, 0.026807915419340134, -0.004164181184023619, -0.03311243653297424, 0.06257007271051407, -0.00887658167630434, -0.00545478006824851, 0.031102297827601433, 0.01296538207679987, -0.05175188556313515, 0.015624244697391987, 0.053140707314014435, -0.015130847692489624, 0.0006424442981369793, 0.03965451568365097, -0.06713856756687164, -0.018411025404930115, -0.013129848055541515, 0.07660448551177979, 0.0018502395832911134, 0.03123021498322487, 0.004196160472929478, -0.0040568215772509575, 0.03969106450676918, 0.009968451224267483, -0.0429803803563118, -0.014217149466276169, 0.02808709256350994, -0.03720580413937569, -0.00929231382906437, -0.03563424199819565, 0.01503034122288227, 0.027995722368359566, -0.002702263416722417, -0.006953245960175991, -0.11300623416900635, 0.013650655746459961, -0.009676067158579826, 0.04290728271007538, 0.061948761343955994, -0.03311243653297424, 0.021892216056585312, 0.04276109114289284, -0.0016286675818264484, 0.07221873104572296, -0.017963312566280365, 0.0046255989000201225, 0.05036306381225586, -0.06344722956418991, 0.004006567876785994, 0.038850460201501846, -0.02357342280447483, -0.013285176828503609, -0.04999758303165436, -0.04309002310037613, -0.0016892001731321216, -0.0017600117716938257, -0.08332930505275726, -0.0008754373993724585, -0.08384097367525101, -0.009319725446403027, -0.028744956478476524, -0.012051683850586414, -0.0401296392083168, -0.01022428646683693, -0.09129675477743149, 0.05558941885828972, -0.037059612572193146, 0.012143053114414215, -0.008579629473388195, -0.02890942245721817, 0.03932558372616768, 0.056795500218868256, -0.06311829388141632, -0.04389407858252525, -0.00884003285318613, -0.09005412459373474, 0.007688773330301046, 0.0041162120178341866, 0.028818052262067795, -0.002750232582911849, -0.046196598559617996, -0.01585266925394535, 0.02371961437165737, -0.004742095246911049, -0.005203512962907553, -0.01221614982932806, 0.002295667538419366, -0.005084732547402382, 0.07335171848535538, -0.012928834185004234, -0.022184601053595543, 0.07711615413427353, 0.016473984345793724, -0.04290728271007538, -0.0033555577974766493, 0.05705133453011513, 0.005431937985122204, 0.04104333743453026, -0.062204595655202866, 0.003922050818800926, -0.017771435901522636, -0.05577215924859047, -0.03790021687746048, -0.015834394842386246, -0.010087232105433941, -0.02088714763522148, -0.005093869287520647, -0.02181912027299404, -0.01977243646979332, -0.01529531367123127, 0.008533944375813007, 0.0077892797999084, 0.0025218080263584852, -0.006272540427744389, 0.021325724199414253, 0.027374407276511192, 0.06110815703868866, -0.013303450308740139, 0.022403888404369354, 0.006176602095365524, -0.030499257147312164, 0.022824188694357872, 0.022696271538734436, -0.010671999305486679, -0.022988654673099518, 0.05741681531071663, 0.027301311492919922, -0.012115642428398132, 0.009767437353730202, -0.040824051946401596, -0.03643829748034477, -0.04352859780192375, 0.025821121409535408, -0.04323621466755867, -0.023262765258550644, 0.03589008003473282, 0.03589008003473282, -0.013349135406315327, 0.053067609667778015, -0.01497551891952753, -0.017515601590275764, 0.0025012497790157795, -0.027593696489930153, -0.03227183222770691, 0.01663845032453537, -0.01597145013511181, 0.10642760246992111, -0.032692134380340576, 0.0426148995757103, 0.06085232272744179, 0.07035478949546814, -0.03073681890964508, -0.022257696837186813, -0.009283177554607391, -0.009333430789411068, -0.010708547197282314, 0.02951246313750744, -0.05569906160235405, 0.04162810370326042, -0.0003686202398966998, 0.004013421013951302, 0.016921697184443474, -0.0016469416441395879, -0.029439367353916168, 0.0088217593729496, 0.013065889477729797, 0.016812052577733994, 0.018785642459988594, -0.007062889635562897, -0.06801571696996689, -0.042359065264463425, -0.05434678867459297, -0.03199772164225578, -0.0429803803563118, 0.04323621466755867, -0.019790710881352425, 0.010361341759562492, -0.006775074638426304, -0.022805916145443916, 0.04107988625764847, -0.00949332769960165, -0.0393986813724041, 0.0015270187286660075, -0.005422800779342651, 0.058440156280994415, -0.002331073395907879, -0.014162327162921429, 0.012097368948161602, 0.0352870374917984, 0.03599972277879715, -0.000905703695025295, 0.01909630000591278, 0.010946108028292656, 0.008803484961390495, 0.02819673717021942, 0.029183531180024147, -0.015560286119580269, 0.0576726496219635, -0.022970380261540413, 0.0011923765996471047, -0.03453780338168144, 0.02540081925690174, -0.01223442330956459, 0.04129917547106743, 0.03289314731955528, -0.016236422583460808, 0.004568492528051138, 0.05898837745189667, -0.012261833995580673, -0.023335861042141914, 0.032692134380340576, -0.006953245960175991, 0.02320794202387333, -0.0533599928021431, -0.00047483769594691694, -0.023226216435432434, -0.011613108217716217, 0.04283418878912926, -0.03733372315764427, -0.02574802376329899, 0.05529703572392464, -0.02465158700942993, 0.009803985245525837, -0.03631037846207619, -0.009794848039746284, -0.011896355077624321, 0.05365237966179848, 0.014993793331086636, 0.032545942813158035, -0.004687273409217596, 0.07638520002365112, 0.01696738228201866, -0.011393820866942406, -0.0037164688110351562, -0.017067888751626015, 0.02667999640107155, -0.038375336676836014, -0.0074009583331644535, 0.0730593353509903, -0.02357342280447483, -0.014454711228609085, 0.040641311556100845, -0.027502326294779778, -0.062423884868621826, -0.04853566735982895, -0.08866530656814575, -0.005500465165823698, -0.05036306381225586, 0.027776435017585754, 0.045867666602134705, 0.09473226219415665, 0.04166465252637863 ]
54,954
ml_wrappers.dataset.dataset_wrapper
reset_index
Reset index to be part of the features on the dataset.
def reset_index(self): """Reset index to be part of the features on the dataset. """ dataset = self._original_dataset_with_type if self._dataset_is_df: self._default_index = pd.Index(np.arange(0, len(dataset))).equals(dataset.index) reset_dataset = dataset if not self._default_index: self._set_default_index_cols(dataset) reset_dataset = dataset.reset_index() # Move index columns to the end of the dataframe to ensure # index arguments are still valid to original dataset dcols = reset_dataset.columns.tolist() for default_index_col in self._default_index_cols: dcols.insert(len(dcols), dcols.pop(dcols.index(default_index_col))) reset_dataset = reset_dataset.reindex(columns=dcols) self._features = reset_dataset.columns.values.tolist() self._dataset = reset_dataset.values
(self)
[ -0.024410363286733627, -0.01391980703920126, 0.04240471124649048, -0.027120577171444893, -0.025903746485710144, -0.0044893682934343815, -0.02542438916862011, 0.014832430519163609, 0.026844024658203125, -0.022456059232354164, -0.05199186131358147, -0.04642393812537193, -0.02498190477490425, 0.0043441783636808395, 0.02411537431180477, 0.029867665842175484, 0.014288543723523617, 0.05435177683830261, 0.03595181927084923, -0.0446540042757988, 0.0003681604575831443, -0.02094423957169056, -0.02765524573624134, -0.004770529922097921, -0.0061579011380672455, -0.0033508939668536186, -0.05781789869070053, -0.007937055081129074, 0.05025880038738251, -0.0312873013317585, -0.03421875834465027, -0.011707386933267117, -0.026604346930980682, 0.026733404025435448, -0.025110963732004166, -0.12205182015895844, -0.012380331754684448, 0.02636466734111309, 0.11725824326276779, 0.07728718966245651, 0.005411209538578987, -0.07787717133760452, -0.06475014984607697, -0.04782513901591301, -0.013385138474404812, 0.019764281809329987, 0.010232441127300262, -0.022179506719112396, 0.027784302830696106, -0.032116957008838654, -0.04185160622000694, -0.0068077994510531425, -0.011384743265807629, 0.06124715134501457, -0.03510372340679169, 0.012730631045997143, -0.016906574368476868, 0.019672097638249397, -0.000015114959751372226, -0.00611641863361001, 0.016648458316922188, -0.03119511716067791, -0.03582276031374931, -0.008563907817006111, 0.030605139210820198, -0.04129850119352341, -0.015164293348789215, 0.039417944848537445, 0.010591958649456501, -0.02024363912642002, -0.041482869535684586, 0.01068414282053709, 0.025313768535852432, 0.061394646763801575, -0.0294620543718338, -0.014233233407139778, -0.026825588196516037, 0.007973928935825825, -0.01658392883837223, 0.008536252193152905, 0.02575625292956829, 0.02413381077349186, -0.04188847914338112, 0.047788266092538834, -0.0052084047347307205, 0.0031780486460775137, 0.03945481777191162, 0.03156385198235512, -0.00956871546804905, -0.10191880166530609, 0.031158244237303734, 0.041224751621484756, 0.004240470938384533, -0.023470085114240646, 0.02103642374277115, -0.020962676033377647, -0.03738989308476448, -0.009352082386612892, -0.004307304508984089, -0.04952132701873779, -0.017939036712050438, 0.025313768535852432, 0.028835203498601913, 0.061910875141620636, -0.0007438109023496509, -0.041667237877845764, 0.04970569536089897, -0.062095243483781815, -0.035195909440517426, 0.0015579122118651867, -0.0675894170999527, 0.000929907662793994, 0.03438469022512436, -0.013292954303324223, 0.0019808069337159395, -0.03672616556286812, 0.02997828647494316, 0.024889720603823662, -0.03375783562660217, 0.02680715173482895, 0.02533220499753952, 0.03377627208828926, -0.04690329730510712, -0.007397778332233429, 0.007287157233804464, 0.021349849179387093, 0.018187932670116425, 0.020999548956751823, 0.01128333993256092, -0.022290127351880074, -0.03772175684571266, 0.0230091642588377, -0.07005995512008667, 0.062574602663517, 0.01262922864407301, -0.01875947415828705, 0.04930008575320244, 0.021220792084932327, -0.051070019602775574, 0.013422012329101562, -0.009550278075039387, -0.01369856484234333, 0.04904196783900261, 0.02800554595887661, 0.03611775115132332, 0.0331125482916832, 0.01939554512500763, -0.020833618938922882, -0.057522911578416824, -0.0484519898891449, 0.052508093416690826, -0.00906631164252758, -0.0561954602599144, -0.06390205770730972, -0.016759078949689865, -0.012454078532755375, -0.04395340383052826, -0.031416360288858414, -0.02171858586370945, -0.005374336149543524, -0.03637586534023285, 0.004770529922097921, 0.025387516245245934, -0.010140256956219673, -0.09329035878181458, 0.027876487001776695, 0.01206690538674593, -0.07839339971542358, -0.06681507080793381, 0.01604004204273224, -0.014537440612912178, 0.05748603865504265, 0.011209593154489994, 0.004671432077884674, -0.0038440790958702564, 0.08643186092376709, 0.0012087647337466478, -0.014675716869533062, 0.021147044375538826, 0.01922961324453354, 0.00639758026227355, -0.015026017092168331, -0.04871010780334473, -0.07101867347955704, -0.004812012892216444, -0.0364496149122715, -0.04841511696577072, -0.01240798644721508, 0.029093317687511444, 0.01176269818097353, 0.0435846671462059, -0.020815182477235794, 0.018123405054211617, 0.007416215259581804, 0.05154937878251076, -0.010886948555707932, -0.04074539616703987, -0.020649250596761703, 0.05556860566139221, -0.0018724906258285046, -0.005531049333512783, 0.03086325339972973, 0.07367357611656189, -0.0376664437353611, -0.02629091963171959, 0.023156659677624702, 0.002129453932866454, -0.019598349928855896, -0.06648320704698563, 0.017957473173737526, 0.019063683226704597, -0.045354604721069336, -0.000981185119599104, 0.009762302041053772, 0.016657676547765732, -0.07101867347955704, -0.018326209858059883, -0.02765524573624134, 0.07053931057453156, 0.04627644270658493, 0.002917628502473235, -0.017017195001244545, -0.026217173784971237, -0.00887733418494463, 0.03163760155439377, -0.000602077750954777, -0.000994436559267342, -0.024244431406259537, -0.01649174466729164, -0.043732162564992905, -0.0014668803196400404, -0.04026603698730469, -0.03853297606110573, -0.039676059037446976, 0.04568646475672722, 0.03263318911194801, 0.034698113799095154, -0.005826038308441639, -0.0045585064217448235, 0.002585765440016985, -0.03032858669757843, -0.013929025270044804, 0.026678092777729034, 0.00010385120549472049, -0.07378419488668442, 0.0675894170999527, 0.011043661274015903, 0.009015610441565514, 0.01068414282053709, -0.005194576922804117, -0.015892548486590385, -0.023211969062685966, 0.005687762051820755, 0.0408560149371624, 0.05833413079380989, -0.06268522143363953, -0.026309357956051826, 0.0021524999756366014, -0.03324160352349281, 0.015007579699158669, -0.017957473173737526, -0.04151974245905876, -0.021478908136487007, 0.009324426762759686, 0.012122215703129768, 0.003943176940083504, 0.014712590724229813, 0.044764623045921326, 0.053983040153980255, 0.014094957150518894, 0.10442620515823364, 0.025977494195103645, -0.008135251700878143, -0.011799571104347706, 0.023470085114240646, 0.057264793664216995, -0.019450856372714043, -0.04594458267092705, 0.004205902107059956, 0.02516627311706543, 0.040302909910678864, -0.052544966340065, -0.0013654778013005853, -0.013127023354172707, -0.014620406553149223, 0.02181077003479004, -0.02230856567621231, 0.005056300666183233, 0.009402783587574959, -0.01382762286812067, 0.004466322250664234, 0.050885651260614395, 0.02577468939125538, 0.00439257500693202, -0.03974980488419533, -0.019026808440685272, -0.041409119963645935, -0.0044893682934343815, -0.02481597289443016, 0.047603897750377655, -0.05099627375602722, -0.02448411099612713, 0.03585963696241379, 0.009223024360835552, 0.030310148373246193, -0.04210972040891647, 0.011135845445096493, 0.0060749356634914875, 0.04583396017551422, -0.014353072270751, -0.0003543328493833542, 0.05298744887113571, -0.040302909910678864, -0.04284719377756119, 0.0018390738405287266, -0.0648607686161995, 0.04008166864514351, -0.022253254428505898, 0.047087665647268295, 0.0561954602599144, -0.0792783722281456, -0.018353864550590515, -0.03757426142692566, -0.03729770705103874, -0.01097913272678852, 0.10191880166530609, 0.0009420068236067891, -0.028023982420563698, -0.0410035103559494, -0.0022850146051496267, 0.0014853171305730939, -0.03237507492303848, 0.0008469418971799314, -0.004464017692953348, -0.04952132701873779, -0.05918222665786743, 0.018916187807917595, -0.01789294369518757, 0.01037993561476469, 0.029683297500014305, -0.03196946531534195, -0.008024630136787891, 0.01206690538674593, -0.04686642438173294, 0.0038279469590634108, -0.0038325560744851828, 0.02500034123659134, -0.054499272257089615, 0.026770276948809624, 0.10354124009609222, 0.027212761342525482, -0.02094423957169056, 0.01627972163259983, 0.04646081104874611, 0.07489040493965149, -0.022529806941747665, 0.008651482872664928, -0.03410813584923744, -0.010186349041759968, -0.00822282675653696, 0.013053275644779205, -0.021478908136487007, -0.010923822410404682, -0.021847644820809364, 0.0162520669400692, -0.01003885455429554, -0.023636016994714737, 0.01159676630049944, -0.009057093411684036, 0.005720026791095734, -0.0032471867743879557, -0.06537700444459915, -0.020557066425681114, 0.030642012134194374, 0.026678092777729034, -0.04052415490150452, -0.04871010780334473, 0.02844802848994732, -0.05228685215115547, -0.016897354274988174, 0.013117805123329163, -0.0537617988884449, 0.006028843577951193, 0.036836788058280945, -0.020999548956751823, -0.013846059329807758, 0.02230856567621231, -0.03646805137395859, 0.029664861038327217, -0.005756900180131197, 0.013901370577514172, -0.03875421732664108, -0.010435245931148529, -0.019543040543794632, 0.021829206496477127, 0.02713901363313198, -0.03014421835541725, -0.020114582031965256, 0.030918564647436142, -0.051143769174814224, -0.02610655128955841, -0.020298950374126434, 0.018538232892751694, 0.0420728474855423, 0.016362687572836876, 0.033868458122015, 0.015201166272163391, -0.05671168863773346, 0.0013032534625381231, -0.023672889918088913, 0.032190706580877304, 0.0815645381808281, -0.0032564052380621433, 0.044174645096063614, 0.09255288541316986, 0.013403575867414474, 0.0821545198559761, 0.023912569507956505, 0.06876938045024872, 0.09778895229101181, 0.03479029983282089, 0.05394616723060608, -0.021386723965406418, 0.01972740888595581, 0.009633244015276432, -0.011559892445802689, -0.04369528964161873, -0.02767368219792843, -0.07839339971542358, 0.07064993679523468, -0.0287798922508955, -0.042699698358774185, -0.0689537450671196, 0.03549090027809143, -0.02983079105615616, 0.023506958037614822, -0.026254046708345413, 0.014491348527371883, -0.05490488186478615, 0.07979460060596466, 0.06692569702863693, -0.035380277782678604, 0.020022397860884666, -0.01948772929608822, 0.04671892896294594, -0.017201563343405724, -0.0015314092161133885, 0.035214345902204514, -0.04078226909041405, 0.02654903568327427, 0.009153886698186398, 0.008241263218224049, 0.000019337066987645812, -0.021386723965406418, -0.02223481796681881, 0.008139860816299915, -0.021128607913851738, 0.029167065396904945, 0.03394220396876335, 0.0172384362667799, 0.0078079975210130215, 0.033057235181331635, -0.06412329524755478, -0.0017641742015257478, 0.06884312629699707, 0.021571092307567596, 0.0043533965945243835, -0.05306119844317436, -0.03488248214125633, 0.006978340446949005, 0.01796669140458107, -0.07234612107276917, 0.015874110162258148, -0.08613687008619308, -0.031158244237303734, 0.036652419716119766, -0.04188847914338112, 0.009379737079143524, 0.040118541568517685, -0.035988692194223404, -0.007605192717164755, -0.041409119963645935, 0.0587766170501709, 0.009504185989499092, -0.02181077003479004, 0.014749464578926563, -0.003406204516068101, 0.005955096334218979, -0.018916187807917595, -0.004014619626104832, 0.013154678978025913, -0.03456905856728554, -0.007397778332233429, 0.03974980488419533, 0.09778895229101181, 0.052876830101013184, 0.007264111191034317, 0.04819387570023537, -0.005720026791095734, 0.022677302360534668, 0.07005995512008667, -0.01060117781162262, -0.07595974206924438, -0.017837634310126305, 0.023248843848705292, -0.028134603053331375, 0.030273275449872017, -0.020151454955339432, -0.023470085114240646, -0.04970569536089897, -0.04852573946118355, -0.011025224812328815, 0.019708972424268723, 0.015145855955779552, 0.05125438794493675, 0.046829547733068466, -0.039086081087589264, 0.02153421752154827, 0.06460265070199966, 0.0376664437353611, -0.05800226703286171, 0.023470085114240646, -0.040708523243665695, 0.018427612259984016, -0.009882140904664993, 0.03182196989655495, 0.019174303859472275, 0.0033969860523939133, 0.0821545198559761, 0.007844870910048485, -0.010868511162698269, -0.008614609017968178, 0.061136528849601746, 0.03753738850355148, 0.023543832823634148, -0.04078226909041405, 0.01827089861035347, -0.07282548397779465, 0.10405746847391129, -0.037795502692461014, -0.0458708330988884, 0.022695738822221756, -0.01172582432627678, -0.07935211807489395, -0.00764667522162199, -0.027102140709757805, -0.026991520076990128, 0.049853190779685974, 0.004330350551754236, 0.0031457841396331787, -0.042183466255664825, -0.017459677532315254, 0.05590046942234039, -0.03611775115132332, 0.014306980185210705, 0.03702115640044212, 0.011145063675940037, 0.0375189483165741, 0.058739740401506424, -0.007678939960896969, -0.017183126881718636, -0.03663398325443268, 0.09506029635667801, -0.051070019602775574, -0.014131831005215645, 0.012454078532755375, 0.004816622007638216, 0.0032633189111948013, -0.04664517939090729, -0.011255685240030289, -0.01060117781162262, -0.057596657425165176, 0.015938639640808105, 0.00633305124938488, 0.003572135930880904, 0.03491935506463051, 0.034587495028972626, -0.03014421835541725, -0.014979925006628036, -0.03379470854997635, 0.005950487218797207, 0.019543040543794632, 0.0032633189111948013, -0.037869248539209366, -0.030807944014668465, 0.00210756016895175, 0.027858050540089607, 0.0230829119682312, 0.009121621958911419, -0.019874902442097664, -0.034845609217882156, 0.003963918425142765, 0.05070128291845322, -0.03593338280916214, 0.0033485894091427326, 0.06312770396471024, -0.015201166272163391, -0.08606312423944473, 0.06902749091386795, 0.028835203498601913, 0.05715417489409447, 0.00633305124938488, 0.0013666300801560283, -0.004752092994749546, 0.022290127351880074, -0.009296772070229053, -0.03501154109835625, 0.046571433544158936, 0.03429250419139862, -0.03849610313773155, 0.027894925326108932, 0.02282479591667652, 0.00893725361675024, -0.012490952387452126, -0.009204587899148464, -0.03681835159659386, -0.010186349041759968, -0.05479425936937332, 0.004703696351498365, -0.02052019163966179, -0.04104038327932358, -0.02040957100689411, -0.0016593147302046418, -0.010536648333072662, -0.021866081282496452, 0.007208800874650478, -0.019450856372714043, -0.005577141419053078, -0.0422203429043293, 0.030291711911559105, -0.004724437836557627, -0.08237575739622116, -0.05637982860207558, 0.0044340575113892555, -0.00358826806768775, -0.009771520271897316, -0.0114677082747221, 0.005964314565062523, 0.01775466836988926, 0.025387516245245934, 0.025977494195103645, -0.03945481777191162, 0.055605482310056686, -0.003685061587020755, -0.03919669985771179, -0.08901301771402359, 0.0140488650649786, -0.05014817789196968, -0.00633305124938488, 0.002956806682050228, -0.018971499055624008, -0.0024935812689363956, -0.016150662675499916, -0.012002376839518547, -0.016132226213812828, 0.05177062004804611, -0.03722396120429039, -0.007411605678498745, 0.05567922815680504, -0.04745640233159065, -0.011836444959044456, 0.018538232892751694, 0.061837129294872284, 0.008605390787124634, 0.058039143681526184, 0.002068381989374757, 0.008255090564489365, 0.029240813106298447, 0.002832358004525304, 0.04413777217268944, -0.04240471124649048, 0.04151974245905876, -0.03397907689213753, 0.005378945264965296, 0.030531391501426697, 0.020206766203045845, -0.015403972007334232, -0.03790612518787384, -0.03875421732664108, 0.014712590724229813, -0.01339435763657093, 0.059145353734493256, -0.032965052872896194, 0.046239569783210754, 0.00033330332371406257, 0.0561954602599144, -0.020372698083519936, -0.035712141543626785, 0.03370252624154091, -0.02052019163966179, 0.0032471867743879557, -0.026124989613890648, 0.017773104831576347, 0.011228029616177082, -0.0375189483165741, 0.014306980185210705, -0.030660448595881462, -0.060104068368673325, -0.034089699387550354, 0.04524398222565651, 0.006273131351917982, 0.0262724831700325, 0.006701787933707237, 0.006692569237202406, 0.04716141149401665, 0.00849016010761261, -0.010416809469461441, 0.06784753501415253, -0.03678147494792938, 0.004839668050408363, 0.05523674562573433, 0.01250017061829567, 0.0006308853044174612, 0.07057618349790573, 0.03945481777191162, 0.020575502887368202, -0.04129850119352341, -0.03254100680351257, -0.06434454023838043, 0.04539147764444351, 0.04937383159995079, -0.0198933407664299, -0.004021533764898777, 0.0654507502913475, 0.009854486212134361, -0.027157451957464218, -0.026991520076990128, 0.03237507492303848, -0.012555481866002083, -0.019616788253188133, 0.04196222499012947, -0.02629091963171959, 0.07795091718435287, 0.005328244064003229, 0.04664517939090729, -0.009974325075745583, 0.04782513901591301, 0.012841252610087395, 0.028908949345350266, 0.028153039515018463, -0.07208801060914993, 0.02854021266102791, -0.06522950530052185, 0.04262595251202583, 0.04126162827014923, -0.00468525942414999, 0.029314560815691948, 0.0369105339050293, -0.025535009801387787, -0.02455785870552063, 0.005895176436752081, -0.011338651180267334, -0.03689209744334221, -0.0011188851203769445, 0.01128333993256092, 0.02352539636194706, 0.03558308258652687, 0.035804323852062225, -0.0012168308021500707, -0.04229408875107765, 0.034698113799095154, -0.029627986252307892, -0.03421875834465027, 0.002056858967989683, -0.0013620208483189344, 0.038311734795570374, 0.03775862976908684, -0.014767901040613651 ]
54,955
ml_wrappers.dataset.dataset_wrapper
sample
Sample the examples. First does random downsampling to upper_bound rows, then tries to find the optimal downsample based on how many clusters can be constructed from the data. If sampling_method is hdbscan, uses hdbscan to cluster the data and then downsamples to that number of clusters. If sampling_method is k-means, uses different values of k, cutting in half each time, and chooses the k with highest silhouette score to determine how much to downsample the data. The danger of using only random downsampling is that we might downsample too much or too little, so the clustering approach is a heuristic to give us some idea of how much we should downsample to. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int :param sampling_method: Method to use for sampling, can be 'hdbscan' or 'kmeans'. :type sampling_method: str
def sample(self, max_dim_clustering=Defaults.MAX_DIM, sampling_method=Defaults.HDBSCAN): """Sample the examples. First does random downsampling to upper_bound rows, then tries to find the optimal downsample based on how many clusters can be constructed from the data. If sampling_method is hdbscan, uses hdbscan to cluster the data and then downsamples to that number of clusters. If sampling_method is k-means, uses different values of k, cutting in half each time, and chooses the k with highest silhouette score to determine how much to downsample the data. The danger of using only random downsampling is that we might downsample too much or too little, so the clustering approach is a heuristic to give us some idea of how much we should downsample to. :param max_dim_clustering: Dimensionality threshold for performing reduction. :type max_dim_clustering: int :param sampling_method: Method to use for sampling, can be 'hdbscan' or 'kmeans'. :type sampling_method: str """ from sklearn.utils import resample # bounds are rough estimates that came from manual investigation lower_bound = 200 upper_bound = 10000 num_rows = self._dataset.shape[0] module_logger.info('sampling examples') # If less than lower_bound rows, just return the full dataset if num_rows < lower_bound: return self._dataset # If more than upper_bound rows, sample randomly elif num_rows > upper_bound: module_logger.info('randomly sampling to 10k rows') self._dataset = resample(self._dataset, n_samples=upper_bound, random_state=7) num_rows = upper_bound if sampling_method == Defaults.HDBSCAN: try: opt_k = self._find_k_hdbscan(max_dim_clustering) except Exception as ex: module_logger.warning(('Failed to use hdbscan due to error: {}' '\nEnsure hdbscan is installed with: pip install hdbscan').format(str(ex))) opt_k = self._find_k_kmeans(max_dim_clustering) else: opt_k = self._find_k_kmeans(max_dim_clustering) # Resample based on optimal number of clusters if (opt_k < num_rows): self._dataset = resample(self._dataset, n_samples=opt_k, random_state=7) return self._dataset
(self, max_dim_clustering=50, sampling_method='hdbscan')
[ 0.013093125075101852, -0.07389133423566818, 0.015276874415576458, -0.008144542574882507, 0.014274036511778831, 0.010337663814425468, 0.01687016710639, 0.018885215744376183, 0.01569862850010395, 0.0008657676517032087, -0.076178178191185, 0.05870818346738815, -0.01853843964636326, 0.022624770179390907, -0.006541876122355461, 0.032971806824207306, -0.013852282427251339, 0.06077009439468384, 0.01686079613864422, 0.011162428185343742, -0.017947984859347343, -0.01168727781623602, -0.06253208965063095, 0.039213769137859344, -0.004826742690056562, 0.06099503114819527, -0.02005675435066223, -0.05109786242246628, 0.03162219375371933, 0.0046439822763204575, -0.04648668318986893, -0.021406369283795357, -0.012277733534574509, 0.043824948370456696, -0.036289606243371964, -0.055409129709005356, 0.03038504719734192, 0.020337924361228943, -0.014967587776482105, 0.029841452836990356, -0.02001926675438881, -0.05181016027927399, 0.017788654193282127, -0.03254067897796631, 0.0236557237803936, 0.07231678813695908, 0.027573352679610252, 0.014039728790521622, -0.04389992728829384, -0.027948245406150818, 0.011762255802750587, -0.023993127048015594, -0.019381947815418243, 0.04172554984688759, -0.05038556829094887, 0.0007281117723323405, -0.0027507746126502752, 0.01880086585879326, 0.05233500897884369, -0.0025352113880217075, 0.02078779600560665, -0.02168753743171692, 0.04832365736365318, 0.057770952582359314, -0.02629871666431427, 0.01908203400671482, -0.10309547185897827, 0.014620812609791756, 0.0026008174754679203, 0.03090989589691162, 0.0415755920112133, 0.02603629231452942, 0.04093827307224274, 0.05604644864797592, -0.010562599636614323, 0.0502731017768383, -0.030984874814748764, -0.03473380208015442, 0.0031139517668634653, -0.022549791261553764, 0.04629923775792122, 0.031209811568260193, 0.025942569598555565, -0.0680055245757103, 0.0009536331053823233, -0.050048165023326874, -0.013280571438372135, -0.0007017521420493722, 0.07842753827571869, -0.076178178191185, -0.0008815834298729897, 0.052260030061006546, 0.06571867316961288, 0.04464971274137497, 0.0265236534178257, -0.017413761466741562, -0.05855822563171387, -0.02343078888952732, 0.03158470243215561, -0.05863320454955101, 0.00423394376412034, -0.014170940965414047, 0.093573197722435, 0.024311786517500877, 0.026017548516392708, -0.047648850828409195, -0.019719351083040237, 0.020825285464525223, -0.07692796736955643, 0.027573352679610252, -0.04686157777905464, 0.034658823162317276, -0.004897034727036953, 0.02530525252223015, -0.031284790486097336, -0.0521850511431694, 0.025417719036340714, 0.036552030593156815, -0.06598110496997833, -0.009105204604566097, 0.0031631565652787685, 0.00915675237774849, -0.027592096477746964, -0.016738954931497574, -0.021143943071365356, 0.01884772628545761, -0.00023723673075437546, 0.01313998643308878, -0.024218063801527023, 0.008720939978957176, 0.02509906142950058, -0.02168753743171692, -0.05360964313149452, 0.006537190172821283, 0.012952540069818497, -0.041388146579265594, 0.06560620665550232, 0.05630887299776077, 0.03179089352488518, 0.005356278270483017, 0.05447189882397652, -0.0023219911381602287, 0.04877353087067604, 0.04030095785856247, 0.05244747921824455, -0.0076009477488696575, 0.05379709228873253, -0.012062170542776585, 0.024461744353175163, -0.0187821201980114, -0.009803442284464836, 0.00208416860550642, 0.03600843623280525, -0.07205436378717422, 0.0036692614667117596, -0.02097524143755436, -0.027835777029395103, -0.029110411182045937, -0.056083936244249344, -0.06204472854733467, -0.00856629665941, -0.027085991576313972, 0.008828721009194851, 0.01231522299349308, -0.05379709228873253, 0.055146705359220505, -0.007244799751788378, 0.005398453678935766, -0.036533284932374954, 0.0007620864198543131, -0.010768790729343891, 0.0002858556108549237, -0.046711619943380356, -0.0178730059415102, -0.023299576714634895, 0.0681929662823677, 0.0004167751467321068, -0.013711697421967983, 0.03141600266098976, 0.019663117825984955, -0.030272578820586205, -0.03473380208015442, -0.028135690838098526, -0.05619640275835991, -0.013083752244710922, 0.00307880574837327, 0.05863320454955101, -0.007413501385599375, 0.023112129420042038, -0.005464059766381979, 0.01641092449426651, -0.014648929238319397, -0.014217802323400974, 0.03812658041715622, -0.0030506886541843414, -0.029616517946124077, -0.030272578820586205, 0.023562001064419746, 0.035146184265613556, 0.076178178191185, 0.003978548105806112, 0.013214965350925922, 0.04674911126494408, -0.03492124751210213, 0.0027203145436942577, -0.01829475909471512, -0.01289630588144064, 0.022287366911768913, -0.019606884568929672, 0.021406369283795357, -0.02193121798336506, -0.060957539826631546, 0.06204472854733467, 0.022043686360120773, 0.04543698579072952, -0.028323138132691383, 0.015614277683198452, -0.03540860861539841, -0.016570253297686577, -0.0011967275058850646, -0.027573352679610252, -0.009138007648289204, -0.03407773748040199, 0.03115357644855976, -0.013786676339805126, 0.0025750435888767242, 0.07332899421453476, -0.07467860728502274, -0.00250475131906569, -0.07752779126167297, 0.03434016555547714, -0.03434016555547714, 0.049823228269815445, -0.035633545368909836, -0.050048165023326874, -0.003671604674309492, 0.0072635444812476635, 0.008917758241295815, 0.06358178704977036, 0.002708599204197526, -0.036552030593156815, -0.01594230905175209, 0.006443466991186142, -0.04903595522046089, -0.037995368242263794, 0.026711098849773407, -0.0021626618690788746, 0.024086851626634598, 0.05915805697441101, 0.0029241624288260937, -0.002584415953606367, -0.06129494309425354, -0.031472235918045044, 0.004627580754458904, 0.03329046443104744, -0.03928874805569649, 0.00567962322384119, 0.006734008900821209, 0.011171800084412098, -0.0024485173635184765, -0.030310068279504776, -0.01207154244184494, -0.05698367953300476, 0.08839967846870422, -0.056571297347545624, 0.02097524143755436, -0.013121241703629494, 0.029129156842827797, 0.047386426478624344, -0.03351540118455887, 0.017263805493712425, 0.10639452934265137, -0.033646613359451294, -0.04056338220834732, -0.006134180352091789, 0.0699174702167511, 0.010778162628412247, -0.06283200532197952, 0.00542188435792923, -0.006040457170456648, 0.056833721697330475, 0.01762932538986206, 0.022381089627742767, 0.006644971668720245, 0.03508995100855827, -0.001408190350048244, -0.06879279762506485, -0.015230013057589531, 0.003985577262938023, 0.007835255935788155, -0.011228034272789955, -0.042100440710783005, 0.006471584085375071, -0.013355549424886703, 0.008158600889146328, 0.04438728466629982, -0.01713259331882, -0.06219468638300896, -0.03690817952156067, 0.002842154586687684, -0.03538986295461655, -0.058258313685655594, 0.01710447669029236, 0.07344146817922592, 0.026411185041069984, -0.009981515817344189, 0.010778162628412247, -0.03394652530550957, -0.017573092132806778, -0.01135924644768238, -0.012155893258750439, -0.0274796299636364, 0.07651558518409729, -0.053459689021110535, -0.059757884591817856, -0.06388170272111893, 0.07910234481096268, 0.031022364273667336, -0.005145401228219271, 0.056608784943819046, -0.07332899421453476, 0.014939471147954464, -0.029541539028286934, 0.011190544813871384, 0.039026323705911636, 0.017235688865184784, 0.030253835022449493, 0.01423654705286026, -0.06429408490657806, -0.013111869804561138, 0.006326313130557537, -0.03162219375371933, 0.009822187013924122, 0.04326260834932327, -0.029391581192612648, -0.006668402347713709, 0.032203275710344315, -0.02412434108555317, 0.025567676872015, -0.006115436088293791, 0.02631746232509613, -0.01302751898765564, -0.01557678822427988, 0.022043686360120773, 0.034133974462747574, 0.01340241078287363, 0.02457421086728573, -0.029129156842827797, -0.04168805852532387, 0.016026658937335014, 0.07362890988588333, 0.0015253443270921707, -0.011162428185343742, 0.10444508492946625, 0.060432691127061844, 0.018182292580604553, 0.00241571431979537, -0.005712426267564297, 0.004660383798182011, -0.029560282826423645, 0.028173180297017097, -0.012699487619102001, 0.0016272682696580887, 0.01857592910528183, 0.007755591068416834, 0.016476530581712723, -0.08165161311626434, 0.00833198893815279, 0.01519252359867096, -0.010318919084966183, -0.022624770179390907, -0.0968722552061081, -0.02922287955880165, 0.0664309710264206, 0.04509958252310753, -0.08682513236999512, -0.10811903327703476, 0.017563719302415848, 0.005328161176294088, 0.08502564579248428, -0.0009823357686400414, 0.020581604912877083, -0.004496368579566479, 0.0018217437900602818, -0.02680482156574726, -0.050797950476408005, -0.012558902613818645, -0.041875503957271576, 0.005923303309828043, -0.05402202531695366, -0.006138866767287254, 0.028829243034124374, 0.001430449658073485, 0.003477129153907299, -0.04464971274137497, 0.020337924361228943, -0.007708729710429907, 0.019588138908147812, -0.0289604552090168, -0.008763114921748638, -0.0246117003262043, -0.014217802323400974, -0.06984249502420425, 0.030778683722019196, 0.009934654459357262, -0.0018920361762866378, 0.05968290567398071, -0.0333092100918293, 0.019250735640525818, -0.0069870613515377045, -0.01783551648259163, 0.01594230905175209, 0.009203613735735416, 0.03216578811407089, 0.017020124942064285, -0.0018791492329910398, -0.03090989589691162, 0.09072401374578476, 0.02050662599503994, 0.04828616976737976, 0.04123818874359131, -0.035577308386564255, 0.05499674752354622, -0.0030366303399205208, 0.025530187413096428, -0.036327093839645386, -0.04075082764029503, -0.07460363209247589, -0.01763869822025299, -0.04033844545483589, -0.05360964313149452, 0.013233709149062634, -0.06062013655900955, 0.021781262010335922, 0.0004571932659018785, 0.025024082511663437, -0.045999325811862946, 0.03833277150988579, 0.0070339227095246315, -0.05593397840857506, 0.012296478264033794, -0.050573013722896576, 0.010103356093168259, -0.04723646864295006, 0.008870896883308887, -0.03613964840769768, -0.012624508701264858, 0.0027484316378831863, 0.01589544676244259, -0.03876389563083649, 0.036851946264505386, -0.04772382974624634, 0.01557678822427988, 0.04120069742202759, -0.04007602110505104, 0.002030277857556939, -0.003910598810762167, 0.046449195593595505, 0.030310068279504776, 0.011143683455884457, 0.027798287570476532, 0.009794069454073906, -0.053197264671325684, 0.0010145531268790364, 0.036327093839645386, 0.04108823090791702, 0.018163546919822693, 0.005173518322408199, 0.016560882329940796, -0.035577308386564255, 0.03570852056145668, 0.03675822168588638, 0.0017514515202492476, -0.007052667438983917, 0.030066387727856636, -0.024068105965852737, -0.04030095785856247, 0.04033844545483589, -0.005965478718280792, 0.011228034272789955, 0.020881518721580505, -0.013299316167831421, 0.030272578820586205, 0.002341907238587737, -0.062419623136520386, -0.06703080236911774, -0.032503191381692886, 0.013927260413765907, -0.00844445638358593, -0.04318762943148613, 0.016354691237211227, 0.03360912203788757, 0.03280310332775116, 0.04221291095018387, -0.029279112815856934, 0.010571971535682678, 0.023730702698230743, 0.014377132058143616, 0.07231678813695908, 0.02729218266904354, 0.03036630153656006, 0.018754003569483757, -0.0502731017768383, -0.032184530049562454, 0.004672099370509386, 0.043037671595811844, 0.00082827836740762, 0.0016753013478592038, -0.022006196901202202, 0.011518576182425022, -0.0007626721635460854, -0.002734373090788722, 0.021762516349554062, 0.015539298765361309, 0.040713340044021606, -0.012633881531655788, -0.018407227471470833, 0.050535526126623154, -0.009672229178249836, 0.014067845419049263, -0.006555934902280569, 0.05957043915987015, -0.03576475754380226, 0.05327223986387253, -0.0036083415616303682, -0.010309547185897827, 0.0327843613922596, -0.01853843964636326, -0.0020947125740349293, 0.05934550240635872, -0.04247533529996872, 0.007797766476869583, 0.02414308488368988, 0.053909558802843094, 0.019831819459795952, 0.027423394843935966, -0.08667517453432083, -0.014686418697237968, 0.02753586322069168, -0.023055896162986755, -0.021631304174661636, -0.014039728790521622, 0.015005077235400677, -0.06388170272111893, -0.015642395243048668, 0.02798573486506939, -0.012127776630222797, 0.040188487619161606, 0.030235089361667633, 0.00990653783082962, 0.07430371642112732, -0.005703053902834654, 0.02892296575009823, -0.02944781631231308, 0.06496889144182205, -0.018032334744930267, -0.0502731017768383, -0.012652626261115074, 0.01313061360269785, 0.03505245968699455, -0.02511780522763729, 0.0012113717384636402, 0.05398453772068024, -0.02247481234371662, 0.02075030654668808, 0.013917888514697552, -0.022156154736876488, 0.036102160811424255, -0.08060191571712494, -0.06039519980549812, -0.03672073408961296, 0.030328813940286636, -0.002725000726059079, 0.06710577756166458, -0.08345109969377518, 0.05919554457068443, 0.021893728524446487, -0.0546218566596508, -0.026392441242933273, -0.03733930364251137, -0.011490458622574806, 0.011659160256385803, 0.07707792520523071, -0.03284059464931488, -0.032446958124637604, 0.04045091196894646, -0.03430267423391342, -0.00483142863959074, -0.039701130241155624, 0.025267763063311577, 0.024274297058582306, -0.00019842949404846877, -0.0573960617184639, -0.0380890890955925, 0.02123766764998436, 0.019681863486766815, 0.00036493453080765903, -0.05773346498608589, 0.05762099474668503, -0.0006917940336279571, -0.035577308386564255, 0.04277524724602699, -0.022531045600771904, -0.0024297728668898344, 0.033909037709236145, 0.05334721878170967, -0.0415755920112133, -0.054884281009435654, -0.003355288878083229, -0.0016471844865009189, -0.06834292411804199, 0.04180052876472473, 0.016476530581712723, -0.06230715289711952, 0.0020829972345381975, 0.004897034727036953, -0.021425113081932068, -0.06305693835020065, 0.06560620665550232, -0.039176277816295624, 0.023768192157149315, 0.03619588166475296, 0.038257792592048645, 0.029316602274775505, -0.0565338060259819, -0.054921768605709076, -0.03838900476694107, -0.026486163958907127, -0.02410559542477131, 0.00940043292939663, 0.007633750792592764, -0.06530629098415375, 0.06219468638300896, -0.00026930763851851225, 0.03374033421278, -0.0055015492253005505, 0.04082580655813217, 0.016017287969589233, 0.0077837081626057625, 0.005829580128192902, 0.04011350870132446, 0.013861654326319695, 0.019588138908147812, -0.0069261412136256695, -0.030103877186775208, -0.07449116557836533, 0.013627346605062485, 0.04101325199007988, -0.006148239132016897, 0.010900002904236317, -0.03499622642993927, 0.0270485021173954, -0.004083986394107342, -0.005646820180118084, -0.015623649582266808, -0.04611179232597351, -0.0038356201257556677, 0.039963554590940475, 0.005810835398733616, -0.04101325199007988, -0.019513161852955818, 0.07970216870307922, -0.014705163426697254, -0.045474473387002945, 0.015117544680833817, 0.03576475754380226, 0.023543257266283035, -0.012202754616737366, -0.0052156937308609486, 0.0473114475607872, -0.014967587776482105, 0.009681602008640766, -0.04899846389889717, 0.03977610543370247, 0.0043581267818808556, -0.04967327043414116, -0.0459243468940258, -0.07842753827571869, -0.05529666319489479, -0.023562001064419746, 0.01910077966749668, 0.02174377255141735, -0.037508007138967514, 0.014208430424332619, 0.022343600168824196, 0.05747104063630104, -0.03323423117399216, -0.08487568795681, -0.02847309410572052, -0.027385905385017395, -0.003481815103441477, -0.0009706204291433096, -0.0004416703595779836, -0.0023723673075437546, -0.03239072114229202, 0.01241831760853529, -0.026148760691285133, -0.05402202531695366, 0.006330999080091715, -0.02678607776761055, 0.04798625409603119, 0.032953061163425446, -0.01955064944922924, 0.04082580655813217, -0.012249615974724293, 0.034358907490968704, -0.07051730155944824, 0.03177214786410332, 0.04989820718765259, 0.019925542175769806, 0.05765848606824875, 0.04989820718765259, -0.027423394843935966, -0.0015956367133185267, -0.02772330865263939, -0.025473954156041145, -0.026973523199558258, -0.0003022571618203074, -0.0380890890955925, 0.017966728657484055, 0.002030277857556939, -0.021537581458687782, 0.0030506886541843414, -0.0076103201135993, -0.06530629098415375, 0.009803442284464836, 0.04195048287510872, 0.007521283347159624, 0.04120069742202759, -0.003388092154636979, -0.002258728025481105, 0.012080914340913296, 0.031266044825315475, 0.05893312022089958, 0.018885215744376183, -0.006991747301071882, 0.03733930364251137, 0.0014644243055954576, 0.056346360594034195, 0.0035708521027117968, -0.028398115187883377, 0.017507486045360565, -0.012165265157818794, 0.011406107805669308, -0.005829580128192902, 0.010600089095532894, 0.02095649763941765, 0.01932571455836296, 0.05424696207046509, -0.05109786242246628, 0.01048762071877718, -0.024667933583259583, 0.0055624693632125854, 0.0502731017768383, -0.01813543029129505, -0.003008513245731592, -0.008477259427309036, -0.03623337298631668, 0.04322512075304985, -0.04311265051364899, -0.006284137722104788, -0.017947984859347343, 0.027704564854502678, 0.012118403799831867, -0.007872745394706726, 0.0645190179347992, 0.052260030061006546, 0.007755591068416834 ]
54,956
ml_wrappers.dataset.dataset_wrapper
set_index
Undo reset_index. Set index as feature on internal dataset to be an index again.
def set_index(self): """Undo reset_index. Set index as feature on internal dataset to be an index again. """ if self._dataset_is_df: dataset = self.typed_dataset self._features = dataset.columns.values.tolist() self._dataset = dataset.values self._default_index = True
(self)
[ -0.018408533185720444, 0.005862241145223379, 0.03871636092662811, 0.018435927107930183, -0.033201105892658234, 0.011267921887338161, -0.014582552947103977, 0.025165634229779243, 0.019394705072045326, -0.030059965327382088, -0.042478419840335846, -0.034388162195682526, -0.019814740866422653, -0.007766100112348795, 0.005926159676164389, 0.0047938888892531395, 0.0052687120623886585, 0.08247315138578415, 0.030863512307405472, -0.02567698247730732, -0.008254620246589184, -0.05383765324950218, -0.019650379195809364, 0.007168005220592022, 0.009144913405179977, -0.018481582403182983, -0.06096000224351883, -0.016527501866221428, 0.053180206567049026, -0.03520997241139412, -0.03973905369639397, -0.03091830015182495, -0.02436208724975586, 0.018335483968257904, 0.00881162378937006, -0.09985898435115814, -0.0035999822430312634, 0.022462792694568634, 0.11067035049200058, 0.06362631916999817, 0.01760498620569706, -0.08305754512548447, -0.046532679349184036, -0.026097018271684647, -0.022225381806492805, 0.03088177554309368, 0.017038850113749504, -0.014482109807431698, 0.04068870097398758, -0.038424160331487656, -0.05120786279439926, -0.012765441089868546, -0.013733349740505219, 0.05241318419575691, -0.040359977632761, -0.010564818046987057, -0.0013274506200104952, 0.02589613012969494, -0.006770797073841095, -0.0032050570007413626, 0.0047938888892531395, -0.02288282848894596, -0.023649850860238075, -0.016828833147883415, 0.023302866145968437, -0.030826987698674202, -0.010199569165706635, 0.055006448179483414, -0.0013696824898943305, -0.01356898806989193, -0.04901637136936188, 0.001661881455220282, 0.034515999257564545, 0.035684794187545776, -0.06234794855117798, 0.0007995521882548928, -0.04708055406808853, 0.0190659798681736, -0.038424160331487656, 0.0162900909781456, 0.010172175243496895, 0.04222274571657181, -0.04207664728164673, 0.05252275988459587, -0.02839808352291584, 0.009770401753485203, 0.03762061148881912, 0.035703059285879135, -0.014244697988033295, -0.1025618240237236, 0.027868473902344704, 0.04076175019145012, 0.0061407433822751045, 0.004668334499001503, 0.013349838554859161, -0.020618287846446037, -0.03948337957262993, 0.015020851977169514, -0.019431229680776596, -0.03641529381275177, -0.041127000004053116, -0.0012966328067705035, 0.03820501267910004, 0.044012464582920074, -0.01870073191821575, -0.0536915548145771, 0.04222274571657181, -0.07399938255548477, -0.039702530950307846, -0.029475567862391472, -0.07188093662261963, 0.01143228355795145, 0.021202685311436653, -0.006264014635235071, -0.00024925367324613035, -0.039958205074071884, 0.03477167338132858, 0.005565476603806019, -0.01624443382024765, 0.041236575692892075, 0.010993985459208488, 0.028087623417377472, -0.03922770917415619, -0.0010375345591455698, -0.011204003356397152, -0.0025019533932209015, 0.04174792394042015, 0.04288019239902496, 0.02984081581234932, -0.03477167338132858, -0.015678299590945244, 0.0035703058820217848, -0.05372808128595352, 0.053253255784511566, 0.028124148026108742, -0.02019825205206871, 0.046569205820560455, 0.01895640604197979, -0.05938943475484848, 0.01072004809975624, -0.01624443382024765, -0.02297414094209671, 0.033201105892658234, 0.030206065624952316, 0.03937380760908127, 0.042624518275260925, -0.015751348808407784, -0.026005705818533897, -0.04561955854296684, -0.051901835948228836, 0.05562737211585045, -0.0007852846174500883, -0.07078519463539124, -0.056248296052217484, -0.027393650263547897, -0.026005705818533897, -0.06194617599248886, -0.0067799286916852, 0.02010693959891796, 0.01634487882256508, -0.012400192208588123, -0.016965800896286964, 0.015979629009962082, 0.011779270134866238, -0.08751358091831207, 0.02699187770485878, -0.0006842705770395696, -0.09167741984128952, -0.06592738628387451, 0.016774045303463936, -0.01277457270771265, 0.03000517748296261, -0.002008867682889104, 0.0353560708463192, -0.0031091792043298483, 0.06654831022024155, -0.004487993195652962, 0.008743139915168285, 0.014372535049915314, 0.03234276920557022, 0.0038236971013247967, 0.0029904735274612904, -0.045254308730363846, -0.051901835948228836, -0.010418718680739403, -0.03360287845134735, -0.029110319912433624, 0.0048486762680113316, 0.04298976808786392, 0.030279114842414856, 0.06464901566505432, -0.022115807980298996, 0.022243645042181015, -0.026188328862190247, 0.03765713796019554, -0.007058430463075638, -0.030863512307405472, -0.04204012081027031, 0.045400410890579224, 0.013276789337396622, -0.020581763237714767, 0.01557785551995039, 0.06779015064239502, -0.023631589487195015, -0.008647262118756771, 0.04960076883435249, -0.01136836502701044, -0.01731278747320175, -0.06048518046736717, 0.024672547355294228, 0.030041703954339027, -0.057344041764736176, -0.01409859862178564, 0.04141920059919357, 0.022024495527148247, -0.05917028337717056, -0.03900855779647827, -0.024015100672841072, 0.0859064906835556, 0.04302629455924034, 0.002297642407938838, -0.002091048751026392, -0.005058694165199995, -0.0037164052482694387, 0.02144009619951248, -0.02458123490214348, 0.018025022000074387, -0.03122876212000847, -0.015824398025870323, -0.030059965327382088, -0.014975195750594139, -0.018645944073796272, -0.04050607606768608, -0.04733622819185257, 0.04342806711792946, 0.03394986316561699, 0.049272045493125916, -0.00641924561932683, -0.013276789337396622, 0.020636549219489098, -0.013824662193655968, -0.005396549124270678, 0.03340199217200279, -0.011715351603925228, -0.08437244594097137, 0.07158873975276947, 0.01356898806989193, 0.019906053319573402, 0.011386627331376076, -0.0020727862138301134, -0.006848412565886974, -0.029292942956089973, -0.007998946122825146, 0.03137486055493355, 0.051901835948228836, -0.06673093140125275, -0.018554631620645523, 0.010884410701692104, -0.05968163162469864, -0.003127441741526127, -0.05526212230324745, -0.020928749814629555, -0.0324888676404953, 0.011861450970172882, 0.015249132178723812, 0.009286447428166866, 0.02861723303794861, 0.04492558538913727, 0.030242590233683586, 0.010537424124777317, 0.11439588665962219, 0.007501294370740652, -0.008437244221568108, -0.0014381665969267488, 0.002014574594795704, 0.03223319351673126, -0.021367046982049942, -0.03252539411187172, -0.015897449105978012, 0.05398375540971756, 0.05559084936976433, -0.03088177554309368, -0.008341366425156593, -0.006926028057932854, -0.031740110367536545, 0.006117915268987417, -0.016874488443136215, 0.01346854493021965, -0.02028956450521946, -0.0297129787504673, -0.004437771160155535, 0.05255928263068199, 0.03780323639512062, 0.010409587062895298, -0.022535843774676323, -0.03121049888432026, -0.04353764280676842, -0.017294524237513542, -0.027503224089741707, 0.052230559289455414, -0.04014082998037338, -0.03515518456697464, 0.015924841165542603, 0.024617761373519897, 0.021001799032092094, -0.05416637659072876, 0.019705165177583694, 0.0070127747021615505, 0.04897984862327576, -0.04050607606768608, 0.006620132364332676, 0.06187312677502632, -0.06947029381990433, -0.02288282848894596, -0.007683918811380863, -0.06435681879520416, 0.010829622857272625, -0.0355386957526207, 0.03497255966067314, 0.07246533781290054, -0.10058948397636414, -0.03882593289017677, -0.053289782255887985, -0.07352455705404282, -0.009697352536022663, 0.09817884117364883, 0.02319329045712948, -0.029986916109919548, -0.050733041018247604, -0.00023198997951112688, -0.009615171700716019, -0.030589576810598373, 0.0142538296058774, 0.014445585198700428, -0.06322454661130905, -0.031612273305654526, 0.011888843961060047, -0.019906053319573402, 0.0016847094520926476, 0.013057639822363853, -0.03378550335764885, -0.005999209359288216, -0.00773414084687829, -0.023522013798356056, -0.0012121690670028329, 0.0005221914616413414, 0.011806663125753403, -0.034242063760757446, 0.0433184914290905, 0.07845541834831238, 0.011852319352328777, -0.02587786875665188, 0.0012692391173914075, 0.05270538479089737, 0.08261924982070923, 0.008560515940189362, -0.02301066555082798, -0.025384781882166862, -0.015358706936240196, -0.02854418382048607, 0.007072127424180508, -0.03791281208395958, -0.0006745686405338347, -0.01283849123865366, -0.0012076033744961023, -0.005332630593329668, -0.019394705072045326, 0.01484735868871212, -0.005405680276453495, -0.02301066555082798, -0.026352692395448685, -0.07714051753282547, 0.003100048052147031, 0.04726317897439003, 0.041273098438978195, -0.029329467564821243, -0.06176355108618736, 0.019686903804540634, -0.04967381805181503, -0.01626269705593586, 0.0022280169650912285, -0.03966600447893143, 0.00955125316977501, 0.035794369876384735, -0.030333902686834335, 0.004010886885225773, 0.026498790830373764, -0.026717940345406532, 0.054933398962020874, -0.004634092561900616, 0.027503224089741707, -0.02432556077837944, -0.006989946588873863, -0.01776934787631035, 0.023266339674592018, 0.030041703954339027, -0.009204266592860222, -0.02151314727962017, 0.02827024646103382, -0.03878941014409065, -0.015212607569992542, -0.016847094520926476, 0.01602528616786003, 0.05573694780468941, -0.0010147064458578825, 0.046715304255485535, 0.02012520097196102, -0.027813686057925224, 0.006930593401193619, -0.0486876480281353, 0.010464374907314777, 0.0460943840444088, 0.002894595731049776, 0.020673075690865517, 0.06041213124990463, 0.030096489936113358, 0.08240009844303131, 0.0030178672168403864, 0.08546818792819977, 0.08064690977334976, 0.049381621181964874, 0.05770929157733917, -0.017038850113749504, 0.029073793441057205, 0.004506255500018597, -0.009615171700716019, -0.04229579493403435, -0.037584088742733, -0.045363884419202805, 0.051865313202142715, -0.034662097692489624, -0.05244971066713333, -0.01888335682451725, 0.03524649515748024, -0.035703059285879135, 0.006040299776941538, -0.02023477666079998, 0.01019043754786253, -0.04477948695421219, 0.06983554363250732, 0.07268448919057846, -0.039958205074071884, 0.00472997035831213, -0.028672020882368088, 0.04229579493403435, -0.006693182047456503, -0.007925895974040031, 0.06128872558474541, -0.020910486578941345, 0.0009753280901350081, 0.023905524984002113, 0.021001799032092094, -0.0056887478567659855, -0.009816057980060577, -0.0228645671159029, 0.006273145787417889, -0.012683260254561901, 0.0038944638799875975, 0.0460943840444088, 0.05836673825979233, 0.010573948733508587, 0.03973905369639397, -0.06866674870252609, 0.0033648533280938864, 0.06611000746488571, 0.020892223343253136, 0.006053996738046408, -0.04364721477031708, -0.02162272110581398, -0.0035337808076292276, 0.01608920469880104, -0.05555432289838791, 0.01624443382024765, -0.09313841164112091, -0.0436837412416935, 0.027539750561118126, -0.037072740495204926, 0.00955125316977501, 0.03093656338751316, -0.03210535645484924, 0.007263883017003536, -0.03135659918189049, 0.06523340940475464, 0.0021184422075748444, 0.0019791913218796253, -0.0024745597038418055, -0.0057435352355241776, -0.006725141312927008, -0.019979102537035942, -0.012509766966104507, 0.03263496980071068, -0.03614135459065437, 0.0024357521906495094, 0.02028956450521946, 0.07443767786026001, 0.060375604778528214, 0.022061020135879517, 0.04821282625198364, 0.01753193698823452, -0.0022337238769978285, 0.04682487994432449, -0.03199578449130058, -0.09438025951385498, -0.01753193698823452, 0.02012520097196102, -0.03205057233572006, 0.012354535982012749, -0.018426796421408653, -0.03922770917415619, -0.04302629455924034, -0.036999691277742386, -0.02963992953300476, 0.024745598435401917, 0.028964219614863396, 0.06709618121385574, 0.035739582031965256, -0.06099652871489525, 0.008779664523899555, 0.051901835948228836, 0.03122876212000847, -0.03561174497008324, 0.011852319352328777, -0.016554895788431168, 0.0023558540269732475, 0.005579173564910889, 0.006711444351822138, 0.0013080468634143472, 0.0035931337624788284, 0.07984335720539093, 0.029183369129896164, -0.006747969426214695, -0.02845287136733532, 0.04182097315788269, 0.06260362267494202, 0.018171122297644615, -0.02837982214987278, 0.034296851605176926, -0.06001035496592522, 0.09949373453855515, -0.04302629455924034, -0.04025040194392204, 0.011386627331376076, 0.032963693141937256, -0.09364975988864899, 0.02691882662475109, -0.02713797613978386, -0.05416637659072876, 0.046532679349184036, 0.020636549219489098, -0.00027507790946401656, -0.030352164059877396, -0.007971552200615406, 0.040104303508996964, -0.02410641312599182, 0.007391720078885555, 0.009190569631755352, 0.014381666667759418, 0.05383765324950218, 0.03374897688627243, -0.005515255033969879, -0.009478203020989895, -0.026553578674793243, 0.10431502014398575, -0.046678781509399414, 0.026663152500987053, -0.007149742916226387, 0.0024334692861884832, -0.0054695988073945045, -0.031849682331085205, -0.04320891946554184, -0.016710126772522926, -0.06603696197271347, 0.015431756153702736, 0.038351111114025116, -0.009660826995968819, 0.04594828188419342, 0.05124438926577568, -0.01751367375254631, -0.010071732103824615, -0.030425215139985085, 0.00046854556421749294, 0.020581763237714767, 0.013979893177747726, 0.004857807420194149, 0.004339610692113638, 0.013870318420231342, 0.04693445563316345, 0.04043302685022354, 0.0020419682841748, -0.0297129787504673, -0.040980901569128036, -0.01747714914381504, 0.05106176435947418, -0.03111918643116951, -0.010418718680739403, 0.05515255033969879, -0.026115279644727707, -0.09686394780874252, 0.07692137360572815, 0.02713797613978386, 0.04200359806418419, 0.0149478018283844, -0.016682732850313187, -0.01735844276845455, 0.011669695377349854, -0.020526975393295288, -0.030571313574910164, 0.017915448173880577, 0.019595591351389885, -0.028087623417377472, 0.013176346197724342, 0.01229061745107174, -0.01218104362487793, -0.018061546608805656, -0.010026075877249241, -0.03619614243507385, 0.0025270641781389713, -0.05157311260700226, 0.010172175243496895, -0.03268975764513016, -0.03838763386011124, -0.02313850261271, -0.002124149352312088, -0.018508976325392723, -0.03605004400014877, -0.01560524944216013, 0.013422888703644276, -0.010309143923223019, -0.03751103952527046, 0.03404117748141289, -0.01271065417677164, -0.060266029089689255, -0.06318802386522293, 0.008793361485004425, 0.00876596849411726, -0.0021207251120358706, -0.007241054903715849, 0.0001928969577420503, 0.02704666368663311, 0.046788353472948074, -0.0008355063619092107, -0.02565871924161911, 0.09058167040348053, 0.003584002610296011, -0.027777161449193954, -0.06505078822374344, -0.00815417617559433, -0.04715360328555107, -0.015367837622761726, 0.0021481188014149666, -0.03365766629576683, 0.003234733594581485, -0.020052151754498482, -0.01356898806989193, -0.008998814038932323, 0.06585433334112167, -0.04711708053946495, -0.009943895041942596, 0.056138720363378525, -0.034369900822639465, -0.01599789224565029, 0.01884683221578598, 0.04828587546944618, -0.012765441089868546, 0.06114262714982033, 0.02845287136733532, -0.016655338928103447, 0.017924578860402107, -0.005236752796918154, 0.041090477257966995, -0.06234794855117798, 0.02282804250717163, -0.040980901569128036, -0.016016153618693352, 0.038497209548950195, 0.006072259042412043, 0.008912067860364914, -0.0271197147667408, -0.023522013798356056, 0.003362570656463504, -0.027284076437354088, 0.04872417449951172, -0.0032256024423986673, 0.043756790459156036, 0.0033146317582577467, 0.07151568681001663, -0.035703059285879135, -0.03477167338132858, 0.0596085824072361, -0.01609833538532257, 0.0010255498345941305, -0.017331048846244812, 0.0077067469246685505, 0.04346459358930588, -0.016920145601034164, 0.0009416567045263946, -0.03966600447893143, -0.06545256078243256, -0.023339390754699707, 0.04711708053946495, 0.010592211037874222, 0.020855698734521866, 0.012573685497045517, -0.007469335570931435, 0.04971034452319145, -0.00017063961422536522, -0.02030782587826252, 0.04466991126537323, -0.019449491053819656, -0.03243408352136612, 0.04061565175652504, 0.01873725652694702, 0.0018650509882718325, 0.08707528561353683, 0.041382674127817154, 0.016965800896286964, -0.04828587546944618, -0.030863512307405472, -0.04949119687080383, 0.04576565697789192, 0.05851283669471741, -0.022754991427063942, -0.018025022000074387, 0.06983554363250732, 0.016564026474952698, -0.04200359806418419, -0.021293997764587402, 0.024069886654615402, -0.011130953207612038, -0.019796477630734444, 0.03108266182243824, -0.03327415511012077, 0.04320891946554184, 0.01910250633955002, 0.026115279644727707, -0.0038031518924981356, 0.06713270395994186, 0.011624039150774479, 0.022535843774676323, 0.03278106823563576, -0.0673883780837059, -0.005250449758023024, -0.07670222222805023, 0.04006778076291084, 0.025914393365383148, 0.007866543717682362, 0.029292942956089973, 0.030534788966178894, -0.015906579792499542, 0.008729442954063416, 0.015952235087752342, 0.007830018177628517, -0.038351111114025116, 0.016993194818496704, 0.02047218754887581, 0.03247060626745224, 0.03515518456697464, 0.06289581954479218, 0.005574607755988836, -0.04759190231561661, 0.016874488443136215, -0.019431229680776596, -0.03400465101003647, -0.002002019202336669, 0.014336010441184044, 0.015358706936240196, 0.056211769580841064, -0.001842222991399467 ]
54,957
ml_wrappers.dataset.dataset_wrapper
string_index
Indexes categorical string features on the dataset. :param columns: Optional parameter specifying the subset of columns that may need to be string indexed. :type columns: list :return: The transformation steps to index the given dataset. :rtype: sklearn.compose.ColumnTransformer
def string_index(self, columns=None): """Indexes categorical string features on the dataset. :param columns: Optional parameter specifying the subset of columns that may need to be string indexed. :type columns: list :return: The transformation steps to index the given dataset. :rtype: sklearn.compose.ColumnTransformer """ if self._string_indexed: return self._column_indexer # Optimization so we don't redo this operation multiple times on the same dataset self._string_indexed = True # If the data was previously successfully summarized, then there are no # categorical columns as it must be numeric. # Also, if the dataset is sparse, we can assume there are no categorical strings if str(type(self._dataset)).endswith(".DenseData'>") or issparse(self._dataset): return None # If the user doesn't have a newer version of scikit-learn with OrdinalEncoder, don't do encoding try: from sklearn.compose import ColumnTransformer from sklearn.preprocessing import OrdinalEncoder except ImportError: return None tmp_dataset = self._dataset # Temporarily convert to pandas for easier and uniform string handling, # only use top sampled rows to limit memory usage for string type test if isinstance(self._dataset, np.ndarray): tmp_dataset = pd.DataFrame(self._dataset[:SAMPLED_STRING_ROWS, :], dtype=self._dataset.dtype) else: tmp_dataset = tmp_dataset.iloc[:SAMPLED_STRING_ROWS] categorical_col_names = list(np.array(list(tmp_dataset))[(tmp_dataset.applymap(type) == str).all(0)]) if categorical_col_names: all_columns = tmp_dataset.columns if columns is not None: categorical_col_indices = \ [all_columns.get_loc(col_name) for col_name in categorical_col_names if col_name in columns] else: categorical_col_indices = [all_columns.get_loc(col_name) for col_name in categorical_col_names] ordinal_enc = OrdinalEncoder() ct = ColumnTransformer([('ord', ordinal_enc, categorical_col_indices)], remainder='drop') string_indexes_dataset = ct.fit_transform(self._dataset) # Inplace replacement of columns # (danger: using remainder=passthrough with ColumnTransformer will change column order!) for idx, categorical_col_index in enumerate(categorical_col_indices): self._dataset[:, categorical_col_index] = string_indexes_dataset[:, idx] self._column_indexer = ct return self._column_indexer
(self, columns=None)
[ -0.023200245574116707, -0.0029117055237293243, 0.03268955647945404, -0.002491411054506898, 0.048006948083639145, -0.03851763531565666, 0.00905967690050602, 0.032035764306783676, 0.03952634334564209, -0.019912609830498695, -0.022471735253930092, 0.05764569714665413, -0.011189168319106102, 0.016335438936948776, 0.043486449867486954, -0.019632413983345032, -0.004466794431209564, 0.01408452820032835, 0.04060976952314377, -0.002177357906475663, -0.015597588382661343, -0.03493112698197365, -0.004625572357326746, 0.023013446480035782, -0.0079996008425951, -0.0012095135170966387, 0.0024377068039029837, -0.021855302155017853, -0.0007162514957599342, -0.050920989364385605, -0.04763335362076759, -0.06377265602350235, -0.04752127453684807, -0.00815837923437357, -0.01595250330865383, -0.05178025737404823, 0.019688451662659645, -0.006000868510454893, 0.11439476907253265, 0.009550020098686218, 0.005006171762943268, -0.014028489589691162, -0.024806702509522438, -0.05073419213294983, -0.064893439412117, 0.022378336638212204, -0.09048469364643097, 0.017288105562329292, 0.0024353719782084227, -0.015261352993547916, -0.030504025518894196, -0.0978071540594101, 0.02325628325343132, 0.01782047748565674, 0.005309717729687691, 0.023984793573617935, 0.015831084921956062, 0.02164982631802559, 0.009750827215611935, -0.01760566048324108, -0.004842724185436964, 0.005482505541294813, 0.020454322919249535, 0.008550654165446758, -0.027104312554001808, 0.000002033976215898292, 0.05473165586590767, 0.059214796870946884, 0.004417759831994772, -0.011469364166259766, -0.04681144282221794, -0.01554154884070158, 0.02878548949956894, 0.024451788514852524, -0.014532842673361301, 0.01664365455508232, -0.05786985531449318, -0.0034417433198541403, 0.06564062833786011, 0.03300711140036583, 0.025591252371668816, -0.018184732645750046, 0.005155609920620918, -0.07673639804124832, -0.00933053344488144, -0.05880384147167206, 0.009853566065430641, 0.019314857199788094, -0.040572408586740494, 0.017745759338140488, -0.019763171672821045, -0.00866740196943283, 0.034109216183423996, 0.04258982092142105, 0.022602492943406105, 0.021537747234106064, -0.004235632251948118, 0.03070950321853161, 0.05051003396511078, -0.0354541577398777, 0.0285426527261734, 0.08114481717348099, 0.07569032907485962, 0.0008114014635793865, -0.050846267491579056, -0.04845526069402695, -0.028972286731004715, -0.010451317764818668, -0.07128190994262695, -0.0697128102183342, -0.08644986897706985, -0.06874146312475204, 0.049613405019044876, -0.04774543270468712, -0.007317790761590004, -0.06014878302812576, 0.007014244794845581, -0.02071583829820156, -0.07486842572689056, 0.018857203423976898, 0.007439209148287773, -0.007579307071864605, -0.03007439151406288, -0.0250868983566761, -0.032596156001091, 0.024208951741456985, 0.030354587361216545, 0.024750662967562675, 0.03160613030195236, 0.007126322947442532, -0.01285166572779417, -0.01903466135263443, 0.017717739567160606, 0.07363555580377579, 0.021930022165179253, -0.0314006544649601, -0.003399713896214962, 0.042627181857824326, -0.006047567818313837, 0.06616365909576416, 0.03750893101096153, -0.027122991159558296, 0.013477437198162079, -0.005094900727272034, 0.064893439412117, 0.05372295156121254, 0.06590214371681213, 0.019968649372458458, -0.03076554276049137, -0.04834318161010742, -0.0031825618352741003, -0.01881050504744053, -0.04475667327642441, -0.060821253806352615, 0.026674676686525345, -0.012842325493693352, -0.013141201809048653, -0.030522705987095833, 0.0034954475704580545, 0.022807970643043518, 0.03414657711982727, -0.06676141172647476, -0.05570300295948982, 0.05555356666445732, -0.03614530712366104, 0.03222256153821945, 0.007747424766421318, -0.04711031913757324, -0.004441109485924244, -0.00058315834030509, -0.008905569091439247, 0.05996198579668999, -0.05286368355154991, 0.04019881412386894, 0.020846595987677574, 0.06381001323461533, -0.01925881765782833, 0.05290104076266289, 0.03328730911016464, 0.03760232776403427, -0.024619905278086662, -0.0002412314061075449, -0.10886555910110474, -0.01592448353767395, 0.009335203096270561, 0.008181728422641754, 0.026002205908298492, 0.002759932540357113, 0.007579307071864605, 0.02708563208580017, 0.04105808213353157, -0.020734518766403198, 0.014093868434429169, 0.03360486403107643, 0.048081666231155396, 0.007602656725794077, -0.03183028846979141, -0.04120751842856407, 0.0005320808850228786, 0.011572103016078472, -0.012422030791640282, 0.023312322795391083, 0.10146838426589966, 0.026207683607935905, -0.01957637444138527, -0.0021435008384287357, -0.004471464082598686, 0.04740919545292854, -0.07486842572689056, -0.04389740526676178, 0.02701091207563877, -0.03900330886244774, 0.008849529549479485, 0.030989699065685272, 0.02631976269185543, -0.03009307198226452, -0.007579307071864605, -0.022397015243768692, 0.0250868983566761, -0.020678479224443436, 0.09489311277866364, 0.03300711140036583, 0.06620102375745773, 0.0501737967133522, 0.03937690332531929, -0.06892826408147812, 0.04460723325610161, -0.0413195975124836, 0.00713566318154335, 0.0245638657361269, -0.03448281064629555, -0.06720972806215286, 0.023741956800222397, 0.014906437136232853, 0.022602492943406105, 0.007308450527489185, 0.02286401018500328, 0.01619534008204937, 0.012188534252345562, -0.01837152987718582, -0.05917743593454361, -0.01574702560901642, -0.027515266090631485, -0.03975050151348114, -0.028916247189044952, -0.02740318700671196, 0.03364222124218941, 0.028953606262803078, -0.03907803073525429, -0.015410790219902992, 0.031419333070516586, -0.024208951741456985, -0.03904066979885101, -0.03691117838025093, 0.004553188104182482, -0.06664933264255524, -0.03295107185840607, 0.02925248257815838, 0.010880951769649982, -0.03577171266078949, -0.04935188964009285, -0.002778612310066819, -0.014308685436844826, 0.06343641877174377, -0.04184263199567795, -0.06508023291826248, 0.026207683607935905, 0.026805436238646507, 0.044794030487537384, -0.0016823445912450552, 0.002189032733440399, 0.04613897204399109, -0.06332433968782425, 0.03093365952372551, 0.004590547643601894, 0.036873817443847656, 0.012057776562869549, -0.06358585506677628, -0.05155609920620918, 0.031662169843912125, -0.008125689812004566, 0.00802295096218586, -0.010469997301697731, -0.021612467244267464, 0.03636946529150009, 0.016111280769109726, -0.022509094327688217, -0.07430803030729294, -0.01656893454492092, -0.021350950002670288, -0.015186633914709091, -0.010292540304362774, 0.01987525075674057, 0.03636946529150009, -0.040572408586740494, -0.04991228133440018, -0.008004271425306797, -0.04460723325610161, 0.009750827215611935, -0.04598953574895859, -0.04083392396569252, -0.03100837953388691, 0.02755262516438961, -0.012963743880391121, 0.00016753397358115762, -0.027758102864027023, -0.03989993780851364, -0.01539211068302393, 0.002556790364906192, 0.009181095287203789, 0.005571234505623579, 0.03160613030195236, -0.06018614396452904, -0.0214817076921463, -0.04681144282221794, 0.000889622897375375, 0.0021750228479504585, 0.03636946529150009, 0.028299815952777863, 0.07882852852344513, -0.008597353473305702, -0.044158920645713806, -0.043934762477874756, -0.06231563165783882, -0.0062250252813100815, 0.07475634664297104, 0.08248975872993469, -0.05562828481197357, 0.010143102146685123, -0.03646286576986313, 0.021817943081259727, -0.005902799777686596, 0.05021115764975548, -0.006000868510454893, 0.003647220553830266, -0.06261450797319412, 0.0036425504367798567, -0.035809073597192764, 0.020286204293370247, 0.010171121917665005, -0.017764437943696976, 0.017839157953858376, 0.006033557932823896, 0.00015761035319883376, 0.04098336398601532, 0.0002949356858152896, -0.006253045052289963, 0.003913406748324633, -0.0007950566941872239, 0.039937298744916916, 0.03190500661730766, -0.07520465552806854, -0.009956304915249348, 0.0029327201191335917, 0.020622439682483673, 0.013421397656202316, 0.01760566048324108, 0.020921315997838974, 0.005365757271647453, -0.02471330389380455, 0.06410888582468033, -0.0710577517747879, 0.0033179898746311665, -0.008018281310796738, 0.03364222124218941, -0.00845725554972887, -0.006122286897152662, 0.032185204327106476, 0.05801929160952568, -0.037714406847953796, 0.03750893101096153, -0.009685448370873928, 0.025591252371668816, 0.02202342078089714, -0.002111978828907013, -0.0354541577398777, -0.03986257687211037, 0.02286401018500328, -0.013533475808799267, -0.042701900005340576, -0.0009672606247477233, -0.008723441511392593, -0.0172787643969059, 0.05887855961918831, -0.006874146405607462, -0.025684650987386703, 0.05704794451594353, -0.016410157084465027, -0.024339709430933, 0.0010005339281633496, -0.03190500661730766, -0.01942693628370762, -0.012487410567700863, -0.022994767874479294, 0.007696055341511965, -0.037340812385082245, -0.00425898190587759, -0.011366625316441059, 0.017493581399321556, 0.011506723240017891, -0.05394710600376129, -0.0013542815577238798, -0.031027058139443398, 0.022359656170010567, -0.023218924179673195, 0.09564030170440674, 0.050397954881191254, -0.012291273102164268, -0.0492771714925766, 0.024470467120409012, -0.010059043765068054, 0.06418360769748688, 0.03310051187872887, -0.05872912332415581, -0.0206597987562418, -0.016092602163553238, 0.03728477284312248, -0.006794757675379515, 0.010908971540629864, 0.0345575287938118, 0.018903903663158417, -0.005188299342989922, -0.006341774016618729, 0.019128059968352318, -0.013823011890053749, -0.013626874424517155, -0.03691117838025093, -0.03272691369056702, -0.0279449000954628, 0.002783282194286585, -0.05611395835876465, -0.034576211124658585, -0.09339872747659683, -0.01903466135263443, -0.0024283670354634523, -0.011842958629131317, -0.04053504765033722, 0.04169319197535515, -0.008237767964601517, 0.04445779696106911, 0.001464025117456913, -0.04173055291175842, 0.017493581399321556, 0.03317523002624512, 0.014962476678192616, -0.011674840934574604, -0.024918781593441963, 0.04965076595544815, -0.05704794451594353, -0.04755863547325134, 0.061829958111047745, -0.008779481053352356, -0.0636979341506958, 0.016849130392074585, 0.03732213377952576, 0.03145669400691986, 0.0035725014749914408, 0.05319991707801819, 0.0023081160616129637, 0.07994931191205978, -0.030522705987095833, 0.005767371505498886, -0.005898129660636187, 0.042104147374629974, -0.013879051432013512, 0.015644287690520287, -0.05118250474333763, -0.04909037426114082, -0.011861639097332954, 0.05189233645796776, 0.033418066799640656, -0.02716035023331642, 0.052751604467630386, -0.07053472101688385, -0.05450749769806862, 0.04012409597635269, -0.039937298744916916, -0.011319926008582115, 0.029140403494238853, 0.024451788514852524, 0.02271457202732563, -0.013384038582444191, 0.04595217481255531, -0.04505554959177971, -0.025423133745789528, 0.022004740312695503, 0.05267688259482384, -0.013309319503605366, 0.05435806140303612, 0.025385774672031403, 0.016755731776356697, 0.06268922984600067, 0.05517996847629547, 0.017671039327979088, 0.05301311984658241, 0.039563704282045364, -0.010806233622133732, 0.03706061467528343, -0.026655998080968857, 0.04329965263605118, 0.0142713263630867, -0.0008073152857832611, -0.05095834657549858, -0.03715401515364647, 0.049389250576496124, -0.0345575287938118, 0.03567831590771675, 0.006145636551082134, -0.044868748635053635, -0.10894028097391129, -0.03310051187872887, -0.08757065236568451, 0.030896300449967384, -0.013841692358255386, 0.04158111661672592, 0.029831554740667343, 0.013645554892718792, 0.012450050562620163, -0.015186633914709091, 0.04658728837966919, -0.007896862924098969, -0.030335906893014908, -0.016867810860276222, -0.006281064823269844, -0.003210581373423338, 0.010040363296866417, 0.033735621720552444, -0.00869075208902359, 0.0031452022958546877, 0.015457489527761936, -0.06358585506677628, 0.0015329066663980484, 0.027066951617598534, 0.056524913758039474, 0.021593786776065826, 0.0629507452249527, 0.010927651077508926, -0.00959204975515604, 0.08099538087844849, 0.03552887588739395, -0.0492771714925766, -0.015093235298991203, 0.04329965263605118, -0.03254011645913124, 0.035958509892225266, -0.032577477395534515, 0.003964776173233986, 0.02439574897289276, 0.003469762858003378, 0.01799793541431427, -0.08390942215919495, 0.03446413204073906, -0.03328730911016464, 0.00880283024162054, 0.03747157007455826, -0.02841189317405224, -0.04468195140361786, 0.04722239822149277, -0.06209147721529007, 0.04229094460606575, -0.011702860705554485, 0.008527304045855999, 0.10281332582235336, -0.046251051127910614, 0.019707132130861282, 0.056300755590200424, -0.03336202725768089, -0.0279449000954628, -0.042627181857824326, -0.07583977282047272, -0.007915542460978031, -0.046624645590782166, -0.07770774513483047, 0.0212575513869524, -0.05682378634810448, 0.024059513583779335, 0.01254344917833805, -0.020473001524806023, 0.0034604230895638466, 0.013243939727544785, -0.026525240391492844, 0.0629507452249527, 0.019819211214780807, 0.04046032950282097, 0.0016204679850488901, -0.02999967150390148, 0.050472673028707504, 0.0558898001909256, -0.03881651163101196, -0.0701611265540123, -0.01020848099142313, -0.06179260089993477, 0.018156712874770164, -0.009227794595062733, 0.030989699065685272, 0.006790087558329105, -0.04722239822149277, -0.011357286013662815, 0.059438951313495636, -0.03323126956820488, -0.003672905033454299, -0.017026588320732117, -0.0159992016851902, 0.021145472303032875, 0.060298219323158264, -0.004037159960716963, -0.0000196648106793873, 0.06989961117506027, 0.022546453401446342, -0.0067153689451515675, -0.019445614889264107, 0.028056979179382324, -0.026880154386162758, 0.019763171672821045, -0.021350950002670288, -0.030354587361216545, -0.020379602909088135, -0.06765804439783096, 0.0024984159972518682, -0.03046666644513607, -0.00609893724322319, -0.014514163136482239, 0.002727242885157466, -0.008559993468225002, -0.01664365455508232, 0.019893929362297058, 0.002542780479416251, -0.0021084763575345278, 0.018156712874770164, -0.02992495335638523, 0.0042636520229279995, 0.02056640014052391, 0.0413195975124836, 0.0007150840247049928, 0.0006864806637167931, 0.029345881193876266, 0.028822848573327065, 0.015364090912044048, 0.030223829671740532, 0.013664234429597855, 0.0013531141448765993, 0.02142566815018654, 0.04120751842856407, -0.005687982775270939, -0.008559993468225002, -0.020939994603395462, 0.013776312582194805, -0.05984990671277046, 0.03612662851810455, 0.003773308824747801, -0.014336705207824707, 0.03420261666178703, 0.024358389899134636, -0.034258656203746796, 0.02770206332206726, 0.015401450917124748, -0.022546453401446342, 0.013430737890303135, 0.002376997610554099, -0.02011808753013611, -0.005673972889780998, 0.019520334899425507, 0.0998992845416069, -0.0251616183668375, 0.03438941389322281, 0.02577804960310459, 0.06564062833786011, -0.01738150417804718, 0.019202779978513718, -0.01424330659210682, -0.021294910460710526, 0.0009299011435359716, 0.03151273354887962, -0.05734682083129883, 0.02617032453417778, 0.028150377795100212, 0.04307549446821213, -0.0021598455496132374, -0.0010209649335592985, -0.02370459772646427, 0.024601224809885025, 0.00493145314976573, -0.006239035166800022, 0.03452017158269882, -0.003918076865375042, -0.04651256650686264, -0.029439279809594154, -0.06810635328292847, 0.005337737500667572, -0.06635046005249023, 0.051070425659418106, -0.0029210452921688557, -0.01297308411449194, -0.03160613030195236, 0.0060102082788944244, 0.032577477395534515, -0.037714406847953796, -0.029644757509231567, 0.004013810306787491, 0.006281064823269844, 0.05065947026014328, 0.0038830521516501904, -0.0008102339925244451, 0.0010443145874887705, 0.019632413983345032, -0.009918944910168648, -0.013299979269504547, 0.03945162519812584, 0.040721844881772995, -0.029738156124949455, 0.04004937410354614, 0.0019333537202328444, -0.013542816042900085, 0.0429634153842926, 0.0024307018611580133, -0.03308182954788208, -0.03732213377952576, 0.036406826227903366, -0.020996034145355225, 0.008905569091439247, 0.08921446651220322, -0.03674305975437164, 0.01834351010620594, 0.06373529136180878, -0.019819211214780807, -0.013225260190665722, 0.005631943698972464, 0.021817943081259727, 0.04718503728508949, -0.05009907856583595, -0.0029373900033533573, -0.007794124074280262, 0.01308516226708889, 0.03631342574954033, -0.02945796027779579, -0.03577171266078949, 0.0353047214448452, -0.022527774795889854, -0.007074953988194466, -0.03317523002624512, -0.050622113049030304, 0.004279996734112501, 0.013682913966476917, 0.0019893930293619633, 0.02211681939661503, 0.05189233645796776, 0.0489782951772213, 0.037340812385082245, -0.00712165329605341, -0.011460023932158947, 0.018408888950943947, -0.018362190574407578, -0.03216652199625969, -0.011861639097332954, 0.03212916478514671, -0.015943164005875587, 0.03859235718846321, 0.007784784305840731, -0.019968649372458458, -0.0431128554046154, 0.0003146369708701968, -0.07681111991405487, -0.005991528742015362, -0.03461356833577156, 0.03577171266078949, 0.0489782951772213, 0.06713500618934631, 0.07445746660232544 ]
54,958
ml_wrappers.dataset.dataset_wrapper
take_subset
Take a subset of the dataset if not done before. :param explain_subset: A list of column indexes to take from the original dataset. :type explain_subset: list
def take_subset(self, explain_subset): """Take a subset of the dataset if not done before. :param explain_subset: A list of column indexes to take from the original dataset. :type explain_subset: list """ if self._subset_taken: return # Edge case: Take the subset of the summary in this case, # more optimal than recomputing the summary! explain_subset = np.array(explain_subset) self._dataset = self._dataset[:, explain_subset] self._subset_taken = True
(self, explain_subset)
[ -0.03272195905447006, -0.008008991368114948, 0.016223780810832977, 0.00926950667053461, -0.019808104261755943, -0.01941365748643875, 0.07429325580596924, -0.027988595888018608, 0.0005161040462553501, -0.05189552158117294, -0.05199841782450676, 0.0462360605597496, -0.029532084241509438, -0.02750839851796627, -0.038758717477321625, 0.0015981539618223906, 0.002634649397805333, 0.029823631048202515, 0.016043707728385925, 0.047710951417684555, -0.010658646933734417, 0.004298187326639891, 0.008103315718472004, 0.04819114878773689, -0.029583534225821495, 0.027834245935082436, 0.019516557455062866, -0.06263133883476257, 0.05717768147587776, 0.014328720048069954, -0.028005745261907578, -0.028897538781166077, -0.014911815524101257, 0.08053580671548843, -0.05529119446873665, 0.011473266407847404, 0.05957866460084915, 0.05553129315376282, 0.07518505305051804, 0.0388273149728775, -0.07360725849866867, -0.052753012627363205, 0.048396944999694824, 0.0049477387219667435, -0.011404666118323803, 0.007653131615370512, 0.04630466178059578, -0.0049691759049892426, -0.026736654341220856, 0.0033506567124277353, 0.009998376481235027, 0.056628886610269547, -0.04215439036488533, 0.01528911292552948, -0.02013395167887211, -0.010727246291935444, 0.03995920717716217, 0.03165866807103157, 0.03666643053293228, 0.036975130438804626, -0.02118009515106678, 0.01408862229436636, -0.010204175487160683, 0.004716215655207634, 0.00829625129699707, -0.039856307208538055, -0.06808499991893768, 0.03738672658801079, -0.01809311844408512, -0.006426915526390076, -0.005805232562124729, 0.04143409803509712, 0.023478178307414055, 0.048156846314668655, -0.02581056021153927, -0.06763910502195358, -0.016498180106282234, -0.04894573986530304, -0.02966928295791149, -0.04208579286932945, 0.0207513477653265, 0.007974691689014435, 0.008673548698425293, -0.012613732367753983, -0.006371178198605776, -0.04812254756689072, 0.017201324924826622, 0.014731742441654205, 0.08643537014722824, -0.03642633184790611, 0.026908153668045998, 0.08712136000394821, -0.004904863890260458, 0.04410947859287262, 0.016849752515554428, -0.0032777697779238224, -0.08657256513834, 0.002960497047752142, -0.06739901006221771, -0.03803842142224312, -0.03450554609298706, -0.00431962450966239, 0.038793016225099564, 0.048362646251916885, 0.02622215822339058, -0.010006952099502087, 0.04390367865562439, -0.011070244014263153, -0.030663974583148956, 0.02143734320998192, -0.032910607755184174, 0.030441027134656906, -0.07367586344480515, 0.009149458259344101, -0.053850606083869934, -0.02901758812367916, 0.014328720048069954, -0.009663954377174377, -0.10502582788467407, 0.0005222672480158508, 0.024404270574450493, 0.028708890080451965, -0.026050658896565437, -0.0034128250554203987, -0.02093999646604061, -0.022191938012838364, 0.02750839851796627, 0.03345940634608269, -0.0007840708130970597, -0.06688451021909714, 0.007670281454920769, -0.019756656140089035, -0.027371199801564217, 0.06520382314920425, 0.004278893582522869, -0.026359356939792633, 0.043114785104990005, 0.022003289312124252, -0.029532084241509438, -0.007292984053492546, 0.009698254056274891, 0.03728382661938667, 0.007292984053492546, 0.04517276957631111, 0.010667221620678902, -0.05199841782450676, -0.00541078532114625, -0.04328628256917, 0.01179911382496357, -0.010761545971035957, -0.040953900665044785, -0.0070228734984993935, -0.07422465831041336, -0.0966566950082779, 0.014354445040225983, -0.013599850237369537, -0.03694082796573639, -0.032859157770872116, -0.011944887228310108, -0.01726992428302765, 0.012973880395293236, -0.03080117516219616, -0.0036079047713428736, -0.001784658757969737, -0.07449905574321747, 0.020837098360061646, 0.001395571045577526, -0.04956313595175743, -0.09651949256658554, 0.035706039518117905, 0.02951493300497532, 0.011336066760122776, -0.016292380169034004, 0.02666805498301983, -0.02728545106947422, 0.07834062725305557, -0.023735426366329193, -0.02093999646604061, -0.026908153668045998, -0.01463741809129715, 0.01572643406689167, -0.03081832453608513, -0.027474097907543182, -0.02052840031683445, 0.04033650457859039, -0.035500239580869675, 0.003290632041171193, -0.03273911029100418, 0.011816263198852539, 0.04386937990784645, -0.012853831052780151, -0.012699482031166553, -0.011507566086947918, -0.010632921941578388, -0.0027954294346272945, -0.0913059338927269, -0.025227464735507965, -0.007417320739477873, 0.04232589155435562, 0.006615564227104187, -0.039204612374305725, -0.023889774456620216, 0.058446772396564484, 0.010118425823748112, 0.019499408081173897, 0.06585551798343658, 0.002105147112160921, 0.04212009161710739, -0.02706250175833702, 0.016918351873755455, -0.02840019203722477, -0.06575261801481247, 0.05614868924021721, 0.03318500518798828, 0.050317730754613876, 0.01833321526646614, -0.0174499973654747, -0.035260140895843506, 0.013282577507197857, 0.003828709479421377, 0.018196016550064087, -0.052958812564611435, 0.007241534534841776, 0.06695310771465302, 0.036803629249334335, -0.0029476345516741276, 0.05830957368016243, -0.029137637466192245, 0.03260191157460213, -0.03033812716603279, -0.008159052580595016, -0.037249527871608734, 0.033064957708120346, -0.050592128187417984, -0.06602701544761658, 0.06770770251750946, 0.008159052580595016, 0.007383021060377359, 0.0850633755326271, -0.023220930248498917, -0.07148067653179169, -0.015572085976600647, 0.035706039518117905, -0.018847711384296417, -0.09206052869558334, 0.01321397814899683, -0.026599455624818802, 0.05028343200683594, -0.019996752962470055, 0.003344225464388728, 0.007331571541726589, -0.01287098042666912, -0.025124566629529, -0.011301767081022263, 0.0594414658844471, 0.008892210200428963, 0.010830145329236984, -0.018453264608979225, -0.03807272017002106, -0.004021645523607731, -0.026307906955480576, -0.027199700474739075, 0.02382117509841919, 0.018230317160487175, -0.06609561294317245, 0.00851491279900074, -0.0001948118588188663, 0.0038372843991965055, -0.02445572055876255, -0.020168252289295197, 0.013865673914551735, 0.09590210020542145, 0.006911399308592081, -0.01792161911725998, -0.009209482930600643, 0.039856307208538055, -0.0038051283918321133, -0.011704789474606514, -0.03335650637745857, 0.007768893148750067, 0.04825974628329277, 0.014388744719326496, 0.02598205953836441, 0.043149083852767944, -0.01574358530342579, -0.04740225151181221, 0.025227464735507965, -0.019619455561041832, -0.020374050363898277, -0.008120465092360973, -0.025639062747359276, 0.014766042120754719, 0.07834062725305557, -0.020151102915406227, -0.04037080332636833, 0.00940670631825924, 0.009638229385018349, -0.04949453845620155, -0.02006535232067108, 0.05313031002879143, -0.042943283915519714, -0.07360725849866867, -0.05398780480027199, 0.004244593903422356, -0.00015756447101011872, -0.026307906955480576, 0.03536304086446762, -0.027371199801564217, 0.04438387602567673, -0.06047045812010765, 0.023478178307414055, 0.008167627267539501, -0.0272682998329401, 0.0035285865887999535, -0.025604762136936188, -0.012253585271537304, -0.00452327961102128, 0.025398964062333107, 0.00009693698666524142, 0.055599894374608994, -0.0545365996658802, -0.02752554789185524, -0.001173694501630962, -0.00004176932270638645, 0.014997565187513828, -0.004186713136732578, -0.024507170543074608, -0.036975130438804626, -0.04908294230699539, 0.00926950667053461, -0.008343413472175598, -0.004514704458415508, 0.023975525051355362, 0.01614660769701004, -0.03325360640883446, -0.009552479721605778, 0.03292775899171829, 0.018453264608979225, -0.01518621388822794, 0.020631298422813416, 0.03423114866018295, -0.04037080332636833, 0.051003728061914444, 0.036323435604572296, 0.08424018323421478, 0.039444711059331894, 0.02510741539299488, -0.017835868522524834, 0.04692205786705017, -0.015494911931455135, -0.021471641957759857, 0.04513847082853317, 0.014037172310054302, 0.013102504424750805, 0.09370691329240799, 0.04520706832408905, -0.008995109237730503, 0.026153558865189552, -0.0457901656627655, -0.02882893942296505, 0.08218219876289368, -0.02581056021153927, 0.02733689919114113, -0.027885695919394493, 0.03913601487874985, 0.019996752962470055, -0.039650510996580124, 0.031178472563624382, -0.015374862588942051, -0.059750162065029144, -0.0410568006336689, -0.05594288930296898, 0.009218057617545128, 0.02056269906461239, 0.019362207502126694, -0.033768102526664734, -0.08876775205135345, 0.00883218552917242, -0.02250063605606556, 0.06853089481592178, 0.02382117509841919, -0.0077860429883003235, -0.008866485208272934, 0.005805232562124729, -0.07786042988300323, -0.0006452640518546104, -0.056251589208841324, -0.039650510996580124, 0.016481028869748116, 0.018007367849349976, 0.029806481674313545, 0.004926301538944244, -0.015151914209127426, 0.024301372468471527, 0.00884933490306139, -0.02073419839143753, 0.0020858533680438995, -0.023409578949213028, -0.04716215282678604, 0.008279101923108101, -0.012991029769182205, -0.017201324924826622, -0.04472687095403671, 0.04198289290070534, -0.009535330347716808, 0.01463741809129715, -0.017955917865037918, -0.042497389018535614, 0.021746041253209114, -0.025707662105560303, 0.004182425793260336, -0.014688867144286633, 0.015674985945224762, 0.05923566594719887, 0.001292671775445342, 0.04359498247504234, 0.02730260044336319, 0.04500127211213112, 0.06029895693063736, 0.025896310806274414, 0.09501030296087265, 0.02466151863336563, -0.014834641478955746, -0.008506338112056255, -0.006011031102389097, -0.03869011625647545, -0.027148250490427017, -0.047505151480436325, 0.03584323823451996, -0.010684371925890446, -0.0677420049905777, -0.03363090381026268, -0.0702458843588829, -0.005882407072931528, -0.0012980310712009668, -0.00437536183744669, -0.04843124374747276, 0.036975130438804626, -0.011867713183164597, 0.030835473909974098, 0.03577463701367378, -0.015100464224815369, 0.006358316168189049, -0.05117522552609444, -0.03508864343166351, -0.012339334934949875, 0.009784003719687462, 0.05415930226445198, -0.054468002170324326, -0.04877424240112305, 0.06424342840909958, -0.0019915292505174875, 0.011550440452992916, -0.018950611352920532, -0.02013395167887211, -0.013539825566112995, -0.030509626492857933, 0.010770121589303017, 0.007070035673677921, 0.035706039518117905, 0.017870169132947922, 0.05443369969725609, -0.04873994365334511, 0.007871792651712894, 0.06709031015634537, 0.00682993745431304, 0.006448352709412575, 0.036563530564308167, -0.013239703141152859, 0.02143734320998192, -0.0020826379768550396, -0.07607684284448624, -0.02946348488330841, -0.014568818733096123, 0.08540637791156769, -0.006645576562732458, -0.0009271650924347341, 0.05837817117571831, -0.0005804160609841347, 0.02121439389884472, 0.00861781183630228, 0.012733781710267067, -0.01145611610263586, 0.0010295284446328878, -0.006422628182917833, 0.0008033644407987595, -0.04627036303281784, 0.04064520075917244, -0.03670073300600052, 0.01812741719186306, 0.026359356939792633, -0.0016217350494116545, 0.03121277131140232, -0.02013395167887211, 0.0004413413116708398, 0.039410412311553955, 0.03321930766105652, 0.07806622982025146, 0.052272818982601166, 0.036803629249334335, 0.029600683599710464, -0.0018789831083267927, -0.026753803715109825, 0.016858326271176338, -0.017192749306559563, 0.024610070511698723, -0.009158032946288586, 0.036357734352350235, -0.017801569774746895, -0.05848107114434242, -0.0003668465360533446, -0.010890170000493526, -0.009158032946288586, 0.09535330533981323, 0.06005886197090149, 0.020425500348210335, -0.05707478150725365, 0.053644806146621704, 0.05244431644678116, 0.00202368525788188, 0.0012101379688829184, 0.05501679703593254, -0.01179053820669651, -0.007460195571184158, 0.006426915526390076, -0.02032260037958622, 0.002407413674518466, -0.009072283282876015, 0.014028597623109818, 0.016995524987578392, -0.0419485941529274, 0.004051657859236002, 0.058172374963760376, 0.05728058144450188, 0.031590066850185394, 0.028520241379737854, -0.020425500348210335, -0.07360725849866867, 0.03707802668213844, 0.01148184109479189, -0.010650072246789932, 0.00408810144290328, 0.058618269860744476, -0.05714338272809982, -0.007245821878314018, 0.05096942558884621, -0.016661103814840317, 0.03493429347872734, 0.014834641478955746, 0.00982687808573246, 0.029755031690001488, 0.008227651938796043, 0.07388165593147278, -0.015872208401560783, 0.019945304840803146, 0.004900576546788216, -0.011884862557053566, 0.052924513816833496, 0.016455303877592087, -0.002583199879154563, -0.007100048009306192, -0.052101317793130875, 0.10687801986932755, 0.050797928124666214, 0.02857169136404991, 0.010958769358694553, -0.036323435604572296, 0.022209087386727333, -0.04102249816060066, -0.05878977105021477, -0.045275669544935226, 0.006615564227104187, -0.026376506313681602, 0.051003728061914444, -0.018436115235090256, 0.013025329448282719, 0.04215439036488533, -0.04438387602567673, -0.029634982347488403, 0.042943283915519714, -0.05419360473752022, 0.003974483348429203, 0.03273911029100418, 0.02555331215262413, -0.028451642021536827, 0.0545365996658802, 0.01859046332538128, -0.028314443305134773, -0.01463741809129715, 0.011147418059408665, 0.02879463881254196, -0.035500239580869675, 0.003496430581435561, -0.012270735576748848, -0.011070244014263153, -0.019379358738660812, -0.01592365838587284, -0.0966566950082779, 0.026084959506988525, 0.021060045808553696, -0.05590859055519104, 0.007631693966686726, -0.013076779432594776, -0.014663143083453178, -0.021145794540643692, 0.039650510996580124, -0.049014341086149216, 0.017544321715831757, 0.021505942568182945, -0.02774849720299244, -0.048465546220541, 0.04678485915064812, -0.004853414371609688, -0.020871397107839584, -0.05724628269672394, -0.04849984496831894, -0.01539201196283102, -0.0053207483142614365, 0.012931005097925663, -0.03304780647158623, -0.03366520255804062, 0.047470852732658386, 0.017732970416545868, 0.02618785761296749, -0.0690796971321106, -0.013788498938083649, 0.045961663126945496, -0.04777954891324043, -0.04002780839800835, -0.012202135287225246, -0.023426728323101997, -0.04894573986530304, 0.022980831563472748, 0.03577463701367378, 0.04424667730927467, -0.047951050102710724, 0.04671625792980194, 0.023546777665615082, -0.03098982386291027, 0.009706828743219376, 0.00404737051576376, 0.010238475166261196, 0.0292748361825943, -0.004173850640654564, -0.006396903190761805, -0.019362207502126694, -0.046681959182024, -0.021248694509267807, 0.04153699427843094, -0.013411201536655426, -0.025227464735507965, 0.0838971883058548, -0.001393427257426083, 0.04651045799255371, 0.04301188513636589, 0.027679897844791412, 0.006302578840404749, -0.0020740628242492676, 0.028125794604420662, -0.021763190627098083, 0.013419777154922485, -0.016772577539086342, 0.05289021134376526, -0.09013973921537399, 0.07209806889295578, 0.027182551100850105, -0.039719108492136, -0.01484321616590023, -0.016866901889443398, 0.02140304259955883, 0.005848107393831015, 0.035054344683885574, -0.056697484105825424, 0.0049477387219667435, 0.03229321539402008, -0.007665993645787239, -0.01874481327831745, -0.0791638195514679, -0.049700334668159485, -0.052924513816833496, 0.05234141647815704, -0.009861177764832973, 0.011867713183164597, -0.03448839858174324, 0.013342602178454399, 0.03776402398943901, -0.06873669475317001, -0.039856307208538055, 0.004463254939764738, -0.03776402398943901, 0.02337527833878994, -0.07443045824766159, 0.023735426366329193, 0.0515868216753006, -0.003995920531451702, 0.05155252292752266, -0.05182692036032677, -0.025038816034793854, 0.03282485902309418, 0.027148250490427017, 0.010572897270321846, 0.03474564477801323, 0.0069242618046700954, 0.05659458413720131, -0.0005970299826003611, 0.023289529606699944, -0.1061234250664711, 0.017552897334098816, 0.04112539812922478, -0.022174786776304245, 0.03359660506248474, 0.00798755418509245, -0.026788104325532913, 0.04393797740340233, 0.011919163167476654, -0.027148250490427017, -0.0545365996658802, 0.0045747291296720505, -0.013128228485584259, 0.017407122999429703, 0.014997565187513828, -0.038793016225099564, -0.01792161911725998, 0.05048923194408417, -0.009492455050349236, 0.05343900993466377, 0.012493683956563473, -0.01920785941183567, 0.014071471989154816, -0.030663974583148956, -0.01922500878572464, -0.009938351809978485, 0.05779507756233215, -0.006341165862977505, 0.008364851586520672, -0.0003518403973430395, 0.025398964062333107, -0.03411110118031502, 0.04308048635721207, 0.006028180941939354, 0.007756030652672052, -0.016309531405568123, -0.006221116986125708, 0.035706039518117905, -0.05419360473752022, -0.03512294217944145, 0.006821362767368555, 0.007164360024034977, 0.04760805144906044, -0.07580244541168213, -0.01727849803864956, 0.016866901889443398, 0.004977751057595015, 0.025604762136936188, 0.024112723767757416, 0.0044675422832369804, 0.007078610826283693, -0.0038094159681349993, 0.036597833037376404, -0.004321768414229155, -0.030303828418254852, -0.0041245450265705585, 0.01124174240976572, 0.04277178645133972, -0.030063729733228683, 0.0290518868714571, 0.016995524987578392, -0.0022852206602692604 ]
54,959
ml_wrappers.dataset.dataset_wrapper
timestamp_featurizer
Featurizes the timestamp columns. :return: The transformation steps to featurize the timestamp columns. :rtype: ml_wrappers.DatasetWrapper
def timestamp_featurizer(self): """Featurizes the timestamp columns. :return: The transformation steps to featurize the timestamp columns. :rtype: ml_wrappers.DatasetWrapper """ if self._timestamp_featurized: return self._timestamp_featurizer # Optimization so we don't redo this operation multiple times on the same dataset self._timestamp_featurized = True # If the data was previously successfully summarized, then there are no # categorical columns as it must be numeric. # Also, if the dataset is sparse, we can assume there are no categorical strings if str(type(self._dataset)).endswith(".DenseData'>") or issparse(self._dataset): return None typed_dataset_without_index = self.typed_wrapper_func(self._dataset, keep_index_as_feature=True) self._timestamp_featurizer = CustomTimestampFeaturizer(self._features).fit(typed_dataset_without_index) self._dataset = self._timestamp_featurizer.transform(self._dataset) return self._timestamp_featurizer
(self)
[ -0.010356070473790169, -0.01926211267709732, 0.0590752512216568, 0.045792270451784134, 0.03369079530239105, -0.049372587352991104, -0.029573427513241768, 0.04138847813010216, -0.0016469464171677828, 0.0522010400891304, -0.025527669116854668, -0.013605209067463875, -0.010087546892464161, 0.0037280062679201365, 0.05306031554937363, 0.05567394942045212, -0.061187636107206345, 0.04969481751322746, 0.006784703116863966, -0.025849897414445877, 0.017507756128907204, -0.07919663935899734, -0.06591365486383438, 0.012146229855716228, 0.011045281775295734, 0.026333240792155266, -0.0003966321237385273, -0.037056293338537216, -0.03363708779215813, -0.02268131636083126, -0.04396630823612213, -0.021392401307821274, -0.04153168946504593, -0.023093052208423615, -0.05313192307949066, -0.044216930866241455, -0.0683840736746788, -0.017131822183728218, 0.05488627776503563, -0.013721569441258907, 0.052165236324071884, -0.01126905158162117, -0.07468543946743011, 0.004372463561594486, -0.021983154118061066, 0.0376291424036026, -0.02271711826324463, 0.014849369414150715, 0.003931636922061443, -0.01956643909215927, -0.040779825299978256, -0.011027379892766476, 0.0388464517891407, 0.06680873781442642, -0.04550584405660629, 0.011850853450596333, 0.027783269062638283, 0.05234425142407417, -0.03977733477950096, 0.03528403490781784, 0.009657908231019974, 0.04493299499154091, 0.017060216516256332, 0.048441704362630844, 0.012611670419573784, -0.011394362896680832, 0.01863555610179901, 0.008677796460688114, -0.00641772011294961, 0.025563471019268036, -0.04117365926504135, -0.03906127065420151, 0.035677868872880936, 0.07042486220598221, -0.00940728560090065, -0.0035579411778599024, -0.03999215364456177, -0.01913680136203766, 0.011313805356621742, 0.011385411955416203, 0.002131408080458641, 0.03360128775238991, -0.006632539443671703, 0.021499810740351677, 0.03916868194937706, -0.036948882043361664, 0.019673848524689674, 0.019369522109627724, -0.09122651070356369, 0.027282023802399635, -0.01679169200360775, -0.005894098896533251, 0.023343674838542938, 0.03331486135721207, 0.003880169941112399, -0.02722832001745701, -0.05764312297105789, 0.04650833457708359, 0.02583199553191662, 0.018295425921678543, 0.0596839040517807, 0.013730520382523537, 0.012280491180717945, 0.034263644367456436, 0.04758242890238762, -0.005374952685087919, -0.022018956020474434, -0.048155277967453, -0.03642973676323891, -0.012378949671983719, -0.049659013748168945, 0.017104970291256905, 0.018474441021680832, -0.0028015989810228348, -0.01756145991384983, -0.06401608884334564, 0.0625123530626297, 0.024167148396372795, -0.035838983952999115, 0.024757899343967438, 0.00648932671174407, 0.026995599269866943, -0.0018919743597507477, -0.038452617824077606, -0.07926824688911438, -0.023576395586133003, 0.05979131534695625, 0.011877705343067646, 0.017597263678908348, -0.005679279565811157, -0.039741531014442444, 0.020157191902399063, 0.05964810028672218, 0.07704845070838928, 0.039276089519262314, -0.08070037513971329, 0.07214341312646866, 0.04464656859636307, -0.012092524208128452, 0.04163910076022148, 0.00008894853090168908, -0.0095594497397542, 0.06365805864334106, -0.024650489911437035, -0.002060920698568225, -0.011886656284332275, 0.0018270810833200812, 0.034442659467458725, -0.030701227486133575, -0.03809458389878273, 0.005844869650900364, 0.0010310197249054909, -0.016764840111136436, -0.024292459711432457, 0.01774047687649727, -0.008722550235688686, -0.0018494580872356892, -0.042176149785518646, 0.016174087300896645, -0.012549014762043953, -0.01329193077981472, -0.011618132703006268, -0.025867799296975136, -0.013533602468669415, -0.0422835573554039, 0.025706684216856956, 0.010248661041259766, -0.008185502141714096, -0.009335679933428764, 0.04496879503130913, 0.058824628591537476, 0.0596839040517807, 0.07661880552768707, 0.03873904421925545, 0.014894123189151287, 0.08657209575176239, 0.00761265167966485, -0.0017935156356543303, 0.040027957409620285, 0.06659391522407532, 0.03549885377287865, -0.01297865342348814, -0.06032836064696312, 0.019834963604807854, -0.014956778846681118, -0.008185502141714096, -0.04536263272166252, -0.003470670897513628, -0.039383500814437866, 0.043894700706005096, 0.07955466955900192, 0.00015034539683256298, 0.0023137805983424187, 0.005894098896533251, -0.010866265743970871, 0.031041359528899193, -0.054814670234918594, -0.004618610255420208, 0.003607170656323433, -0.014983631670475006, 0.004931888077408075, 0.008785205893218517, 0.039097074419260025, -0.032276567071676254, -0.036913082003593445, -0.0234689861536026, -0.01252216286957264, 0.03125617653131485, -0.1505165696144104, -0.06229753792285919, 0.02626163326203823, -0.04912196472287178, -0.025080129504203796, 0.052917104214429855, 0.024525180459022522, -0.07225082069635391, -0.011573378928005695, -0.024274557828903198, -0.016639528796076775, 0.007724536582827568, 0.06863469630479813, 0.002097842749208212, -0.03109506331384182, 0.026852386072278023, 0.0716063603758812, 0.01468825526535511, 0.08685851842164993, -0.03745012730360031, 0.01290704682469368, -0.05517270416021347, 0.000725014426279813, -0.04056500643491745, -0.050768911838531494, -0.002463706536218524, 0.036017999053001404, 0.0022153218742460012, 0.03902546688914299, 0.00641772011294961, 0.02096276357769966, -0.05306031554937363, 0.01765991933643818, -0.02613632194697857, 0.021875744685530663, -0.031972240656614304, -0.020551025867462158, -0.04708118364214897, -0.009053729474544525, 0.038488421589136124, -0.009111910127103329, 0.015968218445777893, 0.0054331328719854355, -0.00378842419013381, 0.023988131433725357, 0.042999621480703354, 0.0011512960772961378, -0.07812254130840302, 0.017104970291256905, 0.0065922606736421585, 0.004166595172137022, -0.018152212724089622, -0.014974680729210377, 0.022609708830714226, -0.05273808538913727, 0.07071128487586975, -0.045935481786727905, -0.04711698740720749, 0.012182032689452171, 0.015645990148186684, 0.03447846323251724, -0.011680788360536098, -0.0487639345228672, 0.0059075248427689075, -0.07368294894695282, -0.03949090838432312, -0.0009448683704249561, -0.04790465906262398, 0.00034936072188429534, -0.07554471492767334, 0.02876785583794117, 0.015583334490656853, 0.0006008221535012126, -0.03999215364456177, 0.0020586829632520676, 0.008467452600598335, -0.025384455919265747, 0.02531285025179386, -0.06602106988430023, 0.0042091114446520805, -0.024041837081313133, -0.020121388137340546, -0.02706720493733883, 0.012540064752101898, 0.05860980972647667, 0.04070821776986122, -0.019387422129511833, 0.005146707408130169, -0.015789203345775604, -0.040314383804798126, 0.06480375677347183, -0.05334674194455147, -0.013882683590054512, 0.0036944409366697073, 0.04647253081202507, 0.019369522109627724, -0.028230808675289154, -0.008946320042014122, -0.03623282164335251, -0.028964774683117867, 0.014983631670475006, 0.015833957120776176, 0.04758242890238762, -0.018223820254206657, -0.04736761003732681, -0.031811125576496124, -0.03456797078251839, -0.02889316715300083, 0.003421441651880741, 0.00733965216204524, 0.014330223202705383, 0.05438503250479698, -0.022502299398183823, -0.020264601334929466, 0.027568450197577477, -0.0040502347983419895, 0.0329747311770916, -0.007639504037797451, 0.0479404591023922, -0.09788589924573898, -0.033941417932510376, -0.02099856548011303, 0.0475466251373291, -0.023379478603601456, 0.05506529286503792, 0.04131687059998512, -0.051699794828891754, -0.015771301463246346, -0.0222516767680645, -0.02935860864818096, -0.005549493245780468, 0.012862293049693108, -0.06444572657346725, 0.05073310807347298, -0.02223377674818039, 0.04325024411082268, 0.02583199553191662, 0.0019635807257145643, 0.0020687526557594538, -0.032885223627090454, 0.038810648024082184, 0.03934769704937935, 0.04736761003732681, -0.052165236324071884, -0.03524823114275932, 0.09802911430597305, 0.05517270416021347, -0.03558836132287979, 0.01818801648914814, -0.011000528000295162, -0.011510723270475864, 0.0005465579451993108, 0.04504040256142616, -0.018438639119267464, 0.02799808792769909, -0.006457998882979155, 0.05459985136985779, 0.04292801395058632, 0.0005174678517505527, 0.017436150461435318, 0.0013482135254889727, 0.012477409094572067, 0.009192466735839844, 0.0029985164292156696, 0.01913680136203766, 0.02253810316324234, 0.003942825365811586, -0.10569099336862564, -0.01680959388613701, 0.037700749933719635, -0.040779825299978256, 0.03437105566263199, -0.013945339247584343, 0.020783746615052223, -0.016988608986139297, 0.014357076026499271, 0.0457206629216671, 0.00815417431294918, 0.013533602468669415, -0.07042486220598221, 0.01595926843583584, -0.05803695693612099, -0.02626163326203823, -0.022001056000590324, -0.03841681405901909, -0.0400637611746788, -0.03356548398733139, 0.012101475149393082, -0.0070577021688222885, 0.02350478805601597, 0.05166399106383324, -0.019799159839749336, -0.04973062127828598, -0.04117365926504135, -0.0010287821060046554, 0.021696727722883224, -0.008185502141714096, 0.028535135090351105, 0.011913509108126163, -0.02239488996565342, -0.030701227486133575, 0.05950488895177841, 0.02098066546022892, 0.05173559859395027, -0.01338143926113844, 0.012378949671983719, 0.03632232919335365, 0.022126365453004837, -0.007872224785387516, -0.020085584372282028, -0.0095594497397542, 0.056497421115636826, 0.003996530082076788, 0.045147813856601715, -0.058824628591537476, 0.018062705174088478, -0.020783746615052223, -0.009908530861139297, -0.025420259684324265, 0.040636610239744186, -0.02486531063914299, 0.03906127065420151, -0.0370204895734787, -0.06935076415538788, -0.0762607753276825, 0.012745932675898075, 0.006283458322286606, 0.013542553409934044, -0.011457018554210663, -0.018546048551797867, -0.02966293692588806, 0.004609659779816866, -0.013784225098788738, 0.00987272709608078, 0.08163125813007355, -0.025867799296975136, 0.03138148784637451, -0.05631840601563454, -0.06380126625299454, 0.06537660956382751, -0.052165236324071884, -0.011474919505417347, 0.017346641048789024, 0.019208407029509544, 0.0205331239849329, 0.045649055391550064, 0.0030477459076792, 0.0013415004359558225, -0.013721569441258907, -0.04837009683251381, 0.01818801648914814, 0.02815920300781727, -0.054635655134916306, -0.008476403541862965, -0.021839940920472145, -0.024041837081313133, 0.04507620632648468, -0.044073715806007385, -0.054170213639736176, -0.09036722779273987, -0.05860980972647667, 0.013479897752404213, 0.08206089586019516, -0.020318305119872093, 0.06526920199394226, -0.047976262867450714, -0.019226308912038803, 0.035677868872880936, -0.04181811586022377, 0.006207376718521118, 0.05997033044695854, 0.029466018080711365, 0.039741531014442444, -0.03669826313853264, 0.0023988131433725357, -0.008718075230717659, 0.018420737236738205, 0.032742008566856384, -0.02567088045179844, -0.04747501760721207, 0.01211937703192234, 0.027103008702397346, -0.026798682287335396, 0.05080471560359001, 0.08778940141201019, 0.008977647870779037, 0.018546048551797867, 0.009129811078310013, 0.061330851167440414, 0.03542724996805191, 0.029287002980709076, 0.05399119853973389, -0.00427848007529974, 0.006628063973039389, -0.0673815906047821, -0.015986120328307152, 0.04192552715539932, -0.01483146846294403, -0.01467930432409048, -0.001961342990398407, -0.048119477927684784, -0.02019299380481243, -0.05800115317106247, -0.050303470343351364, 0.040636610239744186, 0.0188145712018013, 0.006663867272436619, -0.01384688075631857, 0.01251321192830801, 0.018886178731918335, -0.0164873655885458, 0.024292459711432457, -0.012960751540958881, 0.04357247054576874, -0.009514695964753628, -0.046114496886730194, 0.0034080154728144407, 0.029430216178297997, -0.016943855211138725, 0.019512733444571495, 0.06287039071321487, 0.02409554086625576, 0.015511728823184967, 0.0016469464171677828, 0.04819108173251152, 0.018420737236738205, -0.008525632321834564, -0.003915973007678986, -0.032867319881916046, -0.02019299380481243, 0.000004746369086205959, -0.05191461369395256, -0.027711663395166397, -0.023737508803606033, 0.027103008702397346, -0.004468684550374746, -0.013184521347284317, -0.007174062542617321, -0.022197972983121872, 0.05674804374575615, 0.04120946303009987, 0.027317827567458153, -0.05016025900840759, 0.02565298043191433, 0.029322806745767593, 0.032079651951789856, 0.0029403362423181534, 0.005943328142166138, 0.0008150818175636232, 0.07353973388671875, -0.016558971256017685, -0.007688733283430338, -0.03745012730360031, -0.01369471661746502, 0.11521463841199875, 0.032867319881916046, -0.06824086606502533, 0.006932390853762627, -0.027174614369869232, 0.023075150325894356, -0.09716983884572983, 0.03805878385901451, 0.04400211200118065, 0.006229753606021404, -0.028051793575286865, -0.026548059657216072, -0.026207929477095604, 0.015968218445777893, -0.01707811839878559, -0.02593940496444702, -0.03589269146323204, -0.02006768248975277, -0.05771473050117493, 0.03838101029396057, 0.03329695761203766, -0.02706720493733883, -0.002463706536218524, -0.043751489371061325, 0.010373972356319427, 0.022144267335534096, -0.025742487981915474, -0.005191461183130741, -0.01166288647800684, -0.015905562788248062, -0.01772257499396801, -0.002888869261369109, 0.04887134209275246, -0.026959795504808426, -0.01421386282891035, -0.021499810740351677, 0.03634022921323776, 0.024328261613845825, 0.0066772932186722755, 0.019834963604807854, -0.065161794424057, -0.0065206545405089855, 0.004963215906172991, -0.08277695626020432, -0.07948306202888489, 0.04955160245299339, 0.011913509108126163, -0.03138148784637451, -0.004291906487196684, 0.07604596018791199, 0.048728130757808685, 0.020765844732522964, 0.05717768147587776, -0.025885701179504395, -0.029645035043358803, 0.008552485145628452, 0.03213335573673248, -0.07346812635660172, 0.003206622553989291, 0.016120383515954018, 0.007393356878310442, 0.004291906487196684, 0.002269026590511203, -0.04103044793009758, -0.00019412038091104478, -0.032169159501791, 0.0075231436640024185, -0.02688818983733654, 0.030038869008421898, -0.044252730906009674, 0.023988131433725357, -0.07250144332647324, 0.021571416407823563, 0.008248157799243927, -0.024990620091557503, -0.015189499594271183, 0.0341920368373394, 0.008968696929514408, 0.01251321192830801, 0.05839499086141586, 0.0528096929192543, -0.058215972036123276, 0.01032921764999628, -0.03284941986203194, -0.018223820254206657, -0.024525180459022522, 0.04060080647468567, 0.047618232667446136, -0.05180720239877701, -0.008395846001803875, 0.05109114199876785, 0.023343674838542938, -0.0065251300111413, 0.05180720239877701, -0.0544208362698555, 0.016675332561135292, 0.025688782334327698, -0.060399968177080154, -0.025706684216856956, 0.01204777043312788, 0.05162818729877472, 0.009604203514754772, -0.009031352587044239, -0.05767892673611641, -0.042534179985523224, 0.002586779883131385, 0.026172125712037086, 0.025277046486735344, -0.049193572252988815, 0.026709172874689102, 0.03028949163854122, 0.026691272854804993, 0.040314383804798126, -0.04726019874215126, -0.0028015989810228348, 0.018474441021680832, -0.00988167803734541, -0.015028385445475578, 0.04783305153250694, 0.032401878386735916, -0.030808638781309128, 0.029609231278300285, -0.06423091143369675, -0.027926482260227203, -0.015583334490656853, -0.007688733283430338, -0.017185527831315994, -0.015932416543364525, 0.05008865147829056, -0.005500264000147581, -0.0002490838523954153, -0.020909057930111885, -0.006498277653008699, -0.023415280506014824, -0.0550294890999794, 0.041424281895160675, 0.018259622156620026, -0.01798214763402939, -0.011913509108126163, 0.05109114199876785, -0.025724586099386215, 0.03651924431324005, 0.05345414951443672, 0.020336207002401352, -0.02984195202589035, -0.01126010064035654, 0.006511703599244356, -0.0018874990055337548, 0.0315605029463768, 0.013596258126199245, 0.00836451817303896, 0.019047291949391365, -0.0056031979620456696, -0.04504040256142616, -0.0370204895734787, 0.014938877895474434, 0.047654036432504654, 0.029895657673478127, 0.031811125576496124, -0.0017263846239075065, 0.00020684728224296123, 0.06111603230237961, -0.05273808538913727, 0.02937651053071022, 0.002524124225601554, 0.0078408969566226, 0.022878233343362808, -0.04912196472287178, 0.016138283535838127, -0.006574359256774187, 0.025277046486735344, 0.015314810909330845, 0.04378729313611984, 0.01159127987921238, 0.009783219546079636, 0.01825067214667797, 0.016541069373488426, -0.009702662006020546, -0.05316772311925888, -0.001576458802446723, -0.015807105228304863, 0.050446681678295135, 0.0356062650680542, -0.024453572928905487, 0.009040303528308868, -0.0014231764944270253, -0.017042314633727074, 0.00809151865541935, 0.012307344004511833, -0.035373542457818985, -0.07955466955900192, -0.06276297569274902, 0.04464656859636307, 0.021678825840353966, 0.013095013797283173, 0.004023382440209389, 0.007232242729514837, -0.01883247308433056, 0.03268830478191376, -0.06398028880357742, 0.0214461050927639, -0.02454308047890663, 0.022144267335534096, 0.03417413681745529, 0.0024480426218360662, 0.061939503997564316 ]
54,960
ml_wrappers.dataset.dataset_wrapper
typed_wrapper_func
Get a wrapper function to convert the dataset to the original type, pandas DataFrame or Series. :param dataset: The dataset to convert to original type. :type dataset: numpy.ndarray or scipy.sparse.csr_matrix :param keep_index_as_feature: Whether to keep the index as a feature when converting back. Off by default to convert it back to index. :type keep_index_as_feature: bool :return: A wrapper function for a given dataset to convert to original type. :rtype: numpy.ndarray or scipy.sparse.csr_matrix or pandas.DataFrame or pandas.Series
def typed_wrapper_func(self, dataset, keep_index_as_feature=False): """Get a wrapper function to convert the dataset to the original type, pandas DataFrame or Series. :param dataset: The dataset to convert to original type. :type dataset: numpy.ndarray or scipy.sparse.csr_matrix :param keep_index_as_feature: Whether to keep the index as a feature when converting back. Off by default to convert it back to index. :type keep_index_as_feature: bool :return: A wrapper function for a given dataset to convert to original type. :rtype: numpy.ndarray or scipy.sparse.csr_matrix or pandas.DataFrame or pandas.Series """ if self._dataset_is_df: if len(dataset.shape) == 1: dataset = dataset.reshape(1, dataset.shape[0]) original_dtypes = self._original_dataset_with_type.dtypes output_types = dict(original_dtypes) dataframe = pd.DataFrame(dataset, columns=self._features) if not self._default_index: if keep_index_as_feature: # Add the index name to type as feature dtype for idx, name in enumerate(self._original_dataset_with_type.index.names): level_values_dtype = self._original_dataset_with_type.index.get_level_values(idx).dtype output_types.update({name: level_values_dtype}) else: dataframe = dataframe.set_index(self._default_index_cols) return dataframe.astype(output_types) elif self._dataset_is_series: return pd.Series(dataset) elif self._dataset_is_batch: if len(dataset.shape) == 1: dataset = dataset.reshape(1, dataset.shape[0]) df = pd.DataFrame(dataset, columns=self._features) tensor_slices = (dict(df), None) tf_dataset = tf.data.Dataset.from_tensor_slices(tensor_slices) batch_dataset = tf_dataset.batch(self._batch_size) return batch_dataset else: return dataset
(self, dataset, keep_index_as_feature=False)
[ -0.04301774129271507, -0.045487839728593826, 0.04157368093729019, 0.03188329190015793, -0.005253712646663189, 0.026183059439063072, -0.033992376178503036, 0.053164150565862656, 0.04142167791724205, -0.030610239133238792, -0.03608246147632599, 0.006773774046450853, -0.05780033767223358, -0.016160154715180397, 0.016863182187080383, 0.027399107813835144, -0.029888208955526352, 0.07425500452518463, 0.023769961670041084, -0.0022765295580029488, -0.004484181292355061, -0.004583935718983412, -0.022781921550631523, 0.003752651857212186, 0.0020651461090892553, 0.014212574809789658, 0.015438124537467957, -0.04655188322067261, 0.002011706354096532, -0.01786072365939617, -0.026107056066393852, -0.023845965042710304, -0.02352295257151127, 0.02485300600528717, -0.022154895588755608, -0.06418459862470627, -0.06262653321027756, 0.029337186366319656, 0.04807194694876671, -0.028159139677882195, -0.08162730187177658, -0.07170890271663666, -0.03811554238200188, -0.022667916491627693, -0.031142260879278183, 0.014279077760875225, -0.0054674712009727955, -0.03135126829147339, -0.016236156225204468, -0.029850207269191742, 0.012778016738593578, -0.03342235088348389, 0.023313943296670914, 0.05468421429395676, -0.037317510694265366, -0.012559507973492146, -0.028805166482925415, 0.030192222446203232, -0.02852015383541584, 0.04898398369550705, 0.0012884896714240313, 0.02511901594698429, -0.05137807875871658, 0.010421921499073505, 0.004987701773643494, 0.001980830216780305, -0.024796003475785255, -0.032434310764074326, -0.006189500447362661, 0.02485300600528717, -0.061144474893808365, -0.024073973298072815, 0.02928018569946289, 0.03397337347269058, 0.016369162127375603, -0.010754435323178768, 0.015428624115884304, -0.026240061968564987, 0.030553236603736877, 0.030933251604437828, -0.016540169715881348, -0.014041568152606487, -0.03526542708277702, -0.009804396890103817, -0.030629239976406097, -0.009063366800546646, -0.010564427822828293, 0.06433660537004471, -0.02072983793914318, -0.06331056356430054, -0.008336586877703667, 0.0016566294943913817, 0.006902029272168875, 0.020824842154979706, -0.004184919409453869, -0.044917818158864975, -0.016891684383153915, 0.0007754688849672675, -0.004493681713938713, -0.0014678094303235412, 0.006322505883872509, 0.07672510296106339, -0.00399016123265028, 0.044993821531534195, 0.010203412733972073, -0.04164968430995941, 0.04187769442796707, -0.03135126829147339, -0.03568344563245773, 0.0054674712009727955, -0.0820833221077919, -0.01901976950466633, 0.029907209798693657, 0.0054484703578054905, -0.015343121252954006, -0.030135219916701317, 0.003462890163064003, 0.012550007551908493, -0.0786631852388382, -0.012721015140414238, -0.0040566641837358475, 0.08489543199539185, 0.021166857331991196, -0.04054763913154602, -0.03256731852889061, 0.008013574406504631, 0.06536264717578888, 0.012207994237542152, 0.011333958245813847, 0.03154127672314644, -0.023826964199543, 0.00727254431694746, -0.030933251604437828, 0.12692514061927795, 0.05137807875871658, 0.008645350113511086, 0.0003794216027017683, 0.03669048473238945, -0.022078894078731537, 0.031484272330999374, 0.007172790355980396, -0.0015972520923241973, 0.07611708343029022, 0.010279416106641293, 0.031978294253349304, 0.0031968792900443077, 0.008013574406504631, -0.016293158754706383, -0.06817475706338882, -0.0338403694331646, -0.0037669024895876646, 0.004363051615655422, -0.012455004267394543, -0.02363695576786995, -0.030990254133939743, 0.014602091163396835, 0.007011283654719591, -0.09690392017364502, 0.014070069417357445, -0.031484272330999374, -0.045639846473932266, 0.0164546649903059, -0.037241507321596146, 0.0003619052586145699, -0.03241531178355217, 0.045525841414928436, -0.002248028526082635, -0.05111206695437431, -0.02409297414124012, 0.01622665673494339, 0.011599969118833542, 0.06300655007362366, 0.05099806189537048, 0.012474005110561848, -0.018658755347132683, 0.05734432116150856, 0.01462109200656414, -0.026791084557771683, 0.008944611996412277, 0.0397116057574749, 0.06300655007362366, 0.0026078554801642895, -0.10123609751462936, 0.014801599085330963, 0.01274951547384262, -0.00039871924673207104, -0.05510222911834717, -0.020254818722605705, 0.021755879744887352, 0.05438020080327988, 0.022496910765767097, 0.0334603525698185, 0.016663674265146255, 0.015058109536767006, 0.022287901490926743, -0.07581306993961334, -0.008141829632222652, 0.015561630018055439, -0.00019846897339448333, 0.067338727414608, 0.01380405854433775, -0.0003886251070071012, 0.08694751560688019, 0.016027148813009262, -0.060422446578741074, -0.016388162970542908, -0.008502843789756298, 0.008450591936707497, -0.06897278875112534, -0.029850207269191742, 0.004619562067091465, -0.0578763410449028, -0.0031422520987689495, 0.018573252484202385, 0.03834355250000954, -0.05073205381631851, -0.01725269854068756, -0.004997202195227146, 0.01076393574476242, -0.021926887333393097, 0.05099806189537048, -0.015343121252954006, -0.06403259187936783, 0.014554589055478573, 0.052898138761520386, -0.05020003020763397, 0.028235143050551414, 0.008792606182396412, 0.028577156364917755, -0.022553913295269012, -0.009429131634533405, -0.05909239128232002, -0.017072191461920738, -0.022477909922599792, 0.062360525131225586, -0.023541953414678574, 0.02504301257431507, 0.009562136605381966, 0.05669829249382019, -0.0035887702833861113, -0.03135126829147339, -0.008469592779874802, 0.02416897751390934, 0.006963782012462616, -0.07383698970079422, 0.007334296591579914, 0.02160387486219406, 0.030838247388601303, 0.00891611073166132, 0.010659431107342243, -0.017309701070189476, -0.03661448135972023, 0.0015735011547803879, 0.021432867273688316, 0.030534235760569572, -0.05008602514863014, 0.02920418232679367, -0.02802613377571106, 0.004968700930476189, -0.011086948215961456, -0.021793881431221962, 0.03889457508921623, 0.029717203229665756, 0.046095866709947586, -0.052290115505456924, -0.0794232115149498, 0.006046994589269161, 0.027209101244807243, 0.07220292091369629, 0.009666641242802143, 0.0211858581751585, 0.09120368957519531, -0.021850883960723877, -0.04191569611430168, 0.02050182968378067, -0.043815772980451584, 0.004959200508892536, -0.01603664830327034, 0.031636279076337814, 0.006132497917860746, -0.0281781405210495, -0.05187210068106651, -0.03439139202237129, -0.004700315184891224, -0.05761033296585083, -0.0003972348349634558, -0.001202392391860485, 0.009666641242802143, -0.00032954459311440587, -0.04111766442656517, -0.02034982293844223, 0.01737620308995247, 0.030895249918103218, 0.007358047645539045, -0.04624786972999573, 0.013756556436419487, -0.04066164419054985, -0.07661110162734985, 0.05578625574707985, 0.0025223521515727043, -0.05768633261322975, 0.006279753986746073, -0.001394181395880878, 0.030591238290071487, 0.017661213874816895, -0.043853774666786194, -0.01726219803094864, -0.04947800189256668, -0.033308349549770355, 0.044385794550180435, 0.01913377456367016, 0.02359895408153534, -0.03549343720078468, -0.01615065336227417, -0.004776318091899157, -0.03184529021382332, 0.006004243157804012, -0.0016815681010484695, 0.08497143536806107, 0.0677187368273735, -0.030078217387199402, -0.001548562664538622, 0.012093989178538322, 0.00709203677251935, 0.020444827154278755, 0.02451099269092083, 0.03165528178215027, -0.07265894114971161, 0.020254818722605705, 0.01859225146472454, 0.027817126363515854, 0.01006090734153986, 0.04195369780063629, 0.021052852272987366, -0.008982613682746887, -0.026164058595895767, 0.04259972274303436, -0.03140827268362045, 0.005153958685696125, 0.06502062827348709, -0.0029664949979633093, 0.01732870191335678, 0.03249131515622139, -0.0353604294359684, 0.002398847136646509, -0.009918401017785072, -0.010716433636844158, -0.029033174738287926, 0.04799594357609749, 0.06654069572687149, 0.02772212214767933, -0.07630708813667297, 0.006137248128652573, 0.0658186599612236, 0.020444827154278755, 0.011324457824230194, 0.00798032246530056, 0.015390622429549694, -0.04100365936756134, -0.031902290880680084, 0.044385794550180435, -0.03142727166414261, 0.043663766235113144, -0.012474005110561848, 0.01817423477768898, 0.02329494245350361, -0.0038999076932668686, -0.03817254304885864, -0.018155233934521675, 0.010136909782886505, 0.021470868960022926, 0.004192044492810965, 0.006759523414075375, 0.0013561798259615898, 0.01061192899942398, -0.027551114559173584, -0.08291935175657272, -0.0032990085892379284, -0.05935840308666229, 0.018383244052529335, -0.008621598593890667, -0.030002214014530182, 0.01977979950606823, 0.037469517439603806, 0.04632387310266495, -0.03638647124171257, 0.0025627287104725838, -0.03615846484899521, 0.004137417301535606, -0.04031963273882866, -0.04970601201057434, 0.009552636183798313, -0.007016033865511417, -0.021945888176560402, -0.0289381705224514, -0.052442122250795364, -0.044195789843797684, 0.028235143050551414, 0.04712190851569176, -0.04856596514582634, -0.06794674694538116, -0.03387837111949921, 0.030933251604437828, 0.029261184856295586, -0.041231669485569, 0.05495022237300873, 0.02897617220878601, -0.030458232387900352, -0.01751870848238468, 0.01955179125070572, 0.045449838042259216, 0.06832676380872726, -0.003546018386259675, 0.02015981636941433, 0.06460261344909668, 0.062018509954214096, 0.01372805517166853, 0.04309374466538429, 0.026715081185102463, 0.07630708813667297, 0.031788285821676254, 0.034220386296510696, -0.04062364250421524, 0.020900845527648926, -0.0022694042418152094, -0.0028833667747676373, 0.0009262874955311418, 0.028843166306614876, -0.018801260739564896, 0.0677187368273735, -0.01996980793774128, -0.06460261344909668, -0.061676494777202606, -0.003415388287976384, -0.009785396046936512, 0.029223183169960976, -0.017927225679159164, 0.030572237446904182, -0.0077048116363584995, 0.06475462019443512, 0.037355512380599976, 0.01015591062605381, 0.006887778639793396, -0.02939418889582157, -0.006640768609941006, -0.07623108476400375, -0.043815772980451584, 0.03431538864970207, -0.04183969274163246, -0.03638647124171257, 0.045715849846601486, 0.005966241471469402, 0.060232438147068024, 0.0052014603279531, 0.005823735613375902, 0.027437109500169754, -0.006735772360116243, -0.036139462143182755, 0.020938847213983536, 0.03718450292944908, 0.016834681853652, 0.001160828280262649, -0.011865979991853237, -0.0007059973431751132, 0.03309933841228485, -0.006075495854020119, -0.0022551538422703743, -0.04723590984940529, -0.022211898118257523, 0.016369162127375603, 0.08785955607891083, -0.019418785348534584, 0.045411836355924606, -0.07220292091369629, 0.04092765599489212, 0.04845196008682251, -0.07520504295825958, 0.012987025082111359, -0.022914927452802658, 0.0034320137929171324, -0.05115006864070892, -0.011010945774614811, 0.024225980043411255, 0.015381122007966042, -0.0169201847165823, 0.018126733601093292, -0.0010515737812966108, 0.034106381237506866, 0.010117909871041775, 0.05099806189537048, -0.016027148813009262, 0.05430419743061066, 0.06984682381153107, 0.021014850586652756, 0.02958419732749462, 0.03990161418914795, 0.059586409479379654, 0.04742591828107834, -0.0022765295580029488, 0.03551243618130684, 0.05495022237300873, -0.05164409056305885, -0.09006364643573761, 0.0006047588540241122, 0.04807194694876671, -0.02538502775132656, 0.005229961592704058, 0.03298533335328102, -0.04978201538324356, -0.0381915457546711, -0.07927120476961136, 0.01015591062605381, 0.036367472261190414, 0.02072983793914318, -0.008322336710989475, 0.010431421920657158, 0.023959970101714134, 0.006522013805806637, -0.03401137515902519, -0.0007992198225110769, -0.03271932527422905, 0.018535250797867775, -0.002598355058580637, -0.0007831879192963243, -0.010915941558778286, 0.044195789843797684, 0.007690561003983021, 0.014136572368443012, 0.0855034589767456, 0.02500501275062561, -0.030990254133939743, -0.008901860564947128, 0.04145967587828636, 0.019219277426600456, 0.009300876408815384, -0.023465950042009354, 0.02443498931825161, -0.030895249918103218, 0.052062105387449265, -0.027627117931842804, -0.008013574406504631, 0.01660667173564434, -0.0104029206559062, -0.045411836355924606, 0.025860046967864037, -0.02901417389512062, -0.004365426488220692, 0.03309933841228485, 0.02481500431895256, 0.0031588778365403414, -0.052404120564460754, 0.002790737897157669, 0.06566666066646576, 0.01233149878680706, -0.01233149878680706, 0.001548562664538622, -0.02848215214908123, 0.05730631947517395, 0.005400968715548515, -0.020862843841314316, -0.011818477883934975, -0.034106381237506866, 0.09363579005002975, -0.005795234348624945, -0.04677989333868027, 0.007913820445537567, 0.022268900647759438, 0.045981861650943756, -0.06258853524923325, -0.07440701127052307, 0.03448639437556267, -0.0372605063021183, 0.005315464921295643, -0.023123934864997864, -0.018791761249303818, 0.036747485399246216, -0.017689716070890427, -0.06452661007642746, -0.031123260036110878, -0.01618865504860878, -0.06247452646493912, 0.04860396683216095, -0.0004076258628629148, -0.001089575351215899, -0.02397897094488144, -0.02715209871530533, -0.0048333206214010715, 0.03788753226399422, -0.029793204739689827, -0.00937212910503149, 0.01034591905772686, 0.014241076074540615, -0.017081690952181816, -0.01178047712892294, 0.060384444892406464, 0.009424380958080292, -0.05476021766662598, -0.0020402076188474894, 0.06840276718139648, -0.01273051556199789, -0.045601844787597656, 0.00994690228253603, -0.04252371937036514, -0.02023581974208355, 0.024396987631917, -0.062056511640548706, -0.04290373623371124, 0.0012516756542026997, 0.05540624260902405, -0.0745210126042366, 0.020254818722605705, 0.04620986804366112, 0.032586317509412766, -0.009400630369782448, 0.022249899804592133, -0.0281781405210495, -0.06346257030963898, -0.037051498889923096, -0.025594035163521767, -0.05802834779024124, 0.02034982293844223, -0.01061192899942398, 0.01970379799604416, -0.0349804162979126, -0.03566444292664528, -0.026563074439764023, 0.01036491896957159, -0.04081365093588829, -0.004239546600729227, -0.006118247751146555, -0.014706594869494438, -0.044651806354522705, 0.04719790816307068, -0.03570244461297989, 0.06384257972240448, -0.03849555924534798, -0.006184750236570835, 0.04001561924815178, 0.04974401369690895, 0.03180728852748871, 0.015970146283507347, 0.013338539749383926, 0.03509442135691643, 0.001903639524243772, 0.022667916491627693, -0.11408061534166336, 0.02802613377571106, -0.03450539708137512, 0.03522742539644241, 0.026088055223226547, -0.02867216058075428, 0.051986102014780045, 0.01274951547384262, -0.0211858581751585, 0.06665469706058502, 0.06752873212099075, -0.01372805517166853, 0.006046994589269161, 0.02492900937795639, -0.012360000051558018, 0.003375011496245861, 0.011685472913086414, 0.02500501275062561, -0.0024202228523790836, 0.0046409377828240395, 0.0008235645946115255, -0.030781244859099388, 0.03513242304325104, 0.04746391996741295, -0.023237939924001694, -0.02038782462477684, 0.06471662223339081, -0.04902198538184166, -0.005894988309592009, 0.03532242774963379, -0.030496234074234962, -0.011979985050857067, -0.015048609115183353, -0.03646247461438179, -0.012569008395075798, -0.0030543736647814512, 0.06494462490081787, -0.03699449822306633, 0.03822954744100571, -0.03634846955537796, -0.07881519198417664, -0.010697432793676853, -0.020710838958621025, -0.01752820983529091, -0.08238733559846878, 0.05191010236740112, -0.011058447882533073, 0.019646795466542244, -0.021432867273688316, -0.06262653321027756, -0.02924218401312828, -0.03826754912734032, -0.00985189899802208, -0.03401137515902519, 0.06502062827348709, -0.027019092813134193, -0.009505135007202625, 0.00031737220706418157, 0.04050963744521141, 0.10458023101091385, 0.006027993746101856, -0.031826287508010864, -0.015333620831370354, 0.011533467099070549, -0.019684797152876854, 0.022173896431922913, -0.006726272404193878, 0.026392068713903427, 0.04856596514582634, -0.028273144736886024, -0.045069824904203415, -0.07664909958839417, 0.01931428164243698, 0.0021221484057605267, 0.04073764756321907, 0.04202970117330551, -0.04107966274023056, 0.052024103701114655, 0.06752873212099075, -0.017205195501446724, 0.03868556395173073, -0.002481975359842181, 0.030591238290071487, 0.02473900094628334, -0.04126967117190361, 0.05658429116010666, 0.0023430322762578726, 0.028729163110256195, -0.0020675212144851685, 0.01204648707062006, 0.005424719303846359, 0.03756451979279518, -0.012968025170266628, 0.014231575652956963, -0.022439908236265182, -0.03813454136252403, 0.03203529492020607, -0.04229571297764778, 0.021014850586652756, -0.018687255680561066, -0.020786840468645096, 0.026506071910262108, 0.006113497540354729, 0.009861399419605732, -0.0381915457546711, 0.03490441292524338, -0.0040257880464196205, -0.071480892598629, -0.053620170801877975, 0.09150770306587219, -0.0024701000656932592, 0.0017338201869279146, 0.02734210714697838, -0.017547210678458214, -0.0283681470900774, 0.010003904812037945, -0.02707609534263611, 0.011770976707339287, -0.008194081485271454, -0.04244771599769592, 0.00509695615619421, 0.001239800127223134, 0.04309374466538429 ]
54,967
ml_wrappers.model.model_wrapper
wrap_model
If needed, wraps the model in a common API based on model task and prediction function contract. :param model: The model to evaluate on the examples. :type model: model with a predict or predict_proba function. :param examples: The model evaluation examples. Note the examples will be wrapped in a DatasetWrapper, if not wrapped when input. :type examples: ml_wrappers.DatasetWrapper or numpy.ndarray or pandas.DataFrame or panads.Series or scipy.sparse.csr_matrix or shap.DenseData or torch.Tensor :param model_task: Optional parameter to specify whether the model is a classification or regression model. In most cases, the type of the model can be inferred based on the shape of the output, where a classifier has a predict_proba method and outputs a 2 dimensional array, while a regressor has a predict method and outputs a 1 dimensional array. :param classes: optional parameter specifying a list of class names the dataset :type classes: list or np.ndarray :param num_classes: optional parameter specifying the number of classes in the dataset :type num_classes: int :type model_task: str :param device: optional parameter specifying the device to move the model to. If not specified, then cpu is the default :type device: str, for instance: 'cpu', 'cuda' :return: The wrapper model. :rtype: model
def wrap_model(model, examples, model_task: str = ModelTask.UNKNOWN, num_classes: int = None, classes: Union[list, np.array] = None, device=Device.AUTO.value): """If needed, wraps the model in a common API based on model task and prediction function contract. :param model: The model to evaluate on the examples. :type model: model with a predict or predict_proba function. :param examples: The model evaluation examples. Note the examples will be wrapped in a DatasetWrapper, if not wrapped when input. :type examples: ml_wrappers.DatasetWrapper or numpy.ndarray or pandas.DataFrame or panads.Series or scipy.sparse.csr_matrix or shap.DenseData or torch.Tensor :param model_task: Optional parameter to specify whether the model is a classification or regression model. In most cases, the type of the model can be inferred based on the shape of the output, where a classifier has a predict_proba method and outputs a 2 dimensional array, while a regressor has a predict method and outputs a 1 dimensional array. :param classes: optional parameter specifying a list of class names the dataset :type classes: list or np.ndarray :param num_classes: optional parameter specifying the number of classes in the dataset :type num_classes: int :type model_task: str :param device: optional parameter specifying the device to move the model to. If not specified, then cpu is the default :type device: str, for instance: 'cpu', 'cuda' :return: The wrapper model. :rtype: model """ if model_task == ModelTask.UNKNOWN and _is_transformers_pipeline(model): # TODO: can we also dynamically figure out the task if it was # originally unknown for text scenarios? raise ValueError("ModelTask must be specified for text-based models") if model_task in text_model_tasks: return _wrap_text_model(model, examples, model_task, False)[0] if model_task in image_model_tasks: return _wrap_image_model(model, examples, model_task, False, num_classes, classes, device)[0] return _wrap_model(model, examples, model_task, False)[0]
(model, examples, model_task: str = <ModelTask.UNKNOWN: 'unknown'>, num_classes: Optional[int] = None, classes: Union[list, <built-in function array>, NoneType] = None, device='auto')
[ 0.06088100001215935, -0.05726619064807892, -0.05357528105378151, 0.0015517520951107144, -0.012347428128123283, -0.013745788484811783, -0.03357967734336853, 0.009165444411337376, 0.0027229979168623686, -0.0016123952809721231, 0.027282297611236572, 0.004387712571769953, -0.01301331352442503, -0.010540023446083069, 0.022316692396998405, 0.05357528105378151, -0.0010190432658419013, -0.0314488410949707, 0.06426750868558884, -0.03493047505617142, 0.05924482271075249, -0.02081369236111641, -0.013907503336668015, 0.005117808934301138, 0.04375821724534035, 0.021536653861403465, -0.01664714887738228, 0.0004372849070932716, 0.06057659536600113, -0.030250247567892075, -0.0017871903255581856, 0.026292981579899788, -0.05216740816831589, 0.017921844497323036, 0.008727862499654293, -0.03230497986078262, 0.008689811453223228, 0.0703556090593338, -0.06868137419223785, -0.033750902861356735, 0.011662516742944717, -0.05304257199168205, 0.029089702293276787, -0.03491144999861717, 0.0029108726885169744, 0.01930117979645729, 0.014040680602192879, 0.013802864588797092, 0.030630752444267273, -0.06860527396202087, -0.038925789296627045, -0.020357083529233932, -0.006711178924888372, 0.008509070612490177, -0.03677592799067497, -0.05011267215013504, -0.054488494992256165, 0.03190544992685318, -0.0018549679080024362, -0.008242717012763023, 0.008994216099381447, 0.00906556099653244, 0.008556634187698364, 0.0822654515504837, -0.008561390452086926, 0.0718395784497261, 0.013308205641806126, -0.03327527269721031, -0.002799099078401923, 0.014050193130970001, -0.0770525187253952, -0.044176775962114334, -0.018102584406733513, 0.03841210529208183, 0.051025886088609695, -0.03926824405789375, -0.004390090703964233, -0.038735534995794296, 0.03930629417300224, 0.008247473277151585, -0.04779158532619476, 0.0012687505222856998, -0.02077564038336277, -0.050949785858392715, -0.0532328225672245, -0.036395423114299774, 0.025303665548563004, -0.007148761302232742, 0.027320347726345062, -0.02695886790752411, -0.06708325445652008, 0.01988145150244236, 0.010568561032414436, 0.010197567753493786, 0.04645981267094612, 0.011852770112454891, -0.035310979932546616, -0.002492315834388137, -0.045736849308013916, -0.023610413074493408, 0.018540166318416595, 0.02654031105339527, -0.03141079097986221, -0.056048572063446045, -0.02777695655822754, -0.09284352511167526, -0.08097173273563385, 0.005346112884581089, -0.03251425921916962, 0.020300008356571198, -0.004406738094985485, 0.04687837138772011, -0.08142833411693573, 0.00789550505578518, 0.017684027552604675, 0.037175461649894714, -0.003034537425264716, -0.010178541764616966, -0.04314940795302391, 0.010387820191681385, -0.02956533618271351, 0.01918702758848667, -0.05711398646235466, -0.06818672269582748, -0.022830374538898468, 0.06065269559621811, 0.03664275258779526, 0.03163909539580345, 0.025379767641425133, -0.02598857693374157, -0.05886431783437729, -0.044214826077222824, 0.03247620910406113, 0.07100246846675873, 0.014345085248351097, 0.0340743362903595, -0.057989154011011124, 0.051292240619659424, -0.012356940656900406, 0.06004388630390167, -0.010578073561191559, 0.045470498502254486, 0.047144725918769836, 0.025646120309829712, 0.03938239812850952, -0.0342455618083477, 0.01599077507853508, -0.04973216727375984, 0.0008906224393285811, 0.018235761672258377, -0.006287865806370974, 0.011624465696513653, 0.08272206038236618, -0.024789981544017792, -0.018492603674530983, 0.07130686938762665, 0.001887073158286512, -0.042616698890924454, 0.02490413375198841, -0.032780613750219345, -0.006787280086427927, -0.028861399739980698, 0.06377284973859787, -0.02229766547679901, 0.024542653933167458, 0.01221425086259842, -0.05365138128399849, 0.0299648679792881, 0.020756615325808525, 0.04006730765104294, -0.015153661370277405, 0.02182203345000744, 0.020300008356571198, -0.006811061874032021, -0.006658859550952911, 0.033865056931972504, 0.04082832112908363, -0.05056928098201752, -0.006283109541982412, 0.04288305342197418, -0.011500800959765911, 0.034055307507514954, -0.04516609013080597, 0.024656804278492928, -0.06263133138418198, 0.049199458211660385, -0.015010971575975418, 0.0007229618495330215, -0.06042439118027687, -0.04699252173304558, -0.02688276581466198, 0.02092784456908703, 0.04273085296154022, 0.00811429601162672, -0.06320209056138992, 0.007367552258074284, -0.020300008356571198, 0.02408604510128498, 0.012994288466870785, 0.0640392005443573, -0.018930185586214066, -0.009217764250934124, 0.0554778128862381, 0.034017257392406464, -0.011824231594800949, 0.005450752098113298, -0.024257272481918335, -0.0038835417944937944, -0.05859796330332756, -0.0770525187253952, 0.02222156524658203, 0.009969263337552547, -0.039001889526844025, 0.04143713042140007, 0.08325476944446564, 0.07625345140695572, 0.004159409087151289, 0.03435971587896347, -0.043872371315956116, -0.030212195590138435, -0.014563876204192638, 0.010559048503637314, -0.05836965888738632, 0.03481632098555565, 0.0093985041603446, -0.044062621891498566, 0.023172831162810326, -0.01344138290733099, 0.012119123712182045, -0.07492168247699738, -0.00772427674382925, -0.018739933148026466, -0.022906476631760597, -0.005369894206523895, -0.015315376222133636, -0.0431874580681324, -0.04821014031767845, -0.02050928771495819, 0.0837874785065651, 0.002530366647988558, 0.027643779292702675, -0.012708908878266811, -0.022868424654006958, 0.0006569678080268204, 0.02595052681863308, -0.0005588685744442046, -0.023743590340018272, -0.028975550085306168, -0.010920529253780842, -0.027282297611236572, -0.006796793080866337, 0.0020797045435756445, -0.0021950453519821167, 0.027092045173048973, 0.019072875380516052, 0.034568991512060165, 0.044024571776390076, -0.0993882343173027, 0.03255230933427811, 0.003017890267074108, -0.03637639805674553, -0.05319477245211601, 0.013859939761459827, 0.03744181618094444, -0.004380578175187111, -0.06095710024237633, -0.01161495316773653, 0.02408604510128498, 0.05551586300134659, 0.005222448147833347, 0.13713444769382477, 0.05901651829481125, -0.04436703026294708, -0.024770956486463547, 0.02007170394062996, -0.0031367982737720013, 0.010958580300211906, -0.018473578616976738, 0.02174593135714531, -0.04166543483734131, -0.00838540680706501, -0.06343039125204086, 0.00025000449386425316, -0.04288305342197418, 0.012613781727850437, -0.029470209032297134, 0.007828916423022747, 0.023705540224909782, 0.021270299330353737, 0.002563660964369774, -0.0012461579171940684, 0.0011712458217516541, 0.008318818174302578, -0.05673348158597946, -0.07362795621156693, -0.06335429102182388, -0.04642176255583763, 0.025931501761078835, 0.03778427094221115, -0.06723545491695404, -0.03926824405789375, 0.05376553162932396, 0.08530949801206589, 0.030992234125733376, 0.02155567891895771, -0.02606467716395855, 0.004076173063367605, -0.06027219071984291, -0.03991510719060898, -0.030478550121188164, 0.020984919741749763, 0.0314488410949707, 0.03205765038728714, -0.051216140389442444, 0.02342015877366066, 0.04124687612056732, 0.05897846817970276, 0.04604125767946243, 0.023439185693860054, 0.014307035133242607, 0.016162002459168434, 0.013945554383099079, 0.01420239545404911, 0.033827006816864014, 0.03373187780380249, 0.004946581088006496, -0.0072486442513763905, -0.018854085355997086, 0.003524439176544547, 0.014801693148911, 0.022887451574206352, 0.045812953263521194, 0.02058538794517517, 0.05521145835518837, -0.06929019093513489, -0.01976729929447174, 0.026331031695008278, -0.014440212398767471, 0.004237888380885124, 0.06856722384691238, 0.029774613678455353, -0.049123357981443405, -0.04040976241230965, 0.02832869067788124, 0.012689883820712566, 0.005745644215494394, 0.0316581204533577, 0.05528755858540535, 0.012927699834108353, -0.07682421058416367, -0.0029893522150814533, 0.015924187377095222, -0.011110782623291016, 0.034378740936517715, -0.04828624427318573, 0.023325033485889435, -0.023248931393027306, -0.033827006816864014, 0.04482363536953926, -0.033560652285814285, -0.018026484176516533, 0.002168885665014386, -0.025512943044304848, 0.0208517424762249, -0.023210881277918816, 0.0004063687811139971, 0.021232249215245247, 0.0008620844455435872, 0.015695882961153984, 0.04025756195187569, -0.00022354742395691574, -0.03152494132518768, 0.05863601341843605, 0.05037902668118477, -0.01918702758848667, 0.014953895471990108, -0.025589045137166977, 0.009564976207911968, -0.03529195487499237, -0.015572218224406242, -0.006492387969046831, 0.0030012431088835, 0.06259328126907349, 0.002148671308532357, 0.04977021738886833, -0.03949654847383499, 0.003688532393425703, 0.027910133823752403, -0.04037171229720116, -0.00809051375836134, 0.020832717418670654, -0.04870479926466942, -0.03683300316333771, -0.01976729929447174, -0.03411238640546799, 0.009807548485696316, -0.033085018396377563, 0.056048572063446045, -0.042198143899440765, -0.07241033762693405, -0.013222591951489449, 0.002699216129258275, 0.055972468107938766, 0.004468570463359356, -0.029869740828871727, 0.07008925080299377, -0.03494950011372566, -0.014288010075688362, 0.002080893609672785, -0.04120882600545883, -0.008081001229584217, 0.008794451132416725, -0.026331031695008278, -0.009931213222444057, -0.01953899674117565, 0.0904843881726265, -0.04710667207837105, 0.020357083529233932, 0.0020749480463564396, -0.04166543483734131, 0.021308349445462227, 0.014059705659747124, 0.036319322884082794, -0.01221425086259842, -0.021974235773086548, 0.013412845320999622, 0.004889505449682474, 0.05015072226524353, 0.014849256724119186, 0.000397747935494408, 0.036129068583250046, -0.013165515847504139, -0.009660102427005768, -0.03734668716788292, 0.021879108622670174, 0.017493775114417076, 0.058065254241228104, -0.020832717418670654, 0.012280839495360851, -0.008413944393396378, -0.02353431098163128, -0.031924474984407425, 0.008033438585698605, 0.00045482386485673487, -0.02673056349158287, -0.01793135702610016, -0.011110782623291016, -0.00028121788636781275, -0.016856426373124123, 0.004737302660942078, 0.049503862857818604, 0.010045365430414677, 0.05007462203502655, 0.06681689620018005, 0.039001889526844025, -0.03770817071199417, 0.049275558441877365, 0.00793831143528223, -0.007952580228447914, 0.026711538434028625, 0.008456751704216003, -0.024847058579325676, 0.07290499657392502, -0.01630469225347042, -0.005003657191991806, 0.03618614375591278, 0.06457190960645676, -0.07271474599838257, -0.021764958277344704, -0.04478558525443077, 0.051101990044116974, -0.0006450769724324346, 0.061565909534692764, 0.07747106999158859, -0.06906188279390335, 0.04109467566013336, 0.0461554080247879, -0.02136542648077011, -0.0023091973271220922, -0.0390779934823513, 0.050911735743284225, -0.03430263698101044, 0.036205168813467026, 0.01607638970017433, -0.04451923072338104, 0.03675690293312073, 0.04139908030629158, -0.023705540224909782, 0.07393236458301544, -0.023401133716106415, -0.010777839459478855, 0.052776217460632324, 0.06008193641901016, 0.010226105339825153, -0.040714167058467865, -0.003698045155033469, 0.02848089300096035, 0.00643055560067296, 0.019282154738903046, -0.006045293062925339, 0.07168737798929214, -0.026121754199266434, 0.012604269199073315, -0.08553780615329742, 0.011415187269449234, 0.019634122028946877, -0.01969119906425476, -0.03198155015707016, -0.014991946518421173, 0.0009625619277358055, -0.04155128076672554, 0.036547623574733734, 0.0007984685944393277, -0.0242001973092556, -0.04124687612056732, -0.056010518223047256, -0.009969263337552547, -0.021726906299591064, 0.014326060190796852, -0.014078731648623943, 0.012623295187950134, 0.05186300352215767, 0.020280983299016953, 0.052433762699365616, -0.010578073561191559, 0.001677794731222093, 0.0022973064333200455, 0.007947823964059353, 0.03961069881916046, 0.026977892965078354, -0.0030107556376606226, -0.052700117230415344, -0.026521285995841026, 0.04075222089886665, 0.00896567851305008, -0.04090442135930061, -0.07324745506048203, -0.056162722408771515, -0.03968680277466774, -0.04124687612056732, -0.008428213186562061, -0.010711250826716423, -0.02178398333489895, 0.018587730824947357, 0.015524654649198055, -0.007857454009354115, 0.01459241472184658, 0.042312294244766235, -0.09063658863306046, 0.016599584370851517, -0.04642176255583763, -0.0001067201083060354, 0.03000291809439659, 0.017103755846619606, -0.0018656697357073426, 0.022316692396998405, -0.02353431098163128, 0.015201224945485592, 0.03255230933427811, 0.024409476667642593, 0.004209350328892469, -0.03004096820950508, 0.008865796029567719, -0.04349186271429062, 0.006135663483291864, 0.02825258858501911, -0.002209314377978444, -0.0435679666697979, -0.05932092294096947, -0.03430263698101044, 0.01829283870756626, 0.04349186271429062, 0.07990631461143494, 0.013336744159460068, 0.00011296279262751341, 0.008875308558344841, 0.013917015865445137, 0.013203566893935204, 0.0038383568171411753, -0.0340743362903595, -0.04626955837011337, 0.02264012210071087, -0.02863309532403946, -0.027225222438573837, 0.06168006360530853, -0.08926676958799362, 0.02665446326136589, 0.006796793080866337, -0.007101197727024555, 0.017255958169698715, 0.021688856184482574, 0.05060733109712601, -0.004294964484870434, 0.0435679666697979, 0.045660749077796936, -0.017455724999308586, -0.09535486251115799, -0.038925789296627045, -0.0366617776453495, 0.04349186271429062, -0.024770956486463547, 0.0192631296813488, 0.03376992791891098, -0.06856722384691238, -0.005964435636997223, -0.0025208538863807917, -0.11605440825223923, -0.04813404008746147, -0.008161858655512333, -0.00453278049826622, 0.018045509234070778, -0.02088979259133339, 0.012366453185677528, 0.009493631310760975, 0.02933703176677227, 0.0037765244487673044, -0.0465359129011631, 0.012575731612741947, 0.0214034765958786, -0.06537097692489624, 0.12503434717655182, 0.00492279976606369, 0.034530941396951675, -0.0141453193500638, -0.054564595222473145, 0.04174153506755829, 0.00006212953303474933, -0.03919214382767677, -0.009317646734416485, -0.022773299366235733, 0.0366617776453495, 0.014887306839227676, 0.07960190623998642, 0.030954184010624886, 0.035310979932546616, -0.03418848663568497, 0.03137274086475372, 0.004732546396553516, 0.03926824405789375, -0.054564595222473145, -0.05894041806459427, -0.005997729953378439, 0.03243815898895264, 0.0008995405514724553, 0.003755121026188135, -0.05007462203502655, 0.021803008392453194, 0.008261742070317268, 0.0035720025189220905, -0.009346184320747852, -0.07168737798929214, 0.03361772745847702, 0.016123952344059944, -0.047220826148986816, 0.0269969180226326, -0.016200054436922073, -0.010625637136399746, -0.036985207349061966, 0.014487775042653084, -0.014991946518421173, -0.04809598997235298, 0.020794667303562164, -0.006592270918190479, 0.018739933148026466, -0.0000957954180194065, 0.005222448147833347, -0.0013614989584311843, 0.021460551768541336, -0.009855112060904503, -0.011957408860325813, 0.006677884608507156, -0.02777695655822754, -0.03247620910406113, 0.00914641935378313, 0.00040934147546067834, 0.013022826053202152, 0.03774622082710266, -0.013821889646351337, -0.06487631797790527, -0.024143122136592865, 0.0060738311149179935, -0.017141805961728096, -0.027929158881306648, 0.0532328225672245, 0.018273811787366867, 0.04322550818324089, -0.009265326894819736, 0.008737375028431416, -0.028309665620326996, -0.0242001973092556, 0.04113272577524185, 0.059587277472019196, 0.0017990811029449105, -0.07389431446790695, -0.04482363536953926, -0.03491144999861717, -0.06636028736829758, -0.0210419949144125, 0.01564832031726837, 0.0072486442513763905, 0.03318014368414879, -0.01568637043237686, -0.02170788124203682, -0.02264012210071087, 0.010968092828989029, 0.018530653789639473, -0.05517340451478958, -0.0039144582115113735, -0.04200788959860802, -0.08766864240169525, 0.037061307579278946, 0.022963551804423332, 0.06506656855344772, -0.04337771236896515, 0.01638079434633255, -0.0005496531957760453, 0.014078731648623943, 0.02174593135714531, -0.01852114126086235, -0.011120295152068138, 0.04086637124419212, 0.013136978261172771, 0.030573677271604538, -0.055820267647504807, -0.016761301085352898, -0.023591388016939163, -0.019824376329779625, 0.011082244105637074, 0.04269280284643173, 0.02572222240269184, 0.033903107047080994, 0.016980091109871864, -0.01692301593720913, 0.035577334463596344, 0.009603026323020458, 0.002132024150341749, 0.009227276779711246, -0.00664459029212594, -0.025531969964504242, -0.019862426444888115, 0.03580563887953758, 0.0019108548294752836, -0.0201097559183836, -0.06917603313922882, -0.023248931393027306, -0.021688856184482574, 0.010711250826716423, -0.011786181479692459, 0.012870623730123043, -0.025379767641425133, 0.019110925495624542, 0.004654067102819681, 0.003717070445418358, 0.008318818174302578, 0.10022534430027008, 0.014506801031529903, 0.0009946670616045594, -0.00936045404523611, 0.017493775114417076, 0.010121466591954231, -0.005108296405524015, -0.01742718555033207, 0.007762327324599028, 0.005774182267487049, 0.04531829431653023, -0.00545550836250186, 0.012613781727850437, 0.046003203839063644 ]
54,968
scrypt.scrypt
decrypt
Decrypt a string using a password. Notes for Python 2: - `input` and `password` must be str instances - The result will be a str instance - The encoding parameter is ignored Notes for Python 3: - `input` and `password` can be both str and bytes. If they are str instances, they wil be encoded with utf-8. `input` *should* really be a bytes instance, since that's what `encrypt` returns. - The result will be a str instance encoded with `encoding`. If encoding=None, the result will be a bytes instance. Exceptions raised: - TypeError on invalid input - scrypt.error if decryption failed For more information on the `maxtime`, `maxmem`, and `maxmemfrac` parameters, see the scrypt documentation.
def decrypt( input, password, maxtime=MAXTIME_DEFAULT, maxmem=MAXMEM_DEFAULT, maxmemfrac=MAXMEMFRAC_DEFAULT, encoding='utf-8', ): """Decrypt a string using a password. Notes for Python 2: - `input` and `password` must be str instances - The result will be a str instance - The encoding parameter is ignored Notes for Python 3: - `input` and `password` can be both str and bytes. If they are str instances, they wil be encoded with utf-8. `input` *should* really be a bytes instance, since that's what `encrypt` returns. - The result will be a str instance encoded with `encoding`. If encoding=None, the result will be a bytes instance. Exceptions raised: - TypeError on invalid input - scrypt.error if decryption failed For more information on the `maxtime`, `maxmem`, and `maxmemfrac` parameters, see the scrypt documentation. """ outbuf = create_string_buffer(len(input)) outbuflen = pointer(c_size_t(0)) input = _ensure_bytes(input) password = _ensure_bytes(password) # verbose and force are set to zero result = _scryptdec_buf( input, len(input), outbuf, outbuflen, password, len(password), maxmem, maxmemfrac, maxtime, 0, 0, ) if result: raise error(result) out_bytes = outbuf.raw[: outbuflen.contents.value] if encoding is None: return out_bytes return str(out_bytes, encoding)
(input, password, maxtime=300.0, maxmem=0, maxmemfrac=0.5, encoding='utf-8')
[ 0.06882371008396149, 0.002110742963850498, 0.0373191237449646, 0.03956814482808113, -0.024739233776926994, -0.030224651098251343, -0.01010231114923954, 0.014079238288104534, 0.020058343186974525, -0.04819853603839874, 0.039970409125089645, 0.051050953567028046, -0.04560210555791855, 0.022746197879314423, 0.054086219519376755, 0.0609612762928009, -0.01881498284637928, -0.018924690783023834, 0.011144540272653103, -0.04399304836988449, 0.030882902443408966, -0.01930866949260235, 0.033570755273103714, 0.04256683960556984, -0.03629517927765846, 0.030809761956334114, 0.028103623539209366, -0.005933393258601427, -0.044431883841753006, 0.0033506760373711586, 0.048491090536117554, 0.051599495112895966, -0.006193950772285461, 0.04391990974545479, -0.018888121470808983, -0.005937964655458927, 0.032235972583293915, -0.00304212118498981, -0.03713627904653549, -0.036075763404369354, -0.0124518983066082, 0.013311279937624931, 0.016264263540506363, 0.03243710473179817, -0.014536356553435326, -0.005896823946386576, -0.046626050025224686, -0.04450502246618271, -0.02792077511548996, 0.011263391003012657, 0.022343935444951057, -0.027024824172258377, -0.008529824204742908, 0.0554027184844017, 0.03953157737851143, -0.013247284106910229, -0.0442490354180336, -0.005517416168004274, 0.04201829805970192, -0.02792077511548996, -0.00795842707157135, -0.049624744802713394, -0.009389206767082214, 0.01641054078936577, -0.07156641781330109, 0.02216108702123165, 0.02678712271153927, -0.04326166212558746, 0.0159168541431427, -0.02186853252351284, -0.03260166570544243, 0.027317380532622337, -0.0415428951382637, 0.008836093358695507, 0.023075323551893234, -0.011793647892773151, 0.062387485057115555, 0.00012956441787537187, -0.04516327381134033, -0.035764921456575394, 0.02633000537753105, -0.04450502246618271, -0.022014809772372246, 0.022892476990818977, -0.021466268226504326, -0.030498921871185303, 0.028396178036928177, 0.023075323551893234, -0.014408363960683346, -0.024538101628422737, -0.03817850723862648, -0.023715289309620857, 0.010431435890495777, 0.1107322946190834, -0.072041817009449, -0.030645200982689857, 0.013055293820798397, 0.083012655377388, -0.021118858829140663, 0.031340017914772034, 0.030901186168193817, 0.038544200360774994, -0.007944713346660137, -0.011144540272653103, -0.012342189438641071, -0.015148894861340523, -0.038032229989767075, 0.02409926801919937, 0.053501106798648834, -0.08557251840829849, -0.0159168541431427, 0.013439273461699486, -0.016849374398589134, -0.028889866545796394, -0.027536796405911446, 0.05467132851481438, -0.04194515943527222, -0.03459469974040985, 0.011446238495409489, 0.0003548379463609308, -0.014582068659365177, 0.0041460613720119, -0.00746931042522192, -0.016785377636551857, 0.03430214524269104, 0.05357424542307854, -0.05086810514330864, 0.0019073254661634564, 0.020369185134768486, 0.05393994227051735, -0.020369185134768486, 0.013320422731339931, 0.047979120165109634, 0.05953506752848625, 0.012497610412538052, 0.01759904809296131, 0.03671572729945183, 0.0496978834271431, -0.014508930034935474, 0.02954811602830887, 0.019235530868172646, 0.04896649345755577, 0.02845103293657303, 0.0015713436296209693, 0.015276888385415077, -0.033077068626880646, 0.057962581515312195, -0.09200873970985413, -0.010202877223491669, 0.035545505583286285, 0.011565089225769043, -0.024245545268058777, -0.021118858829140663, -0.04783284291625023, 0.0691162645816803, 0.02298389934003353, -0.03102917969226837, 0.007620159536600113, -0.01190335676074028, -0.03433871641755104, 0.0005465418798848987, -0.012936443090438843, -0.04114063084125519, -0.014225516468286514, 0.0414331890642643, -0.025287775322794914, 0.07920943200588226, -0.008424687199294567, -0.005864825565367937, 0.013841536827385426, -0.0469551756978035, 0.0028752731159329414, -0.009745758958160877, -0.013640405610203743, 0.002374728675931692, -0.03538094460964203, 0.0018010454950854182, -0.03561864420771599, -0.008639533072710037, -0.0388001874089241, -0.03920245170593262, -0.017242496833205223, -0.03850763291120529, 0.02239878848195076, 0.0013233569916337729, -0.000003348033260408556, -0.004959731828421354, 0.07152984291315079, -0.0015633440343663096, -0.05982762202620506, -0.06962823867797852, -0.012223338708281517, -0.011144540272653103, -0.05031956359744072, -0.07840490341186523, -0.020826302468776703, -0.007318461313843727, 0.01910753734409809, -0.013576408848166466, 0.006893341429531574, -0.022471927106380463, 0.03102917969226837, 0.03150458261370659, -0.09369093179702759, 0.00995603296905756, -0.04534611850976944, -0.030060088261961937, -0.007039619144052267, -0.0386904776096344, -0.01216848473995924, 0.006532218307256699, 0.02323988638818264, 0.04933219030499458, -0.02687854692339897, 0.007323032710701227, 0.03898303583264351, 0.08118417859077454, 0.02243535779416561, 0.03752025589346886, 0.029237275943160057, 0.0186778474599123, 0.026220297440886497, -0.04512670263648033, 0.012881589122116566, -0.043298229575157166, -0.00878123939037323, -0.011839359998703003, 0.05174577236175537, 0.02707967907190323, -0.04874707758426666, 0.05840141326189041, -0.029493262991309166, 0.051050953567028046, 0.048527661710977554, -0.006395082920789719, -0.02799391560256481, -0.054415345191955566, -0.04838138446211815, -0.052989136427640915, -0.00982804037630558, 0.006687638349831104, -0.0030558346770703793, -0.006495648995041847, 0.07781979441642761, 0.03631346672773361, 0.010751418769359589, -0.04476100951433182, 0.03622204065322876, 0.0026695700362324715, -0.001854756847023964, 0.0049505895003676414, 0.0065276469103991985, -0.022545067593455315, -0.03825164586305618, 0.02989552728831768, -0.007807577960193157, -0.0007405313663184643, -0.0023038755171000957, -0.004372335039079189, 0.019802358001470566, 0.025598615407943726, -0.06933567672967911, -0.06944538652896881, -0.010413151234388351, 0.07101787626743317, -0.07540620863437653, -0.05949849635362625, -0.011994780041277409, 0.03656945005059242, -0.029438408091664314, -0.005585983861237764, -0.03243710473179817, 0.005499131046235561, 0.02770135924220085, -0.009562911465764046, -0.009252071380615234, 0.050721827894449234, 0.017516767606139183, 0.1132921576499939, -0.025507193058729172, -0.004923162516206503, -0.010815415531396866, -0.034722693264484406, -0.023130178451538086, 0.030590346083045006, 0.009626908227801323, -0.03130345046520233, -0.07098130136728287, 0.06582501530647278, 0.058474551886320114, 0.056060969829559326, -0.07098130136728287, -0.01987549662590027, 0.003848934778943658, -0.01816587522625923, -0.0013073579175397754, -0.025086643174290657, -0.06578844040632248, 0.026933399960398674, -0.03020636737346649, -0.04783284291625023, -0.00242272624745965, 0.035582076758146286, 0.022892476990818977, -0.01216848473995924, -0.02596431039273739, -0.03437528386712074, -0.05690206587314606, -0.0159168541431427, -0.020131483674049377, 0.03578320890665054, -0.015276888385415077, -0.026366574689745903, -0.014636922627687454, -0.03229082375764847, 0.019473232328891754, 0.0066784960217773914, -0.03519809618592262, 0.008886376395821571, -0.011546804569661617, 0.011885072104632854, -0.06567873805761337, -0.017023079097270966, -0.04253027215600014, 0.0012433613883331418, -0.00953548401594162, 0.009508057497441769, 0.030572060495615005, 0.08067221194505692, -0.008950373157858849, -0.02078973315656185, 0.02131999097764492, 0.03543579950928688, -0.05485417693853378, -0.03289422020316124, -0.028981290757656097, -0.036679159849882126, -0.05576841160655022, 0.008630390278995037, -0.0032546811271458864, 0.0830857902765274, -0.05284285545349121, 0.015395739115774632, 0.004655748140066862, -0.054086219519376755, 0.03210797905921936, -0.0022993043530732393, 0.03675229847431183, -0.019838927313685417, -0.01761733368039131, 0.02543405257165432, 0.014838054776191711, -0.0345032773911953, 0.008612105622887611, -0.08922946453094482, 0.04922248050570488, 0.01941837929189205, -0.019235530868172646, -0.0009982316987589002, -0.04922248050570488, -0.02633000537753105, 0.04125034064054489, 0.0014810627326369286, -0.020314330235123634, -0.01148280780762434, -0.013037009164690971, 0.004134633578360081, -0.040006980299949646, 0.07142014056444168, 0.037776242941617966, 0.008113847114145756, 0.02678712271153927, 0.017516767606139183, 0.008662388660013676, -0.05192862078547478, -0.000104494349216111, -0.05415935814380646, 0.019290385767817497, 0.0014502073172479868, 0.04370049387216568, -0.010422294028103352, -0.05346453934907913, -0.0498807318508625, 0.0014730632537975907, 0.02881672792136669, 0.05024642497301102, -0.044651299715042114, -0.04322509095072746, 0.0498441606760025, 0.02574489451944828, -0.06293602287769318, 0.030352644622325897, 0.062387485057115555, -0.024556387215852737, 0.022801052778959274, 0.007798435632139444, 0.004171202890574932, 0.007414456456899643, -0.015048328787088394, 0.014316939748823643, -0.016712239012122154, 0.06732436269521713, 0.020862871780991554, 0.00318154226988554, -0.023898135870695114, 0.023642150685191154, 0.051818910986185074, -0.015368311665952206, -0.024135837331414223, -0.009425776079297066, 0.03477754816412926, 0.02457467094063759, -0.0235324427485466, -0.04724773019552231, 0.03048063814640045, -0.04231085628271103, -0.03435700014233589, -0.01438093651086092, 0.03916588053107262, -0.010696564801037312, 0.014033527113497257, -0.04626035690307617, 0.05430563539266586, -0.10905010253190994, -0.032217685133218765, 0.0158985685557127, -0.013055293820798397, 0.03018808178603649, -0.024154122918844223, 0.0006079671438783407, 0.007908144034445286, 0.012991297990083694, 0.009434918873012066, 0.003677515545859933, 0.004434045869857073, 0.006701352074742317, 0.017452770844101906, -0.0007005335646681488, -0.02014976739883423, -0.04933219030499458, 0.047942548990249634, -0.007940142415463924, 0.039129313081502914, 0.07427255809307098, 0.027171101421117783, 0.023404449224472046, -0.04337136819958687, 0.061290401965379715, 0.02069830894470215, 0.029676109552383423, 0.06615413725376129, -0.0023450159933418036, -0.012525036931037903, 0.005800829268991947, -0.030864616855978966, -0.022892476990818977, 0.016236836090683937, 0.07262693345546722, 0.02188681624829769, 0.0045208982191979885, -0.06187551096081734, -0.026128873229026794, 0.0359843410551548, -0.009188074618577957, -0.022471927106380463, 0.041616033762693405, -0.04373706504702568, 0.00033255343441851437, 0.04903963580727577, 0.06311887502670288, -0.009700046852231026, -0.007158469874411821, -0.050173286348581314, -0.0015393453650176525, 0.06582501530647278, -0.015322600491344929, 0.02874358929693699, 0.006038530729711056, 0.0015633440343663096, 0.015377454459667206, 0.016949940472841263, -0.011875929310917854, -0.006143667735159397, -0.028012199327349663, -0.012195912189781666, -0.0387270487844944, 0.03762996569275856, 0.016730524599552155, 0.04040924459695816, 0.041872020810842514, -0.052952565252780914, 0.08250068128108978, 0.03934872895479202, -0.00954462680965662, -0.012634745799005032, -0.005791686940938234, -0.0021621687337756157, -0.010861126706004143, 0.00879038218408823, -0.011720509268343449, -0.016986509785056114, 0.03351590037345886, 0.05671921744942665, -0.06790947169065475, -0.0066099283285439014, 0.010751418769359589, -0.021941671147942543, -0.027043109759688377, 0.05222117528319359, 0.04479757696390152, -0.018997829407453537, 0.05756031721830368, 0.066263847053051, -0.042164579033851624, -0.02709796279668808, 0.00262614362873137, 0.01781846582889557, -0.003560950281098485, 0.02157597616314888, -0.03207140788435936, 0.006696780677884817, 0.09442232549190521, -0.07957512885332108, -0.02848760224878788, 0.013878107070922852, -0.012488467618823051, 0.04267654940485954, -0.05979105457663536, -0.028926435858011246, 0.009114935994148254, -0.011043974198400974, 0.02124685049057007, 0.008552680723369122, -0.00559969712048769, -0.0013427844969555736, -0.03656945005059242, -0.07847804576158524, 0.01410666573792696, -0.01811102032661438, -0.020917726680636406, -0.03188856318593025, 0.05313541367650032, 0.009919463656842709, -0.003277537180110812, -0.03201655298471451, 0.04059208929538727, -0.03923902288079262, 0.02296561561524868, 0.015441451221704483, 0.008310407400131226, -0.024739233776926994, -0.0005642552278004587, -0.009252071380615234, -0.04359078407287598, -0.005192861892282963, -0.04018982872366905, -0.0002801277150865644, 0.028560740873217583, -0.032784514129161835, 0.032784514129161835, 0.014636922627687454, 0.017653902992606163, 0.03208969160914421, -0.017105361446738243, 0.06268003582954407, -0.02876187302172184, 0.047394007444381714, -0.03905617445707321, -0.000021070289221825078, -0.0016421969048678875, 0.045784953981637955, -0.054086219519376755, 0.03512495756149292, 0.05189204961061478, 0.025013504549860954, 0.04004354774951935, 0.014298655092716217, -0.06216806545853615, 0.06150981783866882, 0.027481943368911743, 0.01969265006482601, 0.028359608724713326, 0.029164137318730354, -0.02931041456758976, 0.02270962856709957, 0.008004138246178627, 0.011391383595764637, -0.03810536861419678, -0.03960471600294113, -0.0015176322776824236, -0.007117329631000757, 0.008365262299776077, 0.06019331514835358, 0.03073662333190441, -0.02514149807393551, 0.004918591119349003, -0.05203833058476448, 0.054927315562963486, 0.014417505823075771, 0.007853290066123009, -0.06491077691316605, -0.001969036413356662, 0.03132173418998718, 0.03368046507239342, 0.014408363960683346, 0.03155943751335144, -0.0415428951382637, -0.016885943710803986, -0.018357863649725914, 0.05470789968967438, -0.014234659262001514, 0.02099086530506611, -0.04249370098114014, 0.03154115006327629, 0.044943854212760925, -0.004484328906983137, -0.007839576341211796, -0.04589466005563736, 0.024172406643629074, -0.02934698387980461, -0.01438093651086092, 0.13377104699611664, -0.016319118440151215, 0.03430214524269104, -0.006833916064351797, 0.03706314042210579, -0.05500045418739319, 0.030809761956334114, -0.006262518465518951, -0.004511755891144276, -0.06871400028467178, 0.037739675492048264, 0.04362735524773598, 0.0665564015507698, -0.058255136013031006, -0.03923902288079262, 0.037172846496105194, -0.01812930591404438, 0.007213324308395386, 0.016245977953076363, 0.00009520913590677083, -0.038580771535634995, 0.06494734436273575, -0.008058993145823479, -0.039421867579221725, 0.011629085056483746, 0.059900760650634766, 0.003654659492895007, 0.009188074618577957, -0.005764259956777096, -0.009864609688520432, 0.026713984087109566, 0.06417938321828842, -0.07577190548181534, 0.013603836297988892, -0.08447543531656265, 0.029804103076457977, 0.010742275975644588, 0.035033535212278366, -0.005777973216027021, 0.04669918864965439, -0.017489340156316757, -0.012616460211575031, 0.0386539101600647, -0.03653288260102272, -0.05357424542307854, -0.0023118748795241117, 0.056060969829559326, 0.01838529109954834, -0.023898135870695114, 0.040262967348098755, 0.01826644130051136, 0.016245977953076363, -0.018924690783023834, 0.016611672937870026, -0.04677232727408409, -0.00511972326785326, -0.027043109759688377, 0.022563351318240166, 0.014444933272898197, -0.0040706368163228035, -0.0103765819221735, -0.012150200083851814, 0.0007262464496307075, -0.013521554879844189, 0.10034657269716263, 0.0024844370782375336, -0.03163257613778114, -0.03825164586305618, -0.05222117528319359, 0.04925905168056488, -0.03501524776220322, -0.036404889076948166, -0.09215501695871353, -0.0003785509616136551, 0.0077024404890835285, -0.01812930591404438, 0.042786259204149246, 0.005563127808272839, 0.015094040893018246, -0.028597310185432434, -0.0005999675486236811, 0.0317605696618557, 0.05094124376773834, -0.01577971875667572, -0.01930866949260235, -0.02760993503034115, -0.04293253645300865, 0.045492395758628845, -0.07650329172611237, 0.040226396173238754, -0.008941230364143848, 0.04571181535720825, -0.041506327688694, 0.08206184953451157, -0.028688734397292137, -0.05086810514330864, 0.015450593084096909, -0.030224651098251343, 0.027719644829630852, 0.022892476990818977, -0.028103623539209366, 0.02878015860915184, -0.020936010405421257, -0.03185199201107025, -0.01881498284637928, -0.03236396610736847, 0.03810536861419678, 0.08798609673976898, 0.03978756442666054, -0.04871051013469696, 0.030224651098251343, -0.0032089692540466785, 0.04867393895983696, -0.05331825837492943, -0.009279497899115086, -0.06838487088680267, -0.04457816109061241, -0.013484985567629337, 0.006280803121626377, -0.007451025769114494, 0.056280385702848434, -0.011263391003012657, 0.06406968086957932, -0.016236836090683937, 0.014719204045832157, -0.03651459887623787, 0.013594693504273891, 0.046114079654216766, -0.039714425802230835, 0.010184592567384243, -0.018997829407453537, -0.07039619237184525, 0.02709796279668808, 0.03214454650878906, -0.003010123036801815, -0.009581196121871471, -0.031705714762210846, 0.003711799392476678, -0.009663477540016174, -0.02190510183572769, 0.010184592567384243, 0.01663910038769245, -0.0388367585837841, -0.03975099325180054, 0.03479583188891411, -0.02155769057571888, -0.0019621795509010553 ]
54,969
scrypt.scrypt
encrypt
Encrypt a string using a password. The resulting data will have len = len(input) + 128. Notes for Python 2: - `input` and `password` must be str instances - The result will be a str instance Notes for Python 3: - `input` and `password` can be both str and bytes. If they are str instances, they will be encoded with utf-8 - The result will be a bytes instance Exceptions raised: - TypeError on invalid input - scrypt.error if encryption failed For more information on the `maxtime`, `maxmem`, and `maxmemfrac` parameters, see the scrypt documentation.
def encrypt( input, password, maxtime=MAXTIME_DEFAULT_ENC, maxmem=MAXMEM_DEFAULT, maxmemfrac=MAXMEMFRAC_DEFAULT, ): """Encrypt a string using a password. The resulting data will have len = len(input) + 128. Notes for Python 2: - `input` and `password` must be str instances - The result will be a str instance Notes for Python 3: - `input` and `password` can be both str and bytes. If they are str instances, they will be encoded with utf-8 - The result will be a bytes instance Exceptions raised: - TypeError on invalid input - scrypt.error if encryption failed For more information on the `maxtime`, `maxmem`, and `maxmemfrac` parameters, see the scrypt documentation. """ input = _ensure_bytes(input) password = _ensure_bytes(password) outbuf = create_string_buffer(len(input) + 128) # verbose is set to zero result = _scryptenc_buf( input, len(input), outbuf, password, len(password), maxmem, maxmemfrac, maxtime, 0, ) if result: raise error(result) return outbuf.raw
(input, password, maxtime=5.0, maxmem=0, maxmemfrac=0.5)
[ 0.02600628323853016, -0.039368629455566406, 0.05201256647706032, 0.06189064309000969, -0.00046163174556568265, -0.022809378802776337, -0.02381514571607113, -0.012670879252254963, 0.054455146193504333, -0.03575864061713219, 0.07715676724910736, 0.01867854595184326, -0.02347390353679657, 0.03689013049006462, 0.025539319962263107, -0.007377127651125193, -0.021390527486801147, -0.0696135014295578, 0.013613786548376083, -0.023078780621290207, 0.046624526381492615, -0.004400234203785658, 0.06203432381153107, 0.01817566156387329, -0.024964595213532448, 0.051653362810611725, 0.027999859303236008, 0.017232755199074745, -0.06066935509443283, -0.006326459348201752, 0.07029598951339722, 0.03520187363028526, 0.007287327200174332, -0.0064836107194423676, 0.013344384729862213, -0.03446551039814949, 0.030101194977760315, -0.016110247001051903, -0.03530963510274887, -0.0829758495092392, -0.021893411874771118, 0.010165439918637276, -0.0375007726252079, 0.006097467616200447, 0.015131418593227863, 0.003778364509344101, -0.019001828506588936, 0.03442959114909172, 0.009312332607805729, -0.011162227019667625, 0.005949296522885561, -0.034986354410648346, 0.0026648358907550573, 0.036746446043252945, 0.048240937292575836, 0.0375007726252079, -0.059843190014362335, -0.03338790312409401, 0.029759952798485756, -0.033334020525217056, 0.005468862596899271, -0.03146616742014885, 0.05919662490487099, 0.010425861924886703, -0.0705474317073822, 0.012087174691259861, -0.012024314142763615, -0.010425861924886703, 0.032561734318733215, -0.033513620495796204, -0.013326424174010754, 0.0017668288201093674, -0.03604600206017494, 0.005769695155322552, -0.04080544039607048, 0.054455146193504333, 0.03829101845622063, 0.025233997032046318, -0.029634231701493263, -0.009554794989526272, 0.046732284128665924, -0.09339272975921631, -0.033513620495796204, 0.025449519976973534, -0.01789727993309498, -0.035632919520139694, -0.030406517907977104, 0.010820984840393066, 0.0034707970917224884, -0.03579455986618996, -0.04432562738656998, 0.024605393409729004, 0.019217349588871002, 0.10625219345092773, -0.04084135964512825, -0.017879320308566093, 0.03193312883377075, 0.016505369916558266, -0.006946084555238485, 0.05898110195994377, -0.021624010056257248, 0.05079127848148346, -0.004692086949944496, -0.019953716546297073, -0.03338790312409401, -0.055460914969444275, -0.03292093798518181, 0.01613718643784523, 0.03753669559955597, -0.045582838356494904, 0.005540703423321247, -0.006559941451996565, -0.020456600934267044, -0.054958030581474304, -0.005608053877949715, 0.021390527486801147, -0.0064970809035003185, 0.0014199735596776009, 0.05068351700901985, 0.016415568068623543, 0.01217697560787201, 0.027191651985049248, 0.03062203899025917, -0.010291160084307194, 0.03793181851506233, 0.06882325559854507, -0.030442439019680023, -0.009321313351392746, -0.018301382660865784, -0.00906538125127554, -0.012877420522272587, 0.030747760087251663, 0.07399577647447586, 0.09447033703327179, 0.013245604000985622, -0.001738766091875732, 0.016972333192825317, 0.03653092682361603, -0.0035201874561607838, 0.014314232394099236, 0.012536178342998028, 0.024946635589003563, 0.00226185517385602, -0.0016164126573130488, 0.039476387202739716, -0.04967774823307991, 0.05025247484445572, -0.10258832573890686, 0.010264220647513866, 0.039512310177087784, 0.046013880521059036, -0.04069767892360687, 0.008248194120824337, -0.013784407638013363, 0.02735329419374466, 0.02819742076098919, -0.00035218714037910104, -0.03638724610209465, 0.014700375497341156, -0.037788134068250656, -0.01618208736181259, -0.031717609614133835, -0.03180740773677826, 0.014098710380494595, 0.03416018560528755, -0.0019632678013294935, 0.020294958725571632, 0.00969847571104765, 0.0008721893536858261, -0.008306564763188362, 0.02151624858379364, -0.022378334775567055, -0.012518217787146568, 0.0001231251808349043, 0.048923421651124954, -0.0341063067317009, -0.013604806736111641, -0.03681828826665878, -0.004723516758531332, -0.05122232064604759, -0.04285289719700813, -0.0077857207506895065, -0.023689424619078636, 0.039512310177087784, -0.005828065797686577, -0.04407418519258499, 0.027425134554505348, 0.06490794569253922, -0.009949917905032635, -0.03847062215209007, -0.04317617788910866, -0.0169364120811224, 0.004611266311258078, -0.02623976580798626, -0.07004454731941223, -0.015418780967593193, -0.0050198594108223915, -0.02340206317603588, -0.029903633520007133, 0.06228576600551605, -0.0619984045624733, 0.02171381004154682, 0.0530901737511158, -0.10129519551992416, 0.057113245129585266, -0.06217800825834274, -0.030370596796274185, -0.025233997032046318, -0.03714156895875931, -0.024982554838061333, 0.011108347214758396, 0.03223845362663269, 0.01578696444630623, -0.022486096248030663, -0.0017006008420139551, 0.014700375497341156, 0.1102752611041069, 0.00839187577366829, 0.017187854275107384, 0.0030666938982903957, 0.0020867439452558756, 0.03274133801460266, -0.04644492268562317, -0.01217697560787201, -0.010776083916425705, -0.015894724056124687, -0.00013231571938376874, 0.041056882590055466, 0.00942907389253378, -0.05014471337199211, 0.07004454731941223, -0.02259385772049427, 0.03214865177869797, 0.05176112428307533, -0.046660445630550385, -0.04712740704417229, -0.009949917905032635, -0.07040374726057053, -0.039476387202739716, -0.030981242656707764, 0.013730527833104134, 0.007808171212673187, 0.0018846922321245074, 0.04633716121315956, 0.005495802965015173, -0.0002628073561936617, -0.06124407798051834, 0.02961627207696438, 0.001625392702408135, 0.003468552138656378, -0.011341828852891922, 0.007399578113108873, -0.06393810361623764, -0.05855005979537964, 0.019307151436805725, 0.011135287582874298, 0.021139085292816162, 0.04561875760555267, -0.02586260251700878, -0.0001800223399186507, -0.01519427914172411, -0.008553517051041126, -0.07097847759723663, -0.024138428270816803, 0.0732414498925209, -0.05301833525300026, -0.07392393797636032, -0.01836424320936203, 0.03218457102775574, -0.008499636314809322, 0.011754912324249744, 0.019917795434594154, 0.021839531138539314, 0.050539836287498474, 0.013721547089517117, -0.02501847594976425, 0.034285906702280045, 0.055496834218502045, 0.08822020888328552, -0.04924670606851578, -0.010228300467133522, 0.0006005421746522188, -0.02060028165578842, -0.03672848641872406, 0.019468791782855988, 0.014314232394099236, -0.05373673886060715, -0.04576243832707405, 0.040553998202085495, 0.00906538125127554, 0.01825648359954357, -0.01655924879014492, -0.028017818927764893, -0.025485439226031303, -0.017268674448132515, -0.021408487111330032, -0.026329565793275833, -0.05747244879603386, 0.03218457102775574, -0.015221219509840012, -0.012949260883033276, 0.011727971956133842, 0.019001828506588936, 0.024533551186323166, 0.01671191118657589, -0.031071042641997337, -0.0451158732175827, -0.032022930681705475, -0.06304009258747101, -0.03486063331365585, -0.01875038631260395, -0.017816459760069847, -0.031071042641997337, -0.00894863996654749, -0.02340206317603588, 0.008495146408677101, 0.03857838362455368, -0.02327634207904339, -0.006847303360700607, 0.006227678619325161, -0.0020867439452558756, -0.048312779515981674, 0.00008650333620607853, -0.05316201597452164, 0.0012695573968812823, -0.004921078681945801, 0.07306185364723206, -0.0037087691016495228, 0.0397278293967247, -0.05373673886060715, -0.010731183923780918, 0.048205018043518066, 0.027676576748490334, -0.04849237948656082, -0.08031775057315826, -0.012724759988486767, -0.01797810010612011, -0.03865022212266922, -0.010937725193798542, -0.011009566485881805, 0.06993678957223892, -0.015248158946633339, 0.035632919520139694, 0.00885434914380312, -0.07665388286113739, -0.016244947910308838, -0.00037379542482085526, 0.0016860081814229488, -0.06174696236848831, -0.01832832396030426, 0.00885434914380312, 0.021103166043758392, 0.008239214308559895, -0.024156389757990837, -0.045044030994176865, 0.035525158047676086, 0.012769659981131554, -0.0341063067317009, -0.0073322271928191185, -0.044972192496061325, 0.01905570924282074, 0.05589195713400841, 0.022504055872559547, -0.01844506524503231, -0.02600628323853016, 0.0357406809926033, 0.03557903692126274, -0.028861945495009422, 0.05305425450205803, 0.04913894459605217, 0.02451559156179428, 0.012616998516023159, -0.02562911994755268, 0.009994817897677422, -0.049893271178007126, 0.02889786660671234, -0.04967774823307991, 0.002096846466884017, -0.021300727501511574, -0.0010983748361468315, 0.012141055427491665, -0.0410209596157074, -0.018516905605793, -0.007906951941549778, 0.045008111745119095, 0.025144197046756744, 0.016280867159366608, -0.020779883489012718, 0.074067622423172, 0.02950851060450077, -0.0648001879453659, 0.012581078335642815, 0.05761612951755524, -0.009078850969672203, 0.009563774801790714, 0.004965978674590588, 0.004750457126647234, 0.00950989406555891, -0.016505369916558266, 0.040625836700201035, 0.005060269497334957, 0.024677233770489693, 0.0692543014883995, -0.02474907413125038, -0.020348839461803436, -0.0003780048282351345, 0.03403446450829506, -0.03818325698375702, 0.006357889622449875, 0.0066856625489890575, -0.003630193416029215, 0.04436154663562775, 0.0006493713590316474, -0.04479258880019188, 0.01488895621150732, -0.07011638581752777, -0.04633716121315956, -0.0709066316485405, -0.0006134510622359812, 0.024731112644076347, -0.006631781812757254, -0.04411010444164276, 0.04482851177453995, -0.02920318767428398, -0.01546368096023798, 0.0029656682163476944, 0.0053880419582128525, -0.0040994021110236645, -0.009128241799771786, -0.0007425395888276398, 0.014484853483736515, 0.039548229426145554, 0.04633716121315956, 0.01018339954316616, -0.028251301497220993, 0.009464994072914124, 0.04522363469004631, 0.00010186767030972987, -0.023904947564005852, -0.026347525417804718, 0.06900285929441452, -0.025988323614001274, 0.010865884833037853, 0.07061927020549774, 0.048887502402067184, 0.012042274698615074, -0.06052567437291145, 0.04806133732199669, 0.03277725726366043, 0.0737084150314331, 0.06806892901659012, -0.02954443171620369, 0.0028040269389748573, 0.042314089834690094, -0.021839531138539314, 0.003852450056001544, 0.01986391469836235, 0.03311849758028984, -0.020456600934267044, -0.00783960148692131, -0.0303526371717453, -0.00831554550677538, 0.0637584999203682, 0.006160328164696693, -0.006784443277865648, 0.014053810387849808, -0.046732284128665924, 0.017681758850812912, 0.07252305001020432, 0.04087727889418602, 0.03665664792060852, 0.021300727501511574, -0.059915028512477875, -0.0207439623773098, 0.07586363703012466, -0.03821917995810509, -0.002375228563323617, 0.014799156226217747, 0.013200703077018261, -0.005150070413947105, -0.008005732670426369, 0.016819670796394348, 0.02408454939723015, -0.02282733842730522, 0.02135460637509823, -0.03231029212474823, 0.0677456483244896, 0.0029207677580416203, 0.07471418380737305, 0.051042720675468445, -0.02546747960150242, 0.1061803475022316, 0.026652848348021507, 0.013955029658973217, -0.044505227357149124, 0.0037087691016495228, -0.04069767892360687, -0.036477044224739075, -0.04091320186853409, 0.02681449055671692, -0.03933270648121834, 0.016693951562047005, 0.03965599089860916, -0.06185472384095192, 0.017160914838314056, 0.024030668660998344, -0.04590611904859543, -0.03135840594768524, 0.06074119359254837, 0.07378026098012924, -0.019684314727783203, 0.032795216888189316, 0.06196248531341553, -0.05168928578495979, -0.00258850515820086, -0.006066037341952324, 0.02796393819153309, 0.008176353760063648, 0.011261007748544216, -0.07061927020549774, -0.010749144479632378, 0.09755948185920715, -0.07212792336940765, -0.03157392889261246, 0.007875521667301655, 0.010955685749650002, 0.07974302768707275, -0.07507339119911194, -0.06361481547355652, 0.04123648256063461, -0.02873622439801693, 0.015553481876850128, 0.008059613406658173, 0.015257139690220356, -0.029149308800697327, -0.029221149161458015, -0.06512346863746643, 0.005244361236691475, 0.036135803908109665, -0.033980585634708405, -0.052659131586551666, 0.026994090527296066, 0.005630503874272108, -0.01760093681514263, -0.003984906245023012, 0.05140192061662674, -0.03099920228123665, -0.001874589710496366, -0.033639341592788696, -0.039979271590709686, -0.020833762362599373, -0.03162780776619911, -0.019450832158327103, -0.003416916821151972, 0.007448968477547169, -0.06027423217892647, 0.011261007748544216, -0.015320000238716602, -0.0341063067317009, 0.07507339119911194, 0.05025247484445572, 0.005711324512958527, 0.01855282485485077, -0.06849997490644455, 0.015472660772502422, -0.060381993651390076, 0.03150208666920662, -0.008337995037436485, 0.018373223021626472, 0.030262837186455727, 0.05201256647706032, -0.02958035096526146, 0.019917795434594154, 0.048276856541633606, 0.006550961174070835, 0.02155216783285141, -0.022108932957053185, -0.03618968278169632, 0.03629744425415993, -0.014161570928990841, -0.002862397348508239, 0.05097087845206261, 0.010479741729795933, -0.0065105510875582695, 0.06882325559854507, -0.006326459348201752, 0.006533001083880663, -0.019648393616080284, -0.0959789901971817, 0.03265153616666794, -0.027425134554505348, 0.01701723225414753, 0.03308257833123207, 0.040122952312231064, -0.0033024209551513195, -0.02104928530752659, -0.04339170083403587, 0.0069730244576931, 0.02623976580798626, -0.011296928860247135, -0.0544910654425621, 0.011745931580662727, -0.016586190089583397, 0.05204848572611809, 0.029831793159246445, 0.02550339885056019, -0.03214865177869797, 0.0024425790179520845, -0.013685626909136772, 0.004669636487960815, 0.016244947910308838, 0.06566227227449417, -0.03381894528865814, 0.006658722180873156, -0.010264220647513866, 0.018005041405558586, -0.047199249267578125, -0.019720233976840973, 0.05463474616408348, -0.014556693844497204, -0.01755603775382042, 0.11738748103380203, -0.043894585222005844, -0.007781230844557285, -0.014224431477487087, 0.017035193741321564, -0.024533551186323166, 0.04314025864005089, -0.020995404571294785, -0.03958414867520332, -0.04928262531757355, 0.05097087845206261, 0.031142883002758026, 0.050001032650470734, -0.051545605063438416, -0.05197664722800255, 0.0003041998716071248, 0.002040721010416746, -0.006573411636054516, 0.009042930789291859, -0.03606396168470383, -0.03575864061713219, 0.048240937292575836, -0.032346211373806, -0.003630193416029215, 0.05068351700901985, 0.012410457246005535, -0.03933270648121834, -0.036441124975681305, -0.03768037632107735, 0.0005646219360642135, -0.023114701732993126, 0.08434081822633743, -0.047809895128011703, 0.022270575165748596, -0.027496974915266037, 0.003919800743460655, -0.014664454385638237, 0.04199080914258957, -0.03277725726366043, 0.04138016328215599, 0.010865884833037853, -0.016882531344890594, 0.02370738610625267, -0.04080544039607048, -0.01367664709687233, -0.005352121777832508, -0.0004369365342427045, 0.011189167387783527, -0.02381514571607113, 0.029598312452435493, 0.023186542093753815, 0.011368769221007824, -0.01690947264432907, 0.03868614137172699, -0.03213069215416908, -0.006555451080203056, -0.025341758504509926, -0.011252027936279774, -0.012742719613015652, -0.015957584604620934, -0.018876107409596443, 0.015706142410635948, -0.014107690192759037, -0.04525955393910408, 0.06702724099159241, -0.001481711631640792, -0.037824057042598724, -0.017268674448132515, -0.03983559086918831, 0.02839498221874237, -0.004692086949944496, -0.031178804114460945, -0.0683203712105751, 0.03710564970970154, 0.0058550057001411915, 0.007125685922801495, 0.03486063331365585, -0.006250129081308842, -0.04044623672962189, 0.015248158946633339, 0.05201256647706032, 0.011009566485881805, 0.06332745403051376, 0.006362379994243383, -0.016568230465054512, 0.0038367349188774824, -0.04041031748056412, 0.07421129941940308, -0.05025247484445572, 0.06731460988521576, -0.002527889795601368, 0.040051113814115524, -0.0003572384302970022, 0.028592543676495552, -0.015095498412847519, 0.0028668874874711037, 0.013604806736111641, -0.025521360337734222, 0.030945321545004845, 0.035094115883111954, -0.025485439226031303, -0.004505750257521868, -0.028843985870480537, -0.052156247198581696, -0.011638171039521694, -0.03139432519674301, 0.016505369916558266, 0.10546194761991501, 0.014466892927885056, -0.05467066913843155, 0.03092736192047596, -0.0065868813544511795, 0.044936273247003555, -0.00803267303854227, 0.005702344700694084, -0.08886677771806717, -0.05176112428307533, -0.03462715074419975, 0.011449589394032955, 0.02178565040230751, 0.027155732735991478, 0.009033950977027416, -0.006568921264261007, 0.038865745067596436, -0.022468136623501778, 0.03135840594768524, 0.006429730448871851, 0.030783681198954582, -0.006811383180320263, 0.006595861632376909, 0.013919108547270298, -0.06031015142798424, 0.016415568068623543, 0.06968534737825394, 0.009734395891427994, -0.021911371499300003, -0.008409835398197174, 0.035094115883111954, -0.014646494761109352, -0.03191516920924187, -0.019540632143616676, 0.02920318767428398, -0.0357406809926033, -0.031484127044677734, 0.045582838356494904, 0.0030711840372532606, 0.01952267251908779 ]
54,970
scrypt.scrypt
error
null
class error(Exception): def __init__(self, scrypt_code): if isinstance(scrypt_code, int): self._scrypt_code = scrypt_code super().__init__(ERROR_MESSAGES[scrypt_code]) else: self._scrypt_code = -1 super().__init__(scrypt_code)
(scrypt_code)
[ -0.005850837100297213, -0.021951979026198387, 0.038062192499637604, 0.05395469814538956, -0.003816650714725256, -0.0804784893989563, -0.019339511170983315, 0.007265923544764519, 0.04535532742738724, -0.06814184039831161, 0.052031632512807846, 0.06092127412557602, 0.015048897825181484, -0.01152932457625866, -0.02766674943268299, 0.033308953046798706, 0.02766674943268299, 0.03316381573677063, -0.024310454726219177, -0.03780820220708847, -0.0065130251459777355, 0.06741616129875183, 0.0014309606049209833, 0.03813476115465164, -0.012590639293193817, 0.09978172183036804, 0.01015959307551384, 0.010531507432460785, 0.0500359982252121, -0.06973835080862045, -0.03147659823298454, -0.0014377639163285494, -0.008907786570489407, 0.06995605677366257, -0.026197237893939018, -0.023330779746174812, -0.05732913315296173, -0.009814892895519733, -0.08606626838445663, 0.04462964087724686, -0.02810216136276722, 0.020772740244865417, -0.020936019718647003, -0.016962893307209015, 0.010613146238029003, -0.003403917420655489, -0.012382004410028458, -0.01366102509200573, -0.05199534818530083, -0.032601408660411835, -0.03472403809428215, -0.033780649304389954, 0.01906738057732582, -0.0036692460998892784, -0.0020965500734746456, 0.0820024311542511, 0.02530827187001705, 0.026324231177568436, -0.051269661635160446, -0.03309124708175659, -0.039259571582078934, 0.04912889003753662, -0.05656716600060463, 0.015856223180890083, 0.017062673345208168, -0.042307447642087936, -0.07238709926605225, 0.008599369786679745, -0.002061399631202221, 0.04161804914474487, 0.09252487123012543, 0.006413243245333433, -0.09005753695964813, 0.019774923101067543, 0.09194432199001312, -0.0061637889593839645, -0.0601230226457119, 0.016427699476480484, 0.014785836450755596, 0.037227652966976166, 0.036102838814258575, -0.019248800352215767, 0.005107009783387184, 0.043468546122312546, 0.05028998851776123, -0.02968052588403225, 0.023185644298791885, -0.05188649520277977, -0.05409983545541763, 0.029771236702799797, -0.05856280028820038, -0.01075828354805708, -0.059506189078092575, 0.020954161882400513, 0.03347223252058029, 0.03857016935944557, 0.03472403809428215, -0.06324347108602524, 0.006036794278770685, -0.02269580587744713, 0.04648013785481453, 0.04343226179480553, 0.03285539895296097, -0.06436827778816223, 0.016092069447040558, 0.001508064684458077, 0.007129857316613197, -0.013524958863854408, 0.03719136863946915, -0.013788019306957722, -0.024872861802577972, -0.00011324658407829702, -0.006608271040022373, 0.023729907348752022, -0.05123337730765343, -0.020863451063632965, 0.01659097895026207, -0.0024537232238799334, 0.018523115664720535, 0.04394024237990379, 0.05221305415034294, 0.011683532036840916, -0.034161631017923355, 0.02850128710269928, 0.024854719638824463, 0.0694480761885643, -0.005995974410325289, -0.0027961558662354946, 0.04096493124961853, -0.029009267687797546, 0.03477846458554268, -0.023548485711216927, 0.009524619206786156, -0.02146214060485363, -0.053301580250263214, -0.002598860301077366, -0.022169683128595352, 0.050543975085020065, -0.02890041470527649, -0.008993961848318577, 0.026814069598913193, 0.058780502527952194, 0.008295489475131035, 0.01877710595726967, 0.025471551343798637, 0.07605181634426117, -0.015375455841422081, 0.018795248121023178, 0.003945913631469011, 0.0017473140032961965, 0.05609546974301338, -0.007547126617282629, 0.015692943707108498, 0.044738493859767914, -0.01681775599718094, -0.012173369526863098, -0.005701164714992046, -0.03817104175686836, -0.004496980924159288, 0.011166481301188469, 0.008485982194542885, -0.07336677610874176, 0.06603735685348511, -0.09237973392009735, -0.006263570860028267, -0.016427699476480484, -0.02071831375360489, -0.0049890861846506596, -0.00973325315862894, 0.012899055145680904, -0.02300422266125679, -0.04789522662758827, -0.02418346144258976, 0.007733083330094814, 0.014776765368878841, 0.01306233461946249, 0.003769027767702937, -0.01919437386095524, -0.017108028754591942, -0.008313631638884544, 0.02766674943268299, -0.015974147245287895, -0.0030433423817157745, 0.04013039544224739, 0.019321369007229805, 0.010168664157390594, 0.008046034723520279, 0.055188361555337906, 0.07238709926605225, -0.005995974410325289, 0.007447344716638327, 0.02342149056494236, -0.04800407961010933, 0.0002776596520561725, 0.029589815065264702, 0.024455592036247253, 0.00361481960862875, -0.05424497276544571, 0.012055446393787861, 0.03341780602931976, -0.024056466296315193, 0.0970241129398346, 0.02770303376019001, -0.03403463587164879, 0.011855882592499256, -0.00033562941825948656, -0.00684411870315671, -0.0024968108627945185, -0.008803469128906727, -0.029825663194060326, -0.0285375714302063, -0.03189386799931526, 0.03586699441075325, 0.07510842382907867, 0.040021542459726334, -0.041872039437294006, 0.07013747841119766, -0.034506332129240036, 0.04437565058469772, 0.029553530737757683, 0.0976046621799469, -0.014205288141965866, -0.017271308228373528, -0.027594180777668953, -0.00564220268279314, 0.0422348827123642, -0.009433908388018608, -0.06473112106323242, 0.0032361026387661695, 0.06055843457579613, -0.023258211091160774, -0.020155906677246094, -0.04760495200753212, 0.012028233148157597, -0.00527028925716877, -0.003635229542851448, 0.02926325798034668, -0.03232927620410919, -0.07129857689142227, -0.0367196723818779, -0.038025908172130585, 0.0031476598232984543, -0.0050389766693115234, 0.060594718903303146, 0.04637128859758377, -0.015048897825181484, 0.012264080345630646, 0.08156701922416687, -0.09992685914039612, 0.03597584739327431, 0.007483629044145346, -0.047024402767419815, -0.034597042948007584, -0.029916374012827873, 0.027449043467640877, -0.03677409887313843, -0.04836692288517952, -0.007084502372890711, 0.009461121633648872, 0.03240184485912323, -0.024110892787575722, -0.02342149056494236, -0.04031181335449219, -0.019793065264821053, 0.001508064684458077, -0.05838137865066528, -0.035304587334394455, 0.0429968498647213, 0.04448450356721878, 0.028410576283931732, 0.08280068635940552, 0.024020181968808174, -0.01070385705679655, 0.07721290737390518, -0.020772740244865417, 0.008231991901993752, -0.039586130529642105, 0.03445190563797951, -0.016699831932783127, -0.03933214023709297, 0.06371516734361649, 0.019593501463532448, 0.0022269466426223516, -0.0025784503668546677, 0.002732658525928855, 0.018006065860390663, 0.03356294333934784, -0.041509196162223816, -0.012064517475664616, 0.032238565385341644, -0.009125491604208946, 0.042271167039871216, 0.015692943707108498, 0.011066700331866741, 0.05192277953028679, -0.01820562779903412, -0.006254499778151512, 0.04691554978489876, 0.02100858837366104, -0.03193015232682228, 0.01306233461946249, -0.004998157266527414, 0.02735833264887333, -0.00710717961192131, 0.003585338592529297, -0.0428154282271862, 0.013561243191361427, 0.008508658967912197, -0.01246364414691925, 0.024401165544986725, 0.03379879146814346, 0.08251041173934937, -0.014531847089529037, 0.02530827187001705, 0.03398021310567856, 0.021752415224909782, 0.07372961938381195, -0.026197237893939018, -0.022877227514982224, 0.09709668159484863, -0.012001019902527332, -0.03517759218811989, 0.038025908172130585, -0.01908552087843418, 0.012218724936246872, -0.010513365268707275, 0.010468009859323502, -0.010268446058034897, 0.0018743089167401195, -0.013769877143204212, -0.06371516734361649, -0.01523938961327076, 0.022024547681212425, -0.08055105805397034, -0.013189328834414482, -0.015783654525876045, 0.02109929919242859, -0.030134079977869987, -0.030660200864076614, -0.06679932773113251, 0.0049890861846506596, -0.06190095096826553, 0.007937182672321796, 0.05457153171300888, 0.010876207612454891, -0.04444821923971176, -0.023566627874970436, -0.02652379497885704, -0.02262323722243309, 0.006880403030663729, -0.05420868843793869, 0.004329165909439325, -0.01171074528247118, 0.01778835989534855, 0.041980892419815063, -0.020954161882400513, -0.01778835989534855, -0.07050032168626785, 0.03853388503193855, -0.03363551199436188, 0.04912889003753662, -0.01581086777150631, -0.02024661749601364, -0.012998837046325207, -0.055260930210351944, -0.003964055795222521, -0.037590496242046356, -0.047750089317560196, 0.0445207878947258, 0.026052100583910942, 0.0010244634468108416, -0.059832748025655746, -0.06930293887853622, -0.007302207872271538, 0.023729907348752022, 0.013833374716341496, -0.0428154282271862, 0.03007965348660946, -0.04096493124961853, -0.020790882408618927, 0.036120980978012085, -0.061501823365688324, 0.00212376331910491, 0.0024968108627945185, -0.02851942926645279, -0.007678656838834286, 0.02305864915251732, -0.006544773932546377, 0.06959321349859238, 0.05039884150028229, -0.07282251119613647, -0.006640019826591015, 0.0692666545510292, 0.007279530167579651, -0.019430221989750862, 0.0397675521671772, 0.008966748602688313, 0.012001019902527332, -0.03359922766685486, 0.011810527183115482, -0.03635682910680771, 0.020555034279823303, 0.013515887781977654, 0.02265952154994011, 0.07100830227136612, -0.003038806840777397, 0.012264080345630646, -0.021970121189951897, -0.021643562242388725, -0.007460951339453459, -0.05235819146037102, -0.0023494060151278973, 0.019303226843476295, -0.05428125709295273, -0.0249272882938385, -0.03036992810666561, -0.009442979469895363, 0.018314480781555176, -0.014513704925775528, -0.01345239020884037, -0.00035547238076105714, -0.018250983208417892, 0.027848171070218086, 0.01750715635716915, -0.030950475484132767, 0.026360515505075455, 0.0012971623800694942, 0.008259205147624016, -0.0017178329871967435, 0.026015816256403923, -0.022496242076158524, 0.05297502130270004, -0.0052430760115385056, -0.0179788526147604, 0.023711765184998512, -0.03076905384659767, -0.06607364118099213, 0.01712617091834545, -0.024836577475070953, 0.03544972464442253, 0.06208237260580063, -0.006816905923187733, 0.04869347810745239, 0.058671653270721436, 0.0755438357591629, -0.03817104175686836, -0.020972304046154022, 0.06121154874563217, -0.006317996885627508, -0.01128440536558628, 0.0018550328677520156, -0.0359577052295208, -0.007733083330094814, 0.004898375365883112, -0.007225103676319122, -0.017089886590838432, -0.10471638292074203, 0.014994471333920956, 0.02581625245511532, -0.02425602823495865, -0.04517390578985214, 0.037989623844623566, -0.025925105437636375, -0.01796071045100689, -0.0016373273683711886, 0.04067465662956238, 0.01788814179599285, 0.0011656319256871939, 0.025271987542510033, 0.015883436426520348, -0.030242932960391045, 0.008472375571727753, 0.00781018752604723, -0.016082998365163803, -0.016890324652194977, 0.0108943497762084, 0.018178414553403854, -0.0717339888215065, -0.03940470889210701, -0.0029458284843713045, 0.05645831301808357, -0.0026759642641991377, 0.04608101397752762, 0.008934999816119671, 0.004907446447759867, -0.06589221954345703, -0.02108115702867508, -0.0018573006382212043, 0.019393937662243843, 0.04575445502996445, -0.016826827079057693, 0.013615669682621956, -0.027811886742711067, 0.022804658859968185, 0.013724521733820438, 0.008603905327618122, -0.1042809709906578, 0.011665389873087406, -0.03388950228691101, -0.0405295193195343, 0.009352268651127815, -0.012980694882571697, -0.029335826635360718, -0.06491254270076752, 0.04967315495014191, -0.002085211221128702, -0.023530343547463417, 0.05083424970507622, 0.0475686676800251, -0.0025194883346557617, 0.009615329094231129, 0.040021542459726334, 0.02534455619752407, -0.01756158284842968, -0.008567621000111103, -0.017987923696637154, -0.04165433347225189, -0.01285369973629713, -0.00527028925716877, 0.054390110075473785, 0.025181278586387634, 0.0050117638893425465, 0.019412079825997353, 0.023076791316270828, 0.018994811922311783, -0.03626611828804016, 0.03042435273528099, -0.04684298112988472, 0.04096493124961853, 0.07815629988908768, -0.03445190563797951, 0.0005958556430414319, -0.005701164714992046, 0.04216231405735016, 0.0069847204722464085, 0.00536099961027503, -0.022169683128595352, 0.02810216136276722, -0.018368907272815704, -0.07071802765130997, -0.015729228034615517, 0.061066411435604095, 0.01828726753592491, -0.038025908172130585, -0.0031249821186065674, -0.05159622058272362, -0.07728547602891922, 0.03784448653459549, -0.08236527442932129, -0.029063694179058075, 0.012245938181877136, -0.012518070638179779, 0.018613826483488083, -0.015692943707108498, 0.019647927954792976, 0.00811406783759594, 0.05787339806556702, 0.033780649304389954, 0.048620909452438354, 0.044266801327466965, 0.004630778916180134, 0.004875697661191225, 0.007202425971627235, -0.10261189192533493, -0.05740170180797577, -0.037227652966976166, -0.03860645368695259, -0.011837740428745747, -0.013089547865092754, -0.0037282078992575407, 0.004236187785863876, 0.0008986024186015129, 0.009315984323620796, 0.06973835080862045, -0.03427048400044441, 0.004730560816824436, -0.033708080649375916, 0.0593610517680645, 0.032565124332904816, -0.007479093503206968, 0.024401165544986725, -0.012790202163159847, -0.029136262834072113, -0.04161804914474487, 0.001039203954860568, 0.0198837760835886, -0.03388950228691101, -0.043903958052396774, -0.02070017158985138, -0.007247781381011009, -0.03579442575573921, -0.04169061779975891, -0.011121125891804695, -0.009932816959917545, 0.02922697365283966, 0.04085607826709747, 0.04397652670741081, -0.04560931771993637, -0.025870678946375847, 0.028991125524044037, -0.03987640514969826, 0.02536269836127758, -0.005302037578076124, 0.018650110810995102, 0.07728547602891922, -0.034179773181676865, 0.013733592815697193, 0.03867902234196663, -0.03365365415811539, 0.010458938777446747, 0.012164298444986343, 0.02452816069126129, 0.013869659043848515, -0.013561243191361427, -0.02501799911260605, 0.004106924869120121, 0.010458938777446747, 0.02180684171617031, 0.019212516024708748, 0.03042435273528099, -0.03664710372686386, 0.036157265305519104, -0.045827023684978485, 0.03510502353310585, -0.04869347810745239, 0.07576154172420502, 0.022405531257390976, 0.01387873012572527, -0.06360631436109543, -0.057220280170440674, 0.03193015232682228, 0.04372253641486168, 0.03151288256049156, -0.09470192342996597, -0.05961504206061363, 0.04597216099500656, 0.03080533817410469, 0.03755421191453934, 0.04419423267245293, 0.07510842382907867, 0.017089886590838432, -0.014686055481433868, -0.03193015232682228, -0.0018164808861911297, -0.03838874772191048, -0.011483969166874886, -0.010885278694331646, -0.05888935551047325, 0.03047877922654152, -0.036157265305519104, 0.006590128876268864, 0.036882951855659485, -0.022332962602376938, -0.015121466480195522, -0.0008883974514901638, -0.021353287622332573, -0.009887461550533772, 0.006540238391608, 0.028229156509041786, 0.0012132549891248345, -0.018441475927829742, 0.01955721713602543, 0.006698981858789921, -0.00537914177402854, 0.016654476523399353, -0.0012030500220134854, 0.04372253641486168, -0.059179630130529404, 0.049382880330085754, -0.035395298153162, 0.00937948189675808, -0.03398021310567856, -0.03285539895296097, -0.017987923696637154, -0.014096436090767384, 0.018078632652759552, -0.007760296575725079, -0.042416300624608994, 0.03156730905175209, -0.004730560816824436, -0.017552511766552925, 0.02851942926645279, -0.043831389397382736, -0.03704623132944107, -0.022895369678735733, 0.02425602823495865, -0.00973325315862894, 0.05388212949037552, -0.027430901303887367, -0.09491962939500809, -0.028591997921466827, -0.03080533817410469, -0.06654533743858337, -0.019629785791039467, -0.07547126710414886, 0.0006718257791362703, -0.047459814697504044, -0.03860645368695259, -0.02298608049750328, 0.013996654190123081, 0.0011316153686493635, -0.017987923696637154, -0.0077240122482180595, 0.003748617833480239, -0.02775746025145054, -0.05185021087527275, -0.017343876883387566, -0.0437588207423687, 0.056712303310632706, -0.01681775599718094, 0.038425032049417496, -0.010549649596214294, 0.022133400663733482, -0.022024547681212425, -0.034869175404310226, 0.036864809691905975, -0.008544943295419216, 0.04049323499202728, -0.05928848311305046, -0.014105507172644138, -0.005982367787510157, -0.008767184801399708, 0.04575445502996445, 0.051342230290174484, 0.028247298672795296, -0.04883861541748047, 0.039549846202135086, -0.05195906385779381, 0.05112452432513237, 0.017434587702155113, 0.020228475332260132, -0.004610368981957436, -0.07452787458896637, -0.0003852368099614978, -0.00633160350844264, -0.020391754806041718, -0.015692943707108498, 0.03047877922654152, 0.017343876883387566, 0.0890415757894516, 0.03468775376677513, -0.003832525108009577, -0.034887317568063736, -0.039187002927064896, -0.01634605973958969, 0.06161067634820938, 0.0026623576413840055, 0.020790882408618927, 0.02570739947259426, 0.022877227514982224, 0.009715110994875431, -0.006898545194417238, 0.010295659303665161, 0.03441562131047249, 0.001152592245489359, -0.04096493124961853, -0.02570739947259426, 0.02231482043862343, 0.046153582632541656, 0.015184964053332806, 0.00029197492403909564, -0.029081836342811584, -0.014368567615747452, 0.006581057794392109, 0.035649288445711136, 0.04092864692211151, -0.01093063410371542, 0.017434587702155113 ]
54,971
scrypt.scrypt
__init__
null
def __init__(self, scrypt_code): if isinstance(scrypt_code, int): self._scrypt_code = scrypt_code super().__init__(ERROR_MESSAGES[scrypt_code]) else: self._scrypt_code = -1 super().__init__(scrypt_code)
(self, scrypt_code)
[ 0.005150806158781052, -0.022884611040353775, 0.05715847387909889, 0.037138860672712326, 0.00036420399555936456, -0.05924532562494278, -0.020514799281954765, 0.003026374848559499, 0.045309409499168396, -0.05786588042974472, 0.025042202323675156, 0.06486921012401581, -0.0021454324014484882, -0.004198017530143261, -0.02755349688231945, 0.016792070120573044, 0.02981719933450222, 0.020638594403862953, -0.02283155545592308, -0.0413125604391098, -0.0025886669754981995, 0.06387884169816971, 0.0063489763997495174, 0.06822939217090607, -0.012273509055376053, 0.09606584906578064, 0.0014280775794759393, 0.006521407049149275, 0.03300052881240845, -0.057618286460638046, -0.014873228967189789, 0.020214151591062546, 0.0005758734187111259, 0.08014919608831406, 0.0018525216728448868, -0.025148313492536545, -0.05818421393632889, 0.0011583786690607667, -0.09394363313913345, 0.03613080456852913, 0.01337883248925209, 0.015589478425681591, -0.0021575908176600933, -0.007945063523948193, -0.010372352786362171, 0.014201192185282707, -0.02047942765057087, -0.018551744520664215, -0.021575909107923508, -0.03466293588280678, -0.020001929253339767, -0.033424973487854004, 0.00009761385445017368, -0.0004064826061949134, -0.02884451486170292, 0.07463142275810242, 0.032346177846193314, 0.03947330266237259, -0.029994050040841103, -0.03452145308256149, -0.06239328533411026, 0.035971637815237045, -0.060164954513311386, -0.006021800916641951, 0.015182719565927982, -0.0403221920132637, -0.07724882662296295, 0.016774384304881096, 0.0255904421210289, 0.04361163079738617, 0.06957346200942993, 0.0032562820706516504, -0.08927474170923233, 0.023698128759860992, 0.09797585010528564, -0.006176546216011047, -0.05482403188943863, 0.026846090331673622, 0.0016093505546450615, 0.04361163079738617, 0.050261255353689194, -0.020214151591062546, 0.006804369855672121, 0.04201996698975563, 0.020037299022078514, -0.02304377779364586, 0.043753113597631454, -0.03851830214262009, -0.047077927738428116, 0.03809385746717453, -0.05500088259577751, 0.006021800916641951, -0.04120644927024841, 0.0231145191937685, 0.043647002428770065, 0.025448961183428764, 0.018374893814325333, -0.04792681336402893, 0.013175453059375286, 0.0030727984849363565, 0.04598144441843033, 0.03904885798692703, 0.023945722728967667, -0.07052846252918243, 0.025112943723797798, -0.0021498536225408316, -0.011681055650115013, -0.004744047299027443, 0.028119422495365143, -0.002363180974498391, -0.024529332295060158, -0.008674576878547668, -0.005424926523119211, 0.020125724375247955, -0.05878550931811333, -0.017879707738757133, 0.00856846570968628, -0.010319297201931477, 0.03158571571111679, 0.03975626453757286, 0.028985995799303055, 0.018030032515525818, -0.02617405354976654, 0.019117670133709908, 0.027730349451303482, 0.07922957092523575, -0.0004888292169198394, 0.0009467093041166663, 0.03436228632926941, -0.03436228632926941, 0.061756618320941925, -0.025360535830259323, 0.016942394897341728, 0.0019177357899025083, -0.04661811143159866, -0.036360710859298706, -0.012034758925437927, 0.05344458669424057, -0.026510071009397507, 0.01279522106051445, 0.0364314541220665, 0.04417755827307701, 0.012547628954052925, 0.010213186033070087, 0.026014886796474457, 0.09528770297765732, -0.001520924735814333, 0.02636859007179737, 0.004341709427535534, 0.007900849916040897, 0.06345439702272415, -0.0023609704803675413, 0.010054020211100578, 0.05461180955171585, -0.014059711247682571, 0.0008715473231859505, -0.0069635361433029175, -0.05011977627873421, 0.008776266127824783, 0.014590266160666943, 0.013909387402236462, -0.06320679932832718, 0.055460698902606964, -0.11155805736780167, -0.0015131874242797494, -0.007883165031671524, -0.02479461021721363, -0.006035064812749624, -0.0020658490248024464, 0.019029244780540466, -0.015315358527004719, -0.06504605710506439, -0.025342850014567375, 0.014333831146359444, 0.0492001473903656, 0.00845793355256319, 0.009567677974700928, -0.026457015424966812, -0.018065402284264565, 0.0024339216761291027, 0.0008102019201032817, -0.002484766533598304, -0.006335712503641844, 0.04194922745227814, 0.03324812278151512, 0.02123989164829254, 0.018427949398756027, 0.05079181119799614, 0.06808791309595108, -0.006600990425795317, 0.006406453438103199, 0.03289441764354706, -0.040003858506679535, -0.013210822828114033, 0.028773773461580276, 0.0187109112739563, 0.009806427173316479, -0.05952828750014305, -0.013944757170975208, 0.020620910450816154, 0.001452394644729793, 0.07127124071121216, 0.03287673369050026, -0.03584784269332886, 0.001309807994402945, 0.007392401807010174, -0.017941607162356377, 0.029498865827918053, 0.005570828914642334, -0.046405889093875885, -0.02509525790810585, -0.0423029288649559, 0.041489411145448685, 0.06426791101694107, 0.026846090331673622, -0.06005884334445, 0.07321660965681076, -0.030489236116409302, 0.024140259250998497, 0.02056785486638546, 0.11941027641296387, -0.000635008211247623, -0.04506181553006172, -0.044637370854616165, -0.003019742900505662, 0.049942925572395325, -0.004410239402204752, -0.07364105433225632, -0.010089389979839325, 0.08545474708080292, -0.03770478442311287, -0.028862198814749718, -0.03692663833498955, 0.0314796045422554, -0.025555072352290154, -0.01077911164611578, 0.019170725718140602, -0.01996655762195587, -0.10151288658380508, -0.03848293423652649, -0.04704255610704422, 0.0027257269248366356, 0.017862023785710335, 0.04612292721867561, 0.01763211563229561, -0.0012965440982952714, 0.006030643358826637, 0.07162494212388992, -0.07392401993274689, 0.03275293856859207, -0.002027162816375494, -0.0531616248190403, -0.0364314541220665, -0.017570218071341515, 0.01181369461119175, -0.01841026358306408, -0.04874033108353615, -0.008334136568009853, 0.004058746621012688, 0.02675766497850418, -0.04339941218495369, -0.02658081240952015, -0.06246402487158775, -0.0038774737622588873, 0.01927683688700199, -0.06578883528709412, -0.025820350274443626, 0.040109969675540924, 0.012980915606021881, 0.012609527446329594, 0.0492355152964592, -0.0019387368811294436, -0.012361934408545494, 0.08382771164178848, -0.006879531778395176, -0.0058405278250575066, -0.027500441297888756, 0.005738838110119104, -0.021770445629954338, -0.044637370854616165, 0.08573771268129349, 0.028561551123857498, 0.007927377708256245, -0.01185790728777647, 0.008497725240886211, 0.0015574004501104355, 0.03363719582557678, -0.04545088857412338, -0.02647470124065876, 0.009638418443500996, -0.01909998431801796, 0.06455087661743164, 0.032222382724285126, 0.03485747426748276, 0.07314586639404297, -0.030064791440963745, 0.006035064812749624, 0.05146384984254837, 0.011654527857899666, -0.043364040553569794, -0.004465505946427584, -0.03457450866699219, 0.03968552500009537, -0.012061286717653275, 0.005159648600965738, -0.03259377181529999, -0.002442764351144433, 0.010062862187623978, -0.0067468928173184395, 0.03703274950385094, 0.03402626886963844, 0.08927474170923233, -0.014183507300913334, 0.02666923776268959, 0.02449396252632141, 0.009267029352486134, 0.06653161346912384, -0.01927683688700199, -0.006795526947826147, 0.09479251503944397, -0.008550779893994331, -0.05577902868390083, 0.04124182090163231, -0.017755912616848946, 0.007781475316733122, -0.012034758925437927, 0.011893277987837791, -0.01938294805586338, 0.004299707245081663, -0.003229754511266947, -0.0698917955160141, -0.0013949178392067552, 0.033018216490745544, -0.0876477062702179, -0.00787432212382555, -0.02155822329223156, 0.015147348865866661, -0.02391035109758377, -0.050225887447595596, -0.06879531592130661, 0.010425408370792866, -0.0679110586643219, 0.027394330129027367, 0.03728033974766731, 0.015350728295743465, -0.044814225286245346, -0.027977941557765007, -0.027429699897766113, -0.015005867928266525, -0.012202768586575985, -0.051923662424087524, -0.021593594923615456, -0.0028207849245518446, 0.01550105307251215, 0.03904885798692703, -0.031744882464408875, 0.000621191633399576, -0.04598144441843033, 0.03565330430865288, -0.0393671914935112, 0.039614785462617874, -0.013078183867037296, -0.014846701174974442, -0.010027492418885231, -0.038730524480342865, 0.003435344435274601, -0.0324699729681015, -0.05655717849731445, 0.06716828048229218, 0.035777103155851364, -0.0010749268112704158, -0.06352513283491135, -0.07357031106948853, -0.026421645656228065, 0.017888551577925682, 0.002546664560213685, -0.049164775758981705, 0.02490072138607502, -0.04163089394569397, -0.03415006771683693, 0.0196835957467556, -0.05560217797756195, 0.025466646999120712, 0.029109792783856392, -0.04053441435098648, -0.00003312515400466509, 0.00598200922831893, 0.0038531566970050335, 0.055248476564884186, 0.04774996265769005, -0.06363124400377274, 0.010522676631808281, 0.0767536461353302, -0.0004214044602122158, -0.008939853869378567, 0.044354408979415894, 0.028596922755241394, 0.03264682739973068, -0.023857295513153076, 0.002050374634563923, -0.034291546791791916, -0.012998600490391254, 0.012211610563099384, 0.024865351617336273, 0.058113474398851395, 0.0011307456297799945, 0.026297850534319878, 0.0016049293335527182, -0.02332674153149128, 0.004872264806181192, -0.050049036741256714, 0.003229754511266947, 0.03287673369050026, -0.0492355152964592, -0.019365262240171432, -0.03209858760237694, -0.020391002297401428, 0.03869515657424927, -0.005610620602965355, -0.019117670133709908, -0.0018094141269102693, 0.000709064828697592, 0.02253090776503086, 0.02146979793906212, -0.026651553809642792, 0.046512000262737274, 0.02399877831339836, 0.0031457499135285616, -0.014192350208759308, 0.020444057881832123, -0.0334603451192379, 0.066991426050663, 0.0008787319529801607, -0.013423045165836811, 0.02873840369284153, -0.018286466598510742, -0.051711440086364746, 0.0054824030958116055, -0.03996848687529564, 0.025413591414690018, 0.06462161242961884, -0.003492821240797639, 0.05935143679380417, 0.046901073306798935, 0.07045771926641464, -0.026545442640781403, -0.03798774629831314, 0.06253476440906525, -0.00954999215900898, -0.018834708258509636, -0.01102670468389988, -0.020302576944231987, -0.01730494014918804, 0.008537516929209232, -0.023751184344291687, 0.0016049293335527182, -0.09557066857814789, 0.009116705507040024, 0.01869322545826435, -0.0354057140648365, -0.04407144710421562, 0.02371581457555294, -0.034415341913700104, -0.001662406139075756, 0.0011429041624069214, 0.06642550230026245, 0.005354185588657856, 0.013140082359313965, 0.002973319496959448, 0.030931364744901657, -0.03975626453757286, 0.007502933964133263, 0.009045965038239956, -0.012697952799499035, -0.01693355105817318, 0.012945545837283134, 0.00037829685606993735, -0.08340326696634293, -0.05974050983786583, -0.0022902297787368298, 0.043859224766492844, -0.0027633081190288067, 0.043753113597631454, 0.01998424343764782, -0.007312818430364132, -0.07335808873176575, -0.005031431093811989, -0.00831203069537878, 0.016668273136019707, 0.03897811844944954, -0.010885222814977169, 0.03080756776034832, -0.018834708258509636, 0.010124760679900646, 0.010885222814977169, 0.011689898557960987, -0.09472177922725677, -0.012848276644945145, -0.022760815918445587, -0.025731924921274185, -0.00846677552908659, -0.001071058213710785, -0.03876589611172676, -0.05425810441374779, 0.06083698943257332, 0.02097461372613907, -0.036679044365882874, 0.05471792072057724, 0.013467257842421532, 0.00477499607950449, 0.008820478804409504, 0.024087203666567802, 0.014439942315220833, -0.024175629019737244, -0.004951848182827234, 0.0007919640629552305, -0.03671441599726677, -0.011495361104607582, -0.027429699897766113, 0.041560154408216476, 0.01901155896484852, 0.0011782745132222772, 0.002984372666105628, 0.0004902108339592814, 0.036572933197021484, -0.02468849904835224, 0.010991333983838558, -0.03869515657424927, 0.05238347873091698, 0.07013939321041107, -0.040109969675540924, -0.024741554632782936, -0.02086850255727768, 0.060766249895095825, -0.006680573336780071, 0.022990722209215164, -0.028119422495365143, 0.013316933996975422, -0.003291652537882328, -0.06306532025337219, -0.0206562802195549, 0.047007184475660324, 0.012812906876206398, -0.029870254918932915, 0.005902425851672888, -0.024157943204045296, -0.09429733455181122, 0.05001366510987282, -0.08396919071674347, -0.042585890740156174, -0.006486036814749241, -0.022955352440476418, 0.002692567417398095, -0.015067766420543194, 0.015987394377589226, 0.0014767118263989687, 0.04909403622150421, 0.02451164834201336, 0.046405889093875885, 0.05057958886027336, 0.011548416689038277, 0.0002455199137330055, -0.01612887717783451, -0.09521695971488953, -0.05952828750014305, -0.044743482023477554, -0.03503432497382164, -0.03515812009572983, -0.011017861776053905, 0.006079277489334345, 0.01742873713374138, -0.017260726541280746, 0.00661867531016469, 0.08354474604129791, -0.04410681873559952, -0.004606987349689007, -0.03503432497382164, 0.042090706527233124, 0.021009983494877815, -0.0021664334926754236, 0.014731748029589653, 0.010336983017623425, -0.032222382724285126, -0.03855367377400398, 0.001907787867821753, 0.003576825838536024, -0.046901073306798935, -0.027394330129027367, -0.018746281042695045, -0.027093682438135147, -0.04152478277683258, -0.012627212330698967, -0.025130627676844597, -0.010496148839592934, 0.010045177303254604, 0.03531728684902191, 0.027907200157642365, -0.041560154408216476, -0.0067689991556108, 0.03482210263609886, -0.05333847552537918, 0.03552950918674469, -0.029958680272102356, 0.03503432497382164, 0.08432289958000183, -0.025519702583551407, 0.0052657597698271275, 0.03650219365954399, -0.04025144875049591, 0.01977202109992504, 0.006547934841364622, 0.04941236972808838, 0.030754512175917625, -0.012353092432022095, -0.0016303517622873187, 0.0006620886269956827, 0.006251708138734102, 0.005305551458150148, 0.02047942765057087, 0.019559798762202263, -0.040392931550741196, 0.04343478009104729, -0.024741554632782936, 0.0334957130253315, -0.06635476648807526, 0.07420697808265686, 0.020727021619677544, 0.015722116455435753, -0.04990755394101143, -0.044248297810554504, 0.042055338621139526, 0.011230084113776684, 0.04368237406015396, -0.07219086587429047, -0.04672422260046005, 0.021275261417031288, 0.016013922169804573, 0.02923358790576458, 0.047679223120212555, 0.05966976657509804, 0.004377080127596855, -0.030842939391732216, -0.006676152348518372, -0.02205340936779976, -0.033796362578868866, -0.010496148839592934, -0.02550201676785946, -0.033301178365945816, 0.017755912616848946, -0.019329892471432686, -0.016977764666080475, 0.028101736679673195, -0.0137855913490057, 0.01028392743319273, 0.009275872260332108, -0.012857119552791119, -0.010443093255162239, 0.013423045165836811, 0.0482097752392292, -0.010849853046238422, -0.04389459639787674, 0.01367948018014431, 0.016668273136019707, 0.017260726541280746, 0.008696682751178741, 0.005274602212011814, 0.03660830482840538, -0.05913921445608139, 0.03374330699443817, -0.042868856340646744, 0.012123185209929943, -0.016005080193281174, -0.031727198511362076, -0.00007640546391485259, -0.01978970691561699, 0.013484942726790905, -0.011919805780053139, -0.03572404757142067, 0.0393671914935112, -0.007706313394010067, -0.03188636526465416, 0.010204344056546688, -0.022283315658569336, -0.03908422961831093, -0.028915254399180412, 0.016685958951711655, -0.01550105307251215, 0.03887200728058815, -0.02834932878613472, -0.09090177714824677, -0.02843775600194931, -0.044849593192338943, -0.04675959423184395, -0.03682052716612816, -0.07006864994764328, -0.005712310317903757, -0.05245421826839447, -0.038624413311481476, -0.010708371177315712, 0.007750526536256075, 0.01264489721506834, -0.019736651331186295, -0.009558835066854954, 0.011725268326699734, -0.04025144875049591, -0.05393977090716362, -0.013502628542482853, -0.054187364876270294, 0.056238844990730286, -0.012812906876206398, 0.04293959587812424, 0.0011826958507299423, 0.030683772638440132, -0.02636859007179737, -0.04113570973277092, 0.03535265848040581, -0.016358783468604088, 0.049058664590120316, -0.041560154408216476, -0.03190404921770096, 0.006141175981611013, -0.006645203102380037, 0.051216255873441696, 0.04902329668402672, 0.04990755394101143, -0.04612292721867561, 0.03947330266237259, -0.03383173421025276, 0.0738532766699791, 0.0027809932362288237, 0.02638627588748932, -0.013184295035898685, -0.07038698345422745, -0.023061463609337807, -0.007166915573179722, -0.023397481068968773, 0.011910962872207165, 0.033796362578868866, 0.009903696365654469, 0.08510104566812515, 0.025466646999120712, -0.004078642465174198, -0.035688675940036774, -0.00222722627222538, -0.020037299022078514, 0.06660235673189163, 0.019117670133709908, -0.007021013181656599, 0.03485747426748276, 0.020426372066140175, 0.01166337076574564, -0.005429347511380911, 0.0032142798881977797, 0.018162671476602554, 0.006822054740041494, -0.023892667144536972, -0.038129229098558426, 0.043540891259908676, 0.04251515120267868, 0.016898181289434433, -0.0014501840341836214, -0.025838036090135574, -0.016261514276266098, 0.014333831146359444, 0.048457369208335876, 0.04247978329658508, -0.0030462706927210093, 0.019718965515494347 ]
54,972
scrypt.scrypt
hash
Compute scrypt(password, salt, N, r, p, buflen). The parameters r, p, and buflen must satisfy r * p < 2^30 and buflen <= (2^32 - 1) * 32. The parameter N must be a power of 2 greater than 1. N, r and p must all be positive. - `password` and `salt` can be both str and bytes. If they are str instances, they wil be encoded with utf-8. - The result will be a bytes instance Exceptions raised: - TypeError on invalid input - scrypt.error if scrypt failed
def hash(password, salt, N=1 << 14, r=8, p=1, buflen=64): """Compute scrypt(password, salt, N, r, p, buflen). The parameters r, p, and buflen must satisfy r * p < 2^30 and buflen <= (2^32 - 1) * 32. The parameter N must be a power of 2 greater than 1. N, r and p must all be positive. - `password` and `salt` can be both str and bytes. If they are str instances, they wil be encoded with utf-8. - The result will be a bytes instance Exceptions raised: - TypeError on invalid input - scrypt.error if scrypt failed """ outbuf = create_string_buffer(buflen) password = _ensure_bytes(password) salt = _ensure_bytes(salt) if r * p >= (1 << 30) or N <= 1 or (N & (N - 1)) != 0 or p < 1 or r < 1: raise error( 'hash parameters are wrong (r*p should be < 2**30, ' 'and N should be a power of two > 1)' ) result = _crypto_scrypt( password, len(password), salt, len(salt), N, r, p, outbuf, buflen, 0 ) if result: raise error('could not compute hash') return outbuf.raw
(password, salt, N=16384, r=8, p=1, buflen=64)
[ -0.0010334855178371072, -0.03257099166512489, 0.04526331275701523, 0.03060457855463028, 0.02320370450615883, -0.012558245100080967, -0.03761216625571251, -0.0471939742565155, 0.01145884022116661, -0.006605369038879871, 0.07879963517189026, 0.0490531325340271, 0.002994314767420292, 0.02969287522137165, -0.04326114431023598, 0.01123538427054882, -0.007928229868412018, -0.03242798149585724, -0.029138704761862755, -0.037004366517066956, 0.0018680948996916413, 0.019485391676425934, 0.07701198756694794, 0.0777270495891571, -0.010171731933951378, -0.005461272317916155, 0.06013656407594681, -0.010708026587963104, -0.04787328094244003, 0.045549336820840836, 0.050733521580696106, -0.011932567693293095, 0.008857809007167816, 0.044691264629364014, -0.0014915709616616368, -0.020772499963641167, 0.00725786155089736, 0.0036825602874159813, -0.01866307109594345, -0.04840957745909691, -0.06024382263422012, 0.017429593950510025, 0.020289834588766098, -0.03328605368733406, -0.011101310141384602, -0.03668259084224701, -0.009072327055037022, 0.005796457175165415, -0.059028223156929016, 0.011137062683701515, -0.013121355324983597, -0.01796588860452175, -0.08087331056594849, -0.006122703198343515, 0.04569234699010849, 0.013898983597755432, -0.031230255961418152, -0.012781701982021332, 0.007664551958441734, -0.011137062683701515, 0.033858101814985275, -0.01869882456958294, -0.015159277245402336, 0.03494856879115105, -0.0028647100552916527, -0.01685754582285881, -0.02449081279337406, 0.0015664288075640798, 0.07329367101192474, -0.05062626302242279, 0.028316384181380272, 0.05370102450251579, -0.01934237964451313, 0.010994050651788712, -0.035896021872758865, 0.04562084376811981, 0.011065556667745113, -0.007601983845233917, 0.04183102399110794, 0.0014502315316349268, 0.03512733429670334, -0.06728716939687729, 0.0045652128756046295, 0.019306626170873642, -0.030318554490804672, 0.0328570157289505, 0.04776602238416672, -0.014462092891335487, -0.0332324244081974, -0.04694370552897453, -0.035002198070287704, 0.02542039193212986, -0.012942589819431305, 0.03012191131711006, -0.002437908435240388, -0.015713447704911232, 0.026457227766513824, 0.03255311772227287, 0.004569681826978922, 0.023579111322760582, 0.02563490904867649, 0.025134367868304253, 0.0276907067745924, 0.04522756114602089, -0.006958429701626301, 0.05648975819349289, -0.023328840732574463, 0.0617096982896328, 0.009420918300747871, -0.030068282037973404, 0.03875626623630524, 0.049839697778224945, 0.013228613883256912, -0.05001846328377724, -0.02114790678024292, 0.011861061677336693, 0.009876769036054611, -0.01451572310179472, 0.053665269166231155, 0.013559329323470592, 0.016491075977683067, 0.04976819083094597, -0.011002989485859871, 0.01224540639668703, 0.010627582669258118, 0.07551036030054092, -0.03607478737831116, 0.010645459406077862, 0.016088854521512985, 0.014587229117751122, 0.004603200126439333, 0.03314303979277611, 0.08809541910886765, 0.042403072118759155, 0.0011608556378632784, -0.013818538747727871, -0.04798054322600365, 0.02994314767420292, 0.03911379352211952, -0.030086159706115723, 0.03868475928902626, -0.028673915192484856, 0.02702927589416504, 0.03764792159199715, 0.057490844279527664, -0.018841836601495743, 0.04054391384124756, -0.054559096693992615, 0.03754066303372383, 0.06424815952777863, 0.05899246782064438, -0.01573132537305355, 0.08251795172691345, 0.0004212151688989252, -0.030550947412848473, 0.027833718806505203, 0.0671084001660347, -0.07565337419509888, -0.007150602526962757, -0.03736189752817154, 0.03017554245889187, -0.09002608060836792, -0.002395451767370105, -0.04526331275701523, -0.03237435221672058, -0.0021608227398246527, 0.018949097022414207, 0.026832634583115578, 0.029317470267415047, -0.03646807000041008, 0.006229962222278118, -0.04683644324541092, -0.006475764326751232, -0.0007832144037820399, 0.008866746909916401, -0.017617296427488327, -0.02050435170531273, -0.030711837112903595, -0.06871728599071503, -0.06321132183074951, 0.0018703293753787875, -0.08437711000442505, 0.001611120067536831, -0.03494856879115105, -0.010422002524137497, 0.019413884729146957, 0.008115933276712894, 0.021273041144013405, -0.00009336284711025655, -0.02609969861805439, -0.05577469617128372, -0.03464466705918312, -0.05373677611351013, 0.045799609273672104, -0.008902499452233315, 0.0036892639473080635, -0.027172287926077843, -0.028656039386987686, -0.03911379352211952, 0.04740849509835243, 0.014041995629668236, 0.03957858309149742, 0.007923761382699013, -0.052807196974754333, 0.01092254463583231, -0.07980072498321533, -0.05609647557139397, 0.000807235948741436, 0.046228643506765366, -0.048016294836997986, 0.0490531325340271, -0.05856343358755112, 0.006515986286103725, 0.045549336820840836, 0.041938282549381256, 0.01984292082488537, 0.10161005705595016, -0.008044427260756493, 0.026922017335891724, -0.06503472477197647, 0.06435541808605194, -0.007722650654613972, -0.03308941051363945, 0.034555286169052124, -0.056561265140771866, 0.06074436753988266, -0.000015641942809452303, -0.0007949458668008447, 0.02904932200908661, -0.05016147345304489, -0.0053093223832547665, 0.0010513620218262076, 0.06313981860876083, 0.05248542129993439, -0.01844855397939682, -0.038613252341747284, -0.0013250960037112236, 0.027351053431630135, -0.020629487931728363, 0.03357207775115967, -0.0584561750292778, 0.018046332523226738, -0.03569938242435455, 0.04855259135365486, 0.008115933276712894, -0.017661986872553825, -0.013586143963038921, 0.04386894404888153, -0.025920933112502098, 0.0012737010838463902, -0.058348916471004486, -0.021719954907894135, -0.02590305730700493, -0.04519180580973625, 0.03714738041162491, 0.033643584698438644, 0.01123538427054882, 0.06235325336456299, -0.002799907699227333, 0.029317470267415047, 0.017206136137247086, -0.051412831991910934, -0.06349734961986542, -0.03696861490607262, 0.05695454776287079, -0.06303256005048752, -0.05034023895859718, 0.05520264804363251, -0.009143833070993423, -0.02315007522702217, 0.05977903679013252, 0.03083697333931923, -0.031355392187833786, 0.05216364562511444, -0.011494592763483524, -0.04865984991192818, 0.023972393944859505, 0.03384022414684296, 0.0826609656214714, 0.002085964661091566, 0.025277379900217056, 0.029102951288223267, -0.01372021809220314, 0.013979427516460419, 0.025134367868304253, 0.1363619863986969, 0.024580195546150208, -0.030282801017165184, 0.037040118128061295, -0.012674442492425442, 0.017250828444957733, 0.01799270324409008, -0.01959265023469925, -0.029317470267415047, 0.05766960605978966, -0.0035596592351794243, -0.057955630123615265, -0.019020602107048035, 0.033411189913749695, -0.028048237785696983, -0.024240542203187943, 0.004129472654312849, 0.06961110979318619, -0.016830729320645332, 0.018377047032117844, -0.05069776996970177, 0.012495677918195724, -0.01710781641304493, -0.016759224236011505, -0.004875816870480776, -0.00977844838052988, 0.03171291947364807, -0.02724379487335682, 0.00853603146970272, 0.027404682710766792, -0.07093397527933121, 0.008857809007167816, -0.022202620282769203, -0.04655041918158531, -0.005550655070692301, -0.03198106959462166, -0.040400903671979904, 0.06281804293394089, -0.01866307109594345, -0.017259765416383743, -0.03736189752817154, -0.05463059991598129, -0.01640169322490692, -0.0035820049233734608, 0.001936249085702002, 0.01427438948303461, 0.04840957745909691, 0.05813439562916756, 0.013103478588163853, -0.10325469821691513, 0.031355392187833786, 0.013353750109672546, -0.02608182281255722, -0.04379744082689285, -0.04676494002342224, 0.009295783005654812, -0.04898162558674812, -0.021773584187030792, 0.030944231897592545, -0.04587111249566078, -0.015472115948796272, -0.019288750365376472, -0.025080736726522446, -0.07025466859340668, -0.039971865713596344, 0.017420655116438866, -0.04515605419874191, 0.01620505191385746, 0.004404324106872082, 0.01751897484064102, 0.034787680953741074, 0.008500278927385807, -0.01418500766158104, -0.0032535239588469267, -0.07104123383760452, 0.022828297689557076, 0.0011094606015831232, 0.0013921328354626894, -0.04726548120379448, -0.042438823729753494, 0.06703689694404602, -0.009894645772874355, 0.01980716921389103, -0.00934941228479147, 0.02724379487335682, 0.00864329095929861, -0.06456993520259857, -0.04336840286850929, -0.00889356154948473, 0.03600328415632248, -0.0010966118425130844, -0.032088328152894974, -0.011744864284992218, -0.032946400344371796, -0.05327198654413223, -0.0021485325414687395, -0.025777921080589294, -0.002641253639012575, -0.02118365839123726, 0.01170911081135273, 0.03982885554432869, -0.01532016508281231, 0.025491897016763687, 0.0530574694275856, 0.0027015870437026024, -0.13250066339969635, 0.027404682710766792, 0.07858511805534363, -0.04268909618258476, -0.0028468335513025522, 0.01067227404564619, 0.07161328196525574, 0.02878117375075817, -0.03194531425833702, 0.009957213886082172, -0.03739764913916588, -0.008379612118005753, 0.043547168374061584, 0.004308237694203854, 0.006462357006967068, -0.02273891493678093, -0.01461404375731945, -0.033429067581892014, -0.02223837375640869, -0.08580722659826279, -0.022560149431228638, 0.03460891544818878, -0.006122703198343515, -0.005765173118561506, -0.030068282037973404, -0.017161445692181587, -0.05466635525226593, 0.003593177767470479, 0.020557980984449387, 0.03569938242435455, -0.037898194044828415, -0.09260030090808868, 0.004898162558674812, 0.013997304253280163, 0.007450033910572529, 0.06814523786306381, 0.026224834844470024, 0.01641957089304924, 0.01753685250878334, 0.026939895004034042, 0.0001728993229335174, 0.06185270845890045, -0.024848343804478645, 0.04136623442173004, 0.0021753471810370684, -0.07765553891658783, 0.007677959278225899, 0.015829645097255707, 0.006377443205565214, -0.04190253093838692, 0.048266567289829254, 0.009251091629266739, 0.04050816223025322, 0.04744424670934677, 0.04544207826256752, -0.014247574843466282, -0.01885971426963806, 0.021559065207839012, 0.013675526715815067, -0.010332620702683926, -0.025795796886086464, -0.028227003291249275, 0.0008653345867060125, 0.03671834245324135, -0.0422600582242012, 0.03603903576731682, -0.038827769458293915, -0.017429593950510025, -0.029514111578464508, 0.027529818937182426, -0.04658617451786995, 0.003861325327306986, 0.02567066252231598, 0.04948216676712036, -0.011995135806500912, -0.06778770685195923, -0.018341295421123505, -0.020289834588766098, 0.03514521196484566, -0.0005111563368700445, 0.011601852253079414, -0.007123787421733141, -0.006587492302060127, 0.02406177669763565, 0.0631040632724762, -0.015284412540495396, -0.008357266895473003, 0.00912595633417368, -0.04680069163441658, -0.0010502446675673127, -0.0017876506317406893, 0.0715775266289711, 0.013282244093716145, -0.02565278485417366, 0.04168801009654999, -0.05316472798585892, 0.04025788977742195, 0.021022770553827286, 0.03886352479457855, 0.010851038619875908, 0.014417401514947414, 0.0166609026491642, 0.04662192612886429, 0.027637077495455742, -0.006462357006967068, 0.032034698873758316, -0.00489369360730052, -0.00797292124480009, -0.061995722353458405, -0.0387205109000206, -0.03212407976388931, 0.018108900636434555, 0.044870030134916306, 0.007588576525449753, 0.02182721346616745, -0.031855933368206024, -0.00173178652767092, 0.013121355324983597, 0.0413304828107357, 0.042867861688137054, -0.011530346237123013, -0.002084847539663315, 0.05159159377217293, -0.027637077495455742, -0.009841016493737698, -0.02543826773762703, -0.004822187591344118, 0.02184508927166462, -0.042403072118759155, 0.013201799243688583, 0.0010010843398049474, 0.07129150629043579, -0.056382499635219574, -0.0260639451444149, 0.010761656798422337, 0.004154053051024675, 0.08852445334196091, -0.06532075256109238, 0.043332651257514954, 0.004536163527518511, -0.03414412587881088, 0.012719133868813515, -0.023346716538071632, 0.010073411278426647, 0.012290097773075104, -0.01024323794990778, -0.05988629534840584, 0.02994314767420292, 0.044691264629364014, -0.05913548171520233, -0.04301087185740471, -0.009331535547971725, 0.028888434171676636, 0.054594848304986954, 0.022381385788321495, 0.06846701353788376, -0.020307710394263268, -0.053450752049684525, -0.061316415667533875, -0.0629253014922142, 0.0220596082508564, -0.018627319484949112, 0.03532397374510765, -0.024598071351647377, 0.016589397564530373, 0.0002596283156890422, 0.012942589819431305, 0.008321513421833515, -0.023364592343568802, 0.012415233068168163, -0.006824356038123369, -0.06045834347605705, 0.018180405721068382, -0.05920698866248131, -0.005769642069935799, -0.04025788977742195, 0.017447469756007195, -0.05881370231509209, 0.009067857638001442, -0.00039272449794225395, 0.02904932200908661, 0.13314421474933624, 0.038362979888916016, 0.060172319412231445, 0.03171291947364807, -0.015516807325184345, 0.030086159706115723, -0.09181373566389084, 0.04887436702847481, -0.03174867480993271, 0.024169035255908966, 0.020647363737225533, 0.010207484476268291, 0.010028719902038574, -0.014569352380931377, 0.045120298862457275, -0.055023886263370514, -0.01734914816915989, -0.05309322103857994, 0.013890044763684273, -0.018180405721068382, -0.01506095565855503, 0.05380828306078911, 0.008294698782265186, 0.02949623391032219, -0.032517362385988235, -0.003076993627473712, -0.029800135642290115, -0.006788603030145168, -0.012415233068168163, -0.05198488011956215, 0.0066321836784482, -0.0110298041254282, -0.0007089151768013835, 0.05788412690162659, -0.016258681192994118, -0.023328840732574463, 0.029353221878409386, -0.026886263862252235, 0.011548222973942757, 0.03761216625571251, 0.028227003291249275, 0.010350496508181095, -0.004630014766007662, 0.01820722036063671, 0.05105530098080635, 0.045084547251462936, -0.022685285657644272, 0.006212085951119661, -0.0509122870862484, -0.026028191670775414, 0.10010842978954315, -0.03269612789154053, 0.02250652015209198, -0.0441192165017128, -0.0009077913127839565, -0.013461008667945862, 0.023060692474246025, -0.038792017847299576, -0.06978987902402878, -0.06389062851667404, -0.03103361465036869, 0.0666436105966568, 0.018555812537670135, -0.008786302991211414, -0.013979427516460419, 0.04140198603272438, 0.03351844847202301, -0.03307153657078743, 0.007450033910572529, 0.0048802862875163555, -0.02089763432741165, 0.017232950776815414, -0.028459398075938225, 0.007566230837255716, 0.04526331275701523, 0.02449081279337406, -0.01751897484064102, 0.029567740857601166, -0.02341822162270546, -0.029835887253284454, 0.0009999669855460525, 0.017706679180264473, -0.009161708876490593, 0.023918764665722847, -0.030264923349022865, 0.0077941566705703735, -0.037218883633613586, 0.018278727307915688, -0.02250652015209198, 0.009233214892446995, 0.02388301119208336, -0.012638689950108528, 0.02406177669763565, -0.1199871078133583, -0.02386513538658619, 0.0166162122040987, -0.006712628062814474, -0.0052646310068666935, -0.0063327522948384285, 0.03103361465036869, 0.0020222796592861414, 0.013380564749240875, -0.037040118128061295, -0.008008674718439579, 0.016830729320645332, -0.0701831579208374, -0.03954283148050308, -0.030979985371232033, -0.01820722036063671, -0.021201536059379578, -0.045084547251462936, -0.014819622971117496, -0.04501304030418396, 0.009814201854169369, 0.08780939877033234, 0.012129209004342556, 0.0008748315158300102, -0.05759810283780098, 0.0015854225493967533, -0.02697564661502838, -0.006560677662491798, -0.032982151955366135, -0.028262754902243614, 0.0037361897993832827, -0.00027303569368086755, 0.02230987884104252, -0.0027328708674758673, 0.04369017854332924, -0.05191337317228317, -0.025277379900217056, 0.012674442492425442, 0.04655041918158531, 0.013174984604120255, -0.03796969726681709, -0.010314743965864182, -0.052556928247213364, -0.03893502801656723, 0.03532397374510765, 0.031927440315485, 0.011387334205210209, -0.02522374875843525, 0.04501304030418396, 0.05087653547525406, -0.00028797934646718204, 0.02343609929084778, 0.024669578298926353, 0.03771942853927612, -0.025920933112502098, -0.03371509164571762, 0.023060692474246025, -0.028227003291249275, 0.013112417422235012, 0.017876505851745605, -0.006605369038879871, 0.008151686750352383, 0.029353221878409386, -0.003579770214855671, 0.0715775266289711, 0.03357207775115967, -0.03257099166512489, -0.03423350676894188, -0.02118365839123726, 0.004862409550696611, 0.011414148844778538, -0.004136176314204931, -0.0026524264831095934, -0.027100782841444016, -0.011414148844778538, 0.015901152044534683, 0.0593857504427433, 0.05112680792808533, -0.013800662010908127, -0.028441520407795906, 0.0018189344555139542, -0.00855837669223547, -0.026743251830339432, -0.023704247549176216, 0.035466987639665604, -0.03675409406423569, 0.028638161718845367, 0.01667878031730652, -0.03982885554432869, -0.0070656887255609035, 0.012665504589676857, -0.016732409596443176, 0.005809864494949579, -0.011744864284992218, -0.006578553933650255, 0.022792544215917587, 0.013425256125628948, -0.01916361413896084, -0.04276060312986374, -0.018341295421123505, 0.012790639884769917, -0.009617560543119907, 0.0020144586451351643, -0.015257597900927067 ]
54,974
pytest_deadfixtures
AvailableFixture
AvailableFixture(relpath, argname, fixturedef)
from pytest_deadfixtures import AvailableFixture
(relpath, argname, fixturedef)
[ 0.051144637167453766, -0.01910179853439331, -0.0071158502250909805, -0.031147977337241173, -0.041989538818597794, 0.012545235455036163, -0.0043473802506923676, 0.03799709305167198, -0.004054829943925142, 0.01265709288418293, 0.0007518106722272933, -0.025021634995937347, -0.030838219448924065, -0.007412702310830355, -0.024333281442523003, -0.01092760544270277, 0.012183849699795246, 0.0799177959561348, -0.0014702791813760996, -0.047324277460575104, -0.01825856603682041, 0.08232703059911728, -0.04677359387278557, -0.02860107086598873, -0.002310285111889243, 0.0266908910125494, -0.014756569638848305, -0.037928257137537, 0.05912953242659569, 0.002639404032379389, -0.0664604902267456, -0.02453978732228279, -0.0025512087158858776, 0.07833458483219147, 0.005476709455251694, -0.04625732824206352, 0.013698226772248745, 0.03403906151652336, -0.04959584027528763, 0.015806308016180992, -0.0001340406306553632, 0.012261290103197098, 0.024522580206394196, 0.030390789732336998, 0.011805255897343159, -0.015212603844702244, -0.0005818734643980861, -0.002305982867255807, -0.04536246880888939, 0.04570664465427399, 0.04522480070590973, -0.056651461869478226, 0.043297410011291504, 0.08631947636604309, -0.000026603100195643492, 0.043331827968358994, 0.012476400472223759, 0.037274319678545, -0.003934368025511503, 0.04343508183956146, -0.01564282365143299, 0.033453959971666336, 0.036104120314121246, -0.06270896643400192, 0.013853106647729874, 0.007442818023264408, -0.004835680592805147, -0.007593395188450813, 0.01923946850001812, 0.044398773461580276, -0.027585750445723534, 0.01584932953119278, 0.012046179734170437, 0.04570664465427399, 0.09609409421682358, -0.04636058211326599, -0.04660150408744812, -0.03304094821214676, 0.03259351849555969, -0.007412702310830355, -0.008032220415771008, -0.008075241930782795, -0.06129784509539604, 0.07296542823314667, 0.02051292173564434, -0.002620043931528926, 0.05499941483139992, -0.004796960856765509, 0.07571884244680405, -0.019686898216605186, -0.014541459269821644, 0.009258349426090717, -0.010411340743303299, 0.019996657967567444, 0.027757838368415833, -0.0031449133530259132, 0.03699897974729538, 0.04137002304196358, -0.0688353106379509, 0.0048916093073785305, -0.011745024472475052, 0.034796249121427536, -0.037756167352199554, 0.05771840736269951, 0.03176749497652054, -0.0007819260936230421, -0.018551116809248924, -0.04780612140893936, 0.018516698852181435, -0.0010986761189997196, -0.07069386541843414, -0.022319849580526352, -0.010583428665995598, 0.023851435631513596, -0.004938933532685041, -0.07392912358045578, 0.016838837414979935, -0.029564766213297844, 0.029822899028658867, -0.017604630440473557, 0.026484385132789612, 0.03400464355945587, -0.04377925768494606, -0.023352378979325294, 0.09513039886951447, 0.030941471457481384, -0.0008754990994930267, 0.06542796641588211, 0.012269893661141396, -0.014851218089461327, 0.09760846942663193, -0.005476709455251694, -0.08776502311229706, -0.01122875977307558, 0.0057649570517241955, 0.040475163608789444, 0.06257129460573196, 0.024402117356657982, 0.0570644736289978, -0.045741062611341476, -0.03940821439027786, 0.009000216610729694, 0.007890247739851475, 0.004003203473985195, -0.02736203558743, 0.0300466138869524, -0.09306533634662628, -0.029633602127432823, -0.07289659231901169, 0.04123235121369362, 0.05613519623875618, -0.04777170717716217, -0.09726429730653763, 0.001112120458856225, -0.025434646755456924, -0.004439877346158028, -0.05620403215289116, -0.01920505240559578, 0.01156433206051588, -0.04556897655129433, -0.019463183358311653, -0.0021059303544461727, 0.0010180097306147218, 0.05345061793923378, -0.02075384557247162, -0.0005372380837798119, -0.07902293652296066, -0.062433626502752304, 0.0016552740707993507, -0.011788046918809414, -0.03672363981604576, 0.018482280895113945, -0.002226392040029168, -0.004089247900992632, 0.014343557879328728, -0.02336958795785904, -0.006307035218924284, -0.05620403215289116, 0.0037988487165421247, -0.014223095960915089, -0.02068501152098179, 0.013405676931142807, -0.01689046435058117, 0.01544492319226265, 0.01689046435058117, 0.012269893661141396, -0.043022070080041885, 0.05031861364841461, 0.02027199976146221, -0.008767897263169289, -0.017639048397541046, 0.032318178564310074, 0.04928608238697052, 0.03286886215209961, 0.006547959055751562, -0.021872419863939285, -0.016064440831542015, 0.028325730934739113, -0.024092359468340874, -0.023524466902017593, -0.06188294291496277, 0.023386796936392784, 0.002209183294326067, -0.04670475795865059, 0.01571165956556797, 0.06725209951400757, -0.015264229848980904, -0.011099693365395069, -0.05744306743144989, -0.03438323736190796, 0.0017413182649761438, -0.007812807336449623, -0.04271230846643448, 0.04274672642350197, 0.04536246880888939, -0.047461945563554764, 0.018757622689008713, -0.04622291028499603, -0.005218577105551958, 0.035071589052677155, 0.03445207327604294, 0.007481537759304047, 0.00001979687476705294, -0.022922158241271973, 0.0146877346560359, 0.008109659887850285, 0.0047711473889648914, 0.01786276325583458, -0.006173667032271624, -0.04367600381374359, 0.02242310158908367, 0.014713547192513943, -0.024195611476898193, -0.04780612140893936, 0.019566437229514122, 0.024298865348100662, 0.012209663167595863, -0.026449967175722122, 0.007399796042591333, 0.021803583949804306, -0.0019564286340028048, 0.03600086644291878, 0.03028753586113453, -0.024918382987380028, 0.03460695222020149, 0.0006378021789714694, -0.04357274994254112, -0.04278114438056946, 0.026604847982525826, 0.004366740118712187, -0.005567055661231279, -0.013939150609076023, 0.01516097690910101, 0.04250580444931984, 0.008720573037862778, -0.08349723368883133, 0.03102751635015011, -0.06738977134227753, 0.0426434762775898, 0.010135999880731106, -0.01257104892283678, 0.002886780770495534, -0.051179055124521255, 0.09884750843048096, -0.052762266248464584, 0.0035729827359318733, -0.00040279413224197924, -0.003899950534105301, -0.055550094693899155, -0.022887740284204483, 0.09292767196893692, -0.01920505240559578, 0.0036955957766622305, -0.02672530896961689, -0.030235910788178444, -0.002044623950496316, -0.0023920270614326, 0.05376037582755089, 0.028962457552552223, 0.04371042177081108, 0.0193083044141531, -0.019514810293912888, 0.01786276325583458, 0.0392705462872982, -0.026880187913775444, -0.04797821119427681, -0.08198285847902298, 0.030700547620654106, -0.01772509329020977, -0.007102943491190672, -0.014455415308475494, 0.013371258974075317, 0.0308898463845253, -0.0032589216716587543, -0.02577882446348667, 0.02467745915055275, -0.08941707015037537, 0.02524534985423088, 0.03276560828089714, 0.004581850487738848, 0.02598533034324646, -0.005579962395131588, -0.07764623314142227, 0.07647603005170822, -0.046119656413793564, -0.004048376809805632, 0.003704200265929103, -0.033626049757003784, -0.03596644848585129, -0.006599585525691509, -0.025331394746899605, 0.004693707916885614, 0.06050623953342438, 0.025124888867139816, 0.06140109524130821, -0.04288439825177193, -0.023748181760311127, -0.00792466476559639, 0.006014485377818346, 0.014679130166769028, -0.04973351210355759, 0.0617796927690506, 0.031061934307217598, 0.0453280508518219, 0.030734965577721596, 0.07750856131315231, 0.024918382987380028, 0.013913337141275406, -0.03125122934579849, 0.015436318702995777, -0.06508378684520721, -0.04897632449865341, 0.038995202630758286, -0.020289206877350807, -0.03816917911171913, 0.07275892049074173, 0.015143767930567265, -0.026501594111323357, 0.044467609375715256, -0.032111670821905136, 0.04488062113523483, -0.009223931469023228, -0.010686681605875492, -0.00397954136133194, 0.019153425469994545, 0.03125122934579849, -0.013250797055661678, 0.02460862323641777, 0.07010876387357712, 0.04123235121369362, 0.03562227264046669, -0.018241357058286667, 0.024918382987380028, 0.03551901876926422, 0.03273119032382965, -0.04759961739182472, -0.02040966972708702, 0.048528894782066345, -0.02185521088540554, -0.0023188896011561155, -0.023180291056632996, -0.04247138649225235, 0.005115324165672064, 0.004895911552011967, -0.005859605967998505, -0.048425640910863876, 0.02054733969271183, -0.037446409463882446, -0.044261105358600616, -0.02531418576836586, -0.02658763900399208, -0.0295475572347641, -0.034469280391931534, 0.016133276745676994, 0.029822899028658867, -0.06305314600467682, 0.008113962598145008, 0.034469280391931534, -0.03431440144777298, 0.08576879650354385, -0.05764957144856453, 0.020857099443674088, -0.016202110797166824, -0.011908508837223053, -0.03312699496746063, -0.04071608558297157, -0.04505271092057228, 0.011770837940275669, 0.018447862938046455, -0.02171754091978073, 0.07833458483219147, -0.06050623953342438, -0.03586319833993912, 0.014033799059689045, -0.0308898463845253, -0.0318879559636116, -0.041748616844415665, -0.031113561242818832, -0.0012562443735077977, 0.01584932953119278, 0.06449868530035019, -0.009396020323038101, -0.012639883905649185, 0.012218267656862736, 0.01937714032828808, 0.003927914891391993, 0.0392705462872982, -0.007769785821437836, 0.0009206722606904805, 0.032111670821905136, -0.004091398790478706, 0.02968522720038891, -0.05654820799827576, -0.03534693270921707, -0.02722436562180519, 0.024883965030312538, -0.0031277043744921684, 0.02238868549466133, 0.04477737098932266, 0.013921941630542278, 0.04236813262104988, -0.06405125558376312, 0.006298430729657412, 0.011856881901621819, 0.03252468258142471, 0.04402017965912819, -0.07031527161598206, 0.034245565533638, -0.021579869091510773, -0.026140209287405014, -0.020702220499515533, -0.02746528945863247, -0.03551901876926422, -0.0044570863246917725, 0.03971797600388527, -0.022216595709323883, -0.017535794526338577, -0.03438323736190796, -0.024832338094711304, 0.034193940460681915, -0.0005407336284406483, 0.03185354173183441, 0.08659482002258301, 0.002527546603232622, 0.0035235073883086443, -0.019514810293912888, -0.06325965374708176, 0.039167292416095734, 0.01789718121290207, 0.016477452591061592, -0.02111523225903511, -0.0004057518963236362, 0.044536445289850235, -0.029926151037216187, -0.008363489992916584, -0.06945482641458511, -0.005812281742691994, 0.009791823104023933, -0.015298647806048393, 0.003091135760769248, 0.0293754693120718, 0.022750070318579674, -0.030373580753803253, -0.01937714032828808, 0.06976458430290222, -0.005967161152511835, -0.0166151225566864, 0.00005045009675086476, 0.014162865467369556, 0.028360147029161453, 0.04963025823235512, 0.01337986346334219, 0.01839623600244522, -0.0463261641561985, -0.0018994243582710624, 0.016778606921434402, -0.026363924145698547, 0.023851435631513596, 0.029151754453778267, 0.004693707916885614, 0.040612831711769104, -0.06146993115544319, 0.028463400900363922, 0.044433191418647766, -0.013526138849556446, -0.07255242019891739, -0.044639699161052704, -0.015281438827514648, -0.059267204254865646, -0.004140874370932579, -0.009981120005249977, -0.05789049714803696, -0.03951146826148033, -0.03326466307044029, -0.009559503756463528, -0.031010307371616364, 0.062227122485637665, 0.04698009788990021, 0.008182797580957413, -0.06656374782323837, 0.025555109605193138, 0.004474295303225517, 0.016537683084607124, -0.0028631186578422785, 0.006358661688864231, -0.0520394966006279, 0.06893856078386307, -0.0133454455062747, -0.02245751954615116, 0.008320468477904797, 0.007640719413757324, 0.020839890465140343, 0.014713547192513943, -0.01443820632994175, 0.08748967945575714, 0.018413444980978966, -0.034796249121427536, 0.003850475186482072, 0.049940016120672226, 0.05747748538851738, -0.0035751338582485914, 0.023317961022257805, 0.056720294058322906, -0.03699897974729538, 0.04956142231822014, -0.05210832878947258, -0.014782383106648922, 0.08439209312200546, 0.04102584347128868, 0.05451756715774536, 0.055515676736831665, -0.02860107086598873, 0.06821579486131668, 0.012717323377728462, 0.00995530653744936, 0.012226872146129608, -0.019514810293912888, -0.052590176463127136, 0.01722603663802147, -0.02743087150156498, 0.06012764200568199, 0.014180073514580727, 0.0206505935639143, -0.011306200176477432, 0.012183849699795246, -0.011065276339650154, -0.06257129460573196, 0.016133276745676994, 0.0015918165445327759, 0.01615048386156559, 0.028325730934739113, -0.04622291028499603, -0.0349167101085186, -0.04811588302254677, -0.01413705199956894, -0.08576879650354385, -0.001396066159941256, 0.005790770519524813, 0.02185521088540554, 0.01269151084125042, -0.02273286134004593, 0.032954905182123184, 0.0293754693120718, 0.01870599575340748, 0.033316291868686676, -0.014429601840674877, -0.0006523221381939948, 0.035140424966812134, -0.014980284497141838, -0.02615741826593876, 0.030425207689404488, -0.03293769434094429, 0.049767930060625076, 0.0329032801091671, -0.03226655349135399, 0.0369301438331604, 0.0004396317817736417, 0.001376706175506115, -0.005678913090378046, -0.03249026834964752, -0.04112909734249115, 0.016640936955809593, -0.027241574600338936, -0.025262558832764626, -0.039167292416095734, -0.0349167101085186, 0.04377925768494606, 0.04605082422494888, 0.07227707654237747, -0.010032746940851212, -0.033557213842868805, 0.020151536911725998, 0.005347643047571182, -0.05100696533918381, 0.009912285022437572, 0.009516481310129166, -0.037790585309267044, -0.008991612121462822, 0.006526447832584381, -0.048563312739133835, 0.04949259012937546, 0.03834126889705658, 0.06023089587688446, 0.007180383428931236, 0.05919836834073067, 0.02171754091978073, -0.04536246880888939, -0.037274319678545, -0.024797920137643814, 0.027207156643271446, -0.03689572587609291, -0.045878734439611435, 0.022337058559060097, -0.04684242978692055, 0.0028609675355255604, -0.04137002304196358, -0.02997777797281742, -0.04942375421524048, 0.006887833122164011, 0.01628815568983555, -0.03713665157556534, 0.010764122009277344, -0.005502522457391024, 0.007640719413757324, 0.00438179774209857, -0.021304529160261154, 0.0075976974330842495, -0.04811588302254677, -0.04412343353033066, 0.003366476856172085, 0.001345515251159668, -0.0006942686159163713, 0.005296016577631235, -0.07668253779411316, 0.009636943228542805, -0.056617043912410736, 0.05107580125331879, -0.05107580125331879, 0.03142331913113594, 0.02316308207809925, -0.01722603663802147, -0.0027254479937255383, -0.03789383918046951, 0.013896128162741661, -0.08239586651325226, -0.05021535977721214, -0.04068166762590408, -0.04525921493768692, 0.05379479378461838, -0.03441765531897545, 0.02316308207809925, 0.060850415378808975, -0.02302541211247444, 0.0319051668047905, -0.014197282493114471, 0.011237364262342453, 0.02061617560684681, 0.010566220618784428, 0.047427527606487274, -0.010110186412930489, -0.010583428665995598, 0.026639265939593315, -0.022078925743699074, 0.06725209951400757, 0.07124454528093338, -0.009223931469023228, 0.03369488567113876, -0.021029187366366386, -0.05709889158606529, 0.03534693270921707, -0.004246278200298548, 0.019480392336845398, -0.04240255057811737, -0.07399795949459076, -0.035140424966812134, -0.020168745890259743, -0.05331294983625412, 0.04494945704936981, 0.03367767482995987, 0.005958556663244963, 0.012166640721261501, 0.014644712209701538, -0.035106007009744644, -0.03947705030441284, 0.013534743338823318, 0.10862211883068085, -0.03737757354974747, -0.006212386768311262, 0.012674301862716675, -0.00723631214350462, -0.004883004818111658, 0.008088149130344391, 0.01719161868095398, 0.06408567726612091, -0.041714198887348175, -0.05214274674654007, 0.006375870667397976, -0.05644495412707329, -0.03372930362820625, -0.016124671325087547, 0.042987652122974396, -0.011658980511128902, -0.009843449108302593, 0.005343340802937746, -0.012751741334795952, 0.04068166762590408, -0.041886284947395325, -0.016864651814103127, -0.05042186379432678, -0.0792294442653656, 0.041645362973213196, 0.00533903855830431, 0.002211334416642785, -0.05341619998216629, 0.029926151037216187, -0.048666562885046005, -0.03472741320729256, -0.014334953390061855, 0.02001386694610119, -0.003889195155352354, 0.015806308016180992, 0.03586319833993912, -0.01732928864657879, -0.0189641285687685, 0.036276210099458694, -0.004908818285912275, -0.03520926088094711, -0.03276560828089714, 0.033419542014598846, 0.05489616096019745, 0.0651526227593422, -0.036276210099458694, -0.05083487555384636, 0.04519038274884224, 0.013818688690662384, -0.015126559883356094, -0.00298788258805871, 0.032713983207941055, 0.013775666244328022, -0.023214709013700485, -0.006926553323864937, -0.0035751338582485914, -0.004607663489878178, 0.010075768455862999, -0.017139991745352745, 0.01927388645708561, 0.043331827968358994, 0.034331612288951874, -0.012373147532343864, -0.023558884859085083, 0.014429601840674877, 0.0523836724460125, -0.01934272237122059, 0.036276210099458694, 0.007735367864370346, 0.001178804668597877, 0.056789129972457886, -0.0024823735002428293, -0.06436101347208023, -0.048460058867931366, -0.007490142248570919, -0.007158872205764055, 0.04412343353033066, -0.016537683084607124, 0.032679565250873566, -0.0258476585149765, 0.015470735728740692, 0.011839673854410648 ]
54,976
namedtuple_AvailableFixture
__new__
Create new instance of AvailableFixture(relpath, argname, fixturedef)
from builtins import function
(_cls, relpath, argname, fixturedef)
[ 0.009987438097596169, -0.03448875993490219, 0.019406022503972054, 0.011531468480825424, 0.012425380758941174, 0.06140364706516266, -0.0008573431405238807, 0.005846999119967222, -0.012457886710762978, -0.02476949617266655, -0.015155876986682415, 0.03673166781663895, 0.0068709347397089005, 0.005513813346624374, -0.06845743209123611, -0.00024112776736728847, 0.03549644351005554, 0.0906914621591568, -0.028101351112127304, -0.002236812375485897, -0.06644206494092941, 0.018658388406038284, 0.036829184740781784, -0.01482269074767828, 0.03001919947564602, 0.1003132089972496, 0.037869375199079514, -0.04498816654086113, 0.010848844423890114, -0.052789583802223206, -0.010718820616602898, -0.04229017719626427, 0.004028700292110443, -0.0029092782642692327, -0.0009629873093217611, -0.04924644157290459, 0.023127948865294456, 0.04050235450267792, -0.061208613216876984, -0.07209809124469757, 0.03507386893033981, 0.01135268621146679, -0.011247041635215282, 0.003183546708896756, -0.008768467232584953, -0.00689125107601285, -0.02332298457622528, -0.0341637022793293, 0.01773197017610073, 0.010336876846849918, 0.006306144874542952, -0.037056729197502136, 0.06715719401836395, -0.014066928997635841, -0.015350911766290665, 0.07482858747243881, 0.01045877393335104, 0.019666070118546486, -0.03968970477581024, 0.04989656060934067, -0.03315601870417595, 0.023810572922229767, -0.026394791901111603, -0.041997626423835754, 0.028020087629556656, 0.03588651493191719, -0.04352540150284767, -0.017244379967451096, -0.057340409606695175, 0.029889175668358803, -0.06107858940958977, 0.014042549766600132, 0.0058510624803602695, -0.030230488628149033, 0.055910151451826096, -0.01782948710024357, -0.09316191077232361, -0.01740691065788269, 0.009174791164696217, -0.022039001807570457, 0.01517212949693203, -0.036829184740781784, -0.012864210642874241, 0.033643607050180435, -0.027678774669766426, -0.040534857660532, -0.03799939900636673, 0.001794935204088688, -0.012669174931943417, 0.009207296185195446, -0.05431736260652542, -0.016456112265586853, -0.0481412410736084, 0.027044910937547684, 0.003520795376971364, -0.006586508359760046, 0.01877215877175331, -0.02301417849957943, 0.03377363085746765, -0.04784868657588959, 0.061858732253313065, 0.01950354129076004, 0.007000958546996117, -0.05464242026209831, 0.040567364543676376, 0.04784868657588959, 0.00470929266884923, 0.015342785976827145, -0.023599283769726753, 0.007021274883300066, -0.046515945345163345, 0.010028070770204067, 0.016919322311878204, -0.014497632160782814, -0.004473624750971794, -0.03289597108960152, 0.02541961520910263, 0.004266399424523115, 0.02199024148285389, 0.012766692787408829, 0.01708185113966465, 0.04313533008098602, 0.0028523928485810757, -0.010182473808526993, 0.10252360999584198, 0.05483745411038399, 0.02296542003750801, 0.013953158631920815, 0.05096925422549248, -0.0007715072715654969, 0.004384233616292477, 0.028020087629556656, -0.04573580250144005, 0.03250590339303017, -0.04560577869415283, -0.010588797740638256, -0.01585475355386734, 0.0447281189262867, 0.005964832846075296, 0.03832445666193962, -0.041997626423835754, 0.0013682952849194407, 0.04118497669696808, -0.009126031771302223, -0.036406610161066055, -0.014050675556063652, -0.003236368764191866, 0.02959662303328514, 0.0005774876335635781, 0.011173903942108154, -0.0058510624803602695, 0.031904540956020355, 0.031937047839164734, 0.020478717982769012, 0.005278145894408226, 0.05018911138176918, 0.05301712453365326, -0.05262705311179161, 0.016634894534945488, -0.053439702838659286, 0.012547277845442295, 0.07105790078639984, -0.06007090583443642, -0.014522011391818523, 0.017016839236021042, -0.01410756167024374, 0.023989355191588402, -0.036959208548069, 0.021795207634568214, 0.004071364179253578, -0.014660161919891834, -0.04261523857712746, 0.018317075446248055, 0.04560577869415283, 0.0633540004491806, 0.037869375199079514, -0.04524821415543556, 0.09023638069629669, 0.005241576582193375, 0.029060276225209236, -0.0034639101941138506, 0.0009589241235516965, -0.11110517382621765, 0.00977614987641573, 0.015789741650223732, 0.05022161826491356, 0.040534857660532, -0.02060874179005623, 0.026573574170470238, -0.03565897420048714, -0.029434094205498695, 0.011986550875008106, 0.052497029304504395, 0.013205522671341896, -0.006318334490060806, -0.06793733686208725, -0.05919324606657028, 0.0022510336712002754, -0.009597367607057095, 0.0010102224769070745, -0.005107489880174398, 0.01781323365867138, 0.022819142788648605, 0.05613769218325615, 0.00741134537383914, 0.004229830577969551, -0.02790631726384163, 0.006436168681830168, -0.06276889890432358, -0.02229904755949974, 0.04632091149687767, -0.059778351336717606, 0.010133714415133, 0.07339832931756973, -0.001040188828483224, 0.007716088555753231, 0.02121010050177574, -0.011060132645070553, 0.009288561530411243, 0.009759897366166115, 0.07073283940553665, 0.028458917513489723, 0.009719264693558216, -0.024184390902519226, 0.09621746838092804, 0.005960769485682249, -0.01062130369246006, 0.018057027831673622, 0.004146534018218517, -0.011677744798362255, 0.0557476207613945, -0.012782946228981018, -0.00940233189612627, -0.023404249921441078, 0.006716531701385975, -0.033221032470464706, 0.03910459950566292, 0.04918142780661583, 0.007691708859056234, 0.007752657402306795, -0.0006435152608901262, 0.040534857660532, 0.04989656060934067, 0.04599585011601448, 0.0240706205368042, 0.006147678475826979, 0.013774375431239605, 0.03998225927352905, -0.061891235411167145, -0.0030718077905476093, 0.015692224726080894, -0.027126174420118332, 0.015383417718112469, -0.029466599225997925, 0.007716088555753231, 0.007472293917089701, 0.019942371174693108, 0.002507017692551017, 0.018382087349891663, -0.004485814366489649, -0.00873596128076315, -0.047946203500032425, -0.033269789069890976, 0.0019818441942334175, -0.04541074484586716, -0.03209957852959633, -0.03102688305079937, 0.048596322536468506, 0.014326975680887699, -0.0019249588949605823, 0.04576830938458443, -0.024119378998875618, -0.004380170255899429, 0.005623520817607641, -0.06228130683302879, 0.01916222833096981, -0.011433950625360012, 0.014140067622065544, 0.046580955386161804, -0.03591902181506157, 0.01183214783668518, 0.01706559769809246, -0.08210990577936172, 0.013684984296560287, -0.0823049396276474, 0.007569811772555113, 0.01062130369246006, -0.051359325647354126, 0.01885342225432396, -0.004233893472701311, 0.03734927996993065, 0.0041018384508788586, 0.04173757880926132, 0.008687201887369156, 0.0656944289803505, 0.07456853985786438, -0.022120265290141106, -0.06517433375120163, 0.06276889890432358, 0.005591014865785837, 0.006761227734386921, -0.03910459950566292, -0.01851211115717888, 0.02723994478583336, -0.024119378998875618, -0.045085687190294266, 0.06062350794672966, -0.008874110877513885, -0.08041960000991821, 0.017992015928030014, -0.030945617705583572, -0.007049717474728823, -0.053829774260520935, -0.04079490527510643, 0.04300530627369881, 0.03131943568587303, -0.023778067901730537, 0.018008269369602203, -0.02342050150036812, 0.05054667592048645, -0.017959510907530785, -0.00454676290974021, 0.07053780555725098, 0.05470743402838707, -0.020478717982769012, -0.04014478996396065, 0.01984485238790512, -0.04498816654086113, 0.056690290570259094, 0.03520389273762703, -0.09251179546117783, 0.015919765457510948, 0.07924938946962357, 0.040664881467819214, -0.014887702651321888, 0.06657208502292633, 0.02925531193614006, 0.014684541150927544, -0.025614650920033455, -0.012327862903475761, -0.013530581258237362, 0.055617596954107285, -0.002413563197478652, 0.008410901762545109, -0.0330747552216053, -0.0012636668980121613, -0.038129422813653946, 0.01043439470231533, 0.10525410622358322, -0.0731382817029953, 0.031872037798166275, -0.030604306608438492, -0.034358736127614975, 0.00031490091350860894, 0.03216458857059479, 0.036049045622348785, -0.009711137972772121, 0.013319293037056923, -0.02680111490190029, -0.011409571394324303, 0.0663120374083519, -0.062248799949884415, -0.011596480384469032, 0.005656026769429445, 0.02231530100107193, -0.005436611827462912, 0.021405136212706566, 0.014213205315172672, 0.019097216427326202, -0.017927004024386406, 0.001064568292349577, -0.025175821036100388, -0.059388283640146255, -0.04173757880926132, -0.04768615588545799, -0.024119378998875618, 0.02995418757200241, 0.004936833865940571, -0.06231381371617317, 0.051781900227069855, 0.057372916489839554, 0.03448875993490219, -0.0023505829740315676, -0.033286042511463165, 0.005903884302824736, 0.003770684590563178, -0.026573574170470238, 0.03213208541274071, -0.032197095453739166, 0.014408241026103497, -0.014668287709355354, -0.011060132645070553, 0.017179368063807487, 0.012457886710762978, 0.008256498724222183, -0.008849731646478176, -0.02472073771059513, -0.05643024668097496, -0.0019980971701443195, 0.04033982381224632, 0.022802889347076416, 0.07086286693811417, 0.0013347736094146967, 0.04768615588545799, 0.016407353803515434, -0.0034070247784256935, 0.0349438451230526, 0.016919322311878204, 0.017341898754239082, -0.028150111436843872, 0.02470448426902294, -0.050416652113199234, -0.0970626249909401, -0.061468660831451416, 0.001500350539572537, 0.024119378998875618, -0.026281021535396576, -0.04775116965174675, -0.01771571673452854, -0.03031175397336483, 0.027743786573410034, -0.060851048678159714, -0.011889033950865269, 0.04248521476984024, -0.020722512155771255, -0.03302599489688873, 0.000788268109317869, 0.015269647352397442, -0.02615099772810936, 0.0324571430683136, -0.047166064381599426, 0.011417698115110397, -0.0051562488079071045, -0.06163118779659271, 0.03578899800777435, -0.024558208882808685, -0.05483745411038399, -0.004372043535113335, 0.0787292942404747, 0.01655363105237484, 0.041315000504255295, 0.05860814079642296, 0.020755019038915634, -0.043720439076423645, 0.017179368063807487, 0.0005673295818269253, -0.005530066322535276, 0.08445033431053162, -0.014993347227573395, -0.023209214210510254, -0.00817523431032896, -0.004081522114574909, 0.000427401828346774, 0.004863695707172155, 0.054577410221099854, 0.0006074540433473885, -0.047166064381599426, 0.027044910937547684, -0.011563974432647228, -0.0042542098090052605, -0.03578899800777435, 0.023209214210510254, -0.03861701115965843, -0.020494971424341202, -0.02680111490190029, 0.09381203353404999, -0.010377509519457817, 0.01878841035068035, 0.007569811772555113, 0.015123371034860611, 0.018967192620038986, 0.006517433095723391, -0.03978722169995308, -0.029450347647070885, 0.05275707691907883, 0.07183804363012314, -0.059453293681144714, -0.017536934465169907, 0.04459809511899948, -0.02306293696165085, -0.03211583197116852, -0.05812055245041847, 0.017861992120742798, 0.02342050150036812, -0.03458628058433533, 0.02122635394334793, 0.02579343318939209, -0.016919322311878204, 0.01981234736740589, -0.048628829419612885, 0.011035753414034843, 0.11806143075227737, 0.03419620916247368, -0.02372930757701397, 0.026264768093824387, 0.013335546478629112, -0.009857414290308952, 0.02823137491941452, -0.013644352555274963, -0.014879576861858368, 0.0019503540825098753, 0.034683797508478165, -0.06787232309579849, 0.05828308314085007, 0.03845448046922684, 0.049311451613903046, 0.053862277418375015, -0.026914887130260468, -0.05122930184006691, -0.04560577869415283, -0.00017040202510543168, 0.01392065268009901, -0.01813829317688942, 0.011840274557471275, 0.042745258659124374, -0.02719118632376194, -0.025159567594528198, 0.012149080634117126, -0.07885931432247162, 0.005050604231655598, 0.010686314664781094, -0.05470743402838707, -0.04560577869415283, -0.07840423285961151, -0.009703011251986027, -0.01953604631125927, -0.027451233938336372, 0.038129422813653946, -0.0009040703880600631, 0.040534857660532, 0.034293726086616516, 0.024135632440447807, -0.0013886115048080683, -0.01309175230562687, -0.019633565098047256, 0.0967375636100769, -0.060168422758579254, -0.022754130885004997, 0.013010486960411072, 0.03027924709022045, -0.0299704410135746, -0.013693111017346382, 0.018642134964466095, 0.04391547292470932, 0.01916222833096981, -0.021470148116350174, -0.07528366893529892, -0.014895829372107983, -0.00885785836726427, 0.00972739141434431, -0.029206551611423492, -0.01912972331047058, -0.016935573890805244, 0.0015643464867025614, 0.02964538149535656, -0.055910151451826096, 0.004128249362111092, -0.02645980380475521, -0.047588638961315155, -0.021470148116350174, -0.01609042100608349, 0.0288814939558506, 0.011271421797573566, 0.026654839515686035, -0.06806735694408417, -0.005115616135299206, 0.008402775973081589, 0.0355614572763443, 0.007984261959791183, -0.061533670872449875, 0.016147306188941002, -0.004835252650082111, 0.06163118779659271, -0.038194432854652405, -0.04014478996396065, 0.07014773786067963, 0.024493196979165077, -0.06462173163890839, 0.04105495288968086, -0.042355190962553024, -0.07248815894126892, -0.025370856747031212, 0.005115616135299206, -0.037121739238500595, -0.027483738958835602, -0.012409128248691559, -0.010158094577491283, 0.052106961607933044, 0.009321067482233047, -0.06663709878921509, -0.004940897226333618, -0.0034314042422920465, 0.007183804176747799, -0.051749397069215775, -0.012214092537760735, -0.04105495288968086, -0.04976653680205345, 0.0535697266459465, -0.016252951696515083, -0.047881193459033966, 0.009589240886271, 0.014749553054571152, -0.0036487875040620565, -0.028328893706202507, 0.04206263646483421, 0.030799342319369316, 0.0033460762351751328, -0.022250289097428322, -0.00722037348896265, -0.01479831151664257, -0.032619673758745193, -0.029905429109930992, -0.02335548959672451, -0.017325645312666893, 0.06566192209720612, 0.05252953618764877, 0.022429071366786957, -0.011401444673538208, -0.004684912972152233, 0.028361398726701736, -0.04359041526913643, 0.013449316844344139, -0.01588725857436657, -0.02195773646235466, 0.07274820655584335, 0.02654106914997101, 0.025500880554318428, 0.005387853365391493, 0.05617019906640053, 0.0017360183410346508, -0.0447281189262867, -0.010588797740638256, 0.0883510410785675, -0.06276889890432358, -0.014977093786001205, -0.02444443851709366, 0.006846555508673191, 0.01097886823117733, -0.010019944049417973, 0.014855196699500084, -0.010149967856705189, -0.022900408133864403, -0.024233149364590645, -0.03926713019609451, 0.02749999240040779, 0.013717490248382092, -0.04417552053928375, 0.003642692696303129, 0.047166064381599426, -0.05470743402838707, 0.007553558796644211, 0.02715868130326271, -0.0042379568330943584, 0.08067964762449265, -0.02472073771059513, -0.025533385574817657, -0.00340499309822917, -0.052106961607933044, 0.07339832931756973, -0.03825944662094116, -0.007691708859056234, -0.024834508076310158, -0.024639474228024483, 0.06702716648578644, 0.005014035385102034, -0.040209800004959106, 0.013806881383061409, -0.03237587958574295, -0.004351727664470673, -0.007667329628020525, 0.02962912991642952, -0.0341637022793293, 0.0040794904343783855, -0.0543498657643795, -0.02608598582446575, 0.018300822004675865, 0.02751624584197998, 0.05786050483584404, 0.0009604478254914284, -0.003126661293208599, -0.043037813156843185, -0.023209214210510254, -0.020624995231628418, -0.056560270488262177, -0.03721925616264343, 0.013449316844344139, -0.04121748358011246, 0.03232711926102638, -0.003963688388466835, -0.032245855778455734, -0.0017634452087804675, 0.0018802632112056017, -0.026719851419329643, -0.02504579722881317, -0.0226728655397892, 0.03809691593050957, -0.011921538971364498, -0.027288705110549927, 0.002153516048565507, -0.017569439485669136, 0.033269789069890976, 0.014977093786001205, 0.005050604231655598, -0.004008383955806494, 0.02476949617266655, -0.03903958946466446, -0.03133568912744522, -0.02199024148285389, -0.04072989523410797, 0.026020973920822144, 0.01239287480711937, -0.030604306608438492, -0.01648861914873123, 0.030896859243512154, 0.04209514334797859, -0.05262705311179161, -0.02964538149535656, 0.07885931432247162, 0.030506787821650505, -0.00977614987641573, 0.028653951361775398, -0.037154246121644974, 0.03754431754350662, 0.015399671159684658, 0.06982267647981644, 0.02366429567337036, -0.06007090583443642, 0.018008269369602203, -0.044858142733573914, 0.01585475355386734, -0.004136376082897186, 0.03377363085746765, -0.04043734073638916, 0.06283390522003174, 0.012685428373515606, -0.020364947617053986, -0.010369382798671722, 0.02959662303328514, -0.020397452637553215, -0.03380613774061203, -0.03877954185009003, -0.06302894651889801, 0.002104757120832801, -0.015180256217718124, 0.024623220786452293, -0.019422275945544243, 0.021746447309851646, -0.024655725806951523, 0.024883268401026726, 0.07248815894126892, 0.006115172524005175, 0.048628829419612885, 0.02299792505800724, -0.019292252138257027, 0.045865826308727264, -0.016066042706370354, -0.01776447519659996, 0.004126217681914568, -0.03179077059030533, -0.02758125774562359, -0.09940304607152939, 0.031481966376304626, -0.015724729746580124, -0.02548462711274624, 0.05617019906640053, -0.02964538149535656, 0.003228242276236415, 0.01674054004251957 ]