Contents

pandas 1.4.3

0

Powerful data structures for data analysis, time series, and statistics

Powerful data structures for data analysis, time series, and statistics

Stars: 34803, Watchers: 34803, Forks: 14798, Open Issues: 3487

The pandas-dev/pandas repo was created 11 years ago and was last updated 44 minutes ago.
The project is extremely popular with a mindblowing 34803 github stars!

How to Install pandas

You can install pandas using pip

pip install pandas

or add it to a project with poetry

poetry add pandas

Package Details

Author
The Pandas Development Team
License
BSD-3-Clause
Homepage
https://pandas.pydata.org
PyPi
https://pypi.org/project/pandas/
GitHub Repo
https://github.com/pandas-dev/pandas

Classifiers

  • Scientific/Engineering
No  pandas  pypi packages just yet.

Errors

A list of common pandas errors.

Code Examples

Here are some pandas code examples and snippets.

  • Plot 3 different Pandas Dataframes in the same chart

    import pandas as pd import numpy as np from matplotlib import pyplot as plt #using numpy's randint to generate some data df1 = pd.DataFrame(np.random.randint(0,100,size=(10, 2)), columns=list('XY')) df2 = pd.DataFrame(np.random.randint(0,100,size=(10, 2)), columns=list('XY')) df3 = pd.DataFrame(np.random.randint(0,100,size=(10, 2)), columns=list('XY')) df1.head(), df2.head(), df3.head() ( X Y 0 82 32 1 79 13 2 87 19 3 6 73 4 1 38, X Y 0 47 62 1 41 0 2 98 78 3 63 83 4 31 59, X Y 0 57 25 1 49 27 2 9 29 3 93 75 4 23 80) # Get handle of first figure to pass to other plot() calls as ax ax = df1.
  • Use pandas and matplotlib to produce a chart of natural gas prices

    In this example Python code, we use requests to fetch data from the EIA.gov website and json from the Python standard library to parse the json data. Next, we load the daily prices into a Pandas DataFrame and format the date column and set it as the index. Finally, we use Pandas .plot() to create a chart saving it as a png image.

GitHub Issues

The pandas package has 3487 open issues on GitHub

  • BUG: groupby transform doesn't respect Series index anymore
  • BUG: Incorrect behavior of window aggregation functions on disjoint windows skipping overflowing elements
  • Revert "PERF: nancorr pearson (#42761)"
  • BUG: frame.shift(axis=1) with ArrayManager
  • REGR: Series.fillna(downcast=False)
  • Switch deps to Conda
  • BUG: REGRESSION: DataFrame.corr() floating point inaccuracy
  • BUG: ArrayManager indexing mismatched behavior
  • BUG: add_categories raises if the new category is included in the old
  • BUG: concat with empty dataframe with columns passed and nonempty dataframe coerces dtype to object
  • added staircase entry in Domain Specific and Accessors section of pan…
  • DOC: add staircase to pandas ecosystem page in docs
  • BUG: bootstrap_plot samples without replacement
  • TST: Added test for setitem loc using datetime-like str
  • BUG: read_csv with memory_map=True on BytesIO object fails

See more issues on GitHub

Related Packages & Articles

nlp 0.4.0

HuggingFace/NLP is an open library of NLP datasets.

keras 2.9.0

Keras is a deep learning API written in Python, running on top of the machine learning platform TensorFlow. The core data structures of Keras are layers and models. The philosophy is to keep simple things simple, while allowing the user to be fully in control when they need to (the ultimate control being the easy extensibility of the source code via subclassing). Deep learning for humans.

gensim 4.2.0

Python framework for fast Vector Space Modelling