Top "Series" questions

A Series object represents a data series.

Pandas filtering for multiple substrings in series

I need to filter rows in a pandas dataframe so that a specific string column contains at least one of …

python string pandas dataframe series
Python Pandas concatenate a Series of strings into one string

In python pandas, there is a Series/dataframe column of str values to combine into one long string: df = pd.…

string python-3.x pandas string-concatenation series
How to convert a series of one value to float only?

I have a series which has only one value and i want to get that value only. I ran a …

python pandas dataframe series
Quick way to check if the pandas series contains a negative value

What is the quickest way to check if the given pandas series contains a negative value. For example, for the …

python pandas series negative-number booleanquery
python pandas.Series.isin with case insensitive

I want to filter out some rows with one of DataFrame's column which data is in a list. df[df[…

python pandas series
Sorting a pandas series

I am trying to figure out how to sort the Series generated as a result of a groupby aggregation in …

python pandas sorting series
Fill nan with zero python pandas

this is my code: for col in df: if col.startswith('event'): df[col].fillna(0, inplace=True) df[col] = df[…

python pandas nan series imputation
Pandas, concat Series to DF as rows

I attempting to add a Series to an empty DataFrame and can not find an answer either in the Doc's …

python pandas concat series
AttributeError: 'Series' object has no attribute 'searchsorted' pandas

I reproduce the code of book python for data analysis in page 38 I write prop_cumsum = df.sort_index(by=…

python pandas series
Error in rep(1, n.ahead) : invalid 'times' argument in R

I'm working on dataset to forecast with ARIMA, and I'm so close to the last step but I'm getting error …

r time series arima