<s> import pandas as pd <EOL> from . . reindex import reindex <EOL> def test_reindex ( ) : <EOL> s = pd . Series ( [ <NUM_LIT> , <NUM_LIT:1.0> , <NUM_LIT> ] , index = [ <NUM_LIT:2> , <NUM_LIT:1> , <NUM_LIT:3> ] ) <EOL> s2 = pd . Series ( [ <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:3> ] , index = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] ) <EOL> assert list ( reindex ( s , s2 ) . values ) == [ <NUM_LIT:1.0> , <NUM_LIT> , <NUM_LIT> ] </s>
