6chaoran / jupyter-summarytools Goto Github PK
View Code? Open in Web Editor NEWsummarytools in jupyter notebook
License: Apache License 2.0
summarytools in jupyter notebook
License: Apache License 2.0
I'd like to generate a automated summary of dataframe I can load and look at later, rather than interactively in a Jupyter notebook.
Sorry that your module does not work in google colab
ImportError: cannot import name 'FilePath' from 'pandas._typing' (/usr/local/lib/python3.8/dist-packages/pandas/_typing.py)
pandas version : pandas-1.5.3
Just wondering why you have decided not to.
Hi @6chaoran ,
I love the original R package, and would have looked into making my own package if I didn't find it online.
How is this repo connected to the Pypi package that @Buckeyes2019 put up? Would you be interesting in making this repo a package that gets pushed to Pypi? I couldn't find it in a fork from @Buckeyes2019.
If from summarytools.summarytools import dfSummary
is not ideal, we can make some changes to the package structure to get from summarytools import dfSummary
. Let me know if you're open to any of changes or contributions, or I can make something similar on my own.
Thanks again for the port!
I really like your work here but wanted to make the summarytools features a little easier to use so I packaged your repo into a Pypi library. See here: https://pypi.org/project/summarytools/
Users can pip install it now rather than having to clone the repo into individual project directories. The usage changed very slightly (to "from summarytools.summarytools import dfSummary" rather than "from summarytools import dfSummary"), but it seems to work properly.
Consider the following code:
import pandas as pd
from summarytools import dfSummary
url = 'https://people.sc.fsu.edu/~jburkardt/data/csv/hw_200.csv'
df2 = pd.read_csv(url)
print(df2.head())
dfSummary(df2)
df2.mean()
Column names and summaries are mixed between several rows.
In this example, column 3 has no summaries:
And here it is visible that at least the mean is shown for the wrong variable:
Can this be fixed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.