All Projects → alanmarazzi → Panthera

alanmarazzi / Panthera

Licence: epl-2.0
Data-frames & arrays on Clojure

Programming Languages

python
139335 projects - #7 most used programming language
clojure
4091 projects

Projects that are alternatives of or similar to Panthera

Static Frame
Immutable and grow-only Pandas-like DataFrames with a more explicit and consistent interface.
Stars: ✭ 217 (+29.17%)
Mutual labels:  array, dataframe, numpy
Ditching Excel For Python
Functionalities in Excel translated to Python
Stars: ✭ 172 (+2.38%)
Mutual labels:  dataframe, pandas, numpy
hamilton
A scalable general purpose micro-framework for defining dataflows. You can use it to create dataframes, numpy matrices, python objects, ML models, etc.
Stars: ✭ 612 (+264.29%)
Mutual labels:  numpy, pandas, dataframe
Mars
Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and Python functions.
Stars: ✭ 2,308 (+1273.81%)
Mutual labels:  dataframe, pandas, numpy
saddle
SADDLE: Scala Data Library
Stars: ✭ 23 (-86.31%)
Mutual labels:  numpy, pandas, dataframe
Seaborn Tutorial
This repository is my attempt to help Data Science aspirants gain necessary Data Visualization skills required to progress in their career. It includes all the types of plot offered by Seaborn, applied on random datasets.
Stars: ✭ 114 (-32.14%)
Mutual labels:  pandas, numpy
Data Science For Marketing Analytics
Achieve your marketing goals with the data analytics power of Python
Stars: ✭ 127 (-24.4%)
Mutual labels:  pandas, numpy
Cheatsheets.pdf
📚 Various cheatsheets in PDF
Stars: ✭ 159 (-5.36%)
Mutual labels:  pandas, numpy
Python Cheat Sheet
Python Cheat Sheet NumPy, Matplotlib
Stars: ✭ 1,739 (+935.12%)
Mutual labels:  pandas, numpy
100 Pandas Puzzles
100 data puzzles for pandas, ranging from short and simple to super tricky (60% complete)
Stars: ✭ 1,382 (+722.62%)
Mutual labels:  pandas, numpy
Machine Learning Projects
This repository consists of all my Machine Learning Projects.
Stars: ✭ 135 (-19.64%)
Mutual labels:  pandas, numpy
Xarray
N-D labeled arrays and datasets in Python
Stars: ✭ 2,353 (+1300.6%)
Mutual labels:  pandas, numpy
Ni Pyt
Materiály k předmětu NI-PYT na FIT ČVUT
Stars: ✭ 112 (-33.33%)
Mutual labels:  pandas, numpy
Studybook
Study E-Book(ComputerVision DeepLearning MachineLearning Math NLP Python ReinforcementLearning)
Stars: ✭ 1,457 (+767.26%)
Mutual labels:  pandas, numpy
Pandahouse
Pandas interface for Clickhouse database
Stars: ✭ 126 (-25%)
Mutual labels:  dataframe, pandas
Stock Market Analysis And Prediction
Stock Market Analysis and Prediction is the project on technical analysis, visualization and prediction using data provided by Google Finance.
Stars: ✭ 112 (-33.33%)
Mutual labels:  pandas, numpy
Ml Cheatsheet
A constantly updated python machine learning cheatsheet
Stars: ✭ 136 (-19.05%)
Mutual labels:  pandas, numpy
Stock Price Predictor
This project seeks to utilize Deep Learning models, Long-Short Term Memory (LSTM) Neural Network algorithm, to predict stock prices.
Stars: ✭ 146 (-13.1%)
Mutual labels:  pandas, numpy
Opendatawrangling
공공데이터 분석
Stars: ✭ 148 (-11.9%)
Mutual labels:  pandas, numpy
Machine Learning With Python
Practice and tutorial-style notebooks covering wide variety of machine learning techniques
Stars: ✭ 2,197 (+1207.74%)
Mutual labels:  pandas, numpy

panthera

panthera-logo

Hic sunt leones

Latin phrase reported on many maps indicating Terra incognita, unexplored or harsh land.

What

Dataframes in Clojure. Through pandas. On Python.

Disclaimer

This is alpha, things will change fast, will break and the API is neither complete, nor settled. Since a few people have started playing with this there's a Clojars project available. Please give feedback if you're using this, every kind of contribution is appreciated (for more info check the Contributing section). At the moment everything is mostly undocumented and untested, I'm currently adding them.

Clojars Project

Get started

Panthera uses the great libpython-clj as a backend to access Python and get pandas and numpy functionality.

N.B.: check libpython-clj repo on how to install and start a Clojure/Python session.

The actual code

After this you can start playing around with panthera

(require '[[panthera.panthera :as pt]
           [libpython-clj.python :refer [initialize!]])
           
(initialize!)

(-> (pt/read-csv "mycsv.csv")
    (pt/subset-cols "Col1" "Col2" "Col3")
    pt/median)

The above chain will read your csv file as a DataFrame, select only the given columns and then return a Series with the median of each column.

panthera.panthera is the home of the main API, and you can find everything there. The advice is to never :use or :refer :all the namespace because there are some functions named as core Clojure functions such as mod which in this case does the same thing as the core one, but in this case it is vectorized and it works only if the first argument is a Python object.

Numpy

All of Numpy is accessible through libpython-clj interop, check the repo for more info.

Contributing

Please let me know about any issues, quirks, ideas or even just to say that you're doing something cool with this! I accept issues, PRs or direct messages (you can find me also on https://clojurians.slack.com and on https://clojurians.zulipchat.com).

Examples

You can find some examples in the examples folder. At the moment that's the best way to start with panthera.

Why "panthera"?

Pandas is derived from "panel data" and somehow is supposed to mean "Python data analysis library" as well. Though it shouldn't have nothing to do with the cute Chinese bears, there are logos showing a bear.

Panthera doesn't pretend to be a clever wordplay because it doesn't need to. First off panthera is latin and it literally means "large cat", second though pandas are surely cute, pantherae are way cooler (and snow leopards also happen to be among the very few predators of pandas, but that's just a case...).

Special thanks

License

Copyright © 2020 Alan Marazzi

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

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].