Questions et réponses pour le dataframe :

A data frame is a tabular data structure. Usually, it contains data where rows are observations and columns are variables of various types. While "data frame" or "dataframe" is the term used for this concept in several languages (R, Apache Spark, deedle, Maple, the pandas library in Python and the DataFrames library in Julia), "table" is the term used in MATLAB and SQL.

2
votes
J'ai un dataframe: df = pd.DataFrame({'date': ['2013-04-01','2013-04-02','2013-04-03','2013-04-04', '2013-04-05'], 'month': ['1','1','3','3','5'], 'value': ['1', '1', '2 ...

2
votes
J'ai deux dataframes df1 et df2 id city 0 4735 x 1 46 b 2 2345 d 3 8768 e 4 807 f df1 ressemble à ...

2
votes
Je calcule des valeurs uniques, par ligne. Cependant, je veux exclure la valeur 0, puis calculer les uniques col1 col2 col3 uniques 0 1 3 0 2 1 2 4 ...

2
votes
J'ai un dataframe, où une colonne est une liste: colA colB 0 ID2 [A] 1 ID3 [B] 2 ID4 [A, B] Je souhaite filtrer les lignes afin que seules les lignes qui contienn ...