kishyassin / kishyassin/goframe

Implement Info method on dataframe

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
enhancement features help wanted
Dominant language
Go
Stars
37
Forks
8
PR merge metrics
No merged PRs in 30d

Description

**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:
```go
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:

```md
<'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

Contributor guide

Open the contributing guide

Research direction

The payload names no implementation files or tests, so first review the existing DataFrame API and its representation of columns, types, nulls, and options. Use the linked pandas DataFrame.info reference to define the verbose and non-verbose output; done means an Info method reports the requested dataframe summary in the shown format.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.