Tutorial by Topics: frames



DataFrame is a data structure provided by pandas library,apart from Series & Panel. It is a 2-dimensional structure & can be compared to a table of rows and columns.

Each row can be identified by an integer index (0..N) or a label explicitly set when creating a DataFrame object. Each column can be of distinct type and is identified by a label.

This topic covers various ways to construct/create a DataFrame object. Ex. from Numpy arrays, from list of tuples, from dictionary.

Accessing rows in a dataframe using the DataFrame indexer objects .ix, .loc, .iloc and how it differentiates itself from using a boolean mask.

In web pages contain number of frame, selenium consider Frame is seprate window so access the content present into frame need to switch into frame. Many time we need Web structure where we have frame with in frame to navigate within frame windows Selenium provide swithTo() method.

A code block is a piece of Python program text that can be executed as a unit, such as a module, a class definition or a function body. Some code blocks (like modules) are normally executed only once, others (like function bodies) may be executed many times. Code blocks may textually contain other code blocks. Code blocks may invoke other code blocks (that may or may not be textually contained in them) as part of their execution, e.g., by invoking (calling) a function.

Aggregation is one of the most common uses for R. There are several ways to do so in R, which we will illustrate here.


Page 1 of 1