pydata/pandas — Issue #870: nosetest failures in reshape
Author: welch
Created: 2012-03-06 01:22:25+00:00
State: open

I've just done a git clone/install of pandas on Mac OSX 10.6.8 after a fresh install of EPD_free-7.2 to get the dependencies. The build was successful, but in running nostests I get 27 failures, each bottoming out at:

File "/Users/welch/src/pandas/pandas/core/reshape.py", line 95, in _make_selectors
group_mask.put(group_index, True)
TypeError: array cannot be safely cast to required type

here are the failed tests:

test_crosstab_margins (pandas.tools.tests.test_pivot.TestCrosstab)
test_crosstab_multiple (pandas.tools.tests.test_pivot.TestCrosstab)
test_crosstab_ndarray (pandas.tools.tests.test_pivot.TestCrosstab)
test_crosstab_pass_values (pandas.tools.tests.test_pivot.TestCrosstab)
test_crosstab_single (pandas.tools.tests.test_pivot.TestCrosstab)
test_margins (pandas.tools.tests.test_pivot.TestPivotTable)
test_pivot_integer_columns (pandas.tools.tests.test_pivot.TestPivotTable)
test_pivot_multi_functions (pandas.tools.tests.test_pivot.TestPivotTable)
test_pivot_multi_values (pandas.tools.tests.test_pivot.TestPivotTable)
test_pivot_table (pandas.tools.tests.test_pivot.TestPivotTable)
test_pivot_table_multiple (pandas.tools.tests.test_pivot.TestPivotTable)
test_pivot (pandas.tests.test_frame.TestDataFrame)
test_pivot_empty (pandas.tests.test_frame.TestDataFrame)
test_stack_unstack (pandas.tests.test_frame.TestDataFrame)
test_unstack_to_series (pandas.tests.test_frame.TestDataFrame)
test_frame_describe_multikey (pandas.tests.test_groupby.TestGroupBy)
test_groupby_multiple_columns (pandas.tests.test_groupby.TestGroupBy)
test_stack (pandas.tests.test_multilevel.TestMultiLevel)
test_stack_level_name (pandas.tests.test_multilevel.TestMultiLevel)
test_stack_unstack_multiple (pandas.tests.test_multilevel.TestMultiLevel)
test_stack_unstack_preserve_names (pandas.tests.test_multilevel.TestMultiLevel)
test_unstack (pandas.tests.test_multilevel.TestMultiLevel)
test_unstack_bug (pandas.tests.test_multilevel.TestMultiLevel)
test_unstack_level_name (pandas.tests.test_multilevel.TestMultiLevel)
test_unstack_preserve_types (pandas.tests.test_multilevel.TestMultiLevel)
test_pivot (pandas.tests.test_panel.TestLongPanel)
test_unstack (pandas.tests.test_series.TestSeries)

Any advice for me?
(And is this the proper place for such a question?)