This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients xtreak
Date 2018-09-15.03:43:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536983038.96.0.956365154283.issue34688@psf.upfronthosting.co.za>
In-reply-to
Content
Copying my GitHub comment here : 

If I have only D or no D then there is no segfault. It occurs when I have either A, D or B, D, or C, D.

**Leaving out column D**

```python
from pandas import DataFrame
import pandas as pd

df = DataFrame({'A': [1, 2, 3],
                'B': [1., 2., 3.],
                'C': ['foo', 'bar', 'baz'],
                #'D': pd.date_range('20130101', periods=3)
})

print(df.agg('sum'))
```

**output**

```
A            6
B            6
C    foobarbaz
dtype: object
```

**Only with Column D**

```python
from pandas import DataFrame
import pandas as pd

df = DataFrame({'D': pd.date_range('20130101', periods=3)})

print(df.agg('sum'))
```

**output**

```
Series([], dtype: float64)
```

Thanks
History
Date User Action Args
2018-09-15 03:43:59xtreaksetrecipients: + xtreak
2018-09-15 03:43:58xtreaksetmessageid: <1536983038.96.0.956365154283.issue34688@psf.upfronthosting.co.za>
2018-09-15 03:43:58xtreaklinkissue34688 messages
2018-09-15 03:43:58xtreakcreate