Module ImportFrom alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Import alias Import alias Import alias ImportFrom alias alias Import alias ImportFrom alias alias alias ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad Str ListLoad Num Num Num ListLoad Num Num Num Index ListLoad Str Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword Str Assign NameStore NameLoad Assign NameStore NameLoad With Call NameLoad Call NameLoad Str NameStore body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Index Str Assign NameStore BinOpAdd NameLoad Str FunctionDef arguments args defaults body With Call NameLoad Str NameStore body With Call NameLoad NameLoad keyword Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Yield NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body With Call NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad NameLoad TryFinally body Expr Yield NameLoad finalbody Expr Call NameLoad Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body TryExcept body Assign NameStore Call NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse TryExcept body Assign NameStore AttributeLoad AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr attr attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If UnaryOpNot Call NameLoad GeneratorExp BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Str comprehension NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Yield NameLoad decorator_list NameLoad Assign NameStore Str Assign NameStore GeneratorExp BinOpMod Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Assert Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Assert Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body With Call NameLoad Str NameStore body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad Str NameStore body With Call NameLoad Str NameStore body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad Str NameStore body With Call NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body With Call NameLoad Str NameStore body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str With Call NameLoad Str NameStore body With Call NameLoad Str NameStore body With Call NameLoad NameLoad keyword Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body With Call NameLoad Str NameStore body With Call NameLoad NameLoad keyword Str NameStore body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call NameLoad Str NameStore body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq NameLoad ListLoad Str Str Str Str Str Str Str Assign NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad Assert CompareEq NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body With Call NameLoad Str NameStore body Assign NameStore Call NameLoad BinOpMod Str NameLoad NameLoad keyword Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str ListLoad BinOpMult BinOpMult Str Num BinOpPow Num Num With Call NameLoad Str NameStore body With Call NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str keyword NameLoad TupleLoad Str Str
N/A __future__ print_function N/A pytest N/A sys N/A pytestmark N/A N/A N/A pytest mark skipif N/A N/A sys platform win32 reason Requires Mac or Linux N/A boto N/A N/A pytest importorskip boto N/A os N/A itertools N/A json contextlib contextmanager closing N/A datashape datashape string float64 int64 datashape.util.testing assert_dshape_equal N/A pandas pd N/A pandas.util.testing tm odo into resource S3 discover CSV drop append odo odo.backends.aws get_s3_connection odo.utils tmpfile odo.compatibility urlopen boto.exception S3ResponseError NoAuthHandlerFound N/A tips_uri s3://nyqpug/tips.csv N/A df N/A N/A N/A pd DataFrame N/A a b c N/A list abc N/A 1 2 3 N/A 1.0 2.0 3.0 N/A N/A a b c N/A js N/A N/A N/A N/A pd io json loads N/A N/A N/A N/A pd io json dumps df orient records N/A is_authorized False N/A tried False N/A N/A closing N/A urlopen http://httpbin.org/ip url N/A N/A public_ip N/A N/A N/A json loads N/A N/A N/A N/A url read decode N/A origin N/A cidrip N/A public_ip /32 tmpcsv N/A N/A N/A N/A N/A N/A tmpfile .csv fn N/A N/A N/A open fn mode w f N/A N/A N/A N/A df to_csv f index False N/A N/A fn N/A N/A pytest yield_fixture s3_bucket N/A N/A extension N/A N/A N/A N/A conn N/A N/A b N/A s3://%s/%s%s N/A test_bucket_name N/A next _tmps extension N/A N/A N/A N/A b N/A N/A N/A drop N/A resource b N/A contextmanager conn N/A N/A N/A N/A N/A N/A N/A conn N/A get_s3_connection N/A N/A N/A S3ResponseError N/A N/A N/A N/A pytest skip unable to connect to s3 N/A N/A N/A N/A grants N/A N/A N/A N/A N/A N/A conn get_bucket test_bucket_name get_acl acl grants N/A N/A N/A S3ResponseError N/A N/A N/A N/A pytest skip N/A no permission to read on bucket %s test_bucket_name N/A N/A N/A N/A any N/A N/A N/A N/A g permission FULL_CONTROL N/A N/A g permission READ N/A g grants N/A N/A N/A N/A pytest skip N/A no permission to read on bucket %s test_bucket_name N/A N/A N/A conn N/A contextmanager N/A test_bucket_name into-redshift-csvs N/A _tmps N/A N/A tmp%d i N/A i N/A N/A itertools count test_s3_resource N/A N/A N/A N/A N/A csv N/A resource tips_uri N/A N/A isinstance csv N/A S3 CSV N/A test_s3_discover N/A N/A N/A N/A N/A csv N/A resource tips_uri N/A N/A isinstance N/A discover csv N/A datashape DataShape N/A test_s3_to_local_csv N/A N/A N/A N/A N/A N/A tmpfile .csv fn N/A N/A csv N/A into fn tips_uri N/A path N/A N/A N/A os path abspath N/A csv path N/A N/A N/A N/A os path exists path N/A test_csv_to_s3_append N/A N/A N/A N/A N/A df N/A N/A tm makeMixedDataFrame N/A N/A tmpfile .csv fn N/A N/A N/A s3_bucket .csv b N/A N/A s3 N/A resource b N/A N/A N/A df to_csv fn index False N/A N/A append s3 N/A CSV fn N/A result N/A into N/A pd DataFrame s3 N/A N/A N/A tm assert_frame_equal df result N/A test_csv_to_s3_into N/A N/A N/A N/A N/A df N/A N/A tm makeMixedDataFrame N/A N/A tmpfile .csv fn N/A N/A N/A s3_bucket .csv b N/A N/A N/A N/A df to_csv fn index False N/A s3 N/A into b N/A CSV fn N/A result N/A into N/A pd DataFrame s3 N/A N/A N/A tm assert_frame_equal df result N/A test_frame_to_s3_to_frame N/A N/A N/A N/A N/A N/A s3_bucket .csv b N/A N/A s3_csv N/A into b df N/A result N/A into N/A pd DataFrame s3_csv N/A N/A N/A tm assert_frame_equal result df N/A test_textfile_to_s3 N/A N/A N/A N/A N/A text A cow jumped over the moon N/A N/A tmpfile .txt fn N/A N/A N/A s3_bucket .txt b N/A N/A N/A open fn mode w f N/A N/A N/A N/A f write N/A N/A N/A os linesep join N/A N/A text split N/A result N/A into b N/A resource fn N/A N/A N/A discover result N/A N/A datashape dshape var * string N/A test_jsonlines_to_s3 N/A N/A N/A N/A N/A N/A tmpfile .json fn N/A N/A N/A open fn mode w f N/A N/A row js N/A N/A N/A N/A f write N/A N/A N/A N/A pd io json dumps row N/A N/A N/A f write N/A os linesep N/A N/A s3_bucket .json b N/A N/A result N/A into b N/A resource fn N/A N/A N/A discover result N/A discover js N/A test_s3_jsonlines_discover N/A N/A N/A N/A N/A json_dshape N/A discover N/A resource s3://nyqpug/tips.json N/A names N/A list N/A map str N/A sorted N/A N/A json_dshape measure names N/A N/A names N/A day sex size smoker time tip total_bill N/A types N/A N/A N/A json_dshape measure N/A name N/A name names N/A N/A types N/A string string int64 string string float64 float64 N/A test_s3_csv_discover N/A N/A N/A N/A N/A result N/A discover N/A resource s3://nyqpug/tips.csv N/A expected N/A N/A datashape dshape var * {
      total_bill: float64,
      tip: float64,
      sex: ?string,
      smoker: ?string,
      day: ?string,
      time: ?string,
      size: int64
      } N/A N/A assert_dshape_equal result expected N/A test_s3_gz_csv_discover N/A N/A N/A N/A N/A result N/A discover N/A N/A S3 CSV s3://nyqpug/tips.gz N/A expected N/A N/A datashape dshape var * {
      total_bill: float64,
      tip: float64,
      sex: ?string,
      smoker: ?string,
      day: ?string,
      time: ?string,
      size: int64
      } N/A N/A assert_dshape_equal result expected N/A test_s3_to_sqlite N/A N/A N/A N/A N/A N/A tmpfile .db fn N/A N/A tb N/A into N/A sqlite:///%s::tips fn tips_uri dshape N/A discover N/A resource tips_uri N/A lhs N/A into list tb N/A N/A lhs N/A into list tips_uri N/A test_csv_to_s3__using_multipart_upload N/A N/A N/A N/A N/A df N/A N/A pd DataFrame N/A a N/A N/A N/A * 5 N/A 1024 2 N/A N/A tmpfile .csv fn N/A N/A N/A s3_bucket .csv b N/A N/A N/A N/A df to_csv fn index False N/A s3 N/A into b N/A CSV fn multipart True N/A result N/A into N/A pd DataFrame s3 N/A N/A N/A tm assert_frame_equal df result N/A test_chunks_of_s3 N/A N/A prefix suffix N/A N/A N/A uri N/A N/A s3://nyqpug/{}*{} format prefix suffix N/A result N/A resource uri N/A N/A N/A len N/A result data 2 N/A expected N/A odo tips_uri N/A pd DataFrame N/A N/A N/A tm assert_frame_equal N/A odo result N/A pd DataFrame expected N/A N/A N/A N/A pytest mark parametrize N/A prefix suffix N/A N/A N/A N/A pytest mark xfail N/A xa raises NotImplementedError N/A za .csv