Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add column types #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

ihaque
Copy link
Contributor

@ihaque ihaque commented Nov 4, 2013

@gulopine

The real changes here follow 994d031 (the first two commits are just #1 and #3). This PR makes the following changes beyond those two:

  1. Add UnicodeColumn: it's like StringColumn, but emits Unicode (by default, UTF-8) when asked to output.
  2. Add FloatWithCommaSeparatorsColumn: like FloatColumn, but handles data in which there are comma thousands-separators inside numbers
  3. Adds BooleanColumn: mapping for columns holding true/false data
  4. Adds DateTimeColumn: a generalization of DateColumn that allows general datetimes. Extends previous functionality by also allowing multiple input formats, and the specification of a timezone into which parsed datetimes should be localized.

All new column types have tests added, too, all of which pass.

Also a handful of minor PEP257 fixes around docstrings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant