Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substitution for DataFrame.info() #303

Closed
GideonKoenig opened this issue Jan 13, 2023 · 1 comment
Closed

Substitution for DataFrame.info() #303

GideonKoenig opened this issue Jan 13, 2023 · 1 comment
Labels
enhancement 💡 New feature or request

Comments

@GideonKoenig
Copy link
Contributor

GideonKoenig commented Jan 13, 2023

Is your feature request related to a problem? Please describe

In pandas there is a method DataFrame.info() that provides a rough overview over the content of a table. There is currently no substitution, although this feature is used a lot.

Desired solution

Implement a (improved) version of DataFrame.info() for the Table class.

Example

The Pandas funtion works like this:

>>> 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 = pd.DataFrame({"int_col": int_values, "text_col": text_values,
...                   "float_col": float_values})
>>> df
    int_col text_col  float_col
0        1    alpha       0.00
1        2     beta       0.25
2        3    gamma       0.50
3        4    delta       0.75
4        5  epsilon       1.00
@GideonKoenig GideonKoenig added enhancement 💡 New feature or request stdlib labels Jan 13, 2023
@github-project-automation github-project-automation bot moved this to Backlog in Safe-DS Jan 13, 2023
@Gerhardsa0
Copy link
Contributor

Maybe also add the functionality that we can just call dfto get the info.

@SmiteDeluxe SmiteDeluxe closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2023
@github-project-automation github-project-automation bot moved this from Backlog to ✔️ Done in Safe-DS Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 💡 New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants