Navigation

  • index
  • modules |
  • next |
  • previous |
  • pandas 0.13.1 documentation »
  • API Reference »
  • pandas.Index »

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
  • Indexing and Selecting Data
  • Computational tools
  • Working with missing data
  • Group By: split-apply-combine
  • Merge, join, and concatenate
  • Reshaping and Pivot Tables
  • Time Series / Date functionality
  • Plotting with matplotlib
  • Trellis plotting interface
  • 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
  • Release Notes

Search

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

pandas.Index.compress¶

Index.compress(condition, axis=None, out=None)¶

Return selected slices of this array along given axis.

Refer to numpy.compress for full documentation.

See also

numpy.compress
equivalent function

Navigation

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