Skip to content
#

dataframe

Here are 551 public repositories matching this topic...

alexander-beedie
alexander-beedie commented Dec 12, 2021

Versions

Python 3.9 / Polars 0.10.27 / Windows 10

Describe your bug / reproduce behaviour

>>> # create trivial float series and observe the resulting repr
>>> import polars as pl
>>> pl.from_records( data=[1.0, 0.0, -1.0], columns=['test'] )

shape: (3, 1)
┌──────┐
│ test │
│ ---  │
│ f64  │
╞══════╡
│ 1# <- integer repr
├╌╌╌╌╌╌┤
│ 0.0# <- fl
schwaa
schwaa commented Dec 31, 2021

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

import pandas_ta as ta
print(ta.version)

pandas-ta .3.2b0
Do you have TA Lib also installed in your environment?

$ pip list

TA-Lib = .4.19

Upgrade.

$ pip install -U git+https://github.com/twopirllc/pandas-ta

upgraded to .3.14b0
Same CMF resul

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