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/3401
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3401/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3401/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3401/events
https://github.com/pandas-dev/pandas/issues/3401
13,398,978
MDU6SXNzdWUxMzM5ODk3OA==
3,401
FMT: allow datetime/timedelta formatting on a column to be better
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "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": "DDDDDD", "default": false, "description": "Long-Term Enhancement Discussions", "id": 157369, "name": "Ideas", "node_id": "MDU6TGFiZWwxNTczNjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-02-03T05:17:36Z", "closed_issues": 314, "created_at": "2013-08-26T22:11:58Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }, "description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.", "due_on": "2014-02-04T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/23", "id": 412013, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels", "node_id": "MDk6TWlsZXN0b25lNDEyMDEz", "number": 23, "open_issues": 0, "state": "closed", "title": "0.13.1", "updated_at": "2014-02-03T05:18:00Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23" }
28
"2013-04-19T12:31:45Z"
"2014-01-15T02:57:34Z"
"2014-01-15T02:57:34Z"
CONTRIBUTOR
null
http://stackoverflow.com/questions/16103238/pandas-timedelta-in-days/16104567#16104567 Its easy to think about, e.g. if no dates in a particular column have time values, then can print them w/o the time values (e.g. just 2001-01-01 maybe), I think this would be nice as the default (maybe add an option for it?) ``` In [17]: df Out[17]: age today diff years 0 2001-01-01 00:00:00 2013-04-19 00:00:00 4491 days, 00:00:00 12.304110 1 2004-06-01 00:00:00 2013-04-19 00:00:00 3244 days, 00:00:00 8.887671 ``` Better? ``` In [17]: df Out[17]: age today diff years 0 2001-01-01 2013-04-19 4491 days 12.304110 1 2004-06-01 2013-04-19 3244 days 8.887671 ```
{ "+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/3401/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3401/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3402
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3402/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3402/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3402/events
https://github.com/pandas-dev/pandas/issues/3402
13,407,575
MDU6SXNzdWUxMzQwNzU3NQ==
3,402
ENH: Linked Datasets (RDF)
{ "avatar_url": "https://avatars.githubusercontent.com/u/50891?v=4", "events_url": "https://api.github.com/users/westurner/events{/privacy}", "followers_url": "https://api.github.com/users/westurner/followers", "following_url": "https://api.github.com/users/westurner/following{/other_user}", "gists_url": "https://api.github.com/users/westurner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/westurner", "id": 50891, "login": "westurner", "node_id": "MDQ6VXNlcjUwODkx", "organizations_url": "https://api.github.com/users/westurner/orgs", "received_events_url": "https://api.github.com/users/westurner/received_events", "repos_url": "https://api.github.com/users/westurner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/westurner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/westurner/subscriptions", "type": "User", "url": "https://api.github.com/users/westurner" }
[ { "color": "DDDDDD", "default": false, "description": "Long-Term Enhancement Discussions", "id": 157369, "name": "Ideas", "node_id": "MDU6TGFiZWwxNTczNjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas" } ]
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" }
36
"2013-04-19T16:01:53Z"
"2016-06-20T10:54:47Z"
"2014-02-04T21:44:22Z"
CONTRIBUTOR
null
## ENH: Linked Datasets (RDF) - This is very much a meta ticket. - There are a number of bare links here. - They are for documentation (UPDATE: see https://github.com/westurner/pandas-rdf/issues/1) ### Use Case So I: - retrieved some data - from somewhere - about a certain #topic - perfomed analysis - with certain transformations and aggregations - with certain versions of certain tools - confirmed/rejected a [null] hypothesis and I want to share my findings so that others can find, review, repeat, reproduce, and verify (confirm/reject) a given conclusion. ### User Story As a data analyst, I would like to **share** or **publish** `Series`, `DataFrame`s, `Panel`s, and `Panel4D`s as structured, hierarchical, RDF linked data ("DataSet"). ### Status Quo: Pandas IO > How do I go from a [CSV] to a DataFrame to something shareable with a URL? http://pandas.pydata.org/pandas-docs/dev/io.html - http://pandas.pydata.org/pandas-docs/dev/dsintro.html - https://github.com/pydata/pandas/blob/master/pandas/core/format.py - https://github.com/pydata/pandas/blob/master/pandas/rpy/common.py . - Series (1D) - index - data - NumPy datatypes - DataFrame (2D) - index - column(s) - NumPy datatypes - Panel (3D) - Panel4D (4D) **Read** or **parse** a data format into a DataSet: - `pandas.read_*` - `read_clipboard` - `read_csv` - `read_excel` - `read_fwf` - `read_gbq` - `read_hdf` - `read_html` - `read_json` - `read_msgpack` - `read_pickle` - `read_sql` - `read_stata` - `read_table` - `pandas.HDFStore` - https://pandas.pydata.org/docs/dev/io.html#hdf5-pytables **Add** metadata: - [ ] Add RDF metadata (RDFa, JSONLD) **Save** or **serialize** a DataSet into a data format: - `pandas.DataFrame.` - `to_csv` - `to_dict` - `to_excel` - `to_gbq` - `to_html` - `to_latex` - `to_panel` - `to_period` - `to_records` - `to_sparse` - `to_sql` - `to_stata` - `to_string` - `to_timestamp` - `to_wide` - [ ] to_ RDF - [ ] to_ CSVW - [ ] to_ HTML + RDFa - [ ] to_ JSONLD - [ ] create a JSONLD @context **Share** or **publish** a serialized DataSet with the internet: - Email Attachment (Table in a PDF) - opendatahandbook.org - project-open-data.github.io - FTP, SFTP, RSYNC, NFS - HTML web upload form with metadata form fields - CLI tool - Version Control: Git, Hg, Svn - challenge: 'large' files ("binary blobs") in VCS systems - HTTP API: Object Storage (~LDP) - `GET/POST /container/filename.csv` # [.json|.xml|.xls|.rdf|.html] - challenge: indexing metadata from a separate document / named graph - `GET/POST to`/container/filename.csv` - Push to CKAN - http://docs.ckan.org/en/latest/api.html - http://docs.ckan.org/en/latest/linked-data-and-rdf.html - https://github.com/okfn/ckan - Host DataSet metadata - `python -m SimpleHTTPServer 8088` - e.g. http://datasets.schema-labs.appspot.com/about Indexes http://schema.org/Dataset s ### Implementation What changes would be needed for Pandas core to support this workflow? - `.meta` schema - `to_rdf` for Series, DataFrames, Panels, and Panel4Ds - `read_rdf` for Series, DataFrames, Panels, and Panel 4Ds - ~`@datastep` process decorators - ~`DataSet` - ~`DataCatalog` of precomputed aggregations/views/slices. - Units support (`.meta`?) #### `.meta` schema It's easy enough to serialize a dict and a table to naieve RDF. For interoperability, it would be helpful to standardize with a common set of terms/symbols/structures/schema for describing the tabular, hierarchical data which pandas is designed to handle. There is currently no standard method for storing columnar metadata within Pandas (e.g. in `.meta['columns'][colname]['schema']`, or as a **JSON-LD `@context`**). ##### Ontology Resources - http://www.w3.org/TR/rdf-schema/ (`rdfs:`) - http://www.w3.org/TR/owl-overview/ (`owl:`) - http://www.w3.org/TR/sparql11-query/#sparqlDefinition - http://lov.okfn.org - http://prefix.cc ##### CSV2RDF (`csvw`) - http://www.w3.org/ns/csvw - https://github.com/w3c/csvw - https://w3c.github.io/csvw/ ##### W3C PROV (`prov:`) - http://www.w3.org/TR/prov-primer/#intuitive-overview-of-prov - http://www.w3.org/TR/prov-o/ - http://www.w3.org/2011/prov/wiki/ProvImplementations - **https://pypi.python.org/pypi/prov** - http://prov.readthedocs.org/en/latest/usage.html ##### schema.org (`schema:`) - http://schema.org - http://www.w3.org/wiki/WebSchemas - http://schema.rdfs.org/ - https://schema.org/docs/full.html : - schema:Dataset -- A body of structured information describing some topic(s) of interest. - [schema:Thing, schema:CreativeWork] - distribution -- A downloadable form of this dataset, at a specific location, in a specific format (DataDownload) - spatial, temporal - catalog -- A data catalog which contains a dataset (DataCatalog) - schema:DataCatalog -- collection of Datasets - [schema:Thing, schema:CreativeWork] - dataset -- A dataset contained in a catalog. (Dataset) - schema:DataDownload -- A dataset in downloadable form. - [schema:Thing, schema:CreativeWork] - contentSize - contentURL - uploadDate ##### W3C RDF Data Cube (`qb:`) - http://www.w3.org/TR/vocab-data-cube/ - http://www.w3.org/2011/gld/wiki/Data_Cube_Vocabulary#The_history_of_Data_Cube.2C_SDMX-RDF_and_SCOVO - http://www.w3.org/TR/vocab-data-cube/#vocab-reference : - qb:DataSet -- a collection of observations, possibly organized into various slices, conforming to some common dimensional structure - qb:Slice -- a subset of a DataSet defined by fixing a subset of the dimensional values. - qb:Observation -- a single observation in the cube, may have one or more associated measured values. - qb:dataset -- data set of which this observation is a part. - qb:ObservationGroup -- a, possibly arbitrary, group of observations. - qb:observation -- an observation contained within this slice of the data set. - qb:Slice -- a subset of a DataSet defined by fixing a subset of the dimensional values, component properties on the Slice. - [Components, Properties, Dimensions, Attributes, Measures] #### `to_rdf` http://pandas.pydata.org/pandas-docs/dev/io.html Arguments: - [ ] output `fmt` - [ ] JSON-LD: compaction . - [ ] `Series.meta` - [ ] `Series.to_rdf()` - [ ] `DataFrame.meta` - [ ] `DataFrame.to_rdf()` - [ ] `Panel.meta` - [ ] `Panel.to_rdf()` - [ ] `Panel4D.meta` - [ ] `Panel4D.to_rdf()` #### `read_rdf` http://pandas.pydata.org/pandas-docs/dev/remote_data.html - [ ] `Series.read_rdf()` - [ ] `DataFrame.read_rdf()` - [ ] `Panel.read_rdf()` - [ ] `Panel4D.read_rdf()` Arguments to `read_rdf` would need to describe which dimensions of data to read into 1D/2D/3D/4D form. #### @datastep / PROV - [ ] Objective: Additive journal of transformations - [ ] Link to source script(s) URIs - [ ] Decorator for annotating data transformations with metadata. - [ ] Generate PROV metadata for data transformations [Ten Simple Rules for Reproducible Computational Research](http://www.ploscompbiol.org/article/info%3Adoi%2F10.1371%2Fjournal.pcbi.1003285) (3, 4, 5, 7, 8, 10) #### DataCatalog A collection of Datasets. - [ ] `DataCatalog = {that=df1, this=df1.group().apply(), also_this=df2]` - 'this is an aggregation of that' - 'this' has a URI - 'that' has a URI - What if there is no metadata for df2? #### Units support - [ ] Series.meta - [ ] DataFrame.column.meta - NumPy [, PyTables] - http://docs.scipy.org/doc/numpy/reference/arrays.dtypes.html - https://pint.readthedocs.org/en/latest/ - http://pythonhosted.org/quantities/ RDF Datatypes - http://en.wikipedia.org/wiki/ISO_8601 - http://www.w3.org/TR/xmlschema-2/#decimal - http://schema.org/Date - http://schema.org/DateTime - http://schema.org/Float - http://schema.org/Quantity - **https://github.com/RDFLib/rdflib** - `from rdflib.namespace import XSD, RDF, RDFS` - `from rdflib import URIRef, Literal` - https://github.com/RDFLib/rdflib-sqlalchemy (SQLAlchemy) JSON-LD (RDF in JSON) - https://github.com/digitalbazaar/pyld (JSON-LD) - https://github.com/RDFLib/rdflib-jsonld (JSON-LD) ### Linked Data Primer Linked Data Abstractions - Graphs are represented as triples of (s,p,o) - Subject, Predicate, Object - Queries are patterns with ?references - `graph.triples((None, None, None))` - `SELECT ?s, ?p, ?o WHERE { ?s ?p ?o };` - subjects are linked to objects by predicates - subjects and predicate are identified by URI 'keys' URIs and URLs - a URI is like a URL - usually, we expect URLs to be 'dereferencable` HTTP URIs - HTTP GET http://en.wikipedia.org/ - a URI may start with a different URI prefix - `urn:` - `uuid:` SQL and Linked Data - there exist standard mappings for whole SQL tablesets - rdb2rdf - similar to application scaffolding - ACL support adds complexity - virtuoso supports SQL and RDF and SPARQL - standard mappings - virtuoso powers http://dbpedia.org/ - dbpedia.org has a high degree of centrality - http://lod-cloud.net/ - rdflib-sqlalchemy maps RDF onto SQL tables - fairly inefficiently, when compared to native triplestores Named Graphs - Quads: (g, s, p, o) - g: sometimes called the 'context' of a triple - Metadata about `GRAPH ?g` - Multiple named graphs in one file: TriX, TriG Linked Data Formats - [ ] NTriples - [ ] RDF/XML - [ ] TriX - [ ] Turtle, N3 - [ ] TriG - [ ] JSON-LD Choosing Schema - [ ] XSD, RDF, RDFS, DCTERMS - Which schema is most popular? - Which schema is a best fit for the data? - Which schema will search engines index for us? - What do the queries look like? - Years Later... What is OWL? - Why would we start with RDFS now? #### Linked Data Process, Provenance, and Schema DataSets have [implicit] URIs: ``` http://example.com/datasets/#<key> ``` **Shared** or **published** DataSets have URLs: ``` http://ckan.example.org/datasets/<key> ``` DataSets are about certain things: ``` e.g. URIs for #Tags, Categories, Taxonomy, Ontology ``` DataSets are derived from somewhere, somehow: - where and how was it downloaded? (digital sense) - how was it collected? (process control sense) Datasets have structure: - Tabular, Hierarchical - 1D, 2D, 3D, 4D - Graph-based - Chains - Flows - Schema **5 β˜… Open Data** **http://5stardata.info/** **http://www.w3.org/TR/ld-glossary/#x5-star-linked-open-data** > β˜† Publish data on the Web in any format (e.g., PDF, JPEG) accompanied by an explicit Open License (expression of rights). > β˜†β˜† Publish structured data on the Web in a machine-readable format (e.g., XML). > β˜†β˜†β˜† Publish structured data on the Web in a documented, non-proprietary data format (e.g., CSV, KML). > β˜†β˜†β˜†β˜† Publish structured data on the Web as RDF (eg Turtle, RDFa, JSON-LD, SPARQL) > β˜†β˜†β˜†β˜†β˜† In your RDF, have the identifiers be links (URLs) to useful data sources. https://en.wikipedia.org/wiki/Linked_Data
{ "+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/3402/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3402/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3403
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3403/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3403/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3403/events
https://github.com/pandas-dev/pandas/issues/3403
13,417,527
MDU6SXNzdWUxMzQxNzUyNw==
3,403
python parser does not handle encoding parameter correctly
{ "avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4", "events_url": "https://api.github.com/users/changhiskhan/events{/privacy}", "followers_url": "https://api.github.com/users/changhiskhan/followers", "following_url": "https://api.github.com/users/changhiskhan/following{/other_user}", "gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/changhiskhan", "id": 759245, "login": "changhiskhan", "node_id": "MDQ6VXNlcjc1OTI0NQ==", "organizations_url": "https://api.github.com/users/changhiskhan/orgs", "received_events_url": "https://api.github.com/users/changhiskhan/received_events", "repos_url": "https://api.github.com/users/changhiskhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions", "type": "User", "url": "https://api.github.com/users/changhiskhan" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2014-02-03T05:17:36Z", "closed_issues": 314, "created_at": "2013-08-26T22:11:58Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }, "description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.", "due_on": "2014-02-04T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/23", "id": 412013, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels", "node_id": "MDk6TWlsZXN0b25lNDEyMDEz", "number": 23, "open_issues": 0, "state": "closed", "title": "0.13.1", "updated_at": "2014-02-03T05:18:00Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23" }
1
"2013-04-19T19:45:04Z"
"2013-09-22T00:34:41Z"
"2013-09-22T00:34:41Z"
CONTRIBUTOR
null
read_table with encoding="ISO-8859-2" and sep="::" does not convert movies.dat movielens dataset to unicode 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/3403/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3403/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3404
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3404/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3404/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3404/events
https://github.com/pandas-dev/pandas/issues/3404
13,419,664
MDU6SXNzdWUxMzQxOTY2NA==
3,404
Multicharacter delimiters + non-UTF8 encoding doesn't work correctly in parsers
{ "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" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "444444", "default": false, "description": "Unicode strings", "id": 36380025, "name": "Unicode", "node_id": "MDU6TGFiZWwzNjM4MDAyNQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
2
"2013-04-19T20:33:54Z"
"2016-07-28T23:43:39Z"
"2016-07-28T23:43:39Z"
MEMBER
null
The new C parser handles user-specified encoding properly. The Python parser not so much (I think it may only be an issue when regular-expression parsing is used).
{ "+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/3404/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3404/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3405
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3405/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3405/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3405/events
https://github.com/pandas-dev/pandas/pull/3405
13,437,818
MDExOlB1bGxSZXF1ZXN0NTI3NTYyMQ==
3,405
TST: added testing and error messages for passing datetimes with timezones
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-05-10T10:57:28Z", "closed_issues": 340, "created_at": "2013-01-18T03:58: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": "2013-04-26T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/21", "id": 246733, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21/labels", "node_id": "MDk6TWlsZXN0b25lMjQ2NzMz", "number": 21, "open_issues": 0, "state": "closed", "title": "0.11", "updated_at": "2013-11-24T16:49:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21" }
0
"2013-04-20T16:26:09Z"
"2014-06-25T07:53:00Z"
"2013-04-20T16:51:42Z"
CONTRIBUTOR
null
(not yet implemented, and error message was a little misleading) CLN: better error messages on invalid appends
{ "+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/3405/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3405/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3405.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3405", "merged_at": "2013-04-20T16:51:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3405.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3405" }
https://api.github.com/repos/pandas-dev/pandas/issues/3406
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3406/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3406/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3406/events
https://github.com/pandas-dev/pandas/issues/3406
13,437,825
MDU6SXNzdWUxMzQzNzgyNQ==
3,406
TextFileReader.get_chunk returns full file DataFram despite of chunksize specified in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/1769283?v=4", "events_url": "https://api.github.com/users/vshkolyar/events{/privacy}", "followers_url": "https://api.github.com/users/vshkolyar/followers", "following_url": "https://api.github.com/users/vshkolyar/following{/other_user}", "gists_url": "https://api.github.com/users/vshkolyar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vshkolyar", "id": 1769283, "login": "vshkolyar", "node_id": "MDQ6VXNlcjE3NjkyODM=", "organizations_url": "https://api.github.com/users/vshkolyar/orgs", "received_events_url": "https://api.github.com/users/vshkolyar/received_events", "repos_url": "https://api.github.com/users/vshkolyar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vshkolyar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vshkolyar/subscriptions", "type": "User", "url": "https://api.github.com/users/vshkolyar" }
[]
closed
false
null
[]
{ "closed_at": "2013-05-10T10:57:28Z", "closed_issues": 340, "created_at": "2013-01-18T03:58: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": "2013-04-26T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/21", "id": 246733, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21/labels", "node_id": "MDk6TWlsZXN0b25lMjQ2NzMz", "number": 21, "open_issues": 0, "state": "closed", "title": "0.11", "updated_at": "2013-11-24T16:49:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21" }
4
"2013-04-20T16:26:42Z"
"2013-06-20T11:03:20Z"
"2013-04-22T23:52:41Z"
NONE
null
TextFileReader.get_chunk returns full file DataFram despite of chunksize specified in read_csv.
{ "+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/3406/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3406/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3407
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3407/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3407/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3407/events
https://github.com/pandas-dev/pandas/issues/3407
13,440,125
MDU6SXNzdWUxMzQ0MDEyNQ==
3,407
Infinite loop in Python when doing simple operations
{ "avatar_url": "https://avatars.githubusercontent.com/u/1118942?v=4", "events_url": "https://api.github.com/users/lrq3000/events{/privacy}", "followers_url": "https://api.github.com/users/lrq3000/followers", "following_url": "https://api.github.com/users/lrq3000/following{/other_user}", "gists_url": "https://api.github.com/users/lrq3000/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lrq3000", "id": 1118942, "login": "lrq3000", "node_id": "MDQ6VXNlcjExMTg5NDI=", "organizations_url": "https://api.github.com/users/lrq3000/orgs", "received_events_url": "https://api.github.com/users/lrq3000/received_events", "repos_url": "https://api.github.com/users/lrq3000/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lrq3000/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lrq3000/subscriptions", "type": "User", "url": "https://api.github.com/users/lrq3000" }
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
9
"2013-04-20T19:45:26Z"
"2016-09-29T22:44:20Z"
"2016-09-29T22:29:46Z"
NONE
null
Hi there, I have a ginormous problem right now. When doing simple operations, a python interpreter subprocess keeps running in the background (even when my application finished) and eats a lot of CPU (25%) continually, and forever. It seems that whenever I do some simple operations, such as: ``` df / serie2 df.div(serie2) df - serie2 df - 2 df.apply(minus) df ** 2 ``` where minus is: ``` def minus(serie): serie - serie2 ``` But the following operations do not produce the bug: ``` df * (1.0/serie2) df * serie2**-1 df * df ``` And any operation using \* is typically not affected by the bug. The bug is that if the above operations are present in my code, it launches an instance of Python and then this instance never goes away, and keeps using 25 percent of my CPU! I am using: Windows 7 x64 Python 2.7 Pandas 0.11 rc1 Numpy 1.7.1 IPython 0.13.2 What is weird is that I have a hard time reproducing it outside of my application (ie: directly inside IPython with simplified code), so I can't really post anything here. Another thing to note is that when this bug happens compared to when it doesn't (using the workarounds I outlined above by replacing buggy operations by non buggy operations, and having the same result at the end), not only a python subprocess keeps running in the background, but also while my application is running, my app use a LOT more CPU and memory (CPU ~ 60% when buggy, ~10-20% when not buggy). I'm still trying to debug the problem, but it seems it can't be profiled (because it's not a loop due to my application, my application ends correctly, and then the Python sub-process keeps processing something but I can't know what!). If someone has an idea to help me debugging I would gladly hear your ideas. Meanwhile this is posted here as a reference if anyone else gets a similar problem.
{ "+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/3407/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3407/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3408
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3408/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3408/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3408/events
https://github.com/pandas-dev/pandas/issues/3408
13,440,397
MDU6SXNzdWUxMzQ0MDM5Nw==
3,408
CLN: move excel from io.parsers to io.excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
"2013-04-20T20:10:30Z"
"2013-07-26T12:40:28Z"
"2013-07-26T12:40:28Z"
CONTRIBUTOR
null
for consistency should create read_excel io.api method
{ "+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/3408/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3408/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3409
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3409/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3409/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3409/events
https://github.com/pandas-dev/pandas/pull/3409
13,445,676
MDExOlB1bGxSZXF1ZXN0NTI3ODM5Ng==
3,409
BUG: don't rely on sys.getdefaultencoding if we don't need to
{ "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
[]
{ "closed_at": "2013-05-10T10:57:28Z", "closed_issues": 340, "created_at": "2013-01-18T03:58: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": "2013-04-26T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/21", "id": 246733, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21/labels", "node_id": "MDk6TWlsZXN0b25lMjQ2NzMz", "number": 21, "open_issues": 0, "state": "closed", "title": "0.11", "updated_at": "2013-11-24T16:49:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21" }
0
"2013-04-21T07:22:08Z"
"2014-07-23T06:58:59Z"
"2013-04-21T15:13:08Z"
NONE
null
pending confirm on fixing #3360.
{ "+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/3409/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3409/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3409.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3409", "merged_at": "2013-04-21T15:13:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3409.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3409" }
https://api.github.com/repos/pandas-dev/pandas/issues/3410
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3410/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3410/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3410/events
https://github.com/pandas-dev/pandas/pull/3410
13,449,132
MDExOlB1bGxSZXF1ZXN0NTI3OTU2NQ==
3,410
Period.strftime should return unicode strings always
{ "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
[]
{ "closed_at": "2013-05-10T10:57:28Z", "closed_issues": 340, "created_at": "2013-01-18T03:58: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": "2013-04-26T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/21", "id": 246733, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21/labels", "node_id": "MDk6TWlsZXN0b25lMjQ2NzMz", "number": 21, "open_issues": 0, "state": "closed", "title": "0.11", "updated_at": "2013-11-24T16:49:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21" }
0
"2013-04-21T13:37:50Z"
"2014-06-27T18:12:06Z"
"2013-04-21T16:54:11Z"
NONE
null
pending confirmed of fix to #3363
{ "+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/3410/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3410/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3410.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3410", "merged_at": "2013-04-21T16:54:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3410.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3410" }
https://api.github.com/repos/pandas-dev/pandas/issues/3411
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3411/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3411/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3411/events
https://github.com/pandas-dev/pandas/issues/3411
13,450,035
MDU6SXNzdWUxMzQ1MDAzNQ==
3,411
CLN: create io.api for io relegated read_xxx
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-21T14:38:28Z"
"2013-12-04T00:57:16Z"
"2013-05-30T16:39:25Z"
CONTRIBUTOR
null
related to #3418 should auto generate class methods for the io and delay the imports until actually called (including html, excel, csv, hdf, dta) deprecate these methods as well: https://mail.google.com/mail/u/0/?shva=1#inbox/13ec1cd9b60c5bda at the very least should deprecate: ``` from_csv -> pd.read_csv from_dta -> pd.read_dta ```
{ "+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/3411/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3411/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3412
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3412/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3412/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3412/events
https://github.com/pandas-dev/pandas/issues/3412
13,460,164
MDU6SXNzdWUxMzQ2MDE2NA==
3,412
Panel with int64 index resulting data to be NaN
{ "avatar_url": "https://avatars.githubusercontent.com/u/4219829?v=4", "events_url": "https://api.github.com/users/xyang2013/events{/privacy}", "followers_url": "https://api.github.com/users/xyang2013/followers", "following_url": "https://api.github.com/users/xyang2013/following{/other_user}", "gists_url": "https://api.github.com/users/xyang2013/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xyang2013", "id": 4219829, "login": "xyang2013", "node_id": "MDQ6VXNlcjQyMTk4Mjk=", "organizations_url": "https://api.github.com/users/xyang2013/orgs", "received_events_url": "https://api.github.com/users/xyang2013/received_events", "repos_url": "https://api.github.com/users/xyang2013/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xyang2013/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xyang2013/subscriptions", "type": "User", "url": "https://api.github.com/users/xyang2013" }
[]
closed
false
null
[]
null
6
"2013-04-22T01:29:11Z"
"2013-05-10T10:41:07Z"
"2013-05-10T10:41:07Z"
NONE
null
a = pandas.Series([1,2]) b = pandas.Series([3,4]) c = pandas.DataFrame( {'a':a, 'b':b}) d = pandas.DataFrame( {'a':a, 'b':b}) e = pandas.Panel({1365455239396772380:c, 1365455239396772380:d}) In [21]: e[1365455239396772380] Out[21]: a b 0 NaN NaN 1 NaN NaN
{ "+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/3412/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3412/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3413
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3413/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3413/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3413/events
https://github.com/pandas-dev/pandas/issues/3413
13,462,103
MDU6SXNzdWUxMzQ2MjEwMw==
3,413
Multiple series for FRED data
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
4
"2013-04-22T03:39:32Z"
"2013-11-27T18:31:21Z"
"2013-11-27T18:31:21Z"
CONTRIBUTOR
null
I haven't looked under the hood yet, but it doesn't look like you can grab multiple series from FRED data at the moment. This works ``` from pandas.io.data import DataReader merge = lambda x,y : x.merge(y, left_index=True, right_index=True) dta = reduce(merge, [DataReader(i, "fred") for i in ["AKUR", "ALUR","GAUR"]]) ``` but this just hangs and then returns an empty DataFrame ``` dta = DataReader(["AKUR", "ALUR","GAUR"], "fred") ```
{ "+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/3413/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3413/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3414
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3414/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3414/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3414/events
https://github.com/pandas-dev/pandas/issues/3414
13,463,118
MDU6SXNzdWUxMzQ2MzExOA==
3,414
astype(object) with dtype datetime64 does wacky things when value is NaT
{ "avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4", "events_url": "https://api.github.com/users/lexual/events{/privacy}", "followers_url": "https://api.github.com/users/lexual/followers", "following_url": "https://api.github.com/users/lexual/following{/other_user}", "gists_url": "https://api.github.com/users/lexual/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lexual", "id": 410907, "login": "lexual", "node_id": "MDQ6VXNlcjQxMDkwNw==", "organizations_url": "https://api.github.com/users/lexual/orgs", "received_events_url": "https://api.github.com/users/lexual/received_events", "repos_url": "https://api.github.com/users/lexual/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lexual/subscriptions", "type": "User", "url": "https://api.github.com/users/lexual" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
10
"2013-04-22T04:52:37Z"
"2013-05-09T00:43:14Z"
"2013-05-09T00:43:14Z"
CONTRIBUTOR
null
Similar to #3416, failing in 0.11 Calling astype(object) when the dtype is datetime64 and there are NaT values, sets them to 2262-04-10 00:12:43.145224 I would have thought they should be set to None. See attached test case.
{ "+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/3414/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3414/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3415
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3415/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3415/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3415/events
https://github.com/pandas-dev/pandas/issues/3415
13,468,466
MDU6SXNzdWUxMzQ2ODQ2Ng==
3,415
Possibility to include np.inf as end point in pd.cut bins.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1262441?v=4", "events_url": "https://api.github.com/users/mattias-lundell/events{/privacy}", "followers_url": "https://api.github.com/users/mattias-lundell/followers", "following_url": "https://api.github.com/users/mattias-lundell/following{/other_user}", "gists_url": "https://api.github.com/users/mattias-lundell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mattias-lundell", "id": 1262441, "login": "mattias-lundell", "node_id": "MDQ6VXNlcjEyNjI0NDE=", "organizations_url": "https://api.github.com/users/mattias-lundell/orgs", "received_events_url": "https://api.github.com/users/mattias-lundell/received_events", "repos_url": "https://api.github.com/users/mattias-lundell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mattias-lundell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mattias-lundell/subscriptions", "type": "User", "url": "https://api.github.com/users/mattias-lundell" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
3
"2013-04-22T08:24:40Z"
"2013-09-25T15:10:49Z"
"2013-09-25T15:10:49Z"
NONE
null
I don't know if it is desirable, but I think it would be nice to be able to include an infinity value as the endpoint to the bins in pandas cut function. ``` pd.cut([10, 20], [1, 5, np.inf], right=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/3415/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3415/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3416
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3416/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3416/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3416/events
https://github.com/pandas-dev/pandas/issues/3416
13,482,171
MDU6SXNzdWUxMzQ4MjE3MQ==
3,416
BUG: conversion from np.datetime64 has odd numpy buglet
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-22T13:41:21Z"
"2014-03-30T09:25:39Z"
"2013-05-08T21:52:21Z"
CONTRIBUTOR
null
see #3414 The resulting dtype is wrong (should be datetime64[ns]), and should either raise on dtype='datetime64' or deal with it in Series ``` In [1]: dates = [ ...: np.datetime64(datetime.date(2013, 1, 1)), ...: np.datetime64(datetime.date(2013, 1, 2)), ...: np.datetime64(datetime.date(2013, 1, 3)), ...: ] In [2]: s = pd.Series(dates, dtype='datetime64') In [3]: s.ix[0] = np.nan In [4]: print s 0 NaT 1 2013-01-02 00:00:00 2 2013-01-03 00:00:00 dtype: datetime64[us] ``` This should force conversion on the np.datetime64 (regardless of there dtype) ``` In [22]: pd.Series(dates) Out[22]: 0 2013-01-01 00:00:00 1 2013-01-02 00:00:00 2 2013-01-03 00:00:00 dtype: object ``` Clearly incorrect interpret of np.datetime64 dtypes as well (its interpreting them as M8[ns], not converting to) ``` In [25]: pd.Series(dates,dtype='M8[ns]') Out[25]: 0 1970-01-16 16:56:38.400000 1 1970-01-16 16:58:04.800000 2 1970-01-16 16:59:31.200000 dtype: datetime64[ns] ```
{ "+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/3416/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3416/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3417
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3417/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3417/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3417/events
https://github.com/pandas-dev/pandas/issues/3417
13,492,481
MDU6SXNzdWUxMzQ5MjQ4MQ==
3,417
DataFrame.groupby(as_index=False).apply() ignores option and sets wrong indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/101264?v=4", "events_url": "https://api.github.com/users/floux/events{/privacy}", "followers_url": "https://api.github.com/users/floux/followers", "following_url": "https://api.github.com/users/floux/following{/other_user}", "gists_url": "https://api.github.com/users/floux/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/floux", "id": 101264, "login": "floux", "node_id": "MDQ6VXNlcjEwMTI2NA==", "organizations_url": "https://api.github.com/users/floux/orgs", "received_events_url": "https://api.github.com/users/floux/received_events", "repos_url": "https://api.github.com/users/floux/repos", "site_admin": false, "starred_url": "https://api.github.com/users/floux/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/floux/subscriptions", "type": "User", "url": "https://api.github.com/users/floux" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
3
"2013-04-22T16:52:27Z"
"2013-08-27T00:20:23Z"
"2013-08-27T00:20:23Z"
NONE
null
The following code starts from a 9 by 2 DataFrame with 3 groups, no index. When applying a function to each group that returns a 1 by 2 DataFrame, an index is introduced that doesn't seem to make sense, and the as_index=False option is ignored: ``` df = pd.DataFrame({ 'a' : [1,1,1,2,2,2,3,3,3], 'b' : [1,2,3,4,5,6,7,8,9], }) def f(x): if x.a[:1] == 2: # In the documentation there is nothing that indicates how one could # return an 'empty group', ie nothing, from a function suitable for an apply. # Is this solution adequate? return pd.DataFrame({}) return pd.DataFrame({'mean' : [x.b.mean()], 'std' : [x.b.std()]}) grouped = df.groupby('a', as_index=False).apply(f) grouped.index MultiIndex [(1, 0), (3, 0)] ``` In short: a MultiIndex is introduced, when ideally I would have expected no index at all, and in the worst case a non-hierarchical Index corresponding to the groups 1 and 3.
{ "+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/3417/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3417/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3418
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3418/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3418/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3418/events
https://github.com/pandas-dev/pandas/issues/3418
13,494,069
MDU6SXNzdWUxMzQ5NDA2OQ==
3,418
API: read_csv inconsistent with from_csv -- parses ints as dates
{ "avatar_url": "https://avatars.githubusercontent.com/u/2766856?v=4", "events_url": "https://api.github.com/users/darindillon/events{/privacy}", "followers_url": "https://api.github.com/users/darindillon/followers", "following_url": "https://api.github.com/users/darindillon/following{/other_user}", "gists_url": "https://api.github.com/users/darindillon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/darindillon", "id": 2766856, "login": "darindillon", "node_id": "MDQ6VXNlcjI3NjY4NTY=", "organizations_url": "https://api.github.com/users/darindillon/orgs", "received_events_url": "https://api.github.com/users/darindillon/received_events", "repos_url": "https://api.github.com/users/darindillon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/darindillon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darindillon/subscriptions", "type": "User", "url": "https://api.github.com/users/darindillon" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
4
"2013-04-22T17:23:43Z"
"2013-09-30T13:07:28Z"
"2013-09-30T13:07:28Z"
NONE
null
Using pandas 0.10.1. I read the docs, but didn't see any explanation of why this would be true. pandas.read_csv() works exactly as you'd expect, but pandas.DataFrame.from_csv() is different. Looks like the latter method assumes you're probably dealing with time series data, so it sets defaults parameters to automatically convert integers to dates. I disagree that this is desired, but even if it is, why would it be true for the later method but not the former? Why shouldn't both methods assume the same default assumptions? Create a CSV like this: a,b 1,4 2,3 Now this does exactly what you'd expect: p = pandas.read_csv(your_csv_file) But this converts the first column into a data. Almost certainly not what you'd expect: p = pandas.DataFrame.from_csv(your_csv_file) There is an optional parameter on the second method "parse_dates" which is default False. If you add that flag, then the second method works just like the first. But why the inconsistency? I'd expect this method to default to acting just like the other one.
{ "+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/3418/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3418/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3419
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3419/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3419/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3419/events
https://github.com/pandas-dev/pandas/issues/3419
13,497,132
MDU6SXNzdWUxMzQ5NzEzMg==
3,419
investigate travis warning in py2.6
{ "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": "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
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
"2013-04-22T18:06:15Z"
"2013-04-30T04:15:23Z"
"2013-04-24T22:39:54Z"
NONE
null
``` Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.RuntimeError'> ignored ```
{ "+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/3419/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3419/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3420
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3420/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3420/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3420/events
https://github.com/pandas-dev/pandas/pull/3420
13,506,553
MDExOlB1bGxSZXF1ZXN0NTMwMjE4OQ==
3,420
DOC: Adding parameters to frequencies, offsets (issue #2916)
{ "avatar_url": "https://avatars.githubusercontent.com/u/667809?v=4", "events_url": "https://api.github.com/users/karmel/events{/privacy}", "followers_url": "https://api.github.com/users/karmel/followers", "following_url": "https://api.github.com/users/karmel/following{/other_user}", "gists_url": "https://api.github.com/users/karmel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/karmel", "id": 667809, "login": "karmel", "node_id": "MDQ6VXNlcjY2NzgwOQ==", "organizations_url": "https://api.github.com/users/karmel/orgs", "received_events_url": "https://api.github.com/users/karmel/received_events", "repos_url": "https://api.github.com/users/karmel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/karmel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/karmel/subscriptions", "type": "User", "url": "https://api.github.com/users/karmel" }
[]
closed
false
null
[]
{ "closed_at": "2013-05-10T10:57:28Z", "closed_issues": 340, "created_at": "2013-01-18T03:58: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": "2013-04-26T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/21", "id": 246733, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21/labels", "node_id": "MDk6TWlsZXN0b25lMjQ2NzMz", "number": 21, "open_issues": 0, "state": "closed", "title": "0.11", "updated_at": "2013-11-24T16:49:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21" }
1
"2013-04-22T20:53:51Z"
"2014-06-14T00:34:08Z"
"2013-04-22T21:02:26Z"
CONTRIBUTOR
null
My first PR...
{ "+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/3420/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3420/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3420.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3420", "merged_at": "2013-04-22T21:02:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3420.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3420" }
https://api.github.com/repos/pandas-dev/pandas/issues/3421
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3421/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3421/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3421/events
https://github.com/pandas-dev/pandas/issues/3421
13,509,607
MDU6SXNzdWUxMzUwOTYwNw==
3,421
hierarchical slices
{ "avatar_url": "https://avatars.githubusercontent.com/u/400538?v=4", "events_url": "https://api.github.com/users/yasirs/events{/privacy}", "followers_url": "https://api.github.com/users/yasirs/followers", "following_url": "https://api.github.com/users/yasirs/following{/other_user}", "gists_url": "https://api.github.com/users/yasirs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yasirs", "id": 400538, "login": "yasirs", "node_id": "MDQ6VXNlcjQwMDUzOA==", "organizations_url": "https://api.github.com/users/yasirs/orgs", "received_events_url": "https://api.github.com/users/yasirs/received_events", "repos_url": "https://api.github.com/users/yasirs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yasirs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yasirs/subscriptions", "type": "User", "url": "https://api.github.com/users/yasirs" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
3
"2013-04-22T22:10:07Z"
"2013-05-10T10:40:08Z"
"2013-05-10T10:40:08Z"
NONE
null
Consider the following data: ``` python In [36]: index = pd.MultiIndex.from_arrays([['a','a','b','b','c','c'], [1,2,1,2,1,2]], names=['first','second']) In [37]: data = pd.DataFrame(np.random.rand(len(index),2), index=index, columns=['A','B']) In [38]: data Out[38]: A B first second a 1 0.320885 0.794688 2 0.062344 0.808103 b 1 0.789837 0.956867 2 0.129658 0.461514 c 1 0.237009 0.975737 2 0.779002 0.692922 ``` Now, I can do slicing on the first index as: ``` python In [40]: data.ix[['a','b']] Out[40]: A B first second a 1 0.320885 0.794688 2 0.062344 0.808103 b 1 0.789837 0.956867 2 0.129658 0.461514 ``` I can also select a particular first, and second index as ``` python In [41]: data.ix['a',1] Out[41]: A 0.320885 B 0.794688 Name: (a, 1), dtype: float64 ``` However, if I try to take an arbitrary slice through the first and second index, it doesn't work, but something unexpected, it selects a column! ``` python In [42]: data.ix[['a','b'],1] Out[42]: first second a 1 0.794688 2 0.808103 b 1 0.956867 2 0.461514 Name: B, dtype: float64 ``` when I was expecting ``` python A B first a 0.320885 0.794688 b 0.789837 0.956867 ```
{ "+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/3421/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3421/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3422
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3422/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3422/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3422/events
https://github.com/pandas-dev/pandas/pull/3422
13,512,706
MDExOlB1bGxSZXF1ZXN0NTMwNTYxNg==
3,422
DOC: Adding parameters address issue sub-points 8 and 10 - 24 (issue #2916)
{ "avatar_url": "https://avatars.githubusercontent.com/u/667809?v=4", "events_url": "https://api.github.com/users/karmel/events{/privacy}", "followers_url": "https://api.github.com/users/karmel/followers", "following_url": "https://api.github.com/users/karmel/following{/other_user}", "gists_url": "https://api.github.com/users/karmel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/karmel", "id": 667809, "login": "karmel", "node_id": "MDQ6VXNlcjY2NzgwOQ==", "organizations_url": "https://api.github.com/users/karmel/orgs", "received_events_url": "https://api.github.com/users/karmel/received_events", "repos_url": "https://api.github.com/users/karmel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/karmel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/karmel/subscriptions", "type": "User", "url": "https://api.github.com/users/karmel" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
"2013-04-22T23:43:22Z"
"2014-06-15T20:28:49Z"
"2013-04-24T12:29:48Z"
CONTRIBUTOR
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/3422/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3422/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3422.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3422", "merged_at": "2013-04-24T12:29:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3422.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3422" }
https://api.github.com/repos/pandas-dev/pandas/issues/3423
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3423/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3423/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3423/events
https://github.com/pandas-dev/pandas/issues/3423
13,513,412
MDU6SXNzdWUxMzUxMzQxMg==
3,423
CLN: convert_objects(convert_dates='force') should use to_datetime()
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
"2013-04-23T00:07:55Z"
"2013-05-08T21:51:34Z"
"2013-05-08T21:51:34Z"
CONTRIBUTOR
null
http://stackoverflow.com/questions/16157939/pandas-read-csv-fills-empty-values-with-string-nan/16158762#16158762 The convert_objects(convert_dates='force') should really just to to_datetime().... ``` In [1]: In [1]: data = """ ...: ...: value date id ...: ...: 0 2 2013-3-1 a ...: ...: 1 3 2013-3-1 b ...: ...: 2 4 2013-3-1 c ...: ...: 3 5 nan d ...: ...: 4 6 2013-3-1 d ...: ...: """ In [2]: In [15]: df = pd.read_csv(StringIO(data[1:]),index_col=0,sep='\s+') In [3]: df.dtypes Out[3]: ...: float64 value float64 date object id object dtype: object In [4]: In [24]: pd.to_datetime(df['date']) Out[4]: ...: 2013-03-01 00:00:00 ...: 2013-03-01 00:00:00 ...: 2013-03-01 00:00:00 ...: NaT ...: 2013-03-01 00:00:00 ...: NaT Name: date, dtype: datetime64[ns] In [5]: df['date'].convert_objects(convert_dates=True) Out[5]: ...: 2013-3-1 ...: 2013-3-1 ...: 2013-3-1 ...: NaN ...: 2013-3-1 ...: None Name: date, dtype: object ```
{ "+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/3423/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3423/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3424
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3424/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3424/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3424/events
https://github.com/pandas-dev/pandas/issues/3424
13,513,985
MDU6SXNzdWUxMzUxMzk4NQ==
3,424
Alignment for Dataframe addition operation not working for datetime index
{ "avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4", "events_url": "https://api.github.com/users/michaelaye/events{/privacy}", "followers_url": "https://api.github.com/users/michaelaye/followers", "following_url": "https://api.github.com/users/michaelaye/following{/other_user}", "gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michaelaye", "id": 69774, "login": "michaelaye", "node_id": "MDQ6VXNlcjY5Nzc0", "organizations_url": "https://api.github.com/users/michaelaye/orgs", "received_events_url": "https://api.github.com/users/michaelaye/received_events", "repos_url": "https://api.github.com/users/michaelaye/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions", "type": "User", "url": "https://api.github.com/users/michaelaye" }
[]
closed
false
null
[]
null
2
"2013-04-23T00:29:34Z"
"2013-04-23T01:23:03Z"
"2013-04-23T01:23:03Z"
CONTRIBUTOR
null
See details here: http://nbviewer.ipython.org/5439745 Version: '0.11.0.dev-9167213' Expected outcome: Same as `pd.concat([df1, df2], axis=1)`
{ "+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/3424/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3424/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3425
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3425/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3425/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3425/events
https://github.com/pandas-dev/pandas/issues/3425
13,514,378
MDU6SXNzdWUxMzUxNDM3OA==
3,425
BUG: what to do with astype on datetime64
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-23T00:46:29Z"
"2013-12-04T00:57:16Z"
"2013-05-08T21:51:55Z"
CONTRIBUTOR
null
http://stackoverflow.com/questions/16158795/cant-convert-dates-to-datetime64 prob should raise if u try to convert to something other than object or datetime64[ns] otherwise can have weird things happen
{ "+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/3425/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3425/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3426
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3426/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3426/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3426/events
https://github.com/pandas-dev/pandas/issues/3426
13,516,082
MDU6SXNzdWUxMzUxNjA4Mg==
3,426
TODO: more pprint imporvements
{ "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" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
10
"2013-04-23T02:11:49Z"
"2018-07-06T22:16:25Z"
"2018-07-06T22:16:11Z"
NONE
null
#### TODO - [ ] dicts with many keys should be summarized (Update: I can no longer remember the use case for dicts printed via pprint_thing). - [ ] summarization should match numpy [a.a.a ... b b b] not [a a a ...] - [ ] add np.set_printoptions(edgeitems) analogue. <del> - [ ] options.display.max_seq_items should have a default value != None #3391, #5120 , #5629 </del> via https://github.com/pydata/pandas/pull/5753
{ "+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/3426/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3426/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3427
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3427/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3427/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3427/events
https://github.com/pandas-dev/pandas/issues/3427
13,516,877
MDU6SXNzdWUxMzUxNjg3Nw==
3,427
read excel support for python3
{ "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-23T02:54:28Z"
"2013-07-22T20:31:51Z"
"2013-07-22T20:31:10Z"
NONE
null
#3164 was merged (for diff reasons). enable on travis, enable some tests, and kick the tires a little bit.
{ "+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/3427/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3427/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3428
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3428/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3428/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3428/events
https://github.com/pandas-dev/pandas/issues/3428
13,525,202
MDU6SXNzdWUxMzUyNTIwMg==
3,428
Inconsistent comparison between datetime and series of datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/3520790?v=4", "events_url": "https://api.github.com/users/hemflit/events{/privacy}", "followers_url": "https://api.github.com/users/hemflit/followers", "following_url": "https://api.github.com/users/hemflit/following{/other_user}", "gists_url": "https://api.github.com/users/hemflit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hemflit", "id": 3520790, "login": "hemflit", "node_id": "MDQ6VXNlcjM1MjA3OTA=", "organizations_url": "https://api.github.com/users/hemflit/orgs", "received_events_url": "https://api.github.com/users/hemflit/received_events", "repos_url": "https://api.github.com/users/hemflit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hemflit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hemflit/subscriptions", "type": "User", "url": "https://api.github.com/users/hemflit" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
4
"2013-04-23T09:03:17Z"
"2013-09-25T16:23:43Z"
"2013-08-24T00:37:13Z"
NONE
null
similar to #3416 (also failing in 0.11) Using pandas 0.10.1 and numpy 1.6.1: ``` >>> import pandas; import numpy >>> s = pandas.Series(pandas.date_range('2013-01-01', periods=3)) >>> d = numpy.datetime64('2013-01-02') >>> s > d 0 False 1 False 2 True >>> d < s 0 True 1 True 2 True >>> s.dtype dtype('datetime64[ns]') >>> d.dtype dtype('datetime64[us]') ``` All other comparison operators also give expected results with operands (s,d), and seem to compare them as unscaled integers when the order is (d,s).
{ "+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/3428/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3428/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3429
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3429/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3429/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3429/events
https://github.com/pandas-dev/pandas/issues/3429
13,527,647
MDU6SXNzdWUxMzUyNzY0Nw==
3,429
df summary view should show dtype associated with column, not just overall counts.
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2014-02-03T05:17:36Z", "closed_issues": 314, "created_at": "2013-08-26T22:11:58Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }, "description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.", "due_on": "2014-02-04T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/23", "id": 412013, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels", "node_id": "MDk6TWlsZXN0b25lNDEyMDEz", "number": 23, "open_issues": 0, "state": "closed", "title": "0.13.1", "updated_at": "2014-02-03T05:18:00Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23" }
12
"2013-04-23T10:10:53Z"
"2016-10-12T23:03:44Z"
"2014-01-01T02:54:25Z"
NONE
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/3429/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3429/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3430
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3430/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3430/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3430/events
https://github.com/pandas-dev/pandas/issues/3430
13,531,339
MDU6SXNzdWUxMzUzMTMzOQ==
3,430
Go through package docstrings and markup code snippets as such
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" } ]
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" }
12
"2013-04-23T12:11:00Z"
"2014-01-10T21:49:03Z"
"2014-01-10T12:10:12Z"
NONE
null
Noted by @karmel in #3422, sphinx supports syntax highlighting/code quoting in code (ReST) docstrings using double colon + new line: ``` rst For example:: make_axis_dummies(panel, axis='major', transform=lambda d: d.weekday()) ``` sphinx 'autodoc' will pick these up and make code look nice.
{ "+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/3430/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3430/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3431
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3431/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3431/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3431/events
https://github.com/pandas-dev/pandas/issues/3431
13,532,807
MDU6SXNzdWUxMzUzMjgwNw==
3,431
numpydoc sphinx extension disabled. was: Docstring convention
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
7
"2013-04-23T12:52:18Z"
"2013-04-30T04:16:24Z"
"2013-04-23T13:16:37Z"
NONE
null
**edit:** totally misguided. Sphinx has great support for method signature metadata in docstrings, there are python standars for ReST docstrings, and tooling to leverage and generate the docstrings. <del>In practice pandas uses an ad-hoc "visual" format for docstrings, which confuses sphinx and impedes automation. Major cleanup all over. </del> http://www.python.org/dev/peps/pep-0257/ http://www.python.org/dev/peps/pep-0287/ **edit:** numpydoc is in use by pandas, unbeknownst to me previously. #2916, #3422 Bad: ``` """ Parameters ---------- key : for use with a lock Returns ------- res : 3.5% annualized """ ``` Better: ``` """ :param key: for use with a lock :returns: 3.5% annualized """ ``` Much Better: ``` """Subject some text a code example:: I.am.code(is=True) :param key: for use with a lock :type key: str :returns: 3.5% annualized :rtype: float """ ```
{ "+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/3431/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3431/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3432
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3432/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3432/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3432/events
https://github.com/pandas-dev/pandas/issues/3432
13,532,946
MDU6SXNzdWUxMzUzMjk0Ng==
3,432
Sphinx autodoc is too selective in what it includes, use sphinx-apidoc
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
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" }
4
"2013-04-23T12:56:03Z"
"2014-01-10T12:27:15Z"
"2014-01-10T12:27:15Z"
NONE
null
http://sphinx-doc.org/man/sphinx-apidoc.html?highlight=apidoc
{ "+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/3432/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3432/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3433
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3433/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3433/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3433/events
https://github.com/pandas-dev/pandas/issues/3433
13,535,206
MDU6SXNzdWUxMzUzNTIwNg==
3,433
BUG: groupby regression
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
1
"2013-04-23T13:49:59Z"
"2013-09-22T00:36:35Z"
"2013-09-22T00:36:35Z"
CONTRIBUTOR
null
in #2893 we changed the groupby behavior to return a series if a simple index is passed in and only have 1 group (rather than return a mi) I hit this regression as I doing several groupby's on different input, all of which yield multiple groups, except for 1, so I result with a bunch of frames and 1 series in 0.10.1 this would yield all frames. so the question is should the automatic magic of 2893 always happen? e.g. I guess that should create an option to not always reduce the input dims so my example, shoudl result1 == DataFrame ? ``` In [6]: df1 = DataFrame(dict(A = range(4), B = 0)) In [7]: def func(dataf): ...: return Series({ dataf.name : 1}) ...: In [8]: result1 = df1.groupby("B").apply(func) In [9]: result2 = df1.groupby("A").apply(func) In [10]: result1 Out[10]: B 0 0 1 Name: 0, dtype: int64 In [11]: result2 Out[11]: A 0 0 1 1 1 1 2 2 1 3 3 1 dtype: int64 ```
{ "+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/3433/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3433/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3434
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3434/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3434/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3434/events
https://github.com/pandas-dev/pandas/issues/3434
13,536,159
MDU6SXNzdWUxMzUzNjE1OQ==
3,434
WARN: possible windows x64 issue with older numpy MKL
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
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" }
7
"2013-04-23T14:10:36Z"
"2018-03-26T00:26:15Z"
"2018-03-26T00:26:15Z"
CONTRIBUTOR
null
I happened to have an older verion of numpy 1.6.2 MKL installed on a windows machines very intermittently (I think you hae to be using a really big frame) sometimes I got a: OMP : Error # 134 Cannot set thread affinity mask which I think is caused by numexpr operations see this http://software.intel.com/en-us/forums/topic/279406 I am not sure its a real problem, because it only affects some versions of MKL, upgrading numpy (or even using a newer version of 1.6.2) seems to fix it.. also can be programatically disabled by `pandas.core.expressions.set_use_numexpr(False)` just a FYI
{ "+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/3434/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3434/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3435
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3435/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3435/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3435/events
https://github.com/pandas-dev/pandas/issues/3435
13,541,616
MDU6SXNzdWUxMzU0MTYxNg==
3,435
fillna() does not work when value parameter is a list
{ "avatar_url": "https://avatars.githubusercontent.com/u/1173125?v=4", "events_url": "https://api.github.com/users/ijmcf/events{/privacy}", "followers_url": "https://api.github.com/users/ijmcf/followers", "following_url": "https://api.github.com/users/ijmcf/following{/other_user}", "gists_url": "https://api.github.com/users/ijmcf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ijmcf", "id": 1173125, "login": "ijmcf", "node_id": "MDQ6VXNlcjExNzMxMjU=", "organizations_url": "https://api.github.com/users/ijmcf/orgs", "received_events_url": "https://api.github.com/users/ijmcf/received_events", "repos_url": "https://api.github.com/users/ijmcf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ijmcf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ijmcf/subscriptions", "type": "User", "url": "https://api.github.com/users/ijmcf" }
[ { "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
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
15
"2013-04-23T15:52:43Z"
"2020-06-19T11:17:51Z"
"2013-05-13T22:51:49Z"
NONE
null
Should raise on a passed list to `value` The results from the fillna() method are very strange when the value parameter is given a list. For example, using a simple example DataFrame: > df = pandas.DataFrame({'A': [numpy.nan, 1, 2], 'B': [10, numpy.nan, 12], 'C': [[20, 21, 22], [23, 24, 25], numpy.nan]}) > df > A B C > 0 NaN 10 [20, 21, 22] > 1 1 NaN [23, 24, 25] > 2 2 12 NaN > > df.fillna(value=[100, 101, 102]) > A B C > 0 100 10 [20, 21, 22] > 1 1 101 [23, 24, 25] > 2 2 12 102 So it appears the values in the list are used to fill the 'holes' in order, if the list has the same length as number of holes. But if the the list is shorter than the number of holes, the behavior changes to using only the first value in the list: > df.fillna(value=[100, 101]) > A B C > 0 100 10 [20, 21, 22] > 1 1 100 [23, 24, 25] > 2 2 12 100 If the list is longer than the number of holes, you get something even more odd: > df.fillna(value=[100, 101, 102, 103]) > A B C > 0 100 10 [20, 21, 22] > 1 1 100 [23, 24, 25] > 2 2 12 102 If you specify provide a dict that specifies the fill values by column, the values from the list are used within that column only: > df.fillna(value={'C': [100, 101]}) > A B C > 0 NaN 10 [20, 21, 22] > 1 1 NaN [23, 24, 25] > 2 2 12 100 Since it's not always practical to know the number of NaN values a priori, or to customize the length of the value list to match it, this is problematic. Furthermore, some desired values get over-interpreted and cannot be used: For example, if you want to actually replace all NaN instances in a single column with the same list (either empty or non-empty), I can't figure out how to do it: > df.fillna(value={'C': [[100,101]]}) > A B C > 0 NaN 10 [20, 21, 22] > 1 1 NaN [23, 24, 25] > 2 2 12 100 Indeed, if you specify the empty list nothing is filled: > df.fillna(value={'C': list()}) > A B C > 0 NaN 10 [20, 21, 22] > 1 1 NaN [23, 24, 25] > 2 2 12 NaN But a dict works fine: > f.fillna(value={'C': {0: 1}}) > A B C > 0 NaN 10 [20, 21, 22] > 1 1 NaN [23, 24, 25] > 2 2 12 {0: 1} > > df.fillna(value={'C': dict()}) > A B C > 0 NaN 10 [20, 21, 22] > 1 1 NaN [23, 24, 25] > 2 2 12 {} So it appears the fillna() is making a lot of decisions about how the fill values should be applied, and certain desired outcomes can't be achieved because it's being too 'clever'.
{ "+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/3435/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3435/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3436
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3436/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3436/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3436/events
https://github.com/pandas-dev/pandas/issues/3436
13,549,178
MDU6SXNzdWUxMzU0OTE3OA==
3,436
Make convert_objects less aggressive
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
8
"2013-04-23T18:17:44Z"
"2014-04-03T17:05:50Z"
"2013-04-23T18:43:22Z"
MEMBER
null
I find the following highly counterintuitive: ``` python df = DataFrame([["2003-1-1", "1"]], columns=["a", "b"]) conv = df.convert_objects(convert_numeric=True, convert_dates="coerce") conv.b.dtype == dtype('<M8[ns]') ``` I think date and numeric conversion should be independent between columns and dependent between rows, since DataFrames are column oriented. Maybe numeric conversion should be tried first and then if a `TypeError` or some other more appropriate exception is caught then try date conversion.
{ "+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/3436/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3436/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3437
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3437/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3437/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3437/events
https://github.com/pandas-dev/pandas/issues/3437
13,556,160
MDU6SXNzdWUxMzU1NjE2MA==
3,437
BUG: to_csv issue when multiple datetime64[ns] columns with some NaT
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
23
"2013-04-23T20:38:47Z"
"2016-10-12T23:03:45Z"
"2013-04-24T12:49:37Z"
CONTRIBUTOR
null
http://stackoverflow.com/questions/16175761/pandas-to-csv-drops-values/16178032?noredirect=1#comment23125823_16178032
{ "+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/3437/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3437/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3438
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3438/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3438/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3438/events
https://github.com/pandas-dev/pandas/pull/3438
13,557,356
MDExOlB1bGxSZXF1ZXN0NTMyNzk3Nw==
3,438
BUG: GH3437 to_csv issue with large number of rows and some NaT in multi datetime64[ns] cols
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
"2013-04-23T21:05:03Z"
"2014-07-02T07:30:22Z"
"2013-04-24T12:49:50Z"
CONTRIBUTOR
null
fixes #3437
{ "+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/3438/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3438/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3438.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3438", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3438.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3438" }
https://api.github.com/repos/pandas-dev/pandas/issues/3439
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3439/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3439/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3439/events
https://github.com/pandas-dev/pandas/issues/3439
13,557,689
MDU6SXNzdWUxMzU1NzY4OQ==
3,439
Flesh out examples included in docstrings
{ "avatar_url": "https://avatars.githubusercontent.com/u/1622906?v=4", "events_url": "https://api.github.com/users/bmu/events{/privacy}", "followers_url": "https://api.github.com/users/bmu/followers", "following_url": "https://api.github.com/users/bmu/following{/other_user}", "gists_url": "https://api.github.com/users/bmu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bmu", "id": 1622906, "login": "bmu", "node_id": "MDQ6VXNlcjE2MjI5MDY=", "organizations_url": "https://api.github.com/users/bmu/orgs", "received_events_url": "https://api.github.com/users/bmu/received_events", "repos_url": "https://api.github.com/users/bmu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bmu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bmu/subscriptions", "type": "User", "url": "https://api.github.com/users/bmu" }
[ { "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" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
13
"2013-04-23T21:12:36Z"
"2018-08-17T07:20:12Z"
"2018-08-17T07:20:12Z"
NONE
null
``` .../pandas$ nosetests -v --with-doctest -I .*test /.../.virtualenvs/myenv/local/lib/python2.7/site-packages/scikits/statsmodels/__init__.py:2: UserWarning: scikits.statsmodels namespace is deprecated and will be removed in 0.5, please use statsmodels instead warnings.warn('scikits.statsmodels namespace is deprecated and will be ' /.../.virtualenvs/myenv/local/lib/python2.7/site-packages/scikits/statsmodels/regression/__init__.py:2: UserWarning: scikits.statsmodels namespace is deprecated and will be removed in 0.5, please use statsmodels instead warnings.warn('scikits.statsmodels namespace is deprecated and will be ' Doctest: pandas.compat.scipy.percentileofscore ... ok Doctest: pandas.compat.scipy.rankdata ... FAIL Doctest: pandas.compat.scipy.scoreatpercentile ... FAIL Doctest: pandas.core.algorithms.quantile ... ok Doctest: pandas.core.common.iterpairs ... FAIL Doctest: pandas.core.common.split_ranges ... ok Doctest: pandas.core.format.EngFormatter.__call__ ... FAIL Doctest: pandas.core.frame.DataFrame.__init__ ... FAIL Doctest: pandas.core.frame.DataFrame.apply ... FAIL Doctest: pandas.core.frame.DataFrame.combine_first ... FAIL Doctest: pandas.core.frame.DataFrame.merge ... FAIL Doctest: pandas.core.frame.DataFrame.pivot ... FAIL Doctest: pandas.core.frame.DataFrame.reindex ... FAIL Doctest: pandas.core.frame.DataFrame.reindex_axis ... FAIL Doctest: pandas.core.frame.DataFrame.set_index ... FAIL Doctest: pandas.core.frame.DataFrame.sort ... FAIL Doctest: pandas.core.frame.DataFrame.sort_index ... FAIL Doctest: pandas.core.frame.DataFrame.stack ... FAIL Doctest: pandas.core.frame.DataFrame.to_excel ... FAIL Doctest: pandas.core.frame.DataFrame.unstack ... FAIL Doctest: pandas.core.frame.DataFrame.xs ... FAIL Doctest: pandas.core.generic.PandasObject.groupby ... FAIL Doctest: pandas.core.groupby.NDFrameGroupBy.transform ... FAIL Doctest: pandas.core.groupby.SeriesGroupBy.aggregate ... FAIL Doctest: pandas.core.groupby.SeriesGroupBy.transform ... FAIL Doctest: pandas.core.index.Index.diff ... FAIL Doctest: pandas.core.index.Index.get_indexer ... FAIL Doctest: pandas.core.index.MultiIndex.get_indexer ... FAIL Doctest: pandas.core.indexing._SeriesIndexer ... FAIL Doctest: pandas.core.panel.WidePanel.transpose ... FAIL Doctest: pandas.core.panel.panel_index ... FAIL Doctest: pandas.core.reshape._Unstacker ... FAIL Doctest: pandas.core.reshape.lreshape ... FAIL Doctest: pandas.core.reshape.melt ... FAIL Doctest: pandas.core.series.Series.map ... FAIL Doctest: pandas.core.series.Series.rename ... FAIL Doctest: pandas.core.series.Series.sort_index ... FAIL Doctest: pandas.core.series.Series.unstack ... FAIL Doctest: pandas.core.strings.StringMethods ... FAIL Failure: ImportError (No module named httplib2) ... ERROR Doctest: pandas.io.data.Options ... FAIL Doctest: pandas.io.data.Options.get_call_data ... FAIL Doctest: pandas.io.data.Options.get_options_data ... FAIL Doctest: pandas.io.data.Options.get_put_data ... FAIL Failure: ImportError (No module named httplib2) ... ERROR Doctest: pandas.io.pytables.HDFStore ... FAIL Doctest: pandas.io.pytables.get_store ... FAIL Doctest: pandas.io.sql.sequence2dict ... ok Failure: ImportError (No module named util) ... ERROR Failure: ImportError (No module named rpy2.robjects.packages) ... ERROR Failure: ImportError (No module named util) ... ERROR Failure: ImportError (cannot import name WLS) ... ERROR Doctest: pandas.tools.merge.merge ... FAIL Doctest: pandas.tools.merge.ordered_merge ... FAIL Doctest: pandas.tools.pivot.crosstab ... FAIL Doctest: pandas.tools.pivot.pivot_table ... FAIL Doctest: pandas.tools.plotting.boxplot_frame_groupby ... FAIL Doctest: pandas.tools.plotting.parallel_coordinates ... FAIL Doctest: pandas.tools.plotting.scatter_matrix ... FAIL Doctest: pandas.tools.tile.cut ... FAIL Doctest: pandas.tseries.period.Period.strftime ... FAIL Doctest: pandas.tseries.period.PeriodIndex ... FAIL Doctest: pandas.util.compat._Counter ... ok Doctest: pandas.util.compat._Counter.__add__ ... ok Doctest: pandas.util.compat._Counter.__and__ ... ok Doctest: pandas.util.compat._Counter.__init__ ... ok Doctest: pandas.util.compat._Counter.__or__ ... ok Doctest: pandas.util.compat._Counter.__sub__ ... ok Doctest: pandas.util.compat._Counter.elements ... ok Doctest: pandas.util.compat._Counter.most_common ... ok Doctest: pandas.util.compat._Counter.update ... ok Doctest: pandas.util.counter.Counter ... ok Doctest: pandas.util.counter.Counter.__add__ ... ok Doctest: pandas.util.counter.Counter.__and__ ... ok Doctest: pandas.util.counter.Counter.__init__ ... ok Doctest: pandas.util.counter.Counter.__or__ ... ok Doctest: pandas.util.counter.Counter.__sub__ ... ok Doctest: pandas.util.counter.Counter.elements ... ok Doctest: pandas.util.counter.Counter.most_common ... ok Doctest: pandas.util.counter.Counter.subtract ... ok Doctest: pandas.util.counter.Counter.update ... ok ... Ran 81 tests in 4.671s FAILED (errors=6, failures=52) ``` From the Messages (not included in the code snippet above) one can see that most errors result from ImportErrors, so maybe the problem is only that the imports are not in the docstring.
{ "+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/3439/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3439/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3440
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3440/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3440/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3440/events
https://github.com/pandas-dev/pandas/issues/3440
13,558,621
MDU6SXNzdWUxMzU1ODYyMQ==
3,440
Panel attribute naming conflict if item is named 'a'
{ "avatar_url": "https://avatars.githubusercontent.com/u/667809?v=4", "events_url": "https://api.github.com/users/karmel/events{/privacy}", "followers_url": "https://api.github.com/users/karmel/followers", "following_url": "https://api.github.com/users/karmel/following{/other_user}", "gists_url": "https://api.github.com/users/karmel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/karmel", "id": 667809, "login": "karmel", "node_id": "MDQ6VXNlcjY2NzgwOQ==", "organizations_url": "https://api.github.com/users/karmel/orgs", "received_events_url": "https://api.github.com/users/karmel/received_events", "repos_url": "https://api.github.com/users/karmel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/karmel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/karmel/subscriptions", "type": "User", "url": "https://api.github.com/users/karmel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
3
"2013-04-23T21:33:55Z"
"2013-08-05T01:44:08Z"
"2013-08-05T01:44:08Z"
CONTRIBUTOR
null
Including an item named 'a' breaks the expected attribute-retrieval behavior for Panels ``` import numpy as np from pandas import DataFrame, Panel df0 = DataFrame(np.zeros([3,4])) df1 = DataFrame(np.ones([3,4])) p = Panel({'a':df0, 'b':df1}) p.b Out[6]: 0 1 2 3 0 1 1 1 1 1 1 1 1 1 2 1 1 1 1 p.a Out[7]: 'minor_axis' ``` The expected behavior can be recovered by using anything other than 'a' itself: ``` p = Panel({'a_':df0, 'b':df1}) p.a_ Out[9]: 0 1 2 3 0 0 0 0 0 1 0 0 0 0 2 0 0 0 0 ``` I'm guessing this is related to the fact that many Panel methods use `a` in iterating through the axes: ``` passed_axes = [kwargs.get(a) for a in self._AXIS_ORDERS] ``` Though it's not clear immediately which is the offending use, or if changing all of these is worth it for the recovery of the `a` namespace...
{ "+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/3440/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3440/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3441
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3441/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3441/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3441/events
https://github.com/pandas-dev/pandas/issues/3441
13,560,477
MDU6SXNzdWUxMzU2MDQ3Nw==
3,441
Allow ExcelWriter() to add sheets to existing workbook
{ "avatar_url": "https://avatars.githubusercontent.com/u/605452?v=4", "events_url": "https://api.github.com/users/ligon/events{/privacy}", "followers_url": "https://api.github.com/users/ligon/followers", "following_url": "https://api.github.com/users/ligon/following{/other_user}", "gists_url": "https://api.github.com/users/ligon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ligon", "id": 605452, "login": "ligon", "node_id": "MDQ6VXNlcjYwNTQ1Mg==", "organizations_url": "https://api.github.com/users/ligon/orgs", "received_events_url": "https://api.github.com/users/ligon/received_events", "repos_url": "https://api.github.com/users/ligon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ligon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ligon/subscriptions", "type": "User", "url": "https://api.github.com/users/ligon" }
[ { "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
40
"2013-04-23T22:22:18Z"
"2020-03-20T16:11:29Z"
"2018-06-19T01:03:15Z"
NONE
null
The ability of ExcelWriter to save different dataframes to different worksheets is great for sharing those dfs with the python-deficient. But this quickly leads to a need to _add_ worksheets to an existing workbook, not just creating one from scratch; something like: ``` df0=pd.DataFrame(np.arange(3)) df0.to_excel('foo.xlsx','Data 0') df1=pd.DataFrame(np.arange(2)) df1.to_excel('foo.xlsx','Data 1') ``` The following little diff to io/parsers.py implements this behavior for *.xlsx files: ``` diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 89f892d..7f010ee 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -2099,12 +2099,19 @@ class ExcelWriter(object): self.fm_date = xlwt.easyxf(num_format_str='YYYY-MM-DD') else: from openpyxl.workbook import Workbook - self.book = Workbook() # optimized_write=True) - # open pyxl 1.6.1 adds a dummy sheet remove it - if self.book.worksheets: - self.book.remove_sheet(self.book.worksheets[0]) + from openpyxl.reader.excel import load_workbook + + try: + self.book=load_workbook(filename = path) + self.sheets={wks.title:wks for wks in self.book.worksheets} + except InvalidFileException: + self.book = Workbook() # optimized_write=True) + # open pyxl 1.6.1 adds a dummy sheet remove it + if self.book.worksheets: + self.book.remove_sheet(self.book.worksheets[0]) + self.sheets = {} + self.path = path - self.sheets = {} self.cur_sheet = None ``` Doing this for *.xls files is a little harder.
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 1, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3441/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3441/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3442
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3442/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3442/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3442/events
https://github.com/pandas-dev/pandas/issues/3442
13,561,840
MDU6SXNzdWUxMzU2MTg0MA==
3,442
Adding column to empty DataFrame doesn't work
{ "avatar_url": "https://avatars.githubusercontent.com/u/2983769?v=4", "events_url": "https://api.github.com/users/rafaljozefowicz/events{/privacy}", "followers_url": "https://api.github.com/users/rafaljozefowicz/followers", "following_url": "https://api.github.com/users/rafaljozefowicz/following{/other_user}", "gists_url": "https://api.github.com/users/rafaljozefowicz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rafaljozefowicz", "id": 2983769, "login": "rafaljozefowicz", "node_id": "MDQ6VXNlcjI5ODM3Njk=", "organizations_url": "https://api.github.com/users/rafaljozefowicz/orgs", "received_events_url": "https://api.github.com/users/rafaljozefowicz/received_events", "repos_url": "https://api.github.com/users/rafaljozefowicz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rafaljozefowicz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rafaljozefowicz/subscriptions", "type": "User", "url": "https://api.github.com/users/rafaljozefowicz" }
[]
closed
false
null
[]
null
5
"2013-04-23T23:02:13Z"
"2013-04-24T10:08:20Z"
"2013-04-24T04:07:04Z"
NONE
null
``` python df = pd.DataFrame() df["test"] = 7 df["test2"] = pd.Series({"a" : "b"}) df ``` Returns: ``` Empty DataFrame Columns: [test, test2] Index: [] ``` Tested on pandas 0.10.1 and 0.11.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/3442/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3442/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3443
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3443/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3443/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3443/events
https://github.com/pandas-dev/pandas/issues/3443
13,587,822
MDU6SXNzdWUxMzU4NzgyMg==
3,443
Support for multidimensional dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/161935?v=4", "events_url": "https://api.github.com/users/alexbw/events{/privacy}", "followers_url": "https://api.github.com/users/alexbw/followers", "following_url": "https://api.github.com/users/alexbw/following{/other_user}", "gists_url": "https://api.github.com/users/alexbw/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexbw", "id": 161935, "login": "alexbw", "node_id": "MDQ6VXNlcjE2MTkzNQ==", "organizations_url": "https://api.github.com/users/alexbw/orgs", "received_events_url": "https://api.github.com/users/alexbw/received_events", "repos_url": "https://api.github.com/users/alexbw/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexbw/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexbw/subscriptions", "type": "User", "url": "https://api.github.com/users/alexbw" }
[ { "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
30
"2013-04-24T13:49:52Z"
"2016-10-05T13:05:50Z"
"2016-10-05T11:25:28Z"
NONE
null
With 0.11 out, Pandas supports more dtypes than before, which is very useful to us science folks. However, some data is intrinsically multi-dimensional, high enough dimensional so that using labels on columns is impractical (for instance, images). I understand DataFrames or Panels are usually the recommended panacea for this problem. This works if the datatype doesn't have any annotation. For instance, for each frame of a video, I have electrophysiology traces, timestamps, and environmental variables measured. I have a working solution where I explicitly separate out the non-scalar data from the scalar data. I use Pandas exclusively for the scalar data, and then a dictionary of multi-D arrays for the array data. What is the work and overhead involved in supporting multi-D data types? I would love to keep my entire ecosystem in Pandas, as it's much faster and richer than just NumPy data wrangling. See below for the code that I hope is possible to run, with fixes. If you can point me to a place in the codebase where I can tinker, that would also be much appreciated. ``` import pandas as pd mydtype=np.dtype('(3,3)f4') pd.Series(np.zeros(3,), dtype=mydtype) ``` ``` Exception: Data must be 1-dimensional ```
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3443/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3443/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3444
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3444/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3444/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3444/events
https://github.com/pandas-dev/pandas/pull/3444
13,593,822
MDExOlB1bGxSZXF1ZXN0NTM0NTI1Mw==
3,444
DOC: Adding Panel docs to API, and shortening line length in panel.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/667809?v=4", "events_url": "https://api.github.com/users/karmel/events{/privacy}", "followers_url": "https://api.github.com/users/karmel/followers", "following_url": "https://api.github.com/users/karmel/following{/other_user}", "gists_url": "https://api.github.com/users/karmel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/karmel", "id": 667809, "login": "karmel", "node_id": "MDQ6VXNlcjY2NzgwOQ==", "organizations_url": "https://api.github.com/users/karmel/orgs", "received_events_url": "https://api.github.com/users/karmel/received_events", "repos_url": "https://api.github.com/users/karmel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/karmel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/karmel/subscriptions", "type": "User", "url": "https://api.github.com/users/karmel" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
"2013-04-24T15:31:12Z"
"2014-07-15T15:39:59Z"
"2013-04-24T15:50:16Z"
CONTRIBUTOR
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/3444/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3444/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3444.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3444", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3444.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3444" }
https://api.github.com/repos/pandas-dev/pandas/issues/3445
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3445/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3445/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3445/events
https://github.com/pandas-dev/pandas/issues/3445
13,595,431
MDU6SXNzdWUxMzU5NTQzMQ==
3,445
Deprecating the trellis rplot module
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
19
"2013-04-24T15:54:46Z"
"2018-06-09T14:38:19Z"
"2015-03-05T08:58:07Z"
NONE
null
Original title: rplot.rst needs cleaning up --- http://pandas.pydata.org/pandas-docs/dev/rplot.html plot style, dimensions, grids, legend.
{ "+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/3445/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3445/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3446
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3446/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3446/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3446/events
https://github.com/pandas-dev/pandas/issues/3446
13,598,617
MDU6SXNzdWUxMzU5ODYxNw==
3,446
Should HDFStore raise an Exception or a Warning when I remove a nonexistent object?
{ "avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4", "events_url": "https://api.github.com/users/danielballan/events{/privacy}", "followers_url": "https://api.github.com/users/danielballan/followers", "following_url": "https://api.github.com/users/danielballan/following{/other_user}", "gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/danielballan", "id": 2279598, "login": "danielballan", "node_id": "MDQ6VXNlcjIyNzk1OTg=", "organizations_url": "https://api.github.com/users/danielballan/orgs", "received_events_url": "https://api.github.com/users/danielballan/received_events", "repos_url": "https://api.github.com/users/danielballan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielballan/subscriptions", "type": "User", "url": "https://api.github.com/users/danielballan" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
8
"2013-04-24T17:01:42Z"
"2013-04-30T04:14:50Z"
"2013-04-25T14:25:43Z"
CONTRIBUTOR
null
Here is a case where I where the HDFStore would complain: ``` In [60]: store Out[60]: <class 'pandas.io.pytables.HDFStore'> File path: water/expected2.h5 /spelling series (shape->[2]) In [61]: store.remove('spellllling') ``` Is there a reason to keep it silent?
{ "+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/3446/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3446/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3447
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3447/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3447/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3447/events
https://github.com/pandas-dev/pandas/pull/3447
13,601,845
MDExOlB1bGxSZXF1ZXN0NTM0OTMzNQ==
3,447
BUG: Removing a nonexistent store raises a KeyError (GH3346)
{ "avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4", "events_url": "https://api.github.com/users/danielballan/events{/privacy}", "followers_url": "https://api.github.com/users/danielballan/followers", "following_url": "https://api.github.com/users/danielballan/following{/other_user}", "gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/danielballan", "id": 2279598, "login": "danielballan", "node_id": "MDQ6VXNlcjIyNzk1OTg=", "organizations_url": "https://api.github.com/users/danielballan/orgs", "received_events_url": "https://api.github.com/users/danielballan/received_events", "repos_url": "https://api.github.com/users/danielballan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielballan/subscriptions", "type": "User", "url": "https://api.github.com/users/danielballan" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
9
"2013-04-24T18:17:18Z"
"2014-07-16T08:06:11Z"
"2013-04-25T14:25:09Z"
CONTRIBUTOR
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/3447/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3447/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3447.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3447", "merged_at": "2013-04-25T14:25:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3447.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3447" }
https://api.github.com/repos/pandas-dev/pandas/issues/3448
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3448/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3448/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3448/events
https://github.com/pandas-dev/pandas/issues/3448
13,611,161
MDU6SXNzdWUxMzYxMTE2MQ==
3,448
BUG: selection from unordered time-series has incorrect / odd behavior
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-24T21:30:46Z"
"2013-04-30T04:14:54Z"
"2013-04-25T14:24:18Z"
CONTRIBUTOR
null
original mods made < 0.11 in #3136 / #2437 incorrect selections, depending on the start:end pos gettting weird values also should be able to select a value that's bigger/smaller than the contained range and have it work (this is how ordered series works) ``` [21]: s = Series(randn(10),date_range('20130101',periods=10)) In [22]: x = s.index.values In [23]: random.shuffle(x) In [24]: s.index = x In [25]: s Out[25]: 2013-01-09 0.911882 2013-01-06 -0.310166 2013-01-10 1.090196 2013-01-07 -0.846249 2013-01-02 -0.205013 2013-01-08 -1.284152 2013-01-05 0.018700 2013-01-04 -0.503527 2013-01-01 0.073035 2013-01-03 0.695904 dtype: float64 In [26]: s['20130104':'20130105'] Out[26]: Series([], dtype: float64) In [27]: s['20130104':'20130107'] Out[27]: Series([], dtype: float64) In [28]: s['20130102':'20130107'] Out[28]: Series([], dtype: float64) In [29]: s['20130102':'20130104'] Out[29]: 2013-01-02 -0.205013 2013-01-08 -1.284152 2013-01-05 0.018700 2013-01-04 -0.503527 dtype: float64 ```
{ "+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/3448/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3448/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3449
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3449/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3449/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3449/events
https://github.com/pandas-dev/pandas/issues/3449
13,613,364
MDU6SXNzdWUxMzYxMzM2NA==
3,449
loc: label index does not raise KeyError with list of ints
{ "avatar_url": "https://avatars.githubusercontent.com/u/1297788?v=4", "events_url": "https://api.github.com/users/kyleam/events{/privacy}", "followers_url": "https://api.github.com/users/kyleam/followers", "following_url": "https://api.github.com/users/kyleam/following{/other_user}", "gists_url": "https://api.github.com/users/kyleam/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kyleam", "id": 1297788, "login": "kyleam", "node_id": "MDQ6VXNlcjEyOTc3ODg=", "organizations_url": "https://api.github.com/users/kyleam/orgs", "received_events_url": "https://api.github.com/users/kyleam/received_events", "repos_url": "https://api.github.com/users/kyleam/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kyleam/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kyleam/subscriptions", "type": "User", "url": "https://api.github.com/users/kyleam" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
"2013-04-24T22:07:11Z"
"2013-04-30T04:15:05Z"
"2013-04-25T01:56:02Z"
CONTRIBUTOR
null
I didn't expect the last line of code to pass. ``` import numpy as np import pandas as pd pd.__version__ #[Out]# '0.12.0.dev-5c3ccdb' np.random.seed(33) df = pd.DataFrame(np.random.random((3, 3)), index=['a', 'b', 'c'], columns=['e', 'f', 'g']) # raise a KeyError? df.loc[[1, 2], [1, 2]] #[Out]# f g #[Out]# b 0.870396 0.185040 #[Out]# c 0.953252 0.680451 ``` Being strictly label based, shouldn't `loc` fail when it doesn't find 1 or 2 as a label?
{ "+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/3449/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3449/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3450
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3450/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3450/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3450/events
https://github.com/pandas-dev/pandas/pull/3450
13,615,138
MDExOlB1bGxSZXF1ZXN0NTM1NTQ3OA==
3,450
BUG: index.map fast path raises recursion warnings on index.time GH3419
{ "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
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
"2013-04-24T22:39:37Z"
"2014-07-16T08:06:17Z"
"2013-04-24T22:39:44Z"
NONE
null
fyi @hayd #3419
{ "+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/3450/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3450/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3450.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3450", "merged_at": "2013-04-24T22:39:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3450.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3450" }
https://api.github.com/repos/pandas-dev/pandas/issues/3451
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3451/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3451/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3451/events
https://github.com/pandas-dev/pandas/pull/3451
13,617,671
MDExOlB1bGxSZXF1ZXN0NTM1NjgwOQ==
3,451
BUG: GH3449 .loc was not raising when passed an integer list
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
"2013-04-25T00:05:20Z"
"2014-06-22T03:25:32Z"
"2013-04-25T01:55:28Z"
CONTRIBUTOR
null
closes #3449
{ "+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/3451/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3451/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3451.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3451", "merged_at": "2013-04-25T01:55:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3451.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3451" }
https://api.github.com/repos/pandas-dev/pandas/issues/3452
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3452/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3452/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3452/events
https://github.com/pandas-dev/pandas/pull/3452
13,619,220
MDExOlB1bGxSZXF1ZXN0NTM1NzYxNg==
3,452
BUG: GH3448 Unordered time series selection was misbehaving when using label slicing
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
"2013-04-25T01:10:17Z"
"2014-07-16T08:06:20Z"
"2013-04-25T12:29:36Z"
CONTRIBUTOR
null
closes #3448
{ "+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/3452/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3452/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3452.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3452", "merged_at": "2013-04-25T12:29:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3452.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3452" }
https://api.github.com/repos/pandas-dev/pandas/issues/3453
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3453/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3453/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3453/events
https://github.com/pandas-dev/pandas/issues/3453
13,623,645
MDU6SXNzdWUxMzYyMzY0NQ==
3,453
read_csv parse issues with \r line ending and quoted items
{ "avatar_url": "https://avatars.githubusercontent.com/u/82713?v=4", "events_url": "https://api.github.com/users/sandbox/events{/privacy}", "followers_url": "https://api.github.com/users/sandbox/followers", "following_url": "https://api.github.com/users/sandbox/following{/other_user}", "gists_url": "https://api.github.com/users/sandbox/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sandbox", "id": 82713, "login": "sandbox", "node_id": "MDQ6VXNlcjgyNzEz", "organizations_url": "https://api.github.com/users/sandbox/orgs", "received_events_url": "https://api.github.com/users/sandbox/received_events", "repos_url": "https://api.github.com/users/sandbox/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sandbox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sandbox/subscriptions", "type": "User", "url": "https://api.github.com/users/sandbox" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
{ "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" }
[ { "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_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
"2013-04-25T05:22:37Z"
"2013-06-02T23:27:57Z"
"2013-06-02T23:26:45Z"
NONE
null
There seems to be an issue with quotes containing the separator in read_csv ``` shell >>> pd.read_csv(StringIO.StringIO(' a,b,c\r"a,b","e,d","f,f"'), header=None) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/john/app/venv/lib/python2.7/site-packages/pandas/io/parsers.py", line 399, in parser_f return _read(filepath_or_buffer, kwds) File "/home/john/app/venv/lib/python2.7/site-packages/pandas/io/parsers.py", line 215, in _read return parser.read() File "/home/john/app/venv/lib/python2.7/site-packages/pandas/io/parsers.py", line 631, in read ret = self._engine.read(nrows) File "/home/john/app/venv/lib/python2.7/site-packages/pandas/io/parsers.py", line 954, in read data = self._reader.read(nrows) File "parser.pyx", line 644, in pandas._parser.TextReader.read (pandas/src/parser.c:5925) File "parser.pyx", line 666, in pandas._parser.TextReader._read_low_memory (pandas/src/parser.c:6145) File "parser.pyx", line 719, in pandas._parser.TextReader._read_rows (pandas/src/parser.c:6750) File "parser.pyx", line 706, in pandas._parser.TextReader._tokenize_rows (pandas/src/parser.c:6634) File "parser.pyx", line 1572, in pandas._parser.raise_parser_error (pandas/src/parser.c:17055) pandas._parser.CParserError: Error tokenizing data. C error: Expected 3 fields in line 2, saw 4 ``` ##### EXPECTED BEHAVIOR: ``` python >>> pd.read_csv(StringIO.StringIO(' a,b,c\n"a,b","e,d","f,f"'), header=None) 0 1 2 0 a b c 1 a,b e,d f,f ``` This should have the same behavior as when the line ending is `\n` --- Maybe this should be in a separate bug report, but a possibly related issue occurs when you don't say `header=None` ``` python >>> pd.read_csv(StringIO.StringIO(' a,b,c\r"a,b","e,d","f,f"')) a b c "a b" e,d f,f ``` The above shows the first quoted-delimited item set as the `index_col`. The following shows what happens when we tell pandas to use `index_col=False` ``` python >>> pd.read_csv(StringIO.StringIO(' a,b,c\r"a,b","e,d","f,f"'), index_col=False) a b c 0 "a b" e,d ``` ##### EXPECTED BEHAVIOR: ``` python >>> pd.read_csv(StringIO.StringIO(' a,b,c\n"a,b","e,d","f,f"')) a b c 0 a,b e,d f,f ``` and with index_col=False ``` python >>> pd.read_csv(StringIO.StringIO(' a,b,c\n"a,b","e,d","f,f"'), index_col=False) a b c 0 a,b e,d f,f ``` --- Here is my system information if that is necessary ``` python >>> pd.__version__ '0.10.1' >>> sys.version_info sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0) >>> sys.platform 'darwin' >>> os.name posix' ```
{ "+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/3453/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3453/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3454
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3454/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3454/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3454/events
https://github.com/pandas-dev/pandas/issues/3454
13,625,052
MDU6SXNzdWUxMzYyNTA1Mg==
3,454
[BUG] to_csv() cols parameter not working properly.
{ "avatar_url": "https://avatars.githubusercontent.com/u/4252441?v=4", "events_url": "https://api.github.com/users/abudis/events{/privacy}", "followers_url": "https://api.github.com/users/abudis/followers", "following_url": "https://api.github.com/users/abudis/following{/other_user}", "gists_url": "https://api.github.com/users/abudis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/abudis", "id": 4252441, "login": "abudis", "node_id": "MDQ6VXNlcjQyNTI0NDE=", "organizations_url": "https://api.github.com/users/abudis/orgs", "received_events_url": "https://api.github.com/users/abudis/received_events", "repos_url": "https://api.github.com/users/abudis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/abudis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abudis/subscriptions", "type": "User", "url": "https://api.github.com/users/abudis" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
"2013-04-25T06:40:46Z"
"2013-12-04T00:57:21Z"
"2013-04-25T16:11:11Z"
NONE
null
<b>pandas version:</b> 0.11 python version: 2.7.4 platforms: linux & windows When using cols parameter of to_csv() method only the order of the header is changed, while actual values are not. ``` python import pandas as pd from cStringIO import StringIO data = """\ date,time,X1,X2 2013-1-1,0030,0.1,0.4 2013-1-1,0100,0.2,0.3 2013-1-1,0130,0.3,0.2 2013-1-1,0200,0.4,0.1 """ df = pd.read_csv(StringIO(data), parse_dates=[['date', 'time']], index_col=0) df.to_csv('data.csv', index_label='date_time', cols=['X2', 'X1']) ``` <b>Expected output:</b> date_time,X2,X1 2013-01-01 00:30:00,0.4,0.1 2013-01-01 01:00:00,0.3,0.2 2013-01-01 01:30:00,0.2,0.3 2013-01-01 02:00:00,0.1,0.4 <b>Actual output:</b> date_time,X2,X1 2013-01-01 00:30:00,0.1,0.4 2013-01-01 01:00:00,0.2,0.3 2013-01-01 01:30:00,0.3,0.2 2013-01-01 02:00:00,0.4,0.1 ``` python df.to_csv('data.csv', index_label='date_time', cols=['X2']) ``` date_time,X2 2013-01-01 00:30:00,0.1 2013-01-01 01:00:00,0.2 2013-01-01 01:30:00,0.3 2013-01-01 02:00:00,0.4 ``` python print df['X1'] ``` date_time 2013-01-01 00:30:00 0.1 2013-01-01 01:00:00 0.2 2013-01-01 01:30:00 0.3 2013-01-01 02:00:00 0.4 Name: X1, dtype: float64 ``` python print df['X2'] ``` date_time 2013-01-01 00:30:00 0.4 2013-01-01 01:00:00 0.3 2013-01-01 01:30:00 0.2 2013-01-01 02:00:00 0.1 Name: X2, dtype: float64
{ "+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/3454/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3454/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3455
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3455/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3455/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3455/events
https://github.com/pandas-dev/pandas/issues/3455
13,632,598
MDU6SXNzdWUxMzYzMjU5OA==
3,455
fancy indexing with dupe columns yields unexpected ordering
{ "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": "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
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-04-25T10:49:27Z"
"2013-05-03T17:15:39Z"
"2013-04-25T14:38:23Z"
NONE
null
``` In [16]: from pandas.util.testing import makeCustomDataframe as mkdf ...: df= mkdf(10, 3) ...: df.columns = ['a','a','b'] ...: cols = ['b','a'] ...: df[['b','a']].columns Out[16]: Index([a, a, b], dtype=object) ``` expected to see ``` ['b','a','a'] ``` Once fixed, can relax format.py:CSVFormatter raising NotImplementedError() on cols selection with dupe columns, for the new engine only. see #3457 . _edit:_ #3509 removed that limitation from CSVFormatter
{ "+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/3455/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3455/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3456
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3456/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3456/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3456/events
https://github.com/pandas-dev/pandas/issues/3456
13,634,223
MDU6SXNzdWUxMzYzNDIyMw==
3,456
Index repr uses np.printoptions for "...", consolidate with display.options
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
"2013-04-25T11:43:54Z"
"2016-04-19T20:40:50Z"
"2016-04-19T20:40:50Z"
NONE
null
use max_seq_len, after setting default to close #3391. also duplicate behaviour of "..." in other situations, rather then always printing 6 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/3456/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3456/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3457
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3457/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3457/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3457/events
https://github.com/pandas-dev/pandas/issues/3457
13,635,705
MDU6SXNzdWUxMzYzNTcwNQ==
3,457
engine='python' df.to_csv() duplicate columns doesn't work
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
7
"2013-04-25T12:29:18Z"
"2013-04-30T04:14:37Z"
"2013-04-25T15:25:49Z"
NONE
null
example from 0.10.1, and carried on to `to_csv(engine='python')` in 0.11 note the first columns duplicates the second columns, which shouldn't be. Corrolary #3454 ``` from pandas.util.testing import makeCustomDataframe as mkdf N=10 df= mkdf(N, 3) df.columns = ['a','a','b'] path = "/tmp/k.csv" df.to_csv("/tmp/k.csv") !cat "/tmp/k.csv" R0,a,a,b R_l0_g0,R0C1,R0C1,R0C2 R_l0_g1,R1C1,R1C1,R1C2 R_l0_g10,R2C1,R2C1,R2C2 R_l0_g2,R3C1,R3C1,R3C2 R_l0_g3,R4C1,R4C1,R4C2 R_l0_g4,R5C1,R5C1,R5C2 R_l0_g5,R6C1,R6C1,R6C2 R_l0_g6,R7C1,R7C1,R7C2 R_l0_g7,R8C1,R8C1,R8C2 R_l0_g8,R9C1,R9C1,R9C2 ```
{ "+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/3457/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3457/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3458
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3458/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3458/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3458/events
https://github.com/pandas-dev/pandas/pull/3458
13,636,560
MDExOlB1bGxSZXF1ZXN0NTM2NjIwOQ==
3,458
BUG: to_csv handles cols= reordering,dupe cols GH3454
{ "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
8
"2013-04-25T12:53:19Z"
"2014-06-18T19:05:44Z"
"2013-04-25T16:09:51Z"
NONE
null
#3454, #3457, #3455 @jreback, comments?
{ "+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/3458/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3458/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3458.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3458", "merged_at": "2013-04-25T16:09:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3458.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3458" }
https://api.github.com/repos/pandas-dev/pandas/issues/3459
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3459/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3459/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3459/events
https://github.com/pandas-dev/pandas/pull/3459
13,640,626
MDExOlB1bGxSZXF1ZXN0NTM2ODI3Mg==
3,459
BUG: GH3455 Duplicate indexes with getitem will return items in the correct order
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
null
3
"2013-04-25T14:17:46Z"
"2014-06-28T10:24:30Z"
"2013-04-25T14:38:06Z"
CONTRIBUTOR
null
BUG: GH3457 to_csv writing duplicate columns incorrectly closes #3455, #3457
{ "+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/3459/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3459/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3459.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3459", "merged_at": "2013-04-25T14:38:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3459.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3459" }
https://api.github.com/repos/pandas-dev/pandas/issues/3460
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3460/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3460/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3460/events
https://github.com/pandas-dev/pandas/issues/3460
13,644,466
MDU6SXNzdWUxMzY0NDQ2Ng==
3,460
tweak unicode() for PeriodIndex to yield valid python code
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
"2013-04-25T15:36:06Z"
"2013-05-10T09:30:13Z"
"2013-05-10T09:30:13Z"
NONE
null
``` _p=PeriodIndex([u'2000-01-03'],freq='B') print unicode(_p) PeriodIndex([u'2000-01-03'], dtype=int64) ``` can't recreate object with result from `str(self)`.
{ "+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/3460/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3460/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3461
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3461/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3461/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3461/events
https://github.com/pandas-dev/pandas/issues/3461
13,645,472
MDU6SXNzdWUxMzY0NTQ3Mg==
3,461
Sorting on Timestamp broken version 0.11
{ "avatar_url": "https://avatars.githubusercontent.com/u/1039591?v=4", "events_url": "https://api.github.com/users/rla3rd/events{/privacy}", "followers_url": "https://api.github.com/users/rla3rd/followers", "following_url": "https://api.github.com/users/rla3rd/following{/other_user}", "gists_url": "https://api.github.com/users/rla3rd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rla3rd", "id": 1039591, "login": "rla3rd", "node_id": "MDQ6VXNlcjEwMzk1OTE=", "organizations_url": "https://api.github.com/users/rla3rd/orgs", "received_events_url": "https://api.github.com/users/rla3rd/received_events", "repos_url": "https://api.github.com/users/rla3rd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rla3rd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rla3rd/subscriptions", "type": "User", "url": "https://api.github.com/users/rla3rd" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
9
"2013-04-25T15:48:23Z"
"2013-04-30T04:14:24Z"
"2013-04-25T21:57:05Z"
NONE
null
Issue: `frame.sort_index` uses `argsort` for a single sort column, but `_lexsort_indexer` for multi-columns need to do a transform on datetimens[64] before passing to ``_lexsort_`indexer` In [54]: a.columns Out[54]: Index([ticker, disclosuredate, txnid], dtype=object) In [55]: a.values Out[55]: array([[A, 2010-03-09 00:00:00, 11110508], [A, 2010-03-12 00:00:00, 11121853], [A, 2011-02-15 00:00:00, 12488915], [A, 2011-03-08 00:00:00, 12563380], [A, 2011-04-22 00:00:00, 12653015], [A, 2013-01-28 00:00:00, 15244694]], dtype=object) In [56]: a.sort(columns=['disclosuredate']).values Out[56]: array([[A, 2010-03-09 00:00:00, 11110508], [A, 2010-03-12 00:00:00, 11121853], [A, 2011-04-22 00:00:00, 12653015], [A, 2013-01-28 00:00:00, 15244694], [A, 2011-03-08 00:00:00, 12563380], [A, 2011-02-15 00:00:00, 12488915]], dtype=object) In [57]: pd.**version** Out[57]: '0.11.0' In [58]: import time In [59]: a['epoch'] = a['disclosuredate'].map(lambda x: time.mktime(x.timetuple())) In [60]: a.sort(['epoch']).values Out[60]: array([[A, 2010-03-09 00:00:00, 11110508, 1268110800.0], [A, 2010-03-12 00:00:00, 11121853, 1268370000.0], [A, 2011-02-15 00:00:00, 12488915, 1297746000.0], [A, 2011-03-08 00:00:00, 12563380, 1299560400.0], [A, 2011-04-22 00:00:00, 12653015, 1303444800.0], [A, 2013-01-28 00:00:00, 15244694, 1359349200.0]], dtype=object)
{ "+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/3461/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3461/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3462
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3462/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3462/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3462/events
https://github.com/pandas-dev/pandas/issues/3462
13,645,491
MDU6SXNzdWUxMzY0NTQ5MQ==
3,462
Dataframe fancy indexing behaviour with Periodindex via strings
{ "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" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
"2013-04-25T15:48:34Z"
"2015-10-09T23:28:35Z"
"2015-10-09T23:28:35Z"
NONE
null
``` cols=period_range('2000',periods=2) df=DataFrame([[1,2],[3,4]],columns=cols) cols = map(unicode,cols) df.loc[:,cols] KeyError: "[[u'2000-01-01', u'2000-01-02']] are not in ALL in the [columns]" ``` @jreback , not sure whether to call this a bug.
{ "+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/3462/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3462/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3463
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3463/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3463/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3463/events
https://github.com/pandas-dev/pandas/pull/3463
13,655,080
MDExOlB1bGxSZXF1ZXN0NTM3NDk5Nw==
3,463
CLN: series to now inherit from NDFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
null
1
"2013-04-25T18:40:30Z"
"2014-07-10T19:18:54Z"
"2013-04-29T14:37:13Z"
CONTRIBUTOR
null
Major refactor primarily to make Series inherit from NDFrame Preserves pickle compat very few tests were changed (and only for compat on return objects) a few performance enhancements, a couple of regressions (see bottom) _obviously this is a large change in terms of the codebase, but it brings more consistency between series/frame/panel (not all of this is there yet, but future changes are much easier)_ _Series is now like Frame in that it has a BlockManager (called SingleBlockManager), which holds a block (of any type we support). This introduced some overhead in doing certain operations, which I spent a lot of time optimizing away, further optimizations will come from cythonizing the core/internals, which should be straightforward at this point_ Highlites below: - Refactor of PandasObject to become new generic Pandas base class - moved methods - **str**,**bytes**,**repr**,save,load - affects all NDFrame hierarchy, Index hierarchy, Period (Timestamp not included) - Refactor of series.py/frame.py/panel.py to move common code to generic.py - added _setup_axes to created generic NDFrame structures - moved methods - from_axes,_wrap_array,axes,ix,shape,empty,swapaxes,transpose,pop - **iter**,keys,**contains**,**len**,**neg**,**invert** - convert_objects,as_blocks,as_matrix,values - **getstate**,**setstate** (though compat remains in frame/panel) - **getattr**,**setattr** - _indexed_same,reindex_like,reindex,align,where,mask - filter (also added axis argument to selectively filter on a different axis) - reindex,reindex_axis (which was the biggest change to make generic) - truncate (moved to become part of NDFrame) These are API changes which make Panel more consistent with DataFrame - swapaxes on a Panel with the same axes specified now return a copy - support attribute access for setting - filter supports same api as original DataFrame filter - Reindex called with no arguments will now return a copy of the input object - Series now inherits from `NDFrame` rather than directly from `ndarray`. There are several minor changes that affect the API. - numpy functions that do not support the array interface will now return `ndarrays` rather than series, e.g. `np.diff` and `np.where` - `Series(0.5)` would previously return the scalar `0.5`, this is not longer supported - several methods from frame/series have moved to `NDFrame` (convert_objects,where,mask) - `TimeSeries` is now an alias for `Series`. the property `is_time_series` can be used to distinguish (if desired) - Refactor of Sparse objects to use BlockManager - Created a new block type in internals, SparseBlock, which can hold multi-dtypes and is non-consolidatable. SparseSeries and SparseDataFrame now inherit more methods from there hierarchy (Series/DataFrame), and no longer inherit from SparseArray (which instead is the object of the SparseBlock) - Sparse suite now supports integration with non-sparse data. Non-float sparse data is supportable (partially implemented) - Operations on sparse structures within DataFrames should preserve sparseness, merging type operations will convert to dense (and back to sparse), so might be somewhat inefficient - enable setitem on SparseSeries for boolean/integer/slices - SparsePanels implementation is unchanged (e.g. not using BlockManager, needs work) - added `ftypes` method to Series/DataFame, similar to `dtypes`, but indicates if the underlying is sparse/dense (as well as the dtype) Perf changed a bit primarily in groupby where a Series has to be reconstructed in order to be passed to the function (in some cases). the biggest regression is actually a special case and can trivially be changed to be MUCH faster (as this requires a Series for a sum operation), in any event the cython versions are quite fast. ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- frame_reindex_both_axes | 18.8640 | 36.5677 | 0.5159 | frame_reindex_both_axes_ix | 18.7081 | 35.0070 | 0.5344 | groupby_apply_dict_return | 31.2620 | 43.8453 | 0.7130 | indexing_panel_subset | 0.4027 | 0.5000 | 0.8053 | series_constructor_ndarray | 0.0173 | 0.0113 | 1.5352 | frame_iteritems | 3.4393 | 1.8907 | 1.8191 | frame_fancy_lookup | 3.4020 | 1.4997 | 2.2685 | sparse_frame_constructor | 12.0993 | 4.8280 | 2.5061 | groupby_multi_python | 204.1063 | 44.7550 | 4.5605 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- Target [dfb119d] : PERF: made constructions of SparseFrame have less redundant steps Base [67ad556] : Merge pull request #3459 from jreback/GH3455 ```
{ "+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/3463/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3463/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3463.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3463", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3463.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3463" }
https://api.github.com/repos/pandas-dev/pandas/issues/3464
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3464/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3464/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3464/events
https://github.com/pandas-dev/pandas/pull/3464
13,662,880
MDExOlB1bGxSZXF1ZXN0NTM3OTE2OQ==
3,464
BUG: GH3461 Fix sorting in a frame with a list of columns which contains datetime64
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
6
"2013-04-25T21:27:25Z"
"2014-07-03T18:23:38Z"
"2013-04-25T21:56:33Z"
CONTRIBUTOR
null
closes #3461
{ "+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/3464/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3464/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3464.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3464", "merged_at": "2013-04-25T21:56:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3464.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3464" }
https://api.github.com/repos/pandas-dev/pandas/issues/3465
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3465/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3465/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3465/events
https://github.com/pandas-dev/pandas/issues/3465
13,701,442
MDU6SXNzdWUxMzcwMTQ0Mg==
3,465
Strange index/str repr behavior
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "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
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
"2013-04-26T18:11:36Z"
"2016-10-12T23:03:45Z"
"2013-04-26T18:52:57Z"
MEMBER
null
I love the idea of valid-python-code reprs, but this just seems plain wrong: ![weird-repr](https://f.cloud.github.com/assets/417981/432123/aaae270a-ae9c-11e2-9ad6-3983ca576cf4.png) This throws an exception if you try to eval 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/3465/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3465/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3466
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3466/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3466/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3466/events
https://github.com/pandas-dev/pandas/pull/3466
13,703,104
MDExOlB1bGxSZXF1ZXN0NTM5OTA0NQ==
3,466
Fix pprint of index, summarizes according to display.max_seq_items
{ "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
1
"2013-04-26T18:51:30Z"
"2014-06-22T23:23:22Z"
"2013-04-26T18:52:46Z"
NONE
null
#3465 makes #3391 a very good idea.
{ "+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/3466/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3466/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3466.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3466", "merged_at": "2013-04-26T18:52:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3466.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3466" }
https://api.github.com/repos/pandas-dev/pandas/issues/3467
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3467/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3467/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3467/events
https://github.com/pandas-dev/pandas/pull/3467
13,708,555
MDExOlB1bGxSZXF1ZXN0NTQwMjI2OQ==
3,467
BUG: adjust to_latex column format when no index
{ "avatar_url": "https://avatars.githubusercontent.com/u/1297788?v=4", "events_url": "https://api.github.com/users/kyleam/events{/privacy}", "followers_url": "https://api.github.com/users/kyleam/followers", "following_url": "https://api.github.com/users/kyleam/following{/other_user}", "gists_url": "https://api.github.com/users/kyleam/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kyleam", "id": 1297788, "login": "kyleam", "node_id": "MDQ6VXNlcjEyOTc3ODg=", "organizations_url": "https://api.github.com/users/kyleam/orgs", "received_events_url": "https://api.github.com/users/kyleam/received_events", "repos_url": "https://api.github.com/users/kyleam/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kyleam/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kyleam/subscriptions", "type": "User", "url": "https://api.github.com/users/kyleam" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-26T21:14:43Z"
"2014-07-16T08:06:35Z"
"2013-04-28T00:55:20Z"
CONTRIBUTOR
null
`to_latex` was adding an extra alignment to `column_format` when the `index` argument was 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/3467/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3467/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3467.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3467", "merged_at": "2013-04-28T00:55:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3467.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3467" }
https://api.github.com/repos/pandas-dev/pandas/issues/3468
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3468/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3468/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3468/events
https://github.com/pandas-dev/pandas/issues/3468
13,708,937
MDU6SXNzdWUxMzcwODkzNw==
3,468
Pandas inconsistenly handles identically named columns in csv export and merging
{ "avatar_url": "https://avatars.githubusercontent.com/u/2766856?v=4", "events_url": "https://api.github.com/users/darindillon/events{/privacy}", "followers_url": "https://api.github.com/users/darindillon/followers", "following_url": "https://api.github.com/users/darindillon/following{/other_user}", "gists_url": "https://api.github.com/users/darindillon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/darindillon", "id": 2766856, "login": "darindillon", "node_id": "MDQ6VXNlcjI3NjY4NTY=", "organizations_url": "https://api.github.com/users/darindillon/orgs", "received_events_url": "https://api.github.com/users/darindillon/received_events", "repos_url": "https://api.github.com/users/darindillon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/darindillon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darindillon/subscriptions", "type": "User", "url": "https://api.github.com/users/darindillon" }
[ { "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
9
"2013-04-26T21:25:39Z"
"2013-07-10T13:53:19Z"
"2013-07-10T13:53:19Z"
NONE
null
Using pandas 0.10.1 Pandas allows creating a dataframe with two columns with the same name. (I disagree that it should be allowed, but it is allowed, so OK). However, it doesn't handle that correctly in several cases. Pandas ought to either completely disallow duplicate named columns _or_ handle them everywhere. But it shouldn't handle them in some cases but not others. Problem 1: Round-trip to a CSV Dump the dataframe to a CSV and then read it back. Even though duplicate columns are supposed to be legal, Pandas won't allow that in the CSV import/export. ``` python df = pandas.DataFrame([[1,2]], columns=['a','a']) #Note df has two identically named columns now df.to_csv('foo.csv') df2 = pandas.DataFrame.from_csv('foo.csv') #Note df2 does NOT have the same columns anymore. the "a" was renamed "a.1" #At the least, you ought to get some warning that dumping to a CSV will #lose column names. ``` Problem 2: Merging to a dataframe with dup columns does not work ``` python df = pandas.DataFrame([[1,2,3]], columns=['a','a','b']) df.merge(df, how='left', on='b') #Result: Very misleading error message # edit: reindexing error ``` I'd be ok with almost any solution (disallowing duplicate named columns, giving you a warning when you do it, handling it correctly in the merge and csv read, etc). But it should be consistently one way or the other.
{ "+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/3468/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3468/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3469
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3469/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3469/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3469/events
https://github.com/pandas-dev/pandas/pull/3469
13,714,165
MDExOlB1bGxSZXF1ZXN0NTQwNTQyNg==
3,469
ENH: Adding '.' as an na_value for FRED.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
17
"2013-04-27T00:53:30Z"
"2014-06-14T08:26:30Z"
"2013-04-27T20:14:38Z"
CONTRIBUTOR
null
The St. Louis Fed's [FRED](http://research.stlouisfed.org/fred2/) uses '.' as an NaN marker. I don't think the user has any way to specify the na_value via DataReader, so this just hard codes '.' as an na_value in the fred data-fetching function. Before: ``` python In [4]: from pandas.io.data import DataReader In [5]: df = DataReader('DFII5', data_source="fred") In [6]: df.head() Out[6]: DFII5 DATE 2010-01-01 . 2010-01-04 0.52 2010-01-05 0.44 2010-01-06 0.44 2010-01-07 0.43 ``` After ``` python In [2]: from pandas.io.data import DataReader In [3]: df = DataReader('DFII5', data_source="fred") In [4]: df.head() Out[4]: DFII5 DATE 2010-01-01 NaN 2010-01-04 0.52 2010-01-05 0.44 2010-01-06 0.44 2010-01-07 0.43 In [5]: pd.__version__ Out[5]: '0.11.0rc1' ``` Hopefully I've done everything correctly with the pull request. Let me know if anything needs fixing.
{ "+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/3469/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3469/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3469.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3469", "merged_at": "2013-04-27T20:14:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3469.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3469" }
https://api.github.com/repos/pandas-dev/pandas/issues/3470
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3470/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3470/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3470/events
https://github.com/pandas-dev/pandas/pull/3470
13,715,716
MDExOlB1bGxSZXF1ZXN0NTQwNjE2MA==
3,470
ENH: Bring Series.dot up to par with DataFrame.dot
{ "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
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
5
"2013-04-27T03:19:17Z"
"2014-07-16T08:06:39Z"
"2013-04-29T17:43:37Z"
CONTRIBUTOR
null
If second argument is Series or DataFrame, ensures alignment of indices. If second argument is some type of ndarray, just fall back to np.dot on the values. This mirrors the behavior in DataFrame.dot Includes unittest
{ "+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/3470/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3470/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3470.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3470", "merged_at": "2013-04-29T17:43:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3470.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3470" }
https://api.github.com/repos/pandas-dev/pandas/issues/3471
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3471/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3471/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3471/events
https://github.com/pandas-dev/pandas/issues/3471
13,717,884
MDU6SXNzdWUxMzcxNzg4NA==
3,471
module compiled against API version 8 but this version of numpy is 7
{ "avatar_url": "https://avatars.githubusercontent.com/u/657986?v=4", "events_url": "https://api.github.com/users/nitraat/events{/privacy}", "followers_url": "https://api.github.com/users/nitraat/followers", "following_url": "https://api.github.com/users/nitraat/following{/other_user}", "gists_url": "https://api.github.com/users/nitraat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nitraat", "id": 657986, "login": "nitraat", "node_id": "MDQ6VXNlcjY1Nzk4Ng==", "organizations_url": "https://api.github.com/users/nitraat/orgs", "received_events_url": "https://api.github.com/users/nitraat/received_events", "repos_url": "https://api.github.com/users/nitraat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nitraat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nitraat/subscriptions", "type": "User", "url": "https://api.github.com/users/nitraat" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
null
8
"2013-04-27T07:54:23Z"
"2013-10-13T02:08:21Z"
"2013-04-29T16:40:04Z"
NONE
null
After upgrading to pandas 0.11.0 using pip, I get the following errors: ``` In [1]: import pandas --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 8 but this version of numpy is 7 numpy.core.multiarray failed to import --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-d6ac987968b6> in <module>() ----> 1 import pandas /usr/local/lib/python2.7/site-packages/pandas/__init__.py in <module>() 4 5 try: ----> 6 from . import hashtable, tslib, lib 7 except Exception: # pragma: no cover 8 import sys ImportError: numpy.core.multiarray failed to import ``` I have numpy version 1.7.1, running OS X 10.8.3 Installing pandas on an empty virtualenv failed due to a numpy dependency which couldn't install automatically, however, after installing numpy explicitly, it did work. Is this a bug or is something just messed up with my install?
{ "+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/3471/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3471/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3472
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3472/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3472/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3472/events
https://github.com/pandas-dev/pandas/issues/3472
13,722,485
MDU6SXNzdWUxMzcyMjQ4NQ==
3,472
DOC: add note about pickle security and trusted sources.
{ "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
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-27T15:50:49Z"
"2013-04-30T04:13:46Z"
"2013-04-29T21:54:45Z"
NONE
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/3472/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3472/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3473
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3473/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3473/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3473/events
https://github.com/pandas-dev/pandas/pull/3473
13,726,059
MDExOlB1bGxSZXF1ZXN0NTQxMDE0NA==
3,473
ENH: Scatterplot Method added
{ "avatar_url": "https://avatars.githubusercontent.com/u/1260667?v=4", "events_url": "https://api.github.com/users/zachcp/events{/privacy}", "followers_url": "https://api.github.com/users/zachcp/followers", "following_url": "https://api.github.com/users/zachcp/following{/other_user}", "gists_url": "https://api.github.com/users/zachcp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zachcp", "id": 1260667, "login": "zachcp", "node_id": "MDQ6VXNlcjEyNjA2Njc=", "organizations_url": "https://api.github.com/users/zachcp/orgs", "received_events_url": "https://api.github.com/users/zachcp/received_events", "repos_url": "https://api.github.com/users/zachcp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zachcp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zachcp/subscriptions", "type": "User", "url": "https://api.github.com/users/zachcp" }
[]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
60
"2013-04-27T21:06:11Z"
"2014-06-12T20:43:38Z"
"2013-10-17T12:50:56Z"
CONTRIBUTOR
null
closes #2215 This is a simple pull request that creates a shortcut for scatter plots from a df. This is in reference to #2215 (and #1527) and follows the same pattern as df.hist(). ``` #where you would previously have had to do: from pandas.tools.plotting import scatter_plot scatter_plot(df, x = "x", y = 'y') #you can now do df.scatter(x="x",y="y") #example import pandas as pd import numpy as np df = pd.DataFrame( np.random.randn(100,4)) df.scatter(x=1,y=2) ``` I followed the same pattern as df.hist() even though it looks like you are intended make a class object for scatterplots that can be passed to the plot_frame() function as is the case for BarPlot and LinePlot. In any case, this works and may be useful. best, zach cp
{ "+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/3473/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3473/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3473.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3473", "merged_at": "2013-10-17T12:50:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3473.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3473" }
https://api.github.com/repos/pandas-dev/pandas/issues/3474
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3474/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3474/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3474/events
https://github.com/pandas-dev/pandas/issues/3474
13,728,027
MDU6SXNzdWUxMzcyODAyNw==
3,474
scatter_plot produces double plots
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
18
"2013-04-28T00:44:16Z"
"2013-08-23T13:08:18Z"
"2013-08-23T13:08:18Z"
NONE
null
following #3473: ``` import pandas as pd import numpy as np from pandas.tools.plotting import scatter_plot df = pd.DataFrame( np.random.randn(100,4)) scatter_plot(df,x=1,y=2) **Plot** **Same Plot Again** ```
{ "+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/3474/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3474/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3475
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3475/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3475/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3475/events
https://github.com/pandas-dev/pandas/issues/3475
13,728,227
MDU6SXNzdWUxMzcyODIyNw==
3,475
False ValueError in `pandas.to_datetime`?
{ "avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4", "events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}", "followers_url": "https://api.github.com/users/fonnesbeck/followers", "following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}", "gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fonnesbeck", "id": 81476, "login": "fonnesbeck", "node_id": "MDQ6VXNlcjgxNDc2", "organizations_url": "https://api.github.com/users/fonnesbeck/orgs", "received_events_url": "https://api.github.com/users/fonnesbeck/received_events", "repos_url": "https://api.github.com/users/fonnesbeck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions", "type": "User", "url": "https://api.github.com/users/fonnesbeck" }
[]
closed
false
null
[]
null
4
"2013-04-28T01:10:48Z"
"2013-04-28T01:30:39Z"
"2013-04-28T01:30:39Z"
NONE
null
While trying to convert a Series of string dates to datetime objects using `pandas.to_datetime`, I get a ValueError indicating a bogus date: ``` In [11]: hospitalized['birth_date'] = pd.to_datetime(hospitalized.child_birth_date, errors='raise', format='%Y-%m-%d') newborns['birth_date'] = pd.to_datetime(newborns.birth_date_newborn, errors='raise') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-11-b2cd6c80de7e> in <module>() ----> 1 hospitalized['birth_date'] = pd.to_datetime(hospitalized.child_birth_date, errors='raise', format='%Y-%m-%d') 2 newborns['birth_date'] = pd.to_datetime(newborns.birth_date_newborn, errors='raise') /Library/Python/2.7/site-packages/pandas-0.11.0rc1_20130415-py2.7-macosx-10.8-intel.egg/pandas/tseries/tools.pyc in to_datetime(arg, errors, dayfirst, utc, box, format) 102 values = arg.values 103 if not com.is_datetime64_dtype(values): --> 104 values = _convert_f(values) 105 return Series(values, index=arg.index, name=arg.name) 106 elif isinstance(arg, (np.ndarray, list)): /Library/Python/2.7/site-packages/pandas-0.11.0rc1_20130415-py2.7-macosx-10.8-intel.egg/pandas/tseries/tools.pyc in _convert_f(arg) 93 return DatetimeIndex._simple_new(values, None, tz=tz) 94 except (ValueError, TypeError): ---> 95 raise e 96 97 if arg is None: ValueError: day is out of range for month ``` However, if I iterate through the elements of the Series to see where the bad date is, I do not get the error: ``` In [10]: hosp_birth_new = np.empty(len(hospitalized.child_birth_date), dtype=object) for i,b in enumerate(hospitalized.child_birth_date): try: hosp_birth_new[i] = pd.to_datetime(b) except ValueError: print b hosp_birth_new Out[10]: array([datetime.datetime(2010, 2, 2, 0, 0), datetime.datetime(2010, 1, 29, 0, 0), datetime.datetime(2009, 3, 28, 0, 0), ..., datetime.datetime(2012, 9, 19, 0, 0), datetime.datetime(2013, 2, 28, 0, 0), datetime.datetime(2012, 7, 2, 0, 0)], dtype=object) ``` Running pandas-0.11.0rc1_20130415 on Python 2.7.2 (OS X 10.8.3).
{ "+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/3475/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3475/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3476
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3476/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3476/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3476/events
https://github.com/pandas-dev/pandas/issues/3476
13,735,491
MDU6SXNzdWUxMzczNTQ5MQ==
3,476
Add coverage support to travis via coveralls.io
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
null
3
"2013-04-28T15:27:23Z"
"2013-10-07T14:44:58Z"
"2013-04-29T01:04:52Z"
MEMBER
null
It might be nice to add support for coverage info via [coveralls](http://coveralls.io). [Here](https://coveralls.io/info/features) are some of the features. Looks like [this Python interface](https://github.com/coagulant/coveralls-python) is slightly more actively developed and would be the way to go. Not sure if this is worth the pain of setup, but I always find coverage info helpful after running the full test suite and it can be useful for prioritizing areas of the code base. I know pandas's travis config doesn't run the whole ./test.sh but I believe coverage.py can be told what dirs to cover. Down/(up?) side: this will add to travis's running time, but only if tests are successful.
{ "+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/3476/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3476/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3477
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3477/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3477/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3477/events
https://github.com/pandas-dev/pandas/pull/3477
13,737,936
MDExOlB1bGxSZXF1ZXN0NTQxNDI0MA==
3,477
Read html tables into DataFrames
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
58
"2013-04-28T18:01:06Z"
"2014-06-16T01:32:21Z"
"2013-05-03T16:54:13Z"
MEMBER
null
This PR adds new functionality for reading HTML tables from a URI, string, or file-like object into a DataFrame. #3369
{ "+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/3477/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3477/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3477.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3477", "merged_at": "2013-05-03T16:54:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3477.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3477" }
https://api.github.com/repos/pandas-dev/pandas/issues/3478
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3478/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3478/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3478/events
https://github.com/pandas-dev/pandas/issues/3478
13,746,996
MDU6SXNzdWUxMzc0Njk5Ng==
3,478
DataFrame constructor raises exception with masked recarray
{ "avatar_url": "https://avatars.githubusercontent.com/u/78827?v=4", "events_url": "https://api.github.com/users/jnothman/events{/privacy}", "followers_url": "https://api.github.com/users/jnothman/followers", "following_url": "https://api.github.com/users/jnothman/following{/other_user}", "gists_url": "https://api.github.com/users/jnothman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnothman", "id": 78827, "login": "jnothman", "node_id": "MDQ6VXNlcjc4ODI3", "organizations_url": "https://api.github.com/users/jnothman/orgs", "received_events_url": "https://api.github.com/users/jnothman/received_events", "repos_url": "https://api.github.com/users/jnothman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnothman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnothman/subscriptions", "type": "User", "url": "https://api.github.com/users/jnothman" }
[ { "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
6
"2013-04-29T05:50:47Z"
"2013-09-14T20:34:53Z"
"2013-09-14T20:34:53Z"
CONTRIBUTOR
null
The `DataFrame` constructor supports numpy's ndarray of primitive type, recarray (or structured array) or a masked array of simple type. It breaks when given a masked recarray: ``` python >>> a = np.ma.mrecords.fromrecords([(1,2)], names=['a', 'b'], mask=False) >>> pandas.DataFrame(a) ... TypeError: cannot perform reduce with flexible type ``` Tested at latest public release and HEAD.
{ "+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/3478/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3478/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3479
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3479/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3479/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3479/events
https://github.com/pandas-dev/pandas/pull/3479
13,747,127
MDExOlB1bGxSZXF1ZXN0NTQxNzg5MA==
3,479
Support mrecarrays in DataFrame constructor
{ "avatar_url": "https://avatars.githubusercontent.com/u/78827?v=4", "events_url": "https://api.github.com/users/jnothman/events{/privacy}", "followers_url": "https://api.github.com/users/jnothman/followers", "following_url": "https://api.github.com/users/jnothman/following{/other_user}", "gists_url": "https://api.github.com/users/jnothman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnothman", "id": 78827, "login": "jnothman", "node_id": "MDQ6VXNlcjc4ODI3", "organizations_url": "https://api.github.com/users/jnothman/orgs", "received_events_url": "https://api.github.com/users/jnothman/received_events", "repos_url": "https://api.github.com/users/jnothman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnothman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnothman/subscriptions", "type": "User", "url": "https://api.github.com/users/jnothman" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
9
"2013-04-29T06:00:17Z"
"2014-07-17T09:17:17Z"
"2013-09-13T21:39:53Z"
CONTRIBUTOR
null
This is intended as a fix for #3478. ~~Sorry I do not have the time to write rigorous 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/3479/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3479/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3479.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3479", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3479.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3479" }
https://api.github.com/repos/pandas-dev/pandas/issues/3480
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3480/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3480/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3480/events
https://github.com/pandas-dev/pandas/issues/3480
13,755,393
MDU6SXNzdWUxMzc1NTM5Mw==
3,480
An apply on a DataFrame along axis=1 breaks aggregations on groupby's of that DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/4290278?v=4", "events_url": "https://api.github.com/users/gkoller/events{/privacy}", "followers_url": "https://api.github.com/users/gkoller/followers", "following_url": "https://api.github.com/users/gkoller/following{/other_user}", "gists_url": "https://api.github.com/users/gkoller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gkoller", "id": 4290278, "login": "gkoller", "node_id": "MDQ6VXNlcjQyOTAyNzg=", "organizations_url": "https://api.github.com/users/gkoller/orgs", "received_events_url": "https://api.github.com/users/gkoller/received_events", "repos_url": "https://api.github.com/users/gkoller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gkoller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gkoller/subscriptions", "type": "User", "url": "https://api.github.com/users/gkoller" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
"2013-04-29T11:18:59Z"
"2013-05-01T14:27:20Z"
"2013-05-01T14:27:20Z"
NONE
null
This seems to be a regression from 0.10.1 to 0.11.0 This works: ``` python from pandas import DataFrame df = DataFrame({'foo1' : ['one', 'two', 'two', 'three', 'one', 'two'], 'foo2' : np.random.randn(6)}) grouped = df.groupby('foo1') grouped.agg(['mean']) ``` This does not (notice the apply): ``` python from pandas import DataFrame df = DataFrame({'foo1' : ['one', 'two', 'two', 'three', 'one', 'two'], 'foo2' : np.random.randn(6)}) df = df.apply(lambda x: x, axis=1) grouped = df.groupby('foo1') grouped.agg(['mean']) ``` The error raised is: ``` python --------------------------------------------------------------------------- Exception Traceback (most recent call last) <ipython-input-47-4df234603be2> in <module>() ----> 1 grouped.agg(['mean']) /Users/gkoller/.virtualenvs/abo/lib/python2.6/site-packages/pandas/core/groupby.pyc in agg(self, func, *args, **kwargs) 336 @Appender(_agg_doc) 337 def agg(self, func, *args, **kwargs): --> 338 return self.aggregate(func, *args, **kwargs) 339 340 def _iterate_slices(self): /Users/gkoller/.virtualenvs/abo/lib/python2.6/site-packages/pandas/core/groupby.pyc in aggregate(self, arg, *args, **kwargs) 1688 result = DataFrame(result) 1689 elif isinstance(arg, list): -> 1690 return self._aggregate_multiple_funcs(arg) 1691 else: 1692 cyfunc = _intercept_cython(arg) /Users/gkoller/.virtualenvs/abo/lib/python2.6/site-packages/pandas/core/groupby.pyc in _aggregate_multiple_funcs(self, arg) 1736 except SpecificationError: 1737 raise -> 1738 result = concat(results, keys=keys, axis=1) 1739 1740 return result /Users/gkoller/.virtualenvs/abo/lib/python2.6/site-packages/pandas/tools/merge.pyc in concat(objs, axis, join, join_axes, ignore_index, keys, levels, names, verify_integrity) 870 ignore_index=ignore_index, join=join, 871 keys=keys, levels=levels, names=names, --> 872 verify_integrity=verify_integrity) 873 return op.get_result() 874 /Users/gkoller/.virtualenvs/abo/lib/python2.6/site-packages/pandas/tools/merge.pyc in __init__(self, objs, axis, join, join_axes, keys, levels, names, ignore_index, verify_integrity) 911 912 if len(objs) == 0: --> 913 raise Exception('All objects passed were None') 914 915 # consolidate data Exception: All objects passed were None ```
{ "+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/3480/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3480/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3481
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3481/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3481/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3481/events
https://github.com/pandas-dev/pandas/issues/3481
13,757,996
MDU6SXNzdWUxMzc1Nzk5Ng==
3,481
Raise more helpful exception when concat() wrongly called as concat(obj1,obj2)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1179309?v=4", "events_url": "https://api.github.com/users/smcinerney/events{/privacy}", "followers_url": "https://api.github.com/users/smcinerney/followers", "following_url": "https://api.github.com/users/smcinerney/following{/other_user}", "gists_url": "https://api.github.com/users/smcinerney/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smcinerney", "id": 1179309, "login": "smcinerney", "node_id": "MDQ6VXNlcjExNzkzMDk=", "organizations_url": "https://api.github.com/users/smcinerney/orgs", "received_events_url": "https://api.github.com/users/smcinerney/received_events", "repos_url": "https://api.github.com/users/smcinerney/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smcinerney/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smcinerney/subscriptions", "type": "User", "url": "https://api.github.com/users/smcinerney" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-04-29T12:38:49Z"
"2013-05-10T10:43:31Z"
"2013-05-10T10:43:31Z"
NONE
null
concat is supposed to be called with objs = a list or dict. Not multiple objects as as separate args. RIGHT: concat([df1,df2]) WRONG: concat(df1,df2) The exception thrown in the latter case is seriously cryptic. --- df1 = pd.DataFrame(randn(5,3), columns=['a','b','c']) df2 = pd.DataFrame(randn(5,3), columns=['a','b','c']) pd.concat(df1,df2) ... File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/frame.py", line 587, in **nonzero** raise ValueError("Cannot call bool() on DataFrame.") ## ValueError: Cannot call bool() on DataFrame. Version: 0.10.1
{ "+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/3481/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3481/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3482
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3482/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3482/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3482/events
https://github.com/pandas-dev/pandas/pull/3482
13,763,019
MDExOlB1bGxSZXF1ZXN0NTQyNTU2OQ==
3,482
CLN: series to now inherit from NDFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
70
"2013-04-29T14:37:35Z"
"2014-06-12T18:13:47Z"
"2013-08-16T19:27:02Z"
CONTRIBUTOR
null
Major refactor primarily to make Series inherit from NDFrame affects #4080, #3862, #816, #3217, #3386, #4463, #4204, #4118 , #4555 Preserves pickle compat very few tests were changed (and only for compat on return objects) a few performance enhancements, a couple of regressions (see bottom) _obviously this is a large change in terms of the codebase, but it brings more consistency between series/frame/panel (not all of this is there yet, but future changes are much easier)_ _Series is now like Frame in that it has a BlockManager (called SingleBlockManager), which holds a block (of any type we support). This introduced some overhead in doing certain operations, which I spent a lot of time optimizing away, further optimizations will come from cythonizing the core/internals, which should be straightforward at this point_ Highlites below: In 0.13.0 there is a major refactor primarily to subclass `Series` from `NDFrame`, which is the base class currently for `DataFrame` and `Panel`, to unify methods and behaviors. Series formerly subclassed directly from `ndarray`. - Refactor of series.py/frame.py/panel.py to move common code to generic.py - added `_setup_axes` to created generic NDFrame structures - moved methods - `from_axes,_wrap_array,axes,ix,shape,empty,swapaxes,transpose,pop` - `__iter__,keys,__contains__,__len__,__neg__,__invert__` - `convert_objects,as_blocks,as_matrix,values` - `__getstate__,__setstate__` (though compat remains in frame/panel) - `__getattr__,__setattr__` - `_indexed_same,reindex_like,align,where,mask,replace` - `filter` (also added axis argument to selectively filter on a different axis) - `reindex,reindex_axis` (which was the biggest change to make generic) - `truncate` (moved to become part of `NDFrame`) - These are API changes which make `Panel` more consistent with `DataFrame` - swapaxes on a Panel with the same axes specified now return a copy - support attribute access for setting - filter supports same api as original `DataFrame` filter - Reindex called with no arguments will now return a copy of the input object - Series now inherits from `NDFrame` rather than directly from `ndarray`. There are several minor changes that affect the API. - numpy functions that do not support the array interface will now return `ndarrays` rather than series, e.g. `np.diff` and `np.where` - `Series(0.5)` would previously return the scalar `0.5`, this is no longer supported - several methods from frame/series have moved to `NDFrame` (convert_objects,where,mask) - `TimeSeries` is now an alias for `Series`. the property `is_time_series` can be used to distinguish (if desired) - Refactor of Sparse objects to use BlockManager - Created a new block type in internals, `SparseBlock`, which can hold multi-dtypes and is non-consolidatable. `SparseSeries` and `SparseDataFrame` now inherit more methods from there hierarchy (Series/DataFrame), and no longer inherit from `SparseArray` (which instead is the object of the `SparseBlock`) - Sparse suite now supports integration with non-sparse data. Non-float sparse data is supportable (partially implemented) - Operations on sparse structures within DataFrames should preserve sparseness, merging type operations will convert to dense (and back to sparse), so might be somewhat inefficient - enable setitem on `SparseSeries` for boolean/integer/slices - `SparsePanels` implementation is unchanged (e.g. not using BlockManager, needs work) - added `ftypes` method to Series/DataFame, similar to `dtypes`, but indicates if the underlying is sparse/dense (as well as the dtype) - All `NDFrame` objects now have a `_prop_attributes`, which can be used to indcated various values to propogate to a new object from an existing (e.g. name in `Series` will follow more automatically now) Perf changed a bit primarily in groupby where a Series has to be reconstructed in order to be passed to the function (in some cases). I basically pass a Series-like class to the grouped function to see if it doesn't raise, if its ok, then it is used rather than a full Series in order to reduce overhead of the Series creation for each group. ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- groupby_multi_python | 109.3636 | 78.3370 | 1.3961 | frame_iteritems | 3.4664 | 2.0154 | 1.7200 | frame_fancy_lookup | 3.3991 | 1.6137 | 2.1064 | sparse_frame_constructor | 11.7100 | 5.3363 | 2.1944 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- Target [c5d9495] : BUG: fix ujson handling of new series object Base [1b91f4f] : BUG: Fixed non-unique indexing memory allocation issue with .ix/.loc (GH4280) ```
{ "+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/3482/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3482/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3482.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3482", "merged_at": "2013-08-16T19:27:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3482.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3482" }
https://api.github.com/repos/pandas-dev/pandas/issues/3483
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3483/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3483/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3483/events
https://github.com/pandas-dev/pandas/pull/3483
13,767,644
MDExOlB1bGxSZXF1ZXN0NTQyNzkwMQ==
3,483
BUG: GH3468 Fix assigning a new index to a duplicate index in a DataFrame would fail
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
15
"2013-04-29T16:06:30Z"
"2014-06-12T15:57:23Z"
"2013-05-02T01:15:09Z"
CONTRIBUTOR
null
partially fixes #3468 This would previously raise (same dtype assignment to a non-multi dtype frame with dup indicies) ``` In [6]: df = DataFrame([[1,2]], columns=['a','a']) In [7]: df.columns = ['a','a.1'] In [8]: df Out[8]: a a.1 0 1 2 ``` construction of a multi-dtype frame with a dup index (#2194) is fixed ``` In [1]: DataFrame([[1,2,1.,2.,3.,'foo','bar']], columns=list('aaaaaaa')) Out[1]: a a a a a a a 0 1 2 3 1 2 foo bar ``` This was also previously would raise ``` In [2]: %cpaste Pasting code; enter '--' alone on the line to stop or use Ctrl-D. : df_float = DataFrame(np.random.randn(10, 3),dtype='float64') : df_int = DataFrame(np.random.randn(10, 3),dtype='int64') : df_bool = DataFrame(True,index=df_float.index,columns=df_float.columns) : df_object = DataFrame('foo',index=df_float.index,columns=df_float.columns) : df_dt = DataFrame(Timestamp('20010101'),index=df_float.index,columns=df_float.columns) : df = pan.concat([ df_float, df_int, df_bool, df_object, df_dt ], axis=1) :-- In [3]: df Out[3]: 0 1 2 0 1 \ 0 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 1 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 2 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 3 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 4 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 5 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 6 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 7 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 8 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 9 True True True 2001-01-01 00:00:00 2001-01-01 00:00:00 2 0 1 2 0 1 2 0 1 2 0 2001-01-01 00:00:00 foo foo foo 0 0 0 0.431857 -0.131747 -1.039563 1 2001-01-01 00:00:00 foo foo foo 0 0 -1 0.516910 -0.683163 0.736468 2 2001-01-01 00:00:00 foo foo foo 0 0 0 -0.147417 -0.305452 0.006213 3 2001-01-01 00:00:00 foo foo foo 0 -1 0 1.443031 0.082710 -0.335054 4 2001-01-01 00:00:00 foo foo foo 1 0 0 -1.349293 0.645316 0.305524 5 2001-01-01 00:00:00 foo foo foo -1 0 0 0.571095 0.756571 -0.773880 6 2001-01-01 00:00:00 foo foo foo 0 0 0 -0.285091 1.196018 0.882786 7 2001-01-01 00:00:00 foo foo foo 2 0 0 0.003610 0.549072 -0.823217 8 2001-01-01 00:00:00 foo foo foo -1 1 0 -0.348279 -0.728958 -0.397435 9 2001-01-01 00:00:00 foo foo foo -1 0 0 0.363489 2.154132 0.494673 ``` For those of you interested.....here is the new ref_loc indexer for duplicate columns its by necessity a block oriented indexer, returns the column map (by column number) to a tuple of the block and the index in the block, only created when needed (e.g. when trying to get a column via iget and the index is non-unique, and the results are cached), this is #3092 ``` In [1]: df = pd.DataFrame(np.random.randn(8,4),columns=['a']*4) In [2]: df._data.blocks Out[2]: [FloatBlock: [a, a, a, a], 4 x 8, dtype float64] In [3]: df._data.blocks[0]._ref_locs In [4]: df._data.set_ref_locs() Out[4]: array([(FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 0), (FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 1), (FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 2), (FloatBlock: [a, a, a, a], 4 x 8, dtype float64, 3)], dtype=object) ``` Fixed the #2786, #3230 bug that caused applymap to not work (we temp worked around by raising a ValueError; removed that check) ``` n [3]: In [3]: df = pd.DataFrame(np.random.random((3,4))) In [4]: In [4]: cols = pd.Index(['a','a','a','a']) In [5]: In [5]: df.columns = cols In [6]: In [6]: df.applymap(str) Out[6]: a a a a 0 0.494204195164 0.534601503195 0.471870025143 0.880092879641 1 0.860369768954 0.0472931994392 0.775532754792 0.822046777859 2 0.478775855962 0.623584943227 0.932012693593 0.739502590395 ```
{ "+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/3483/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3483/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3483.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3483", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3483.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3483" }
https://api.github.com/repos/pandas-dev/pandas/issues/3484
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3484/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3484/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3484/events
https://github.com/pandas-dev/pandas/issues/3484
13,768,532
MDU6SXNzdWUxMzc2ODUzMg==
3,484
Trellis plot: wrong encoding by shape (rplot.scaleshape)
{ "avatar_url": "https://avatars.githubusercontent.com/u/2648874?v=4", "events_url": "https://api.github.com/users/dalito/events{/privacy}", "followers_url": "https://api.github.com/users/dalito/followers", "following_url": "https://api.github.com/users/dalito/following{/other_user}", "gists_url": "https://api.github.com/users/dalito/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dalito", "id": 2648874, "login": "dalito", "node_id": "MDQ6VXNlcjI2NDg4NzQ=", "organizations_url": "https://api.github.com/users/dalito/orgs", "received_events_url": "https://api.github.com/users/dalito/received_events", "repos_url": "https://api.github.com/users/dalito/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dalito/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dalito/subscriptions", "type": "User", "url": "https://api.github.com/users/dalito" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
null
3
"2013-04-29T16:25:38Z"
"2015-01-26T00:57:32Z"
"2015-01-26T00:56:17Z"
NONE
null
The trellis plot shown in the documentation (http://pandas.pydata.org/pandas-docs/stable/_images/rplot7_tips.png) that uses ScaleShape to encode the data column "size" by shape shows a bug: The same shape is used for "Sun, 5" and "Sun, 6" although they should have different shapes. Also "Thur, 4" and "Thur, 5" have the same shape (not visible in linked image). The image also shows that gridlines are not correcly drawn on all panels.
{ "+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/3484/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3484/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3485
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3485/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3485/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3485/events
https://github.com/pandas-dev/pandas/issues/3485
13,769,557
MDU6SXNzdWUxMzc2OTU1Nw==
3,485
startswith function gives misleading results when passed a series
{ "avatar_url": "https://avatars.githubusercontent.com/u/2766856?v=4", "events_url": "https://api.github.com/users/darindillon/events{/privacy}", "followers_url": "https://api.github.com/users/darindillon/followers", "following_url": "https://api.github.com/users/darindillon/following{/other_user}", "gists_url": "https://api.github.com/users/darindillon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/darindillon", "id": 2766856, "login": "darindillon", "node_id": "MDQ6VXNlcjI3NjY4NTY=", "organizations_url": "https://api.github.com/users/darindillon/orgs", "received_events_url": "https://api.github.com/users/darindillon/received_events", "repos_url": "https://api.github.com/users/darindillon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/darindillon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darindillon/subscriptions", "type": "User", "url": "https://api.github.com/users/darindillon" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
open
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" }
11
"2013-04-29T16:48:27Z"
"2020-05-03T19:48:28Z"
null
NONE
null
Using pandas 0.10.1. I think this is probably "working correctly as designed", but the design seems non-obvious and there's not much documentation on this. The Series object has a vectorized .str.startswith() method which works when you give it a constant string. But if you give it a series instead of a string, it "works" (in the sense of returning data) but that data is not what you'd expect. It appears the function was simply not designed to handle being passed a series, which is OK, but passing a series seems like a logicial thing to do, so can we at least make the function return an error rather than misleading data, so people don't get confused? I had to spent a half hour debugging to figure out why this wasn't working as I expected. # I want to select the rows where column 'two' starts with the string in column 'one' d = pandas.DataFrame([['hi,hi 2'],['bye','bye 2']], columns=['one','two']) d.two.str.startswith(d.one) #Returns false for everything, but you'd expect it to be true The startswith function doesn't handle Series. Ideally, we should change it so it does handle series. But if that's too much work, can we at least have it return "series is not supported, pass a constant string instead" error?
{ "+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/3485/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3485/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3486
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3486/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3486/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3486/events
https://github.com/pandas-dev/pandas/issues/3486
13,771,776
MDU6SXNzdWUxMzc3MTc3Ng==
3,486
single column DF plot, color problem
{ "avatar_url": "https://avatars.githubusercontent.com/u/2299446?v=4", "events_url": "https://api.github.com/users/httassadar/events{/privacy}", "followers_url": "https://api.github.com/users/httassadar/followers", "following_url": "https://api.github.com/users/httassadar/following{/other_user}", "gists_url": "https://api.github.com/users/httassadar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/httassadar", "id": 2299446, "login": "httassadar", "node_id": "MDQ6VXNlcjIyOTk0NDY=", "organizations_url": "https://api.github.com/users/httassadar/orgs", "received_events_url": "https://api.github.com/users/httassadar/received_events", "repos_url": "https://api.github.com/users/httassadar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/httassadar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/httassadar/subscriptions", "type": "User", "url": "https://api.github.com/users/httassadar" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": "2017-06-07T21:25:14Z", "closed_issues": 117, "created_at": "2017-05-05T11:47:57Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2017-06-06T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/50", "id": 2502169, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/50/labels", "node_id": "MDk6TWlsZXN0b25lMjUwMjE2OQ==", "number": 50, "open_issues": 0, "state": "closed", "title": "0.20.2", "updated_at": "2017-06-08T11:19:35Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/50" }
3
"2013-04-29T17:38:53Z"
"2017-05-14T10:33:54Z"
"2017-05-11T16:07:28Z"
NONE
null
``` import pylab import pandas.util.testing as put df = put.makeTimeDataFrame() pylab.figure() df[ ['A'] ].plot(color = ['r']) pylab.savefig('C:/tmp.png') ``` will give an error ``` raise ValueError('to_rgba: Invalid rgba arg "%s"\n%s' % (str(arg), exc)) ValueError: to_rgba: Invalid rgba arg "['r']" ``` All you need to do is to de-list the color parameter ``` df[ ['A'] ].plot(color = 'r') ``` No problem if df is more than one columns. ``` df.plot(color = ['r','k']) ```
{ "+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/3486/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3486/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3487
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3487/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3487/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3487/events
https://github.com/pandas-dev/pandas/issues/3487
13,774,790
MDU6SXNzdWUxMzc3NDc5MA==
3,487
Can't handle duplicate column names in sql read
{ "avatar_url": "https://avatars.githubusercontent.com/u/2766856?v=4", "events_url": "https://api.github.com/users/darindillon/events{/privacy}", "followers_url": "https://api.github.com/users/darindillon/followers", "following_url": "https://api.github.com/users/darindillon/following{/other_user}", "gists_url": "https://api.github.com/users/darindillon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/darindillon", "id": 2766856, "login": "darindillon", "node_id": "MDQ6VXNlcjI3NjY4NTY=", "organizations_url": "https://api.github.com/users/darindillon/orgs", "received_events_url": "https://api.github.com/users/darindillon/received_events", "repos_url": "https://api.github.com/users/darindillon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/darindillon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/darindillon/subscriptions", "type": "User", "url": "https://api.github.com/users/darindillon" }
[ { "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
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "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": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
9
"2013-04-29T18:43:51Z"
"2013-05-10T16:38:13Z"
"2013-05-10T16:38:13Z"
NONE
null
Possibly related to #3468 Using pandas 0.10.1. It's legal for sql (at least Sql Server) to have queries that return two columns with the same name. And it's legal for pandas to have dataframes that have two columns with the same name. But pandas gives a very misleading error message when you try it with read_frame: # Query that has 2 columns with the same name: sql = "select 1 as whatever, 2 as name, 3 as name where 1=0" pos = pandas.io.sql.read_frame(sql, dbconn) # That gives very misleading error message
{ "+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/3487/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3487/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3488
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3488/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3488/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3488/events
https://github.com/pandas-dev/pandas/issues/3488
13,789,775
MDU6SXNzdWUxMzc4OTc3NQ==
3,488
Index get_loc() to accept list of labels
{ "avatar_url": "https://avatars.githubusercontent.com/u/1179309?v=4", "events_url": "https://api.github.com/users/smcinerney/events{/privacy}", "followers_url": "https://api.github.com/users/smcinerney/followers", "following_url": "https://api.github.com/users/smcinerney/following{/other_user}", "gists_url": "https://api.github.com/users/smcinerney/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smcinerney", "id": 1179309, "login": "smcinerney", "node_id": "MDQ6VXNlcjExNzkzMDk=", "organizations_url": "https://api.github.com/users/smcinerney/orgs", "received_events_url": "https://api.github.com/users/smcinerney/received_events", "repos_url": "https://api.github.com/users/smcinerney/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smcinerney/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smcinerney/subscriptions", "type": "User", "url": "https://api.github.com/users/smcinerney" }
[]
closed
false
null
[]
null
8
"2013-04-30T02:10:45Z"
"2013-05-02T19:13:51Z"
"2013-05-02T19:13:51Z"
NONE
null
Index get_loc(key_list) would be a nice enhance. Returning a list.
{ "+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/3488/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3488/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3489
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3489/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3489/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3489/events
https://github.com/pandas-dev/pandas/issues/3489
13,790,554
MDU6SXNzdWUxMzc5MDU1NA==
3,489
version 0.11 issues with to_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/4016707?v=4", "events_url": "https://api.github.com/users/jerryzhujian9/events{/privacy}", "followers_url": "https://api.github.com/users/jerryzhujian9/followers", "following_url": "https://api.github.com/users/jerryzhujian9/following{/other_user}", "gists_url": "https://api.github.com/users/jerryzhujian9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jerryzhujian9", "id": 4016707, "login": "jerryzhujian9", "node_id": "MDQ6VXNlcjQwMTY3MDc=", "organizations_url": "https://api.github.com/users/jerryzhujian9/orgs", "received_events_url": "https://api.github.com/users/jerryzhujian9/received_events", "repos_url": "https://api.github.com/users/jerryzhujian9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jerryzhujian9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jerryzhujian9/subscriptions", "type": "User", "url": "https://api.github.com/users/jerryzhujian9" }
[ { "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
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
"2013-04-30T03:01:04Z"
"2013-05-10T10:09:08Z"
"2013-05-10T10:09:08Z"
NONE
null
It looks like that some changes were made to the DataFrame.to_csv method, as mentioned in the what's new document. Today I found two issues with the updated to_csv: 1) I have an int column, when I use floatformat parameter, the int are changed to float 2) cols parameter simply changes the name of columns, it does not reorder the data in a whole column. Thanks for your hard working. Hope we can make pandas less buggy and more powerful!
{ "+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/3489/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3489/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3490
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3490/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3490/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3490/events
https://github.com/pandas-dev/pandas/issues/3490
13,793,396
MDU6SXNzdWUxMzc5MzM5Ng==
3,490
xaxis limits change when plotting time series of different resolution as secondary_y
{ "avatar_url": "https://avatars.githubusercontent.com/u/1622906?v=4", "events_url": "https://api.github.com/users/bmu/events{/privacy}", "followers_url": "https://api.github.com/users/bmu/followers", "following_url": "https://api.github.com/users/bmu/following{/other_user}", "gists_url": "https://api.github.com/users/bmu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bmu", "id": 1622906, "login": "bmu", "node_id": "MDQ6VXNlcjE2MjI5MDY=", "organizations_url": "https://api.github.com/users/bmu/orgs", "received_events_url": "https://api.github.com/users/bmu/received_events", "repos_url": "https://api.github.com/users/bmu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bmu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bmu/subscriptions", "type": "User", "url": "https://api.github.com/users/bmu" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
3
"2013-04-30T06:03:31Z"
"2014-07-01T23:59:35Z"
"2014-07-01T23:59:35Z"
NONE
null
``` python In [1]: N = 10000 In [2]: rng = pd.date_range('1/1/2000', periods=N, freq='min') In [3]: ts = pd.Series(np.random.randn(N), index=rng) In [4]: ax = ts.plot() In [5]: ax.get_xlim() Out[5]: (15778080.0, 15788079.0) In [6]: ts.resample('D').plot(style='ro', ax=ax) Out[6]: <matplotlib.axes.AxesSubplot at 0x4482c50> In [7]: ax.get_xlim() Out[7]: (15778080.0, 15788079.0) In [8]: ts.resample('D').plot(style='ro', secondary_y=True, ax=ax) Out[8]: <matplotlib.axes.AxesSubplot at 0x497e450> In [9]: ax.get_xlim() Out[9]: (10957.0, 10963.0) ``` As the xlim changes, the original data is not visible any more. Could be related to #2185
{ "+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/3490/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3490/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3491
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3491/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3491/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3491/events
https://github.com/pandas-dev/pandas/pull/3491
13,796,890
MDExOlB1bGxSZXF1ZXN0NTQ0MzUxNg==
3,491
Failing Unit Test and Patch for Fixing MonthEnd DateRange Unions with Timezones
{ "avatar_url": "https://avatars.githubusercontent.com/u/1234915?v=4", "events_url": "https://api.github.com/users/kevinastone/events{/privacy}", "followers_url": "https://api.github.com/users/kevinastone/followers", "following_url": "https://api.github.com/users/kevinastone/following{/other_user}", "gists_url": "https://api.github.com/users/kevinastone/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kevinastone", "id": 1234915, "login": "kevinastone", "node_id": "MDQ6VXNlcjEyMzQ5MTU=", "organizations_url": "https://api.github.com/users/kevinastone/orgs", "received_events_url": "https://api.github.com/users/kevinastone/received_events", "repos_url": "https://api.github.com/users/kevinastone/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kevinastone/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kevinastone/subscriptions", "type": "User", "url": "https://api.github.com/users/kevinastone" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-30T08:35:55Z"
"2014-06-25T20:51:29Z"
"2013-05-05T10:53:33Z"
CONTRIBUTOR
null
This patch preserves the timezone information when applying an offset to `DatetimeIndex` with a timezone applied. The `MonthEnd` Offset wasn't retaining the timezone information resulting in an error even when both indexes had timezones. ``` 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/3491/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3491/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3491.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3491", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3491.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3491" }
https://api.github.com/repos/pandas-dev/pandas/issues/3492
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3492/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3492/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3492/events
https://github.com/pandas-dev/pandas/issues/3492
13,807,222
MDU6SXNzdWUxMzgwNzIyMg==
3,492
assignment in mixed-type dataframes not working?
{ "avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4", "events_url": "https://api.github.com/users/CRP/events{/privacy}", "followers_url": "https://api.github.com/users/CRP/followers", "following_url": "https://api.github.com/users/CRP/following{/other_user}", "gists_url": "https://api.github.com/users/CRP/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/CRP", "id": 807824, "login": "CRP", "node_id": "MDQ6VXNlcjgwNzgyNA==", "organizations_url": "https://api.github.com/users/CRP/orgs", "received_events_url": "https://api.github.com/users/CRP/received_events", "repos_url": "https://api.github.com/users/CRP/repos", "site_admin": false, "starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/CRP/subscriptions", "type": "User", "url": "https://api.github.com/users/CRP" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
8
"2013-04-30T13:51:51Z"
"2013-05-27T20:34:28Z"
"2013-05-07T17:34:46Z"
CONTRIBUTOR
null
``` from pandas import DataFrame df=DataFrame({'a':{1:'aaa',2:'bbb',3:'ccc'},'b':{1:111,2:222,3:333}}) #this works, new column is created correctly df['test']=df['a'].apply(lambda x: '_' if x=='aaa' else x) #this does not work, ie column test is not changed idx=df['test']=='_' temp=df.ix[idx,'a'].apply(lambda x: '-----' if x=='aaa' else x) df.ix[idx,'test']=temp #this works, column b is changed temp=df.ix[idx,'a'].apply(lambda x: 99999 if x=='aaa' else x) df.ix[idx,'b']=temp #this does not work temp=df.ix[idx,'a'].apply(lambda x: 'zzzzzz' if x=='aaa' else x) df.ix[idx,'a']=temp ``` code works correctly on 0.9, not on 0.11
{ "+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/3492/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3492/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3493
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3493/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3493/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3493/events
https://github.com/pandas-dev/pandas/issues/3493
13,817,509
MDU6SXNzdWUxMzgxNzUwOQ==
3,493
Cannot append DataFrames with uint dtypes to HDFStore
{ "avatar_url": "https://avatars.githubusercontent.com/u/2028490?v=4", "events_url": "https://api.github.com/users/jmellen/events{/privacy}", "followers_url": "https://api.github.com/users/jmellen/followers", "following_url": "https://api.github.com/users/jmellen/following{/other_user}", "gists_url": "https://api.github.com/users/jmellen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmellen", "id": 2028490, "login": "jmellen", "node_id": "MDQ6VXNlcjIwMjg0OTA=", "organizations_url": "https://api.github.com/users/jmellen/orgs", "received_events_url": "https://api.github.com/users/jmellen/received_events", "repos_url": "https://api.github.com/users/jmellen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmellen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmellen/subscriptions", "type": "User", "url": "https://api.github.com/users/jmellen" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
"2013-04-30T17:29:01Z"
"2013-05-01T16:31:25Z"
"2013-05-01T16:31:25Z"
CONTRIBUTOR
null
Trying to store DataFrames with unsigned integer dtypes in HDFStore fails due to a bug in the `get_atom_data` methods of the `DataCol` and `DataIndexableCol` classes in `pandas.io.pytables`. These methods use Python's `capitalize` method to map dtypes to PyTables column types, and fail because PyTables' unsigned int classes start with two capital letters (e.g., UInt32Col). This error occurs on 0.11 and the current master: ``` python import pandas as pd import numpy as np uint8_series = pd.Series(np.random.random_integers(0,high=255,size=5), dtype=np.uint8) udf = pd.DataFrame({'u08': uint8_series}, index=np.arange(5)) store = pd.HDFStore('uint.h5') # this invocation will throw an error in pandas 0.11 and current master store.append('uints', udf) ``` I have a commit + test on my fork that fixes this, just needed to submit the bug here first to have the right commit message on my fork, per contribution standards. First time committer.
{ "+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/3493/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3493/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3494
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3494/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3494/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3494/events
https://github.com/pandas-dev/pandas/pull/3494
13,818,723
MDExOlB1bGxSZXF1ZXN0NTQ1NTA3NA==
3,494
BUG: GH3493 fix Cannot append DataFrames with uint dtypes to HDFStore
{ "avatar_url": "https://avatars.githubusercontent.com/u/2028490?v=4", "events_url": "https://api.github.com/users/jmellen/events{/privacy}", "followers_url": "https://api.github.com/users/jmellen/followers", "following_url": "https://api.github.com/users/jmellen/following{/other_user}", "gists_url": "https://api.github.com/users/jmellen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmellen", "id": 2028490, "login": "jmellen", "node_id": "MDQ6VXNlcjIwMjg0OTA=", "organizations_url": "https://api.github.com/users/jmellen/orgs", "received_events_url": "https://api.github.com/users/jmellen/received_events", "repos_url": "https://api.github.com/users/jmellen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmellen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmellen/subscriptions", "type": "User", "url": "https://api.github.com/users/jmellen" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
"2013-04-30T17:56:04Z"
"2014-07-02T10:29:10Z"
"2013-05-01T16:29:09Z"
CONTRIBUTOR
null
Fix for self-reported uint bug in HDFStore. #3493 Travis results (pass): https://travis-ci.org/jmellen/pandas/builds/6764554
{ "+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/3494/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3494/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3494.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3494", "merged_at": "2013-05-01T16:29:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3494.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3494" }
https://api.github.com/repos/pandas-dev/pandas/issues/3495
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3495/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3495/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3495/events
https://github.com/pandas-dev/pandas/issues/3495
13,819,974
MDU6SXNzdWUxMzgxOTk3NA==
3,495
BUG: fix to_csv to work with dup column indices
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
1
"2013-04-30T18:20:28Z"
"2013-05-02T14:54:00Z"
"2013-05-02T14:54:00Z"
CONTRIBUTOR
null
continuation of #3095 this will work after #3483
{ "+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/3495/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3495/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3496
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3496/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3496/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3496/events
https://github.com/pandas-dev/pandas/pull/3496
13,823,971
MDExOlB1bGxSZXF1ZXN0NTQ1Nzc4MQ==
3,496
BUG: GH3416 properly convert np.datetime64 objects in the _possibily_convert_datetimes
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
null
1
"2013-04-30T19:51:34Z"
"2014-06-29T16:39:27Z"
"2013-04-30T20:22:09Z"
CONTRIBUTOR
null
closes #3416
{ "+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/3496/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3496/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3496.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3496", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3496.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3496" }
https://api.github.com/repos/pandas-dev/pandas/issues/3497
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3497/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3497/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3497/events
https://github.com/pandas-dev/pandas/issues/3497
13,825,443
MDU6SXNzdWUxMzgyNTQ0Mw==
3,497
VIS: Pandas imshow-like function
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
6
"2013-04-30T20:26:07Z"
"2018-02-15T08:30:11Z"
"2014-02-21T04:39:15Z"
MEMBER
null
matplotlib's `imshow` is pretty unawesome for DataFrames. For example, to label the axes one must do all sorts of tricks with the formatting API. Pandas provides great indexing/labeling capabilities. I propose a function similar to `imshow` that uses the information in a DataFrame to correctly label the axes. The API could be passing `kind='image'` to `DataFrame.plot`.
{ "+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/3497/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3497/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3498
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3498/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3498/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3498/events
https://github.com/pandas-dev/pandas/issues/3498
13,830,901
MDU6SXNzdWUxMzgzMDkwMQ==
3,498
Inconsistency between read_csv(... parse_dates) and read_csv followed by astype('datetime')
{ "avatar_url": "https://avatars.githubusercontent.com/u/1740780?v=4", "events_url": "https://api.github.com/users/toc-the-younger/events{/privacy}", "followers_url": "https://api.github.com/users/toc-the-younger/followers", "following_url": "https://api.github.com/users/toc-the-younger/following{/other_user}", "gists_url": "https://api.github.com/users/toc-the-younger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/toc-the-younger", "id": 1740780, "login": "toc-the-younger", "node_id": "MDQ6VXNlcjE3NDA3ODA=", "organizations_url": "https://api.github.com/users/toc-the-younger/orgs", "received_events_url": "https://api.github.com/users/toc-the-younger/received_events", "repos_url": "https://api.github.com/users/toc-the-younger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/toc-the-younger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/toc-the-younger/subscriptions", "type": "User", "url": "https://api.github.com/users/toc-the-younger" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
"2013-04-30T22:42:31Z"
"2016-07-04T12:41:34Z"
"2016-07-04T08:28:29Z"
CONTRIBUTOR
null
Write time-zones out in csv file Datetimes are written to csv in readable UTC. Using `pd.read_csv('file.csv', parse_dates=['date'])` expects UTC. `astype('datetime64')` expects readable dates (with no timezone specified) to be local (which also makes sense). But it leads to the following: ``` python import pandas as pd from StringIO import StringIO df = pd.DataFrame({'date' : [0]}) df['date'] = df.date.astype('datetime64[s]') print df.date[0] s = StringIO() df.to_csv(s) s = s.getvalue() print 'csv:' print s with_parse_dates = pd.read_csv(StringIO(s), parse_dates=['date']) print 'parse_date:', with_parse_dates.date[0] with_astype = pd.read_csv(StringIO(s)) with_astype.date = with_astype.date.astype('datetime64') print 'astype :', with_astype.date[0] with_astypeZ = pd.read_csv(StringIO(s)) with_astypeZ.date[0] += 'Z' with_astypeZ.date = with_astypeZ.date.astype('datetime64') print 'astype w/Z:', with_astypeZ.date[0] ``` output (for me): ``` 1970-01-01 00:00:00 csv: ,date 0,1970-01-01 00:00:00 parse_date: 1970-01-01 00:00:00 astype : 1970-01-01 08:00:00 astype w/Z: 1970-01-01 00:00:00 ``` Would be easily fixed by indicating UTC in the csv output, possibly with just the `'Z'` suffix.
{ "+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/3498/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3498/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3499
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3499/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3499/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3499/events
https://github.com/pandas-dev/pandas/issues/3499
13,833,835
MDU6SXNzdWUxMzgzMzgzNQ==
3,499
Loose frequency information when storing with table=True to HDF5
{ "avatar_url": "https://avatars.githubusercontent.com/u/538432?v=4", "events_url": "https://api.github.com/users/tobinvanpelt/events{/privacy}", "followers_url": "https://api.github.com/users/tobinvanpelt/followers", "following_url": "https://api.github.com/users/tobinvanpelt/following{/other_user}", "gists_url": "https://api.github.com/users/tobinvanpelt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tobinvanpelt", "id": 538432, "login": "tobinvanpelt", "node_id": "MDQ6VXNlcjUzODQzMg==", "organizations_url": "https://api.github.com/users/tobinvanpelt/orgs", "received_events_url": "https://api.github.com/users/tobinvanpelt/received_events", "repos_url": "https://api.github.com/users/tobinvanpelt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tobinvanpelt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tobinvanpelt/subscriptions", "type": "User", "url": "https://api.github.com/users/tobinvanpelt" }
[ { "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
"2013-05-01T00:33:19Z"
"2013-05-08T21:48:32Z"
"2013-05-08T21:48:32Z"
NONE
null
I have found what possibly is a bug. When storing data as HDF5 with `table=True` the read value of series.index.freq from HDF5 is set to None rather than its original values. Please see: http://stackoverflow.com/questions/16311045/in-pandas-why-is-frequency-information-lost-when-storing-in-hdf5-as-a-table Not sure if there is a limitation for some reason in PyTables or if this is a bug.
{ "+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/3499/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3499/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3500
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3500/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3500/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3500/events
https://github.com/pandas-dev/pandas/pull/3500
13,837,703
MDExOlB1bGxSZXF1ZXN0NTQ2NTMwNA==
3,500
My first PR ever. Adding documentation to Cookbook.
{ "avatar_url": "https://avatars.githubusercontent.com/u/4142358?v=4", "events_url": "https://api.github.com/users/conmai/events{/privacy}", "followers_url": "https://api.github.com/users/conmai/followers", "following_url": "https://api.github.com/users/conmai/following{/other_user}", "gists_url": "https://api.github.com/users/conmai/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/conmai", "id": 4142358, "login": "conmai", "node_id": "MDQ6VXNlcjQxNDIzNTg=", "organizations_url": "https://api.github.com/users/conmai/orgs", "received_events_url": "https://api.github.com/users/conmai/received_events", "repos_url": "https://api.github.com/users/conmai/repos", "site_admin": false, "starred_url": "https://api.github.com/users/conmai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/conmai/subscriptions", "type": "User", "url": "https://api.github.com/users/conmai" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
"2013-05-01T04:03:03Z"
"2013-05-10T18:02:59Z"
"2013-05-10T10:38:12Z"
NONE
null
Just adding some more description to Cookbook documentation per J. Reback's request. If I didn't mess up anything here, I will go through the rest of the items and add some description. Please let me know if I messed anything up.
{ "+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/3500/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3500/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3500.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3500", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3500.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3500" }