Skip to content

Should DataFrame really be a NDArray child? #4

Open
@dotChris90

Description

@dotChris90

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    further discussneed further discuss to find the best solution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions