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

Libraries

pandas.net's People

Contributors

aoaaquarius avatar bonzani avatar brettwebst avatar huazhikui avatar huypn12 avatar oceania2018 avatar wangjie0916 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pandas.net's Issues

Rationale - The Second Deedle

Please provide rationale somewhere in main README, why using/developing/participating in this project rather than Deedle.

Can you put a DLL on nuget?

在nuget上找不到这个库的dll,而自己下载下来编译后测试,好多报错,不知道是不是自己操作不当的原因。
水平比较差,不懂太多,只想有个.net版本的可以用一下,我主要是做Excel开发的,想做点自定义函数出来。

Open a SciSharp repo

With SciSharp we would have at least all 3 repos started from scipy stack. Could you open a repo for this?

Honesty I am very sure that SciSharp is also quite important. Regression, signal processing etc.

I don't want to start it in my account since it would be confusing if 2 repos at your side and 1 is mine lol

Where is "iloc"?

This repository has README.MD and that describes about "iloc" function.
But I can not find.
Could you let me know how I can use that?

Question : Should we start Pandas.NET in NumSharp repo?

It is totally great to start Pandas.NET.

But maybe we should discuss to make it as a project in NumSharp.

So the structure (of big picture in future) would be like that :

Repo NumSharp (maybe we can call it later as "NumSharpStack" so it is clear all libraries that bases on NumSharp).

/src/NumSharp/Numsharp.csproj
/src/Pandas.NET/Pandas.NET.csproj
/src/SciSharp/SciSharp.csproj

The reason for that is --> at moment we are still under construction.
If NumSharp change we do not know what impact it has for Pandas.NET. Moreover
at moment we could build all stuff with command "dotnet build" and we do not depend on
Nuget package.

But thats up to u. :)

All unit tests failed

I just saw this great library, but seems the current implementation is not stable. I run unit tests but all tests failed.
What is the current status of the library?

image

Provide the license for using this library

As we have License specified for other SciSharp repositories, we need to provide the License section and declare its type in our repository readme file.
Provide the opportunity for the 3rd party or users to make correct integration with our product without any legal obligations.

Readme in English

Can someone please convert the Chinese text in the readme to English.

Please note: the major language for all SciSharp projects is English. Translations of the documentation in other languages should only be second to English and in a separate subfolder.

Non Pandas function arange

Does the arange function belong in the Pandas.NET framework? I believe this is strictly a NumSharp function. Would it make sense to simply offer a forwarded call to NumSharp from PandasNET vs implementing it's own?

Melt/Pivot function

Hi, Im testing the package to be used in a new application.
I couldn't find MELT()/PIVOT() function from pandas.
Did you implemented it on Pandas.NET?

Should DataFrame really be a NDArray child?

Sorry I already rise an issue while all is under construction >.<.

We should not let dataframe be a child of ndarray.
In Pandas the dataframe is a child of a general pandas object and has no inheritance connection to NDArray.
I think we will face same problems if we in heritage from ndarray.

  • Data frame is a collection of multiple NDArrays so it is not a array itself it is a collection
  • the behaviour is different from an array especially in indexing
  • frame indexing is like a dictionary df['column1'] or df['col2']
  • honestly spoken I think we need a dictionary object as property so we can store the different arrays
  • the indexing of dataframe must be via strings like in dictionary (not sure if possible but i think it must be possible)

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.