Skip to main content

dexplo

A data analysis library comparible to pandas

Main Goals

  • A very minimal set of features

  • Be as explicit as possible

  • There should be one– and preferably only one –obvious way to do it.

Data Structures

  • Only DataFrames

  • No Series

Data Types

  • Only primitive types - int, float, boolean, numpy.unicode

  • No object data types

Row and Column Labels

  • No index, meaning no row labels

  • No hierarchical index

  • Column names must be strings

  • Column names must be unique

  • Columns stored in a numpy array

Subset Selection

  • Only one way to select data - [ ]

  • Subset selection will be explicit and necessitate both rows and columns

  • Rows will be selected only by integer location

  • Columns will be selected by either label or integer location. Since columns must be strings, this will not be amibguous

  • Column names cannot be duplicated

All selections and operations copy

  • All selections and operations provide new copies of the data

  • This will avoid any chained indexing confusion

Development

  • Must use type hints

  • Must use 3.6 - fstrings

  • Must have numpy, bottleneck, numexpr

Small feature set

  • Implement as few attributes and methods as possible

  • Focus on good idiomatic cookbook examples for doing more complex tasks

Only Scalar Data Types

No complex Python data types - [x] bool - always 8 bits, not-null - [x] int - always 64 bits, not-null - [x] float - always 64 bits, nulls allowed - [x] str - A python unicode object, nulls allowed - [ ] categorical - [ ] datetime - [ ] timedelta

Attributes to implement

  • [x] size

  • [x] shape

  • [x] values

  • [x] dtypes

May not implement any of the binary operators as methods (add, sub, mul, etc…)

Methods

Stats - [x] abs - [x] all - [x] any - [x] argmax - [x] argmin - [x] clip - [ ] corr - [x] count - [ ] cov - [x] cummax - [x] cummin - [ ] cumprod - [x] cumsum - [ ] describe - [x] max - [x] min - [x] median - [x] mean - [ ] mode - [ ] nlargest - [ ] nsmallest - [ ] quantile - [ ] rank - [x] std - [x] sum - [x] var - [ ] unique - [ ] nunique

Selection - [ ] drop - [ ] drop_duplicates - [x] head - [ ] isin - [ ] sample - [x] select_dtypes - [x] tail - [ ] where

Missing Data - [ ] isna - [ ] dropna - [ ] fillna - [ ] interpolate

Other - [ ] append - [ ] apply - [ ] assign - [x] astype - [ ] groupby - [ ] info - [ ] melt - [ ] memory_usage - [ ] merge - [ ] pivot - [ ] replace - [ ] rolling - [ ] sort_values

Functions - [ ] read_csv - [ ] read_sql - [ ] concat

Metadata

Release files for dexplo 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dexplo 0.0.8
File Size Uploaded
dexplo-0.0.8.tar.gz 528.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dexplo 0.0.8
File Interpreter ABI Platform
dexplo-0.0.8-cp36-cp36m-macosx_10_7_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ x86-64 Details

Total release size: 1.1 MB

Release files / dexplo-0.0.8.tar.gz

Download URL dexplo-0.0.8.tar.gz
Size 528.5 kB
Tags Source
SHA-256 checksum
How to use checksums
04bc47c2eb7a63c8b90910fdc369c444664bb7a192345282a0997b6ac18cfe49
BLAKE2b-256 checksum
How to use checksums
47b5830ba032cbdd49cd0b9d99d3930dc7a390b17f37eac55693269fa9051d2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dexplo-0.0.8-cp36-cp36m-macosx_10_7_x86_64.whl

Download URL dexplo-0.0.8-cp36-cp36m-macosx_10_7_x86_64.whl
Size 614.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
2a06c2c387125eab52ec0967b140df85825d87db94916af512e6706a746beb9e
BLAKE2b-256 checksum
How to use checksums
25ed508ca46d8be1c4edd628860fa36a4f94d3c458e6a1c6870acaa59c7a594a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.0.9

1 release file

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

1 release file

0.0.4

1 release file

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page