flâneur — a map of the web's best reading

pandas.DataFrame — pandas 3.0.4 documentation

pandas.pydata.org · 3,402 words · saved by 1 readers

Data structure also contains labeled axes (rows and columns). Arithmetic operations align on both row and column labels. Can be thought of as a dict-like container for Series objects. The primary pandas data structure. Dict can contain Series, arrays, constants, dataclass or list-like objects. If data is a dict, column order follows insertion-order. If a dict contains Series which have an index defined, it is aligned by its index. This alignment also occurs if data is a Series or a DataFrame itself. Alignment is done on Series/DataFrame inputs. If data is a list of dicts, column order follows insertion-order. Index to use for resulting frame. Will default to RangeIndex if no indexing information part of input data and no index provided. Column labels to use for resulting frame when data does not have them, defaulting to RangeIndex(0, 1, 2, …, n). If data contains column labels, will perform column selection instead. Data type to force. Only a single dtype is allowed. If None, infer. If

pandas.DataFrame # class pandas. DataFrame ( data = None , index = None , columns = None , dtype = None , copy = None ) [source] # Two-dimensional, size-mutable, potentially heterogeneous tabular data. Data structure also contains labeled axes (rows and columns). Arithmetic operations align on both row and column labels. Can be thought of as a dict-like container for Series objects. The primary pandas data structure. Parameters : data ndarray (structured or homogeneous), Iterable, dict, or DataFrame Dict can contain Series, arrays, constants, dataclass or list-like objects. If data is a dict,

Explore this link on the map →

related reading