A dead simple interface for manipulating pandas dataframes
Project description
##### UNDER CONSTRUCTION #####
magicpandas
magicpandas makes working with pandas dead simple.
Main Features
- MagicDataFrame subclasses DataFrame to make existing methods more intuitive as well as add new methods
- MagicDataFrame adds verbose labels that are used by default when displaying data
- MagicDataFrame supports Django ORM
- inspectdf uses DataFrame column types to produce a Django model class (cf. inspectdb)
- to_django saves the DataFrame to SQL using Django ORM's bulk_update and bulk_create.
Examples
df2 = df.drop('*e', axis=1) # df2 drops all columns ending in "e"
df.browse() # opens the DataFrame in MS Excel with nice formatting
df.browse(client='webbrowser') # opens the DataFrame as html displayed in Chrome with nice formatting
TODO
- chromify(chart.to_html())
- inspect_as_django_model
- to_django
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for magicpandas-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c42f2e056e53dae28fb1f791bf0fdd51f3a69edcfeeee332b6bfa0735762c3b |
|
MD5 | fb9523dfae43c86cbffad7209a875691 |
|
BLAKE2b-256 | c676c94dae5a13d5bad80b4b71da80a332d14b0afbdbb9efe27929fc6ca0f35e |