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 aspect de data comme ceci:bind_rows(d1, d2, d3) %>% as_tibble() # A tibble: 6 x 4 A B C D <dbl> <dbl> <dbl> <dbl> 1 1 ...

1
votes
J'ai un dataframe comme suit:df_list_for_yoy = [['USA MARKET', 'APPLE', 'QUARTER', '2020-06-01', 100], ['USA MARKET', 'APPLE', 'YEARLY', '2020-06-01', 1000], ['USA MARKET', 'PEAR', ...

1
votes
J'ai le dataframe suivant:xR1 <- data.frame("A" = c(15, 13.5, 12, 9.1, NA, NA, NA, NA), "B" = c(13.6, 8.4, 6.7, 5.6, 2.0, NA, NA, NA), "C" = c(NA, 8.5, 2.43, 1.2 ...

2
votes
J'ai le dataframe suivantnew_df = df.groupby(["id"]).agg({"values": lambda val: set(val)}).reset_index() TypeError: unhashable type: 'list' Je veux obtenir ce qui suit après ...