You are on page 1of 1
WHAT {5 DATA FRAME? = data gathered in tabular form. = IMALS Simplest definition, data frame tmeans data Fepresevited in fows and coMmns . @® WHAT ARE THE FUNCTIONS OF THE FOLLOWING METHODS ? a count() = Counts the number of Values found fn each column of the data frame b. Sum()— veturne the sum of the, Natues in a certain column for the requested axi¢ C-mean()— Used to Find the average Value in a given data frame. d-mecian ()~ used to show/dicplay {he middie value data in a gwen data frame- @-mode *shows the value in the data frame that appears the most. F Gla (ja Unig function i¢ used to return tre value of the standad deviation of a requested aris: Q: mnin() > 1S Used To show the, steitest data yawe in the data frame h- mnax( > usta to show the yraximum Valve of the data im the gata frame 1. GDS ()— US to show the adsolute Nalue of each element iy the data frame: k-Cumsum() + Onis function 15 used to return data of tre some sine of a ata frame that vontaws, the yarniative sum: \ sumprod ( 1$ used to find te (uimnwlative product of O series of aata @WHAT IS A SERIES? 1S 0 one-dimensional array that can told data of am ‘pe: @ WHAT ARE THE FUNCTIONS OF THE FOLLOWING IN GERIES? 4G: QKe4 > UHi4 f¢ used 1 show [retum GAL of anit labels D. dye 1S uted Th Find the data pe of columns in a data frame Cempby— 15 Uked to Krow wlether the, data frame is empty or not @ Ndi 1S WEE TO show the number of dimension( of the data in the data frame ent 1S Wied fo rebum the number of lemenls fesnd in Oe underiving data. in The data frame F. vanes 1S ued to return series either Q Marray oF ndarvay Like Aepercing on Kt data. Npe g. tod — tig fancion return, the firlt NTOWS based on position: ht) — returnt tnt fact n-vows. J-prod ()> used to return tne product Nalue of a data in the data frame: |_» nttpe-Ideia’ com panda\-tutorial-2-aqgreqation- ‘rd-qrouping) a nttpe pandas. pydota org —ahttps:lfwoed- ates Forgas. org

You might also like