Navigation

  • index
  • modules |
  • next |
  • previous |
  • pandas 0.15.0 documentation »
  • API Reference »
  • pandas.core.categorical.Categorical »

Table Of Contents

  • What’s New
  • Installation
  • Frequently Asked Questions (FAQ)
  • Package overview
  • 10 Minutes to pandas
  • Tutorials
  • Cookbook
  • Intro to Data Structures
  • Essential Basic Functionality
  • Working with Text Data
  • Options and Settings
  • Indexing and Selecting Data
  • MultiIndex / Advanced Indexing
  • Computational tools
  • Working with missing data
  • Group By: split-apply-combine
  • Merge, join, and concatenate
  • Reshaping and Pivot Tables
  • Time Series / Date functionality
  • Time Deltas
  • Categorical Data
  • Plotting
  • IO Tools (Text, CSV, HDF5, ...)
  • Remote Data Access
  • Enhancing Performance
  • Sparse data structures
  • Caveats and Gotchas
  • rpy2 / R interface
  • pandas Ecosystem
  • Comparison with R / R libraries
  • Comparison with SQL
  • API Reference
  • Contributing to pandas
  • Internals
  • Release Notes

Search

Enter search terms or a module, class or function name.

pandas.core.categorical.Categorical.codes¶

Categorical.codes¶

The category codes of this categorical.

Level codes are an array if integer which are the positions of the real values in the categories array.

There is not setter, use the other categorical methods and the normal item setter to change values in the categorical.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • pandas 0.15.0 documentation »
  • API Reference »
  • pandas.core.categorical.Categorical »
© Copyright 2008-2014, the pandas development team. Created using Sphinx 1.1.3.