Comments (3)
@thehomebrewnerd those are valid points, and I agree with the reasonsing.
- Let's call it
describe
(since pandas also returns a DataFrame, and our function will as well).
from woodwork.
- I wonder if this should be a function on DataTable or a separate utils function
- It is also possible to make it on DataTable, but that just calls separate utils function
Option 1
import woodwork as ww
from woodwork.utils import generate_statistics
data = ww.demo.load_retail(nrows=100)
dt = ww.DataTable(data, name="retail")
stats = generate_statistics(dt)
Option 2
import woodwork as ww
data = ww.demo.load_retail(nrows=100)
dt = ww.DataTable(data, name="retail")
stats = dt.generate_statistics()
from woodwork.
@gsheni I prefer Option 2 - it doesn't require a separate import to use, and it is more consistent with the pandas describe
method, which can be called directly on a dataframe.
Which brings up a question - do you want this to be called describe
to be familiar to pandas users, or is this different enough that we should stick with generate_statistics
?
from woodwork.
Related Issues (20)
- release Woodwork 0.23.0
- Support dask 2023.4.0 in Woodwork
- Deprecate support for Spark DataFrames HOT 4
- Remove `autouse=True` for LatLong Fixtures
- Remove top_values calculation for Double columns with integer values
- Setup GitHub Action to trigger ww performance tests on merge to main via Airflow
- Exclude time index from dependence measures by default
- Optimize boolean inference
- `_infer_datetime_format()` is unable to deal with non-string input
- Numpy 1.25.1 causes issue with boolean type inference
- Tests in `test_boolean_inference` fail with latest versions of pandas and numpy installed
- CI tests need to be updated to run with latest versions specified in core requirements
- Revert PR: 1713
- Update s3 bucket in docs layout
- Update readthedocs config
- Fix PyPI badge not showing
- release Woodwork 0.26.0
- Github Actions to kick off EvalML and Featuretools unit tests are not working
- Serialization is broken with pyarrow==13.0.0
- Temporarily restrict pyarrow due to serialization problems
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woodwork.