url
stringlengths 55
59
| repository_url
stringclasses 1
value | labels_url
stringlengths 69
73
| comments_url
stringlengths 64
68
| events_url
stringlengths 62
66
| html_url
stringlengths 44
49
| id
int64 338k
1.06B
| node_id
stringlengths 18
32
| number
int64 1
44.6k
| title
stringlengths 1
590
| user
dict | labels
listlengths 0
9
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
5
| milestone
dict | comments
int64 0
477
| created_at
unknown | updated_at
unknown | closed_at
unknown | author_association
stringclasses 3
values | active_lock_reason
stringclasses 4
values | body
stringlengths 0
251k
⌀ | reactions
dict | timeline_url
stringlengths 64
68
| performed_via_github_app
float64 | draft
float64 0
1
⌀ | pull_request
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/pandas-dev/pandas/issues/1 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/1/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/1/comments | https://api.github.com/repos/pandas-dev/pandas/issues/1/events | https://github.com/pandas-dev/pandas/issues/1 | 337,721 | MDU6SXNzdWUzMzc3MjE= | 1 | Enable element-wise comparison operations in DataMatrix objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-09-29T00:45:31" | "2014-02-11T20:40:01" | "2011-02-19T23:13:48" | MEMBER | null | re: pystatsmodels e-mail
hi everyone,
just getting started with pandas and i was wondering if someone could
help me out. do pandas.DataMatrix objects support per item comparison
operations?
i have a two data matrices, and i want to do something like this:
div[div > 0.5 \* price] = 0
this would work if div and price were numpy.ndarray objects. any idea
how i would do something like this with pandas.DataMatrix objects?
thanks,
andy
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/1/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/1/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2/events | https://github.com/pandas-dev/pandas/issues/2 | 337,726 | MDU6SXNzdWUzMzc3MjY= | 2 | reindex_like function | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-09-29T00:50:13" | "2014-09-15T17:20:09" | "2010-12-17T02:57:33" | MEMBER | null | In Series, DataMatrix, WidePanel, etc.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/3 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/3/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/3/comments | https://api.github.com/repos/pandas-dev/pandas/issues/3/events | https://github.com/pandas-dev/pandas/issues/3 | 337,728 | MDU6SXNzdWUzMzc3Mjg= | 3 | Binary operations on int DataMatrix | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-09-29T00:50:52" | "2014-09-15T17:20:09" | "2011-01-01T23:50:12" | MEMBER | null | Reported by kwgoodman, Jun 12, 2010
When adding two int DataMatrix's a ValueError is raised when matrix.py attempt to fill missing values with NaN:
> > dma1 = pandas.DataMatrix([[1, 2], [3, 4]], ['a', 'b'], ['c', 'd'])
> > dma2 = pandas.DataMatrix([[1, 2], [3, 4]], ['b', 'a'], ['d', 'c'])
> > dma1 + dma2
> > <snip>
> > ValueError: cannot convert float NaN to integer
Delete comment Comment 1 by kwgoodman, Jun 12, 2010
Possible fix:
> > x = np.array([1.0])
> > issubclass(x.dtype.type, np.inexact)
> > True
> > x = np.array([1])
> > issubclass(x.dtype.type, np.inexact)
> > False
> > x = np.array([1.0], dtype=object)
> > issubclass(x.dtype.type, np.inexact)
> > False
> > x = np.array([1.0], dtype=str)
> > issubclass(x.dtype.type, np.inexact)
> > False
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/3/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/3/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/4 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/4/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/4/comments | https://api.github.com/repos/pandas-dev/pandas/issues/4/events | https://github.com/pandas-dev/pandas/issues/4 | 337,730 | MDU6SXNzdWUzMzc3MzA= | 4 | Plot keyword arguments are unused in DataFrame plot() | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-09-29T00:51:27" | "2014-02-11T20:40:01" | "2010-12-11T06:14:32" | MEMBER | null | Reported by twhitcomb, Jul 27, 2010
What steps will reproduce the problem?
1. Import pandas
2. Create a sample DataFrame
3. Plot the DataFrame using a linewidth keyword argument.
What is the expected output? What do you see instead?
I expect to see the linewidth keyword argument passed through to the plotting routine. Instead, the plot is displayed with the default linewidth (see attached figure).
What version of the product are you using? On what operating system?
> > > pandas.**version**
> > > 0.20000000000000001
> > > Microsoft Windows Vista, Python(x,y) 2.6.5.1
Please provide any additional information below.
Looking at the plot function in frame.py it's obvious why this is happening:
def plot(self, kind='line', **kwds): # pragma: no cover
from pylab import plot
```
for col in sorted(self.columns):
s = self[col]
plot(s.index, s, label=col)
```
Note that **kwds is not used in the plot command.
If I load a new function into my workspace like
def plot_frame(frame, *_kwargs):
from pylab import plot
for col in sorted(frame.columns):
s = frame[col]
plot(s.index, s, label=col, *_kwargs)
Then the arguments are correctly passed on, and I get the proper response, as shown in the other attached figure.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/4/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/4/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/5 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/5/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/5/comments | https://api.github.com/repos/pandas-dev/pandas/issues/5/events | https://github.com/pandas-dev/pandas/issues/5 | 337,736 | MDU6SXNzdWUzMzc3MzY= | 5 | Python 2.7 testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-09-29T00:57:00" | "2014-02-11T20:40:01" | "2010-12-17T02:46:34" | MEMBER | null | Test pandas on Python 2.7
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/5/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/5/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6/events | https://github.com/pandas-dev/pandas/issues/6 | 337,994 | MDU6SXNzdWUzMzc5OTQ= | 6 | Fix argument inconsistency in pandas.stats.moments exp-weighted functions | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-09-29T05:30:56" | "2014-02-11T20:40:01" | "2010-12-11T06:05:26" | MEMBER | null | Should have min_periods arguments like the other rolling moment functions
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/7 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/7/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/7/comments | https://api.github.com/repos/pandas-dev/pandas/issues/7/events | https://github.com/pandas-dev/pandas/issues/7 | 338,909 | MDU6SXNzdWUzMzg5MDk= | 7 | DataMatrix constructor ignores dtype argument if data is a DataMatrix | {
"avatar_url": "https://avatars.githubusercontent.com/u/142990?v=4",
"events_url": "https://api.github.com/users/andylei/events{/privacy}",
"followers_url": "https://api.github.com/users/andylei/followers",
"following_url": "https://api.github.com/users/andylei/following{/other_user}",
"gists_url": "https://api.github.com/users/andylei/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andylei",
"id": 142990,
"login": "andylei",
"node_id": "MDQ6VXNlcjE0Mjk5MA==",
"organizations_url": "https://api.github.com/users/andylei/orgs",
"received_events_url": "https://api.github.com/users/andylei/received_events",
"repos_url": "https://api.github.com/users/andylei/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andylei/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andylei/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andylei"
} | [] | closed | false | null | [] | null | 3 | "2010-09-29T15:41:55" | "2014-02-11T20:40:01" | "2010-12-11T06:12:00" | NONE | null | ```
>>> a = DataMatrix([[1.0,2.0,3.0],[4.0,5.0,6.0]], range(2), range(3))
>>> b = DataMatrix(a, dtype=int)
>>> b.values.dtype
dtype('float64')
```
Not sure if this was a design decision or not, but it seems like the dtype of b.values should be int.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/7/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/7/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/8 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/8/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/8/comments | https://api.github.com/repos/pandas-dev/pandas/issues/8/events | https://github.com/pandas-dev/pandas/issues/8 | 339,355 | MDU6SXNzdWUzMzkzNTU= | 8 | np.fix doesn't work | {
"avatar_url": "https://avatars.githubusercontent.com/u/142990?v=4",
"events_url": "https://api.github.com/users/andylei/events{/privacy}",
"followers_url": "https://api.github.com/users/andylei/followers",
"following_url": "https://api.github.com/users/andylei/following{/other_user}",
"gists_url": "https://api.github.com/users/andylei/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andylei",
"id": 142990,
"login": "andylei",
"node_id": "MDQ6VXNlcjE0Mjk5MA==",
"organizations_url": "https://api.github.com/users/andylei/orgs",
"received_events_url": "https://api.github.com/users/andylei/received_events",
"repos_url": "https://api.github.com/users/andylei/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andylei/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andylei/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andylei"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | null | 3 | "2010-09-29T19:45:47" | "2014-02-11T20:40:01" | "2011-06-23T04:50:05" | NONE | null | ```
In [28]: np.fix(Series([1,2,3], range(3)))
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
C:\alei1\basic_mktneutral\<ipython console> in <module>()
C:\Python26\lib\site-packages\numpy\lib\ufunclike.pyc in fix(x, y)
43 x = nx.asanyarray(x)
44 if y is None:
---> 45 y = nx.zeros_like(x)
46 y1 = nx.floor(x)
47 y2 = nx.ceil(x)
C:\Python26\lib\site-packages\numpy\core\numeric.pyc in zeros_like(a)
92 if isinstance(a, ndarray):
93 res = ndarray.__new__(type(a), a.shape, a.dtype, order=a.flags.fnc)
---> 94 res.fill(0)
95 return res
96 try:
C:\Python26\lib\site-packages\pandas\core\series.pyc in fill(self, value, method)
822 """
823 if value is not None:
--> 824 newSeries = self.copy()
825 newSeries[isnull(newSeries)] = value
826 return newSeries
C:\Python26\lib\site-packages\pandas\core\series.pyc in copy(self)
342
343 def copy(self):
--> 344 return Series(self.values.copy(), index=self.index)
345
346 #-------------------------------------------------------------------------------
C:\Python26\lib\site-packages\pandas\core\series.pyc in __new__(cls, data, index, dtype, copy)
136
137 if index is None:
--> 138 raise Exception('Index cannot be None!')
139
140 # This is to prevent mixed-type Series getting all casted to
```
i think the bigger problem is overriding the default behavior of the fill() method, which may contribute to other numpy / scipy functions not behaving correctly.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/8/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/8/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/9 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/9/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/9/comments | https://api.github.com/repos/pandas-dev/pandas/issues/9/events | https://github.com/pandas-dev/pandas/issues/9 | 341,577 | MDU6SXNzdWUzNDE1Nzc= | 9 | Fix pandas.io.parsers.parseExcel to be more robust / have correct handling of Excel dates | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 2 | "2010-09-30T22:29:36" | "2011-05-18T02:43:33" | "2011-05-18T02:43:33" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/9/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/9/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/10 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/10/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/10/comments | https://api.github.com/repos/pandas-dev/pandas/issues/10/events | https://github.com/pandas-dev/pandas/issues/10 | 341,581 | MDU6SXNzdWUzNDE1ODE= | 10 | Improvements to pandas.io.pytables / unit testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-09-30T22:33:14" | "2014-07-01T02:55:23" | "2011-06-23T19:38:51" | MEMBER | null | Need to incorporate the selection of ranges of data and write unit tests
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/10/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/10/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/11 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/11/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/11/comments | https://api.github.com/repos/pandas-dev/pandas/issues/11/events | https://github.com/pandas-dev/pandas/issues/11 | 341,583 | MDU6SXNzdWUzNDE1ODM= | 11 | Rename {Series, DataFrame, WidePanel}.fill() to something else | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 2 | "2010-09-30T22:34:26" | "2011-02-19T23:46:00" | "2011-02-19T23:46:00" | MEMBER | null | Will need to give users advance warning of API breakage
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/11/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/11/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/12 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/12/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/12/comments | https://api.github.com/repos/pandas-dev/pandas/issues/12/events | https://github.com/pandas-dev/pandas/issues/12 | 344,725 | MDU6SXNzdWUzNDQ3MjU= | 12 | DataFrame and DataMatrix column ordering | {
"avatar_url": "https://avatars.githubusercontent.com/u/425487?v=4",
"events_url": "https://api.github.com/users/hector13/events{/privacy}",
"followers_url": "https://api.github.com/users/hector13/followers",
"following_url": "https://api.github.com/users/hector13/following{/other_user}",
"gists_url": "https://api.github.com/users/hector13/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hector13",
"id": 425487,
"login": "hector13",
"node_id": "MDQ6VXNlcjQyNTQ4Nw==",
"organizations_url": "https://api.github.com/users/hector13/orgs",
"received_events_url": "https://api.github.com/users/hector13/received_events",
"repos_url": "https://api.github.com/users/hector13/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hector13/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hector13/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hector13"
} | [] | closed | false | null | [] | null | 2 | "2010-10-03T17:20:41" | "2010-12-11T22:53:14" | "2010-12-11T22:53:14" | NONE | null | First, thank you for the pandas package -- it's incredibly useful and well done.
I know that one of the fundamental concepts behind the data structures is that column ordering doesn't matter. And, as long as one only uses pandas' data access/manipulation functions (eg, sum(), ewma(), etc.), this works fine. But often, it's useful to access the underling values in a numpy array for some more complicated data manipulation. Using the values attribute (or values() method for a series) does this, but it's not always obvious what order the values come back in.
For example:
<pre>
In [1]: dm = DataMatrix(np.arange(2*3).reshape(2,3), index=[1,0], columns=['B', 'A', 'C' ])
In [2]: dm
Out[2]:
B A C
1 0 1 2
0 3 4 5
In [3]: df = DataFrame(np.arange(2*3).reshape(2,3), index=[1,0], columns=['B', 'A', 'C' ])
In [4]: df
Out[4]:
A B C
1 1 0 2
0 4 3 5
In [5]: df.values
Out[5]:
array([[1, 0, 2],
[4, 3, 5]])
In [6]: dm.values
Out[6]:
array([[0, 1, 2],
[3, 4, 5]])
</pre>
DataMatrix seems to respect the passed in ordering of columns, while DataFrame does not. I know this is documented, and not the biggest deal in the world, but does seem to cause quite a bit of confusion for some. Is it possible to have both data types keep the ordering that's passed in? If a user passes in the same column name twice, could this just throw an exception? Something stills need to be done when an operation is performed on two DataFrames (eg, combining them), but instead of reordering in alphabetical order, how about preserving the column ordering from left to right?
Anyway, my bigger concern is actually the following:
<pre>
In [7]: dm.reindex(columns=['C','B','A']).values
Out[7]:
array([[2, 0, 1],
[5, 3, 4]])
In [8]: df.reindex(columns=['C','B','A']).values
Out[8]:
array([[1, 0, 2],
[4, 3, 5]])
</pre>
Regardless of the ordering of the columns after creating a DataFrame/Matrix, a naive users (ie, me) would expect calling reindex and values would return an ndarray with the columns in the same order as was requested. But it looks like this only happens for DataMatrixes (and I'm not even sure that's always guaranteed).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/12/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/12/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/13 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/13/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/13/comments | https://api.github.com/repos/pandas-dev/pandas/issues/13/events | https://github.com/pandas-dev/pandas/issues/13 | 352,369 | MDU6SXNzdWUzNTIzNjk= | 13 | Add PyTable Paths to HDFStore | {
"avatar_url": "https://avatars.githubusercontent.com/u/428775?v=4",
"events_url": "https://api.github.com/users/surbas/events{/privacy}",
"followers_url": "https://api.github.com/users/surbas/followers",
"following_url": "https://api.github.com/users/surbas/following{/other_user}",
"gists_url": "https://api.github.com/users/surbas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/surbas",
"id": 428775,
"login": "surbas",
"node_id": "MDQ6VXNlcjQyODc3NQ==",
"organizations_url": "https://api.github.com/users/surbas/orgs",
"received_events_url": "https://api.github.com/users/surbas/received_events",
"repos_url": "https://api.github.com/users/surbas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/surbas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/surbas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/surbas"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2010-10-07T23:42:34" | "2012-12-13T01:37:53" | "2012-12-12T21:35:57" | NONE | null | Hello,
I not sure if this was the best way to suggest improvements, but here I go anyway :)
I really like the easy of the HDFStore (and the entire project for that matter), but I wanted the ability to store and retrieve DataFrames in Groups below the root. .i.e
```
h5 = HDFStore('test.h5')
h5['/groups/below/theroot'] = DataFrame(data, index)
df = h5['/groups/below/theroot']
```
I made the following changes to HDFStore class to do this, and am now using it in production code. If you agree this is something useful then I would like this to become apart of the main code base, using your own approach or the below.
I changed the **repr**, **getitem**, and _write_group functions in pandas.io.pytables.
```
def __repr__(self):
output = str(self.__class__) + '\n'
#Exstract path and kind of all 'pandas_type' pytable Groups.
keys, values = zip(*((x._v_pathname, x._v_attrs.pandas_type) for x in self.handle.walkGroups() if hasattr(x._v_attrs,'pandas_type')))
output += adjoin(5, keys, values)
return output
def __getitem__(self, key):
if not key[0] == '/': #Then add root slash so we can use getNode belwo
key = '/' + key
group = self.handle.getNode(key)
return _read_group(group)
def _write_group(self, key, value):
root = self.handle.root
if key[0] == '/': #Assume they want a nested pytable Group
final_slash = key.rfind('/')
where = key[:final_slash]
name = key[final_slash + 1:]
else:
where = '/'
name = key
try:
group = self.handle.getNode(key)
except:
group = self.handle.createGroup(where, name, createparents=True)
kind = type(value)
handler = self._get_write_handler(kind)
try:
handler(group, value)
except Exception:
raise
group._v_attrs.pandas_type = kind.__name__
return True
```
please let me know if there is questions or concerns... I made it so that it still works just like the original if the user doesn't need groups...
Thanks for a great project.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/13/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/13/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/14 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/14/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/14/comments | https://api.github.com/repos/pandas-dev/pandas/issues/14/events | https://github.com/pandas-dev/pandas/issues/14 | 356,064 | MDU6SXNzdWUzNTYwNjQ= | 14 | Make more flexible arithmetic functions in DataFrame/DataMatrix | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-10-11T03:19:39" | "2011-02-19T16:13:00" | "2011-02-19T16:13:00" | MEMBER | null | For example:
```
df.add(series, axis=0)
df.add(series, axis='index')
df.add(series, axis='columns')
```
Etc., might be useful in certain cases
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/14/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/14/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/15/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/15/comments | https://api.github.com/repos/pandas-dev/pandas/issues/15/events | https://github.com/pandas-dev/pandas/issues/15 | 358,943 | MDU6SXNzdWUzNTg5NDM= | 15 | .apply() API consistency fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-10-12T16:10:48" | "2010-12-11T06:19:58" | "2010-12-11T06:19:58" | MEMBER | null | DataFrame.apply, Series.applymap, Series.map sort of come across as inconsistent.
```
def f(x):
return x.apply(lambda y: 2*y)
def g(x):
return x.applymap(lambda y: 2*y)
a = TimeSeries([1,2],[1,2])
b = DataMatrix({'a':a})
f(b)
g(b)
f(a)
g(a)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/15/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/16 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/16/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/16/comments | https://api.github.com/repos/pandas-dev/pandas/issues/16/events | https://github.com/pandas-dev/pandas/issues/16 | 358,947 | MDU6SXNzdWUzNTg5NDc= | 16 | Outlier detection in pandas.stats.moments functions | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-10-12T16:13:04" | "2011-06-23T04:46:14" | "2011-06-23T04:46:14" | MEMBER | null | Floating point error can result in incorrect output in the rolling_\* functions (need unit tests)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/16/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/16/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/17 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/17/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/17/comments | https://api.github.com/repos/pandas-dev/pandas/issues/17/events | https://github.com/pandas-dev/pandas/issues/17 | 358,950 | MDU6SXNzdWUzNTg5NTA= | 17 | Better support for mixed-type data | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2010-10-12T16:13:55" | "2011-07-08T22:15:57" | "2011-07-08T22:15:57" | MEMBER | null | Across DataFrame and Wide/LongPanel classes
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/17/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/17/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/18 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/18/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/18/comments | https://api.github.com/repos/pandas-dev/pandas/issues/18/events | https://github.com/pandas-dev/pandas/issues/18 | 358,952 | MDU6SXNzdWUzNTg5NTI= | 18 | weights option may not be working in pandas.stats.ols.OLS | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | null | 1 | "2010-10-12T16:15:10" | "2011-12-31T16:53:33" | "2011-09-25T05:17:23" | MEMBER | null | Need to investigate (user notified)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/18/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/18/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/19 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/19/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/19/comments | https://api.github.com/repos/pandas-dev/pandas/issues/19/events | https://github.com/pandas-dev/pandas/issues/19 | 376,890 | MDU6SXNzdWUzNzY4OTA= | 19 | parseCSV on result of toCSV does not preserve index type | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-10-22T17:59:31" | "2011-01-11T03:37:14" | "2011-01-11T03:37:14" | MEMBER | null | From Google Code: http://code.google.com/p/pandas/issues/detail?id=14
First of all, thanks very much for this very nice project. I find it extremely useful.
I ran into a very minor issue:
What steps will reproduce the problem?
1. Create a DataFrame with date objects in the index
2. Write to csv using toCSV method
3. Read DataFrame using parseCSV method
What is the expected output? What do you see instead?
I had hoped that the index of the parsed DataFrame would
consist of date objects, instead they are strings.
What version of the product are you using? On what operating system?
Trunk, revision 202. Ubuntu 10.10
Please provide any additional information below.
The reason is that toCSV writes the first column header as "index"
If it were to leave it blank, things work as I expect.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/19/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/19/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/20 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/20/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/20/comments | https://api.github.com/repos/pandas-dev/pandas/issues/20/events | https://github.com/pandas-dev/pandas/issues/20 | 428,564 | MDU6SXNzdWU0Mjg1NjQ= | 20 | Install 0.2beta fail on Debian Lenny / python2.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/36991?v=4",
"events_url": "https://api.github.com/users/mpenning/events{/privacy}",
"followers_url": "https://api.github.com/users/mpenning/followers",
"following_url": "https://api.github.com/users/mpenning/following{/other_user}",
"gists_url": "https://api.github.com/users/mpenning/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mpenning",
"id": 36991,
"login": "mpenning",
"node_id": "MDQ6VXNlcjM2OTkx",
"organizations_url": "https://api.github.com/users/mpenning/orgs",
"received_events_url": "https://api.github.com/users/mpenning/received_events",
"repos_url": "https://api.github.com/users/mpenning/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mpenning/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpenning/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mpenning"
} | [] | closed | false | null | [] | null | 2 | "2010-11-19T14:50:11" | "2010-12-17T02:45:20" | "2010-12-17T02:45:20" | NONE | null | Using a stock debian lenny box with:
- numpy-1.3.0 built from source
- scipy 0.8.0 built from source
- matplotlib-1.0.0 built from source
- pandas-0.2beta (note: no problems with latest github pull)
# Errors: Install 0.2beta
mpenning@Bucksnort:~/src/pandas-0.2beta$ sudo python setup.py install
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
building extension "pandas.lib.tseries" sources
pandas.lib - nothing done with h_files = ['pandas/lib/include/wirth.h']
building data_files sources
running build_py
creating build
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/pandas
copying pandas/**init**.py -> build/lib.linux-i686-2.5/pandas
copying pandas/info.py -> build/lib.linux-i686-2.5/pandas
copying pandas/version.py -> build/lib.linux-i686-2.5/pandas
copying pandas/setup.py -> build/lib.linux-i686-2.5/pandas
creating build/lib.linux-i686-2.5/pandas/core
copying pandas/core/mixins.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/**init**.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/series.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/collection.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/index.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/panel.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/pytools.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/matrix.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/daterange.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/frame.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/common.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/datetools.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/groupby.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/setup.py -> build/lib.linux-i686-2.5/pandas/core
copying pandas/core/api.py -> build/lib.linux-i686-2.5/pandas/core
creating build/lib.linux-i686-2.5/pandas/io
copying pandas/io/**init**.py -> build/lib.linux-i686-2.5/pandas/io
copying pandas/io/parsers.py -> build/lib.linux-i686-2.5/pandas/io
creating build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/**init**.py -> build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/build.py -> build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/bench.py -> build/lib.linux-i686-2.5/pandas/lib
copying pandas/lib/setup.py -> build/lib.linux-i686-2.5/pandas/lib
creating build/lib.linux-i686-2.5/pandas/sandbox
copying pandas/sandbox/**init**.py -> build/lib.linux-i686-2.5/pandas/sandbox
creating build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/plm.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/**init**.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/ols.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/math.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/interface.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/common.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/fama_macbeth.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/setup.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/var.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/moments.py -> build/lib.linux-i686-2.5/pandas/stats
copying pandas/stats/api.py -> build/lib.linux-i686-2.5/pandas/stats
creating build/lib.linux-i686-2.5/pandas/util
copying pandas/util/**init**.py -> build/lib.linux-i686-2.5/pandas/util
copying pandas/util/decorators.py -> build/lib.linux-i686-2.5/pandas/util
copying pandas/util/testing.py -> build/lib.linux-i686-2.5/pandas/util
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'pandas.lib.tseries' extension
compiling C sources
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/pandas
creating build/temp.linux-i686-2.5/pandas/lib
creating build/temp.linux-i686-2.5/pandas/lib/src
compile options: '-I/usr/lib/python2.5/site-packages/numpy/core/include -Ipandas/lib/include/ -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c'
gcc: pandas/lib/src/wirth.c
gcc: pandas/lib/src/tseries.c
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/__ufunc_api.h:183: warning: ?_import_umath? defined but not used
pandas/lib/src/tseries.c:1397: warning: ?__pyx_f_7tseries_get_int16_ptr? defined but not used
pandas/lib/src/tseries.c:1434: warning: ?__pyx_f_7tseries_get_int32_ptr? defined but not used
pandas/lib/src/tseries.c:1471: warning: ?__pyx_f_7tseries_get_int64_ptr? defined but not used
pandas/lib/src/tseries.c:1508: warning: ?__pyx_f_7tseries_get_double_ptr? defined but not used
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/pandas/lib/src/tseries.o build/temp.linux-i686-2.5/pandas/lib/src/wirth.o -o build/lib.linux-i686-2.5/pandas/lib/tseries.so
running scons
running install_lib
copying build/lib.linux-i686-2.5/pandas/lib/tseries.so -> /usr/lib/python2.5/site-packages/pandas/lib
running install_data
running install_egg_info
Removing /usr/lib/python2.5/site-packages/pandas-0.2beta.egg-info
Writing /usr/lib/python2.5/site-packages/pandas-0.2beta.egg-info
mpenning@Bucksnort:~/src/pandas-0.2beta$ cd
mpenning@Bucksnort:~/$
mpenning@Bucksnort:~$ python
Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
> > > import pandas
> > > Traceback (most recent call last):
> > > File "<stdin>", line 1, in <module>
> > > File "/usr/lib/python2.5/site-packages/pandas/**init**.py", line 14, in <module>
> > > from pandas.stats.api import *
> > > File "/usr/lib/python2.5/site-packages/pandas/stats/api.py", line 7, in <module>
> > > from pandas.stats.moments import *
> > > File "/usr/lib/python2.5/site-packages/pandas/stats/moments.py", line 365, in <module>
> > > _rolling_sum = _wrap_cython(tseries.roll_sum)
> > > AttributeError: 'module' object has no attribute 'roll_sum'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/20/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/20/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21/events | https://github.com/pandas-dev/pandas/issues/21 | 428,981 | MDU6SXNzdWU0Mjg5ODE= | 21 | Consistent column ordering between DataFrame and DataMatrix | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2010-11-19T18:41:36" | "2010-11-19T18:42:08" | "2010-11-19T18:42:08" | MEMBER | null | To allow the classes to have more nearly identical behavior
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/22 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/22/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/22/comments | https://api.github.com/repos/pandas-dev/pandas/issues/22/events | https://github.com/pandas-dev/pandas/issues/22 | 474,160 | MDU6SXNzdWU0NzQxNjA= | 22 | numpy.dtype size changed runtime warning on XP | {
"avatar_url": "https://avatars.githubusercontent.com/u/522961?v=4",
"events_url": "https://api.github.com/users/tgefell/events{/privacy}",
"followers_url": "https://api.github.com/users/tgefell/followers",
"following_url": "https://api.github.com/users/tgefell/following{/other_user}",
"gists_url": "https://api.github.com/users/tgefell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tgefell",
"id": 522961,
"login": "tgefell",
"node_id": "MDQ6VXNlcjUyMjk2MQ==",
"organizations_url": "https://api.github.com/users/tgefell/orgs",
"received_events_url": "https://api.github.com/users/tgefell/received_events",
"repos_url": "https://api.github.com/users/tgefell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tgefell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tgefell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tgefell"
} | [] | closed | false | null | [] | null | 13 | "2010-12-14T16:50:11" | "2010-12-19T05:55:29" | "2010-12-15T04:07:42" | NONE | null | I've installed numpy from numpy-1.5.1-win32-superpack-python2.6.exe
and pandas from pandas-0.2.win32-py2.6.exe.
When I import \* from pandas I get the following warnings:
Warning (from warnings module):
File "C:\Program Files\Python26\lib\site-packages\pandas\core\index.py", line 7
from pandas.lib.tseries import map_indices
RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility
Warning (from warnings module):
File "C:\Program Files\Python26\lib\site-packages\pandas\core\index.py", line 7
from pandas.lib.tseries import map_indices
RuntimeWarning: numpy.flatiter size changed, may indicate binary incompatibility
I've had no issues yet using pandas interactively in the window (idle), but if I have embedded the import in a module then I am not able to execute any of the code from the module.
Thoughts?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/22/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/22/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/23 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/23/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/23/comments | https://api.github.com/repos/pandas-dev/pandas/issues/23/events | https://github.com/pandas-dev/pandas/issues/23 | 488,026 | MDU6SXNzdWU0ODgwMjY= | 23 | numpy traceback during easy_install on Debian Lenny | {
"avatar_url": "https://avatars.githubusercontent.com/u/36991?v=4",
"events_url": "https://api.github.com/users/mpenning/events{/privacy}",
"followers_url": "https://api.github.com/users/mpenning/followers",
"following_url": "https://api.github.com/users/mpenning/following{/other_user}",
"gists_url": "https://api.github.com/users/mpenning/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mpenning",
"id": 36991,
"login": "mpenning",
"node_id": "MDQ6VXNlcjM2OTkx",
"organizations_url": "https://api.github.com/users/mpenning/orgs",
"received_events_url": "https://api.github.com/users/mpenning/received_events",
"repos_url": "https://api.github.com/users/mpenning/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mpenning/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpenning/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mpenning"
} | [] | closed | false | null | [] | null | 4 | "2010-12-22T10:37:40" | "2011-01-01T23:16:26" | "2011-01-01T23:16:26" | NONE | null | I'm not sure whether this is due to a problem with my local version of numpy or something else (in perhaps pandas?)... I did not see this previously (same numpy install and other dependencies) when I installed from Github trunk (sometime around November 15, 2010)...
```
[mpenning@Bucksnort ~]$ uname -a
Linux Bucksnort 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 GNU/Linux
[mpenning@Bucksnort ~]$ cat /etc/issue
Debian GNU/Linux 5.0 \n \l
[mpenning@Bucksnort ~]$ sudo easy_install -U pandas
[sudo] password for mpenning:
Searching for pandas
Reading http://pypi.python.org/simple/pandas/
Reading http://pandas.sourceforge.net
Best match: pandas 0.3.0.beta
Downloading http://pypi.python.org/packages/source/p/pandas/pandas-0.3.0.beta.tar.gz#md5=18a39d6aa5df2f3515bada968554f049
Processing pandas-0.3.0.beta.tar.gz
Running pandas-0.3.0.beta/setup.py -q bdist_egg --dist-dir /tmp/easy_install-24C3ig/pandas-0.3.0.beta/egg-dist-tmp-Lc7eTD
warning: no files found matching 'LICENSE.txt'
warning: no files found matching 'README.txt'
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/__ufunc_api.h:197: warning: ?_import_umath? defined but not used
pandas/lib/src/tseries.c:1535: warning: ?__pyx_f_7tseries_get_int16_ptr? defined but not used
pandas/lib/src/tseries.c:1572: warning: ?__pyx_f_7tseries_get_int32_ptr? defined but not used
pandas/lib/src/tseries.c:1609: warning: ?__pyx_f_7tseries_get_int64_ptr? defined but not used
pandas/lib/src/tseries.c:1646: warning: ?__pyx_f_7tseries_get_double_ptr? defined but not used
zip_safe flag not set; analyzing archive contents...
Adding pandas 0.3.0.beta to easy-install.pth file
Installed /usr/lib/python2.5/site-packages/pandas-0.3.0.beta-py2.5-linux-i686.egg
Processing dependencies for pandas
Finished processing dependencies for pandas
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.5/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib/python2.5/site-packages/numpy/distutils/misc_util.py", line 251, in clean_up_temporary_directory
from numpy.distutils import log
SystemError: Parent module 'numpy.distutils' not loaded
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.5/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib/python2.5/site-packages/numpy/distutils/misc_util.py", line 251, in clean_up_temporary_directory
from numpy.distutils import log
SystemError: Parent module 'numpy.distutils' not loaded
[mpenning@Bucksnort ~]$ python
Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
>>> quit()
[mpenning@Bucksnort ~]$
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/23/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/23/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/24 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/24/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/24/comments | https://api.github.com/repos/pandas-dev/pandas/issues/24/events | https://github.com/pandas-dev/pandas/issues/24 | 491,181 | MDU6SXNzdWU0OTExODE= | 24 | Install problems | {
"avatar_url": "https://avatars.githubusercontent.com/u/535368?v=4",
"events_url": "https://api.github.com/users/knm/events{/privacy}",
"followers_url": "https://api.github.com/users/knm/followers",
"following_url": "https://api.github.com/users/knm/following{/other_user}",
"gists_url": "https://api.github.com/users/knm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/knm",
"id": 535368,
"login": "knm",
"node_id": "MDQ6VXNlcjUzNTM2OA==",
"organizations_url": "https://api.github.com/users/knm/orgs",
"received_events_url": "https://api.github.com/users/knm/received_events",
"repos_url": "https://api.github.com/users/knm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/knm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/knm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/knm"
} | [] | closed | false | null | [] | null | 3 | "2010-12-24T07:27:52" | "2010-12-24T21:29:45" | "2010-12-24T16:27:12" | NONE | null | pypi install of pandas still isn't working on 2.7, even with all dependencies
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
> > > import pandas
> > > Traceback (most recent call last):
> > > File "<stdin>", line 1, in <module>
> > > File "pandas__init__.py", line 12, in <module>
> > > from pandas.core.api import *
> > > File "pandas\core\api.py", line 8, in <module>
> > > from pandas.core.common import isnull, notnull
> > > File "pandas\core\common.py", line 6, in <module>
> > > import pandas.lib.tseries as tseries
> > > ImportError: No module named tseries
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/24/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/24/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/25 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/25/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/25/comments | https://api.github.com/repos/pandas-dev/pandas/issues/25/events | https://github.com/pandas-dev/pandas/issues/25 | 491,185 | MDU6SXNzdWU0OTExODU= | 25 | Souce compile errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/535368?v=4",
"events_url": "https://api.github.com/users/knm/events{/privacy}",
"followers_url": "https://api.github.com/users/knm/followers",
"following_url": "https://api.github.com/users/knm/following{/other_user}",
"gists_url": "https://api.github.com/users/knm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/knm",
"id": 535368,
"login": "knm",
"node_id": "MDQ6VXNlcjUzNTM2OA==",
"organizations_url": "https://api.github.com/users/knm/orgs",
"received_events_url": "https://api.github.com/users/knm/received_events",
"repos_url": "https://api.github.com/users/knm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/knm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/knm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/knm"
} | [] | closed | false | null | [] | null | 2 | "2010-12-24T07:32:39" | "2010-12-24T21:28:59" | "2010-12-24T21:28:59" | NONE | null | Old bug opened on google code showed that workaround for the pypi install failures should be to download latest source and compile as such:
python setup.py build --compiler=mingw32
python setup.py install
tseries.c has two errors stopping compilation
pandas\lib\src\tseries.c: In function '__Pyx_c_absf':
pandas\lib\src\tseries.c:18906:25: error: #if with no expression
pandas\lib\src\tseries.c: In function '__Pyx_c_abs':
pandas\lib\src\tseries.c:19026:25: error: #if with no expression
pandas\lib\src\tseries.c: At top level:
should that be #ifdef?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/25/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/25/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/26 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/26/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/26/comments | https://api.github.com/repos/pandas-dev/pandas/issues/26/events | https://github.com/pandas-dev/pandas/issues/26 | 503,940 | MDU6SXNzdWU1MDM5NDA= | 26 | dtype mismatch when calling .median() | {
"avatar_url": "https://avatars.githubusercontent.com/u/36991?v=4",
"events_url": "https://api.github.com/users/mpenning/events{/privacy}",
"followers_url": "https://api.github.com/users/mpenning/followers",
"following_url": "https://api.github.com/users/mpenning/following{/other_user}",
"gists_url": "https://api.github.com/users/mpenning/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mpenning",
"id": 36991,
"login": "mpenning",
"node_id": "MDQ6VXNlcjM2OTkx",
"organizations_url": "https://api.github.com/users/mpenning/orgs",
"received_events_url": "https://api.github.com/users/mpenning/received_events",
"repos_url": "https://api.github.com/users/mpenning/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mpenning/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpenning/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mpenning"
} | [] | closed | false | null | [] | null | 1 | "2011-01-03T17:15:19" | "2011-01-03T23:23:47" | "2011-01-03T23:23:47" | NONE | null | Using python 2.5.2, pandas 0.3 and numpy 1.5.1 on a debian lenny box... mean() works, but not median()
```
>>> df1['b'].truncate(before=dt.date(2010,12,2),after=dt.date(2010,12,4))
2010-12-02 6
2010-12-03 7
2010-12-04 8
>>> df1['b'].truncate(before=dt.date(2010,12,2),after=dt.date(2010,12,4)).median()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-i686/egg/pandas/core/series.py", line 486, in median
File "moments.pyx", line 70, in tseries.median (pandas/lib/src/tseries.c:5967)
File "moments.pyx", line 28, in tseries.kth_smallest (pandas/lib/src/tseries.c:5539)
ValueError: Buffer dtype mismatch, expected 'double_t' but got 'long'
>>> df1['b'].truncate(before=dt.date(2010,12,2),after=dt.date(2010,12,4)).mean()
7.0
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/26/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/26/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27/events | https://github.com/pandas-dev/pandas/issues/27 | 504,715 | MDU6SXNzdWU1MDQ3MTU= | 27 | Incorrect T-Stats in FamaMacBeth.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/546210?v=4",
"events_url": "https://api.github.com/users/Liam3851/events{/privacy}",
"followers_url": "https://api.github.com/users/Liam3851/followers",
"following_url": "https://api.github.com/users/Liam3851/following{/other_user}",
"gists_url": "https://api.github.com/users/Liam3851/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Liam3851",
"id": 546210,
"login": "Liam3851",
"node_id": "MDQ6VXNlcjU0NjIxMA==",
"organizations_url": "https://api.github.com/users/Liam3851/orgs",
"received_events_url": "https://api.github.com/users/Liam3851/received_events",
"repos_url": "https://api.github.com/users/Liam3851/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Liam3851/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Liam3851/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Liam3851"
} | [] | closed | false | null | [] | null | 1 | "2011-01-03T23:29:47" | "2011-02-20T00:53:44" | "2011-02-20T00:53:44" | CONTRIBUTOR | null | Small bug in the FamaMacBeth class at lines 105-106-- the printed form of the regression results gives the STD twice, rather than the t-stat:
<code>
std_beta = self._results['std_beta'][i]
t_stat = self._results['std_beta'][i]
</code>
Last one should be t_stat instead of std_beta the second time.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28/events | https://github.com/pandas-dev/pandas/issues/28 | 518,963 | MDU6SXNzdWU1MTg5NjM= | 28 | what is the easiest way to plot a timeseries and dataframe? | {
"avatar_url": "https://avatars.githubusercontent.com/u/556796?v=4",
"events_url": "https://api.github.com/users/triplechess/events{/privacy}",
"followers_url": "https://api.github.com/users/triplechess/followers",
"following_url": "https://api.github.com/users/triplechess/following{/other_user}",
"gists_url": "https://api.github.com/users/triplechess/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/triplechess",
"id": 556796,
"login": "triplechess",
"node_id": "MDQ6VXNlcjU1Njc5Ng==",
"organizations_url": "https://api.github.com/users/triplechess/orgs",
"received_events_url": "https://api.github.com/users/triplechess/received_events",
"repos_url": "https://api.github.com/users/triplechess/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/triplechess/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/triplechess/subscriptions",
"type": "User",
"url": "https://api.github.com/users/triplechess"
} | [] | closed | false | null | [] | null | 2 | "2011-01-11T04:14:15" | "2011-01-29T19:13:49" | "2011-01-29T19:13:49" | NONE | null | it looks like ts.plot and df.plot is not implemented yet. I watched Wes's PyCon 2010 video where he use some functions fplot (presumably it is defined in the pycon_demo.py that was run at the beginning of the demo). pandas is a great package. Hope it will be kept active and keep expanding. Great work. Thanks.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/29 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/29/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/29/comments | https://api.github.com/repos/pandas-dev/pandas/issues/29/events | https://github.com/pandas-dev/pandas/issues/29 | 519,475 | MDU6SXNzdWU1MTk0NzU= | 29 | .asfreq() dies when the index values have tzinfo associated with them | {
"avatar_url": "https://avatars.githubusercontent.com/u/36991?v=4",
"events_url": "https://api.github.com/users/mpenning/events{/privacy}",
"followers_url": "https://api.github.com/users/mpenning/followers",
"following_url": "https://api.github.com/users/mpenning/following{/other_user}",
"gists_url": "https://api.github.com/users/mpenning/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mpenning",
"id": 36991,
"login": "mpenning",
"node_id": "MDQ6VXNlcjM2OTkx",
"organizations_url": "https://api.github.com/users/mpenning/orgs",
"received_events_url": "https://api.github.com/users/mpenning/received_events",
"repos_url": "https://api.github.com/users/mpenning/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mpenning/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpenning/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mpenning"
} | [] | closed | false | null | [] | null | 2 | "2011-01-11T12:15:39" | "2011-06-23T04:47:01" | "2011-06-23T04:47:01" | NONE | null | ```
>>> # dataframe is indexed at a second granularity, using eastern time
>>> dataframe <class 'pandas.core.frame.DataFrame'>
Index: 24676 entries , 2010-10-04 00:03:49-04:00 to 2010-10-04 23:59:55-04:00
etf 10897 non-null values
etfvol 10897 non-null values
fut 17988 non-null values
futvol 17988 non-null values
ticx 7880 non-null values
vix 7465 non-null values
vixvol 7465 non-null values
>>> dataframe['etf'].index[0]
datetime.datetime(2010, 10, 4, 0, 3, 49, tzinfo=<DstTzInfo 'US/Eastern' EDT-1 day, 20:00:00 DST>)
>>>
>>> # et is a pytz timezone object for eastern time...
>>> et
<DstTzInfo 'US/Eastern' EST-1 day, 19:00:00 STD>
>>> dataframe['fut'].asfreq(et.localize(pn.DateOffset(seconds=1)), method='pad')
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/pytz-2010o-py2.5.egg/pytz/tzinfo.py", line 262, in localize
if dt.tzinfo is not None:
AttributeError: 'DateOffset' object has no attribute 'tzinfo'
>>>
>>> dataframe['fut'].asfreq(pn.DateOffset(seconds=1), method='pad') Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/pandas/core/series.py", line 1103, in asfreq
dateRange = DateRange(self.index[0], self.index[-1], offset=freq)
File "/usr/lib/python2.5/site-packages/pandas/core/daterange.py", line 70, in __new__
fromInside = start is not None and start > _CACHE_START
TypeError: can't compare offset-naive and offset-aware datetimes
>>>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/29/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/29/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30/events | https://github.com/pandas-dev/pandas/issues/30 | 519,516 | MDU6SXNzdWU1MTk1MTY= | 30 | resource hog -> .asfreq(DateOffset(seconds=1),method='pad') | {
"avatar_url": "https://avatars.githubusercontent.com/u/36991?v=4",
"events_url": "https://api.github.com/users/mpenning/events{/privacy}",
"followers_url": "https://api.github.com/users/mpenning/followers",
"following_url": "https://api.github.com/users/mpenning/following{/other_user}",
"gists_url": "https://api.github.com/users/mpenning/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mpenning",
"id": 36991,
"login": "mpenning",
"node_id": "MDQ6VXNlcjM2OTkx",
"organizations_url": "https://api.github.com/users/mpenning/orgs",
"received_events_url": "https://api.github.com/users/mpenning/received_events",
"repos_url": "https://api.github.com/users/mpenning/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mpenning/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpenning/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mpenning"
} | [] | closed | false | null | [] | null | 3 | "2011-01-11T12:31:34" | "2011-06-14T14:17:06" | "2011-06-14T14:17:06" | NONE | null | ```
>>> df2['a']
2010-12-01 00:00:00 1
2010-12-02 00:00:00 2
2010-12-03 00:00:00 3
2010-12-04 00:00:00 4
>>> df2['a'].asfreq(pn.DateOffset(seconds=1),method='pad')
## NOTE: The above one-liner runs for over 20 minutes on a 2Ghz Xeon, python 2.5.2, numpy 1.5.1,
## & pandas head from 2011-01-05. It also consumed > 15% (500MB!!!) of available DRAM
## before I manually killed it
[mpenning@Bucksnort tickdata]$ free
total used free shared buffers cached
Mem: 3894944 3771540 123404 0 192340 2328984
-/+ buffers/cache: 1250216 2644728
Swap: 2830328 596 2829732
[mpenning@Bucksnort tickdata]$ cat /proc/cpuinfo
...
processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.00GHz
stepping : 7
cpu MHz : 1995.840
cache size : 512 KB
physical id : 3
siblings : 2
core id : 0
cpu cores : 1
apicid : 7
initial apicid : 7
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
bogomips : 3991.51
clflush size : 64
power management:
[mpenning@Bucksnort tickdata]$
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31/events | https://github.com/pandas-dev/pandas/issues/31 | 523,747 | MDU6SXNzdWU1MjM3NDc= | 31 | Is there a single pdf instead of html documentation/help file? | {
"avatar_url": "https://avatars.githubusercontent.com/u/556796?v=4",
"events_url": "https://api.github.com/users/triplechess/events{/privacy}",
"followers_url": "https://api.github.com/users/triplechess/followers",
"following_url": "https://api.github.com/users/triplechess/following{/other_user}",
"gists_url": "https://api.github.com/users/triplechess/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/triplechess",
"id": 556796,
"login": "triplechess",
"node_id": "MDQ6VXNlcjU1Njc5Ng==",
"organizations_url": "https://api.github.com/users/triplechess/orgs",
"received_events_url": "https://api.github.com/users/triplechess/received_events",
"repos_url": "https://api.github.com/users/triplechess/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/triplechess/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/triplechess/subscriptions",
"type": "User",
"url": "https://api.github.com/users/triplechess"
} | [] | closed | false | null | [] | null | 3 | "2011-01-13T04:05:11" | "2011-02-20T00:07:53" | "2011-02-20T00:07:53" | NONE | null | This may not be the best place to post this question b/c it is not an "issue", just a question that I don't know where else I can post it to. I am just wondering whether there is a single pdf help or documentation file, instead of html help pages on the sourceforge website. Also, I am wondering whether we have a faq or forum that people discuss about usage/tutorial/success stories etc on using pandas, other than this one? may be pystatmodel? Thanks again, Wes for creating this package! -alex
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32/events | https://github.com/pandas-dev/pandas/issues/32 | 535,032 | MDU6SXNzdWU1MzUwMzI= | 32 | Does pandas support piecewise/multi-period regression? | {
"avatar_url": "https://avatars.githubusercontent.com/u/556796?v=4",
"events_url": "https://api.github.com/users/triplechess/events{/privacy}",
"followers_url": "https://api.github.com/users/triplechess/followers",
"following_url": "https://api.github.com/users/triplechess/following{/other_user}",
"gists_url": "https://api.github.com/users/triplechess/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/triplechess",
"id": 556796,
"login": "triplechess",
"node_id": "MDQ6VXNlcjU1Njc5Ng==",
"organizations_url": "https://api.github.com/users/triplechess/orgs",
"received_events_url": "https://api.github.com/users/triplechess/received_events",
"repos_url": "https://api.github.com/users/triplechess/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/triplechess/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/triplechess/subscriptions",
"type": "User",
"url": "https://api.github.com/users/triplechess"
} | [] | closed | false | null | [] | null | 3 | "2011-01-18T20:28:41" | "2011-01-20T17:42:12" | "2011-01-20T17:42:12" | NONE | null | Hi,
I need to do piecewise or multi-period regression where the breakpoint is determined automatically by the algorithm itself. Does pandas support that? Thanks a lot.
-alex
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/33 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/33/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/33/comments | https://api.github.com/repos/pandas-dev/pandas/issues/33/events | https://github.com/pandas-dev/pandas/issues/33 | 544,195 | MDU6SXNzdWU1NDQxOTU= | 33 | NumPy >= 1.4.0 NaN-handling issues | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2011-01-22T20:36:36" | "2011-02-20T00:50:55" | "2011-02-20T00:50:55" | MEMBER | null | There are a few potential NaN-casting problems floating around the codebase, e.g.:
```
df1 = pandas.DataFrame({'x':[5]})
df2 = pandas.DataFrame({'x':[1]})
df1.combineAdd(df2)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/33/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/33/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/34 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/34/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/34/comments | https://api.github.com/repos/pandas-dev/pandas/issues/34/events | https://github.com/pandas-dev/pandas/issues/34 | 547,967 | MDU6SXNzdWU1NDc5Njc= | 34 | reindex(method="backfill") and periods within the last date | {
"avatar_url": "https://avatars.githubusercontent.com/u/522961?v=4",
"events_url": "https://api.github.com/users/tgefell/events{/privacy}",
"followers_url": "https://api.github.com/users/tgefell/followers",
"following_url": "https://api.github.com/users/tgefell/following{/other_user}",
"gists_url": "https://api.github.com/users/tgefell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tgefell",
"id": 522961,
"login": "tgefell",
"node_id": "MDQ6VXNlcjUyMjk2MQ==",
"organizations_url": "https://api.github.com/users/tgefell/orgs",
"received_events_url": "https://api.github.com/users/tgefell/received_events",
"repos_url": "https://api.github.com/users/tgefell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tgefell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tgefell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tgefell"
} | [] | closed | false | null | [] | null | 2 | "2011-01-24T20:15:05" | "2011-02-20T00:52:36" | "2011-02-20T00:52:36" | NONE | null | I have a DataFrame with 1 minute timestamps, pw.
I have a monthly average of the values:
ma_pw=pw.groupby(BMonthEnd(+1).rollforward).aggregate(np.mean)
When I do a reindex to push that average back into all of the periods for the month,
the last day's values are NaN. Here's my reindex attempt:
reindexed = ma_pw.reindex(pw.index, method="backfill").
I have worked around this by forcing the hour in my monthly data to something past the last minute that I care about in my by-minute data as follows, but this seems incredibly crude:
from dateutil.relativedelta import *
newi = [x + relativedelta(hour=20) for x in ma_pw.index]
ma_pw.index = newi[:]
Then my original reindex works.
Is there a clean way to instruct the reindex method to include the datetime objects having the same datetime.date on that last day of the month?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/34/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/34/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/35/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/35/comments | https://api.github.com/repos/pandas-dev/pandas/issues/35/events | https://github.com/pandas-dev/pandas/pull/35 | 617,056 | MDExOlB1bGxSZXF1ZXN0NzgyMTc= | 35 | Added hist method and added auto_x argument to plot method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 2 | "2011-02-22T08:07:35" | "2011-02-27T05:17:56" | "2011-02-25T01:41:56" | NONE | null | I have added hist method to frame.py and series.py, and added auto_x argument to plot method, which can be useful for the cases where the index does not consist of numeric values.
-Joon
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/35/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/35.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/36 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/36/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/36/comments | https://api.github.com/repos/pandas-dev/pandas/issues/36/events | https://github.com/pandas-dev/pandas/issues/36 | 627,626 | MDU6SXNzdWU2Mjc2MjY= | 36 | Install problems on Windows 7 | {
"avatar_url": "https://avatars.githubusercontent.com/u/522961?v=4",
"events_url": "https://api.github.com/users/tgefell/events{/privacy}",
"followers_url": "https://api.github.com/users/tgefell/followers",
"following_url": "https://api.github.com/users/tgefell/following{/other_user}",
"gists_url": "https://api.github.com/users/tgefell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tgefell",
"id": 522961,
"login": "tgefell",
"node_id": "MDQ6VXNlcjUyMjk2MQ==",
"organizations_url": "https://api.github.com/users/tgefell/orgs",
"received_events_url": "https://api.github.com/users/tgefell/received_events",
"repos_url": "https://api.github.com/users/tgefell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tgefell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tgefell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tgefell"
} | [] | closed | false | null | [] | null | 5 | "2011-02-25T19:07:03" | "2013-09-17T12:20:45" | "2011-03-02T12:24:08" | NONE | null | I'm on a new computer with Windows 7.
I've installed the 32 bit versions of python-2.7.1 and all subsequent requirements.
pandas-0.3.0.win32-py2.7.exe does not complete. It just stops and windows claims it is not responding. The same phenomenon happened installing tables-2.2.1.win32-py2.7.exe. I'm assuming that pytables is recommended but not required for pandas. Anyway, both of these installs do not work.
Suggestions?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/36/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37/events | https://github.com/pandas-dev/pandas/pull/37 | 649,839 | MDExOlB1bGxSZXF1ZXN0ODY2NDM= | 37 | added describe and scoreatpercentile in frame.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 4 | "2011-03-06T01:35:53" | "2014-07-03T19:26:14" | "2011-03-18T20:00:26" | NONE | null | Added two methods in frame.py: describe, which returns a DataFrame with summary statistics of each columns of the original DataFrame (with index=columns), and scoreatpercentile, which calculate the score at the given percentile.
When I play around with a dataset I use this describe thing a lot so I thought it would be convenient to have this with DataFrame.
I think this is crudely implemented so if you think there is a better way please let me know!
-Joon
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37",
"merged_at": "2011-03-18T20:00:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38/events | https://github.com/pandas-dev/pandas/pull/38 | 694,930 | MDExOlB1bGxSZXF1ZXN0OTg4Mjg= | 38 | changed _pfixed in common.py to add a leading space to positive numbers | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 2 | "2011-03-22T19:27:42" | "2011-03-22T23:47:23" | "2011-03-22T20:01:36" | NONE | null | So the results of DataFrame.toString() without any float_format argument is aligned around the period. I think it looks much better. :)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38",
"merged_at": "2011-03-22T20:01:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39/events | https://github.com/pandas-dev/pandas/issues/39 | 736,058 | MDU6SXNzdWU3MzYwNTg= | 39 | Adding variable description in DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 5 | "2011-04-06T00:15:26" | "2014-03-09T15:18:34" | "2014-03-09T15:18:34" | NONE | null | Hi,
I think it would be great if DataFrame is able to store additional property (list of strings) which contains the description for each variable (column). And then it can be shown by themselves with variable names as well as in the output of pandas.DataFrame.info(). I think with this DataFrame will be pretty much self contained. Right now I need to keep additional object or a text file which contains those descriptions.
Please let me know what do you think!
-Joon
| {
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/40/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/40/comments | https://api.github.com/repos/pandas-dev/pandas/issues/40/events | https://github.com/pandas-dev/pandas/issues/40 | 835,724 | MDU6SXNzdWU4MzU3MjQ= | 40 | Create generic moving window function | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2011-05-01T17:31:45" | "2011-06-28T03:09:55" | "2011-06-28T03:09:55" | MEMBER | null | Probably no way to make more efficient than naive Python loop, but at least more convenient
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/40/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/41 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/41/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/41/comments | https://api.github.com/repos/pandas-dev/pandas/issues/41/events | https://github.com/pandas-dev/pandas/issues/41 | 835,731 | MDU6SXNzdWU4MzU3MzE= | 41 | Join methods for WidePanel | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-01-05T19:04:25Z",
"closed_issues": 13,
"created_at": "2011-06-03T10:55:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2011-08-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/1",
"id": 13705,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/1/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3MDU=",
"number": 1,
"open_issues": 0,
"state": "closed",
"title": "0.4.0",
"updated_at": "2013-02-14T23:20:47Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/1"
} | 1 | "2011-05-01T17:32:55" | "2012-01-05T19:04:25" | "2012-01-05T19:04:25" | MEMBER | null | e.g.
def create_panels_join(a, b):
""" return a join of the 2 panels """
d = dict([ (i,(a[i].T.join(v.T)).T) for i, v in b.iteritems() ])
return p.WidePanel.fromDict(d)
# this is a 'more' correct version, but have to assure that a[i] is not None
def create_panels_join(a, b):
""" return a join of the 2 panels """
items = set(a.items) + set(b.items)
WidePanel.fromDict(dict([ (i,(a[i].T.join(b[i].T)).T) for i in items ]))
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/41/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/41/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42/events | https://github.com/pandas-dev/pandas/issues/42 | 835,736 | MDU6SXNzdWU4MzU3MzY= | 42 | Slice DataMatrix-- get a view | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2011-05-01T17:33:45" | "2011-05-30T22:59:55" | "2011-05-30T22:59:55" | MEMBER | null | add copy keyword to .xs() method. Won't work with DataFrame, should raise Exception
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43/events | https://github.com/pandas-dev/pandas/issues/43 | 835,771 | MDU6SXNzdWU4MzU3NzE= | 43 | HDFStore testing and improvements | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2011-05-01T17:58:10" | "2011-06-23T04:47:33" | "2011-06-23T04:47:33" | MEMBER | null | Per many requests...just a place holder to remind me to do it
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/44 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/44/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/44/comments | https://api.github.com/repos/pandas-dev/pandas/issues/44/events | https://github.com/pandas-dev/pandas/issues/44 | 857,878 | MDU6SXNzdWU4NTc4Nzg= | 44 | All days instead of business days? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | null | 4 | "2011-05-06T10:38:14" | "2011-05-16T12:03:37" | "2011-05-06T19:13:40" | NONE | null | Hi,
I am very new to github and miss a discussion board for pandas. Not sure if issues is the right place for my question, so feel free to delete it, but please point to the right place for questions.
The question: I need to aggregate hourly time series to the daily scale, that would include all days, 7 per week. Currently i find only bday class in datetools:
<pre>
daily_ts = ts.groupby(lambda x: datetools.bday(x)).aggregate(np.nansum)
</pre>
But bday will skip weekends. datetools.day seem to return timeseries with the same time resolution.
How to include weekend days?
Many thanks for developing pandas, it's truly nice, and really fast, even when working with large datasets!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/44/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/44/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/45 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/45/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/45/comments | https://api.github.com/repos/pandas-dev/pandas/issues/45/events | https://github.com/pandas-dev/pandas/issues/45 | 934,142 | MDU6SXNzdWU5MzQxNDI= | 45 | Importing data using HDFStore with pre-epoch dates; "ValueError: timestamp out of range for platform localtime()/gmtime() function" | {
"avatar_url": "https://avatars.githubusercontent.com/u/428775?v=4",
"events_url": "https://api.github.com/users/surbas/events{/privacy}",
"followers_url": "https://api.github.com/users/surbas/followers",
"following_url": "https://api.github.com/users/surbas/following{/other_user}",
"gists_url": "https://api.github.com/users/surbas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/surbas",
"id": 428775,
"login": "surbas",
"node_id": "MDQ6VXNlcjQyODc3NQ==",
"organizations_url": "https://api.github.com/users/surbas/orgs",
"received_events_url": "https://api.github.com/users/surbas/received_events",
"repos_url": "https://api.github.com/users/surbas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/surbas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/surbas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/surbas"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | null | 2 | "2011-05-20T22:13:31" | "2011-06-23T04:17:27" | "2011-06-23T04:17:27" | NONE | null | I have data with a DataFrame that goes back to 1949. I imported it from a csv into a hdf5 using HDFStore. That went fine, but when reading from the HDFStore to get a DF back, I get the below stack trace. When looking at the data in the store I see that the index has negative values for preepoch times...
ValueError: timestamp out of range for platform localtime()/gmtime() function
File "C:\dev\MktDB\test_continuation.py", line 59, in <module>
main()
File "C:\Python27\lib\site-packages\pandas-0.3.0-py2.7-win32.egg\pandas\io\pytables.py", line 157, in _read_group
File "C:\Python27\lib\site-packages\pandas-0.3.0-py2.7-win32.egg\pandas\io\pytables.py", line 173, in _read_frame
File "C:\Python27\lib\site-packages\pandas-0.3.0-py2.7-win32.egg\pandas\io\pytables.py", line 210, in _read_index
File "C:\Python27\lib\site-packages\pandas-0.3.0-py2.7-win32.egg\pandas\io\pytables.py", line 227, in _unconvert_index
File "C:\Users\Shon\AppData\Roaming\Python-Eggs\pandas-0.3.0-py2.7-win32.egg-tmp\pandas\lib\tseries.pyd", line 45, in tseries.array_to_datetime (pandas\lib\src\tseries.c:14378)
File "C:\Users\Shon\AppData\Roaming\Python-Eggs\pandas-0.3.0-py2.7-win32.egg-tmp\pandas\lib\tseries.pyd", line 20, in tseries.to_datetime (pandas\lib\src\tseries.c:13910)
Any guidance would be most appreciated.
Shon
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/45/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/45/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/46 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/46/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/46/comments | https://api.github.com/repos/pandas-dev/pandas/issues/46/events | https://github.com/pandas-dev/pandas/issues/46 | 979,782 | MDU6SXNzdWU5Nzk3ODI= | 46 | Configure pandas like pyzmq so checking in .c files is not necessary | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2011-05-31T16:51:22" | "2011-06-28T00:41:31" | "2011-06-28T00:41:31" | MEMBER | null | No reason to be checking in the C files and diffs
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/46/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/46/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/47 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/47/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/47/comments | https://api.github.com/repos/pandas-dev/pandas/issues/47/events | https://github.com/pandas-dev/pandas/issues/47 | 997,036 | MDU6SXNzdWU5OTcwMzY= | 47 | Time zone handling in DateRange, etc. using pytz | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2011-06-03T08:53:52" | "2011-06-14T14:43:51" | "2011-06-14T14:43:51" | MEMBER | null | Working on this at the moment, but still more to do
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/47/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/47/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/48 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/48/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/48/comments | https://api.github.com/repos/pandas-dev/pandas/issues/48/events | https://github.com/pandas-dev/pandas/issues/48 | 997,165 | MDU6SXNzdWU5OTcxNjU= | 48 | "Proper" boolean array with NA handling in DataMatrix | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | null | 1 | "2011-06-03T09:08:28" | "2011-06-14T14:06:41" | "2011-06-14T14:06:41" | MEMBER | null | Currently booleans are getting casted to floats in some circumstances in order to handle NAs. Need to devise a workable scheme for boolean data possibly containing NAs.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/48/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/48/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/49 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/49/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/49/comments | https://api.github.com/repos/pandas-dev/pandas/issues/49/events | https://github.com/pandas-dev/pandas/issues/49 | 997,190 | MDU6SXNzdWU5OTcxOTA= | 49 | Consistent column ordering in mixed-type DataMatrix | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2011-06-03T09:10:29" | "2011-06-14T14:06:14" | "2011-06-14T14:06:14" | MEMBER | null | As floats and non-floats are currently segregated, column ordering not reliable. Thus, behavior between DataFrame and DataMatrix is not identical
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/49/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/49/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/50 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/50/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/50/comments | https://api.github.com/repos/pandas-dev/pandas/issues/50/events | https://github.com/pandas-dev/pandas/issues/50 | 998,016 | MDU6SXNzdWU5OTgwMTY= | 50 | Better implementation of rolling_max and min | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-07-22T19:13:24Z",
"closed_issues": 101,
"created_at": "2011-11-13T23:21:44Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-07-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/8",
"id": 55119,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8/labels",
"node_id": "MDk6TWlsZXN0b25lNTUxMTk=",
"number": 8,
"open_issues": 0,
"state": "closed",
"title": "0.8.1",
"updated_at": "2012-07-27T15:54:14Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/8"
} | 1 | "2011-06-03T10:50:07" | "2012-07-12T16:51:03" | "2012-07-12T16:51:03" | MEMBER | null | Currently using skiplist, unnecessary
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/50/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/50/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/51 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/51/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/51/comments | https://api.github.com/repos/pandas-dev/pandas/issues/51/events | https://github.com/pandas-dev/pandas/issues/51 | 1,091,992 | MDU6SXNzdWUxMDkxOTky | 51 | examples not running, error in documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/864091?v=4",
"events_url": "https://api.github.com/users/columW/events{/privacy}",
"followers_url": "https://api.github.com/users/columW/followers",
"following_url": "https://api.github.com/users/columW/following{/other_user}",
"gists_url": "https://api.github.com/users/columW/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/columW",
"id": 864091,
"login": "columW",
"node_id": "MDQ6VXNlcjg2NDA5MQ==",
"organizations_url": "https://api.github.com/users/columW/orgs",
"received_events_url": "https://api.github.com/users/columW/received_events",
"repos_url": "https://api.github.com/users/columW/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/columW/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/columW/subscriptions",
"type": "User",
"url": "https://api.github.com/users/columW"
} | [] | closed | false | null | [] | null | 6 | "2011-06-21T14:09:06" | "2011-06-21T16:34:40" | "2011-06-21T14:38:23" | NONE | null | Both examples do not run. In finance.py, on line 83:
```
filledRatio = ibm / ibmMonthly.reindex(ibm.index, fillMethod='pad')
```
should be:
```
filledRatio = ibm / ibmMonthly.reindex(ibm.index, method='pad')
```
As reindex is defined in core/series.py as
```
def reindex(self, index=None, method=None):
```
This error is repeated in the documentation at http://pandas.sourceforge.net (reindex uses the argument fillMethod instead of method).
running regressions.py, I get the following error:
Traceback (most recent call last):
File "regressions.py", line 30, in <module>
model = ols(y=Y, x=X)
File "/usr/local/lib/python2.6/dist-packages/pandas/stats/interface.py", line 117, in ols
return klass(**kwargs)
File "/usr/local/lib/python2.6/dist-packages/pandas/stats/ols.py", line 56, in **init**
self.sm_ols = sm.OLS(self._y_raw, self._x.values).fit()
AttributeError: 'module' object has no attribute 'OLS'
It's possible I'm somehow combining incompatible versions of pandas, but I don't see how, considering I downloaded pandas today, once. The first bug, at least seems like a simple code error.
Hopefully this is of some help,
Colum
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/51/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/51/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/52 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/52/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/52/comments | https://api.github.com/repos/pandas-dev/pandas/issues/52/events | https://github.com/pandas-dev/pandas/issues/52 | 1,092,649 | MDU6SXNzdWUxMDkyNjQ5 | 52 | Improve fancy indexing when selecting cross-sections | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2011-06-21T15:49:54" | "2011-06-23T04:16:33" | "2011-06-23T04:16:33" | MEMBER | null | Something like
```
df.ix[0, ['C', 'B', A']]
```
is currently performing a wasteful reindex(columns=['C', 'B', A']), need to have some better way to infer the "right" order to perform the operations in
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/52/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/52/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/53 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/53/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/53/comments | https://api.github.com/repos/pandas-dev/pandas/issues/53/events | https://github.com/pandas-dev/pandas/issues/53 | 1,102,365 | MDU6SXNzdWUxMTAyMzY1 | 53 | Optimized DataFrame.append for block structure if possible | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | null | 1 | "2011-06-23T04:45:51" | "2011-06-23T19:39:40" | "2011-06-23T19:39:40" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/53/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/53/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/54 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/54/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/54/comments | https://api.github.com/repos/pandas-dev/pandas/issues/54/events | https://github.com/pandas-dev/pandas/issues/54 | 1,123,834 | MDU6SXNzdWUxMTIzODM0 | 54 | fillna bug on ordered string data | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2011-06-27T17:53:51" | "2011-06-27T23:06:24" | "2011-06-27T23:06:24" | MEMBER | null | OK
```
x = Series([NaN,1.,NaN,3.,NaN],['a','b','c','d','e'], dtype=object)
x.fillna(method='pad')
```
Not OK
```
x = Series([NaN,1.,NaN,3.,NaN],['z','a','b','c','d'], dtype=object)
x.fillna(method='pad')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/54/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/54/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/55 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/55/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/55/comments | https://api.github.com/repos/pandas-dev/pandas/issues/55/events | https://github.com/pandas-dev/pandas/pull/55 | 1,134,205 | MDExOlB1bGxSZXF1ZXN0MjAxOTY3 | 55 | Minor change to CleanCommand so build works with stdeb | {
"avatar_url": "https://avatars.githubusercontent.com/u/453086?v=4",
"events_url": "https://api.github.com/users/dieterv77/events{/privacy}",
"followers_url": "https://api.github.com/users/dieterv77/followers",
"following_url": "https://api.github.com/users/dieterv77/following{/other_user}",
"gists_url": "https://api.github.com/users/dieterv77/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dieterv77",
"id": 453086,
"login": "dieterv77",
"node_id": "MDQ6VXNlcjQ1MzA4Ng==",
"organizations_url": "https://api.github.com/users/dieterv77/orgs",
"received_events_url": "https://api.github.com/users/dieterv77/received_events",
"repos_url": "https://api.github.com/users/dieterv77/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dieterv77/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dieterv77/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dieterv77"
} | [] | closed | false | null | [] | null | 1 | "2011-06-29T00:59:24" | "2011-06-29T02:07:07" | "2011-06-29T02:06:48" | CONTRIBUTOR | null | Hi Wes, i've been following your pandas work for a while, and regularly install it on my ubuntu based systems. I generally use the stdeb (https://github.com/astraw/stdeb) package for creating .deb files from python packages. Unfortunately, some of your recent changes in setup.py in pandas caused a problem with building using stdeb. Essentially the problem is that debhelper tries to run "python setup.py clean -a" at some point, which doesn't work because the customized clean command does not have a "-a" option. I just added a dummy argument "--all, -a" argument that has no effect.
No worries if you'd rather not merge it, just wanted to check.
thanks
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/55/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/55/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/55.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/55",
"merged_at": "2011-06-29T02:06:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/55.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/55"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/56 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/56/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/56/comments | https://api.github.com/repos/pandas-dev/pandas/issues/56/events | https://github.com/pandas-dev/pandas/issues/56 | 1,169,618 | MDU6SXNzdWUxMTY5NjE4 | 56 | Some reverse binary operations fail with dtype=object | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [] | closed | false | null | [] | null | 1 | "2011-07-05T19:50:00" | "2011-07-08T21:07:28" | "2011-07-08T21:07:28" | MEMBER | null | See example
```
In [12]: arr = Series(np.random.randn(10), index=np.arange(10), dtype=object)
In [13]: arr
Out[13]:
0 -0.475934738891
1 0.602096986911
2 0.731158853064
3 -0.268872970066
4 0.607786684074
5 -0.0200444918205
6 1.93289485517
7 1.14860246486
8 -0.138246858663
9 0.382736317471
In [14]: 1. / arr
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Users/wesm/Downloads/<ipython-input-14-6df87fcc597b> in <module>()
----> 1 1. / arr
TypeError: unsupported operand type(s) for /: 'float' and 'Series'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/56/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/56/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/57 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/57/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/57/comments | https://api.github.com/repos/pandas-dev/pandas/issues/57/events | https://github.com/pandas-dev/pandas/issues/57 | 1,224,282 | MDU6SXNzdWUxMjI0Mjgy | 57 | fillna bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/915416?v=4",
"events_url": "https://api.github.com/users/jiangs/events{/privacy}",
"followers_url": "https://api.github.com/users/jiangs/followers",
"following_url": "https://api.github.com/users/jiangs/following{/other_user}",
"gists_url": "https://api.github.com/users/jiangs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jiangs",
"id": 915416,
"login": "jiangs",
"node_id": "MDQ6VXNlcjkxNTQxNg==",
"organizations_url": "https://api.github.com/users/jiangs/orgs",
"received_events_url": "https://api.github.com/users/jiangs/received_events",
"repos_url": "https://api.github.com/users/jiangs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jiangs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jiangs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jiangs"
} | [] | closed | false | null | [] | null | 1 | "2011-07-14T16:28:06" | "2011-07-14T16:46:35" | "2011-07-14T16:46:35" | NONE | null | ser=Series([np.nan,1,2],index=range(3))
ser.fillna(method='backfill')
GIVES
ValueError: unknown dtype code in numpy.pxd (0)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/57/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/57/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/58 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/58/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/58/comments | https://api.github.com/repos/pandas-dev/pandas/issues/58/events | https://github.com/pandas-dev/pandas/issues/58 | 1,228,406 | MDU6SXNzdWUxMjI4NDA2 | 58 | setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/163966?v=4",
"events_url": "https://api.github.com/users/ivanistheone/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanistheone/followers",
"following_url": "https://api.github.com/users/ivanistheone/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanistheone/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanistheone",
"id": 163966,
"login": "ivanistheone",
"node_id": "MDQ6VXNlcjE2Mzk2Ng==",
"organizations_url": "https://api.github.com/users/ivanistheone/orgs",
"received_events_url": "https://api.github.com/users/ivanistheone/received_events",
"repos_url": "https://api.github.com/users/ivanistheone/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanistheone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanistheone/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanistheone"
} | [] | closed | false | null | [] | null | 3 | "2011-07-15T04:51:09" | "2011-07-15T06:54:06" | "2011-07-15T06:54:06" | NONE | null | sudo python setup.py -v build # fails on Mac OS 10.6 or something
can't convert the .pyx files to .c
hard linking pandas/src/skiplist.pyx -> pandas-0.4.0.dev20110715_027c90b/pandas/src
'pandas/src/sparse.c' not a regular file -- skipping
hard linking pandas/src/sparse.pyx -> pandas-0.4.0.dev20110715_027c90b/pandas/src
'pandas/src/tseries.c' not a regular file -- skipping
changing the setup.py as follows:
@line10
- from setuptools import setup
- from scipy_distutils.core import setup
makes it work.
thx Pearu: http://osdir.com/ml/python.f2py.user/2003-11/msg00008.html
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/58/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/58/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/59 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/59/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/59/comments | https://api.github.com/repos/pandas-dev/pandas/issues/59/events | https://github.com/pandas-dev/pandas/issues/59 | 1,232,682 | MDU6SXNzdWUxMjMyNjgy | 59 | Use Pdb.runcall() in debug() | {
"avatar_url": "https://avatars.githubusercontent.com/u/46135?v=4",
"events_url": "https://api.github.com/users/rkern/events{/privacy}",
"followers_url": "https://api.github.com/users/rkern/followers",
"following_url": "https://api.github.com/users/rkern/following{/other_user}",
"gists_url": "https://api.github.com/users/rkern/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rkern",
"id": 46135,
"login": "rkern",
"node_id": "MDQ6VXNlcjQ2MTM1",
"organizations_url": "https://api.github.com/users/rkern/orgs",
"received_events_url": "https://api.github.com/users/rkern/received_events",
"repos_url": "https://api.github.com/users/rkern/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rkern/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rkern/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rkern"
} | [] | closed | false | null | [] | null | 3 | "2011-07-15T21:18:40" | "2011-07-15T23:44:55" | "2011-07-15T23:44:55" | CONTRIBUTOR | null | See attached patch.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/59/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/59/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/60 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/60/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/60/comments | https://api.github.com/repos/pandas-dev/pandas/issues/60/events | https://github.com/pandas-dev/pandas/issues/60 | 1,233,249 | MDU6SXNzdWUxMjMzMjQ5 | 60 | Easier subclassing | {
"avatar_url": "https://avatars.githubusercontent.com/u/918693?v=4",
"events_url": "https://api.github.com/users/yonatanf/events{/privacy}",
"followers_url": "https://api.github.com/users/yonatanf/followers",
"following_url": "https://api.github.com/users/yonatanf/following{/other_user}",
"gists_url": "https://api.github.com/users/yonatanf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yonatanf",
"id": 918693,
"login": "yonatanf",
"node_id": "MDQ6VXNlcjkxODY5Mw==",
"organizations_url": "https://api.github.com/users/yonatanf/orgs",
"received_events_url": "https://api.github.com/users/yonatanf/received_events",
"repos_url": "https://api.github.com/users/yonatanf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yonatanf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yonatanf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yonatanf"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 20 | "2011-07-15T23:11:41" | "2014-07-30T01:12:20" | "2014-07-30T01:12:20" | NONE | null | Hi,
Currently, sub-classing pandas objects is not as easy as it could be.
This is the result of many methods explicitly creating specific classes. E.g. the '_combine_const' method from 'matrix' explicitly returns a DataMatrix object:
def _combine_const(self, other, func):
if not self:
return self
```
# TODO: deal with objects
return DataMatrix(func(self.values, other), index=self.index,
columns=self.columns)
```
Therefore, arithmetic operations (and some other operations) performed on a new class MyDataMatrix, inheriting form DataMatrix, return a DataMatrix object, rather than a MyDataMatrix object.
I can get around the problem using the ugly hack of overriding the problem methods, and forcing the output to the new class. E.g.,
def _combine_const(self, other, func):
temp = super(MyDataMatrix, self)._combine_const(other, func)
temp.__class__ = self.**class**
return temp
However, I feel it would be easier to just change the original methods to return the class of the calling object, rather than a fixed class. E.g.,
def _combine_const(self, other, func):
if not self:
return self
```
# TODO: deal with objects
return self.__class__(func(self.values, other), index=self.index,
columns=self.columns)
```
Hope this makes sense, and I'm not missing something.
Thanks for a very useful package!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/60/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/60/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/61 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/61/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/61/comments | https://api.github.com/repos/pandas-dev/pandas/issues/61/events | https://github.com/pandas-dev/pandas/issues/61 | 1,239,398 | MDU6SXNzdWUxMjM5Mzk4 | 61 | DataFrame.__ne__ not implemented | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | null | 1 | "2011-07-18T02:15:11" | "2011-07-20T19:46:26" | "2011-07-20T19:46:25" | MEMBER | null | See
```
dm = DataFrame({'col1':[1,2],'col2':[1,2]})
dm[dm!=0] = 5
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/61/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/61/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/62 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/62/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/62/comments | https://api.github.com/repos/pandas-dev/pandas/issues/62/events | https://github.com/pandas-dev/pandas/issues/62 | 1,242,419 | MDU6SXNzdWUxMjQyNDE5 | 62 | Add na_omit options to aggregation functions | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-01-05T19:04:25Z",
"closed_issues": 13,
"created_at": "2011-06-03T10:55:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2011-08-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/1",
"id": 13705,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/1/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3MDU=",
"number": 1,
"open_issues": 0,
"state": "closed",
"title": "0.4.0",
"updated_at": "2013-02-14T23:20:47Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/1"
} | 1 | "2011-07-18T15:37:26" | "2011-10-02T02:56:19" | "2011-10-02T02:56:19" | MEMBER | null | A la R's
```
mean(arr, na.rm=T)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/62/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/62/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/63 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/63/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/63/comments | https://api.github.com/repos/pandas-dev/pandas/issues/63/events | https://github.com/pandas-dev/pandas/issues/63 | 1,242,420 | MDU6SXNzdWUxMjQyNDIw | 63 | Unit testing / cleanup of pandas.io.sql | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2011-07-18T15:37:46" | "2012-04-12T03:42:31" | "2012-04-12T03:17:15" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/63/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/63/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/64 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/64/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/64/comments | https://api.github.com/repos/pandas-dev/pandas/issues/64/events | https://github.com/pandas-dev/pandas/issues/64 | 1,242,434 | MDU6SXNzdWUxMjQyNDM0 | 64 | numpy.datetime64 type integration | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2012-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 0 | "2011-07-18T15:39:18" | "2012-04-05T00:31:26" | "2012-04-05T00:31:26" | MEMBER | null | Need to examine use cases and see how hard it will be to switch over
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/64/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/64/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/65 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/65/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/65/comments | https://api.github.com/repos/pandas-dev/pandas/issues/65/events | https://github.com/pandas-dev/pandas/issues/65 | 1,242,459 | MDU6SXNzdWUxMjQyNDU5 | 65 | Add dot method to DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2011-12-02T22:02:04Z",
"closed_issues": 79,
"created_at": "2011-10-26T01:14:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "",
"due_on": "2011-11-25T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/7",
"id": 50054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwNTQ=",
"number": 7,
"open_issues": 0,
"state": "closed",
"title": "0.6.0",
"updated_at": "2012-02-11T22:38:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7"
} | 0 | "2011-07-18T15:43:35" | "2011-11-10T04:08:23" | "2011-11-10T04:08:23" | MEMBER | null | To enable easy matrix multiplication with DataFrame:
```
df.dot(series)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/65/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/65/timeline | null | null | null |
End of preview. Expand
in Dataset Viewer.
No dataset card yet
New: Create and edit this dataset card directly on the website!
Contribute a Dataset Card- Downloads last month
- 7