All Projects → dovpanda-dev → Dovpanda

dovpanda-dev / Dovpanda

Licence: bsd-3-clause
Directions overlay for working with pandas in an analysis environment

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dovpanda

Daily Stock Forecast
Daily Stock Forecasts using Machine Learning & Python
Stars: ✭ 341 (-18.62%)
Mutual labels:  pandas
Pandastable
Table analysis in Tkinter using pandas DataFrames.
Stars: ✭ 376 (-10.26%)
Mutual labels:  pandas
Pandas Js
Pandas in JavaScript for data analysis and visualization
Stars: ✭ 389 (-7.16%)
Mutual labels:  pandas
Pandas Summary
An extension to pandas dataframes describe function.
Stars: ✭ 361 (-13.84%)
Mutual labels:  pandas
Prettypandas
A Pandas Styler class for making beautiful tables
Stars: ✭ 376 (-10.26%)
Mutual labels:  pandas
Sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
Stars: ✭ 21,131 (+4943.2%)
Mutual labels:  overlay
Docker Freepbx
Dockerized FreePBX 15 w/Asterisk 17, Seperate MySQL Database support, and Data Persistence and UCP
Stars: ✭ 331 (-21%)
Mutual labels:  overlay
Gentoolto
A Gentoo Portage configuration for building with -O3, Graphite, and LTO optimizations
Stars: ✭ 399 (-4.77%)
Mutual labels:  overlay
Docker Django
A complete docker package for deploying django which is easy to understand and deploy anywhere.
Stars: ✭ 378 (-9.79%)
Mutual labels:  pandas
Pandas Technical Indicators
Technical Indicators implemented in Python using Pandas
Stars: ✭ 388 (-7.4%)
Mutual labels:  pandas
Popupdialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
Stars: ✭ 3,709 (+785.2%)
Mutual labels:  overlay
Meza
A Python toolkit for processing tabular data
Stars: ✭ 374 (-10.74%)
Mutual labels:  pandas
Stats Maths With Python
General statistics, mathematical programming, and numerical/scientific computing scripts and notebooks in Python
Stars: ✭ 381 (-9.07%)
Mutual labels:  pandas
Deep Learning Wizard
Open source guides/codes for mastering deep learning to deploying deep learning in production in PyTorch, Python, C++ and more.
Stars: ✭ 343 (-18.14%)
Mutual labels:  pandas
Martinez
Martinez-Rueda polygon clipping algorithm, does boolean operation on polygons (multipolygons, polygons with holes etc): intersection, union, difference, xor
Stars: ✭ 391 (-6.68%)
Mutual labels:  overlay
Pandas alive
Create stunning, animated visualisations with Pandas & Matplotlib as easy as calling `df.plot_animated()`
Stars: ✭ 333 (-20.53%)
Mutual labels:  pandas
Visidata
A terminal spreadsheet multitool for discovering and arranging data
Stars: ✭ 4,606 (+999.28%)
Mutual labels:  pandas
Pycon 2019 Tutorial
Data Science Best Practices with pandas
Stars: ✭ 410 (-2.15%)
Mutual labels:  pandas
Finance Go
📊 Financial markets data library implemented in go.
Stars: ✭ 392 (-6.44%)
Mutual labels:  pandas
Cudf
cuDF - GPU DataFrame Library
Stars: ✭ 4,370 (+942.96%)
Mutual labels:  pandas

logo dovpanda

pypi Build Status Documentation Status Updates python3 license
Downloads

Directions OVer PANDAs

Directions are hints and tips for using pandas in an analysis environment. dovpanda is an overlay companion for working with pandas in an analysis environment.
It is an overlay module that tries to understand what you are trying to do with your data, and helps you make you code more concise with readable.
If you think your task is common enough, it probably is, and pandas probably has a built-in solution. dovpanda will help you find them.

Usage

Hints

The main usage of dovpanda is its hints mechanism, which is very easy and works out-of-the-box. Just import it after you import pandas, whether inside a notebook or in a console.

import pandas as pd
import dovpanda

This is it. From now on you can expect dovpanda to come up with helpful hints while you are writing your code.

Notebook

Running dovpanda in a notebook environment will display rendered dismissable html.
random tip

Console

df = pd.DataFrame({'a':list('xxyy'),'b':[40,50,60,70], 'time':['18:02','18:45','20:12','21:50']})
df['time'] = pd.to_datetime(df.time)
df['hour'] = df.time.dt.hour
df.groupby('hour').b.sum()
===== Seems like you are grouping by a column named 'hour', consider setting the your
time column as index and then use df.resample('h') =====
Out[4]:
hour
18    90
20    60
21    70
Name: b, dtype: int64

Installation

pip install dovpanda

Extended Usage

Random Tips

dovpanda.tip() will give you a random pandas tip.
random tip

Change Display

use dovpanda.set_output if you want to change output.

In [14]: dovpanda.set_output('display')
In [15]: df.iterrows()
===== iterrows is not recommended, and in the majority of cases will have better alternatives =====
Out[15]: <generator object DataFrame.iterrows at 0x110fe4318>

In [16]: dovpanda.set_output('print')
In [17]: df.iterrows()
iterrows is not recommended, and in the majority of cases will have better alternatives
Out[17]: <generator object DataFrame.iterrows at 0x112c408b8>

In [18]: dovpanda.set_output('warning')
In [19]: df.iterrows()
WARNING:dovpanda:iterrows is not recommended, and in the majority of cases will have better alternatives
Out[19]: <generator object DataFrame.iterrows at 0x110ee7e58>

In [20]: dovpanda.set_output('off')

In [21]: df.iterrows()
Out[21]: <generator object DataFrame.iterrows at 0x1047c4d68>


BTW

"dov" means bear in Hebrew logo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].