Skip to content
#

dataframe

Here are 560 public repositories matching this topic...

miguelusque
miguelusque commented Jan 15, 2022

Is your feature request related to a problem? Please describe.
Hi,

While porting some code from Pandas to cuDF, I have noticed that cuDF series do not support unstack method.
As an additional request, It would be great if fill_values could be supported in both cudf.DataFrame.unstack and cudf.Series.unstack methods. Thanks!

Describe the solution you'd like
To have that meth

danfojs
goodPointP
goodPointP commented Nov 22, 2021

It would be really useful if there was a method that could insert a column into an existing Dataframe between two existing columns. I know about .addColumn, but that seems to place the new column at the end of the Dataframe.

For example:

df.print()

A | B 
======
7 | 5
3 | 6

df.insert({ "afterColumn": "A", "newColumnName": "C", "data": [4,1], inplace: true })
df.print()

alamb
alamb commented Jan 31, 2022

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am trying to programatically create Exprs that represent function calls, for example to_timetsamp(x, 4) or something

To do so today you have to do something like this (from simplify_expressions.rs) which is 🤮

        // to_timestamp("2020-09-08T12:00:00+00:00")
       
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
shaypal5
shaypal5 commented Feb 4, 2022

pdpipe uses PdpApplicationContext objects in two ways:

  1. As the fit_context that should be kept as-is after a fit, and used by stages to pass to one another parameters that should also be used on transform time.
  2. As the application_context that should be discarded after a specific application is done, and is used by stages to feed consecutive stages with context. It can be added to by s

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