Skip to content
#

dataframe

Here are 551 public repositories matching this topic...

zundertj
zundertj commented Dec 25, 2021

Are you using Python or Rust?

Python

What version of polars are you using?

0.12.2

What operating system are you using polars on?

W10

Describe your bug.

Setting the config set_tbl_rows does not result in limited printing of dataframe

What are the steps to reproduce the behavior?

>>> import polars as pl
>>> df = pl.DataFrame({"a": [1,
drixie
drixie commented Dec 13, 2021

Pivot points are used to notice importance levels during a trading session. I have used them successfully for day trading as they are solid inflection points.

Read more here - https://tradingsim.com/blog/pivot-points/

Pivot Point (PP) = (Prior Daily High + Low + Close) / 3
R1 = (2 x Pivot Point) – Prior Daily Low
R2 = Pivot Point + (Prior Daily High – Prior Daily Low)
S1 = (2

danfojs
brooksvb
brooksvb commented Dec 24, 2021

Is your feature request related to a problem? Please describe.
The Series.map() function should enable the usage of index in the passed lambda, just like the normal Array.map() function does. My example use case is calculating a moving average, which requires referencing values next to the current position in the Series.

Describe the solution you'd like
I would like to be able to writ

tv
DataFrame
anks7190
anks7190 commented Jan 27, 2021

Hi ,

I am using some basic functions from pyjanitor such as - clean_names() , collapse_levels() in one of my code which I want to productionise.
And there are limitations on the size of the production code base.
Currently ,if I just look at the requirements.txt for just "pyjanitor" , its huge .
I don't think I require all the dependencies in my code.
How can I remove the unnecessary ones ?

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