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

Further analysis #1376

Closed
3 tasks done
Fatemeh490 opened this issue Jul 3, 2023 · 3 comments
Closed
3 tasks done

Further analysis #1376

Fatemeh490 opened this issue Jul 3, 2023 · 3 comments
Assignees
Labels

Comments

@Fatemeh490
Copy link

Current Behaviour

say that I think the data type detected by ydata-profiling is what I want. So if I want to do more analysis on these data how can I access each variables?

Expected Behaviour

I want to use other kind of visualization like box plot or scatter plot and so on. So I need that detected data type.

Data Description

I an using Titanic dataset.

Code that reproduces the bug

No response

pandas-profiling version

v4.2.0

Dependencies

pandas==1.5.3

OS

No response

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.
@fabclmnt
Copy link
Contributor

fabclmnt commented Jul 11, 2023

Hi @Fatemeh490,

thank you for your question. All the information available through the ydata-profiling report can be easily accessed through json.

Please see the code example below:

from json import loads
from ydata_profiling import ProfileReport

profile = ProfileReport(
        df,
        title='Example'
    )

report_json = loads(profile.to_json())

#Get the statistics per variable
variables_info = report_json['variables']

@fabclmnt fabclmnt self-assigned this Jul 11, 2023
@Fatemeh490
Copy link
Author

Great! That was what I wanted. Tnx

@fabclmnt
Copy link
Contributor

fabclmnt commented Aug 9, 2023

Great!
I'll close this issue.

@fabclmnt fabclmnt closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants