Posts

Python: using loop to add new column to dataframe -

i have column dataframe url http://www.utt66.ru/cat/13972/ https://yandex.ru/yandsearch?clid=2186618&text=%d0%ba%d0%b0%d0%bb%d1%8c%d1%8f%d0%bd%d1%8b%20khalil%20mamoon%20%d0%ba%d1%83%d0%bf%d0%b8%d1%82%d1%8c%20 http://yandex.ru/clck/jsredir?from=yandex.ru%3byandsearch%3bweb%3b%3b&text=&etext=1086.0aueawftxcruqs1zi5nayk9j2mh6yse_nxu9lq-mwhfjitiqsm3jlm3ks26cautme7x0u6hng06uugra-9hhsq.b9a03b0331f4f4f46de76151fcec7f63060561ea&uuid=&state=zrrsea3ay6h77jydlxkyipmtcidgyjuu&data=ulnrnmk5wktyejr0ewjfyk1ldmtxdxhxmmr3bgz5cw51slvkblgwatezlxhaskrmbda2btlsyulps3broehmawnznlnbr2zsdzq2rwvurdk3mlfiylrzrmxvzwzry3nzlxvundl5wm1gtljqy2l3dhvlszndyms5m2hwnlztulrqcxbpc1jaczb3wkdleuc3ykncyuxkcdl2akdtttbwtvzxz0doz0cxrm94ukfywhpuujlnrkj0bvhky2jqbzdfwlbuejfwtlhtzezhnw13ze5uac11rg1pdhhnn0rlshetakgtvflvtwgta2jyaer0ugz0ugxpu2vhatvmntvrn05lmfrrbmrzcc1fd3lqegdnb19xdgjyv1b4y1bdz3dvtmfhsf9jeldtv084zjfhzfnorkjfv3zmouo1wthicldxtwxelw1lewltbkdxsersa2fgz2exa2nlsv9jefaycq&b64e=2&sign=6...

php - In some way to calculate the number of entries in tags? -

tags: id, name --------- 1 tag1 2 tag2 3 tag3 4 tag4 tags_id: id_tags, id_post -------------- 1 1 2 3 3 1 4 2 how count how many posts tags? i need mysql query.. i have problem , i'm beginner select id_tags, count(id_post) id_post_count tags_id group id_tags

Search View is not opening in Eclipse IDE -

i wanted search constant in workspace find files constant use. on menu clicked on search -> file -> entered constant name , hit search button. ideally when search view automatically opened displays search result. view not opening. then alternative tried finding reference of constant in workspace. didn't work no view opening in eclipse. i using eclipse java ee ide luna release (4.4.0). this problem got resolved. try using below solutions: window -> new window . or window -> reset perspective .

javascript - Ionic side menu, how to place the link at the bottom of the side menu -

Image
i have side menu in ionic app, need have links in it, , link logout should @ bottom of side menu, not sure how achieve this, since ion-list height depended on amount of links there are, , can't play position of link place @ bottom of side menu. this situation now: and html: <ion-side-menu side="left" class="side-menu" scroll="false"> <ion-content> <ion-list> <ion-item ui-sref=""> min profil </ion-item> <ion-item ui-sref="main.logout" class="logout"> logg out </ion-item> </ion-list> </ion-content> </ion-side-menu> update i had overwrite ionic default tags , classes, worked me in end. html: <ion-side-menu side="left" class="side-menu" scroll="false"> <ul class="menu"> <div class=...

Rstudio won't produce plots: Shadow graphics device error: r error 4 (R code execution error) -

i've seen error reported several times there's never been solution. i'm using rstudio desktop in windows 10. i'm not able produce plots in rstudio. plots in r command line work perfectly; in rstudio if open device in png("myplot.png"); plot(1); dev.off() , works perfectly. but if want produce plot in rstudio (like plot(1) example), following error: error in plot.new() : shadow graphics device error: r error 4 (r code execution error) in addition: warning messages: 1: in grdevices:::png("c:/users/marco/appdata/local/temp/rtmpgfcske/c79b28dca0464804b619980ea7a4d95e.png", : unable open file 'c:/users/marco/appdata/local/temp/rtmpgfcske/c79b28dca0464804b619980ea7a4d95e.png' writing 2: in grdevices:::png("c:/users/marco/appdata/local/temp/rtmpgfcske/c79b28dca0464804b619980ea7a4d95e.png", : opening device failed 3: in grdevices:::png("c:/users/marco/appdata/local/temp/rtmpgfcske/c79b28dca0464804b619980ea7a4d95e.png",...

python - How can I create a region cache in gem5 -

im trying modify ~/src/mem/cache/ scripts , code make region base cache system arm architecture. far have managed change sconscript copy of cache.cc,cache.hh , cache.py built in scons dont know should redirect memory accessees region caches. in other words: want able direct mem ref.s based on mem. address access d-cachea , rest d-cacheb while cache & b same. iiuc, trying track misses phyaddr across cache levels. think can modifying appropriate request/response in /src/mem/protocol/*-msg.sm

qt - QAbstractVideoSurface generating A Null Image -

i'm reimplemented present method qabstractvideo surface in order capture frames ip camera. this reimplemented methods (the required ones): qlist<qvideoframe::pixelformat> cameraframegrabber::supportedpixelformats(qabstractvideobuffer::handletype handletype) const { q_unused(handletype); return qlist<qvideoframe::pixelformat>() << qvideoframe::format_argb32 << qvideoframe::format_argb32_premultiplied << qvideoframe::format_rgb32 << qvideoframe::format_rgb24 << qvideoframe::format_rgb565 << qvideoframe::format_rgb555 << qvideoframe::format_argb8565_premultiplied << qvideoframe::format_bgra32 << qvideoframe::format_bgra32_premultiplied << qvideoframe::format_bgr32 << qvideoframe::format_bgr24 << qvideoframe::format_bgr565 << qvideoframe::format_bgr555 << qvideofram...