pandas
Here are 7,921 public repositories matching this topic...
-
Updated
Oct 3, 2020 - Jupyter Notebook
-
Updated
Oct 1, 2020 - Python
-
Updated
Aug 3, 2020 - Python
-
Updated
Sep 28, 2020 - Python
When merging a dask dataframe, the resulting index is duplicated - seems to be because of the number of partitions. See example below:
import pandas as pd
import dask.dataframe as dd
a = dd.from_pandas(pd.DataFrame({'a': [1,2,3,4]}), npartitions=2)
b = pd.DataFrame({'a': [1,2,3,4], 'b': [2,3,4,5]})
a.merge(b, on='a').compute()Returns
| a | b |
|---|
|
-
Updated
Oct 1, 2020 - Python
-
Updated
Sep 22, 2019 - Python
-
Updated
Oct 3, 2020 - Jupyter Notebook
-
Updated
Oct 2, 2020 - Python
-
Updated
Sep 18, 2020 - Jupyter Notebook
-
Updated
May 8, 2018 - Jupyter Notebook
-
Updated
Oct 2, 2020 - Python
Improve readability of thread id based branches by giving them more descriptive names.
e.g.
if (!t) // is actually a t == 0and
https://github.com/rapidsai/cudf/blob/57ef76927373d7260b6a0eda781e59a4c563d36e/cpp/src/io/statistics/column_stats.cu#L285
Is actually a lane_id == 0
As demonstrated in rapidsai/cudf#6241 (comment), pr
-
Updated
Oct 2, 2020 - Python
-
Updated
Sep 5, 2020 - Python
-
Updated
Oct 3, 2020 - Python
-
Updated
Oct 1, 2020 - Python
-
Updated
Sep 15, 2020 - Rust
-
Updated
Oct 2, 2020 - Python
-
Updated
Feb 6, 2020
-
Updated
Sep 4, 2020 - Python
Support Series.median()
What happened:
xr.DataArray([1], coords=[('onecoord', [2])]).sel(onecoord=2).to_dataframe(name='name') raise an exception ValueError: no valid index for a 0-dimensional object
What you expected to happen:
the same behavior as: xr.DataArray([1], coords=[('onecoord', [2])]).to_dataframe(name='name')
Anything else we need to know?:
I see that the array after the select
-
Updated
Feb 11, 2020 - Python
-
Updated
Sep 30, 2020 - Python
-
Updated
Oct 1, 2020 - Jupyter Notebook
Improve this page
Add a description, image, and links to the pandas topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the pandas topic, visit your repo's landing page and select "manage topics."
The docs use certain coding style conventions that are no longer used in pandas (e.g., we adopt black's opinions in terms of line wrapping and quoting), for instance https://pandas.pydata.org/pandas-docs/stable/user_guide/merging.html. We should update the docs to match current style preferences.
blacken-docs is a useful tool that can help in doing _s