View Code? Open in Web Editor
NEW
This project forked from scisharp/pandas.net
Pandas port for C# and F#, data analysis tool, process multi-dim array in DataFrame.
pandas.net's Introduction
![Build Status](https://camo.githubusercontent.com/2e6f75e6569d6bbf4ee1fd8197c9f687fa1db76a1ef4ba218b710e6c5073a50e/68747470733a2f2f6465762e617a7572652e636f6d2f73636973686172702f50616e6461732e4e45542f5f617069732f6275696c642f7374617475732f6d61634f5325323043493f6272616e63684e616d653d6d6173746572266c6162656c3d4d61634f53)
- 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)
- df.Index
- df.Columns
- df.Values
- df.Shape
- df.NDIM
- df.Size
-
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
pandas.net's People
Watchers