Skip to content
#

dataframe

Here are 566 public repositories matching this topic...

LiterallyUniqueLogin
LiterallyUniqueLogin commented Feb 20, 2022

What language are you using?

Python

What version of polars are you using?

0.13.1

What operating system are you using polars on?

CentOS Linux release 8.1.1911 (Core)

What language version are you using

python 3.7.9

Describe your bug.

When calling scan_csv on an empty file, a confusing message about buffers appears instead of simply saying th

bdice
bdice commented Feb 3, 2022

Is your feature request related to a problem? Please describe.
While reviewing PR #9817 to introduce DataFrame.diff, I noticed that it is restricted to acting on numeric types.

A time-series diff is probably a very common user need, if provided a series of timestamps and seeking the durations between observations.

Pandas supports diffs on non-numeric types like timestamps:

GF-Huang
GF-Huang commented Feb 27, 2022

Which version are you running? The lastest version is on Github. Pip is for major releases.

0.3.14b0

Do you have TA Lib also installed in your environment?

yes

Did you upgrade? Did the upgrade resolve the issue?

I try upgrade, not solve.

Describe the bug
The df.ta.to_utc is a property, but it is not idempotent. When you type df.ta. then press tab for auto

danfojs
pluc87
pluc87 commented Feb 11, 2022

Is your feature request related to a problem? Please describe.
Would it be possible to get the support of the weekNumber function in Datetime

Describe the solution you'd like
For a given date, it should return the number of the week in the year, from 1 to 52/53 (or 0 to 51/52).

Thanks

alamb
alamb commented Feb 12, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The doc site https://arrow.apache.org/datafusion/ is the public face of DataFusion. While it currently has a great foundation / layout, the content is a bit out of date (and could always use more love)

Making DataFusion more accessible to new users would be great way to get involved with t

DataFrame
thatlittleboy
thatlittleboy commented Jan 2, 2022

Background

This thread is borne out of the discussion from #968 , in an effort to make documentation more beginner-friendly & more understandable.
One of the subtasks mentioned in that thread was to go through the function docstrings and include a minimal working example to each of the public functions in pyjanitor.

Criteria reiterated here for the benefit of discussion:

It sh
pdpipe
yarkhinephyo
yarkhinephyo commented Nov 28, 2021

For pipeline stages provided by the pdpipe.basic_stages, supplying conditions to the prec and post keyword arguments may not return the correct error messages.

Example Code

import pandas as pd; import pdpipe as pdp;
df = pd.DataFrame([[1,4],[4,5],[1,11]], [1,2,3], ['a','b'])
pline = pdp.PdPipeline([
  pdp.FreqDrop(2, 'a', prec=pdp.cond.HasAllColumns(['x']))
])
pline.apply(

Improve this page

Add a description, image, and links to the dataframe topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the dataframe topic, visit your repo's landing page and select "manage topics."

Learn more