Skip to content

Implement Info method on dataframe #43

Description

@cs168898

Is your feature request related to a problem? Please describe.
I would like to see more information on the dataframes like their column's data type and non-null count, etc.. Depending on the user's options set.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Here is an example:

int_values := [1, 2, 3, 4, 5]
text_values := ['alpha', 'beta', 'gamma', 'delta', 'epsilon']
float_values := [0.0, 0.25, 0.5, 0.75, 1.0]

df.info(verbose=False)

then it will print out something like:

<'goframe.DataFrame'>
RangeIndex: 5 entries, 0 to 4
Columns: 3 entries, int_col to float_col
dtypes: float64(1), int64(1), str(1)
memory usage: 278.0 bytes

Please implement the verbose options as well.

Here is the link for reference to the pandas info method:
https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.info.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeaturesNew functionalitieshelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions