Skip to content
项目

关于

适用于 C# 和 F# 的 Pandas 移植版,是一个在 DataFrame 中处理多维数组的数据分析工具

数据与分析

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Pandas.NET

Join the chat at https://gitter.im/publiclab/publiclab NuGet Build Status Build Status Build Status

Implemented APIs

1. Pandas

  • DataFrame
    • pd.DataFrame(NDArray data, IList<string> index, IList<string> columns, Type dtype)
    • pd.DataFrame<TIndex>(NDArray data, IList<TIndex> index, IList<string> columns, Type dtype)
    • pd.DataFrame(IDictionary<string, NDArray> data, IList<string> index)
    • pd.DataFrame<TIndex>(IDictionary<string, NDArray> data, IList<TIndex> index)
  • Series
    • pd.Series(NDArray data)
    • pd.Series(Array data)
    • pd.Series<T>(T data)

2. Series

  • s.iloc[0]: Select data by index

  • s.loc["index_label"]: Select data by index label

3. DataFrame

Structure

  • df.Index
  • df.Columns
  • df.Values
  • df.Shape
  • df.NDIM
  • df.Size

Method

  • df[0]: Select data by column index (returns Series)

  • df[params int[] columnIndexs] : Select data by column index (returns DataFrame)

  • df["column_label"]: Select data by column label (returns Series); accessible set accessor increase column (if the column label does not exist)

  • df[params string[] columnLabels]: Select data by column label (returns DataFrame)

  • df.Column(string columnLabel, NDArray value): Set the column and its value; create when the column does not exist

  • df.Column(int columnIndex, NDArray value): Set the column and the value of the column; when the column does not exist, an exception is reported

  • df[Slice s]: Row slice selection data

  • df.loc["index_label"]: Select data by row index label

  • df.loc["index_label", "column_label"]: Select data by row and column labels

  • df.iloc[0]: Index by row (row number) select data

Libraries

探索相关项目

加载中…