Coder Social home page Coder Social logo

pandas.net's Introduction

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

pandas.net's People

Contributors

oceania2018 avatar huazhikui avatar wangjie0916 avatar bonzani avatar aoaaquarius avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.