Level 9 : What is the output of the below code?


import numpy as np
ar_1= np.array([3,5,7])
ar_2 = np.array([3,8,2])
arr = np.concatenate((ar_1, ar_2))
print(arr)

Author: anusha | Tags: numpy | 1859+ Python FAQs | Share
boolean | datatype | binary-operation | enumerate() | integer | reading:-read(),-readline(),-readlines() | operand | choice | mathematics | frozenset | list-method | built-in-function | asyncio-module | multiprocessing | filter-function | math | list-methods-and-slicing | encapsulation | list-operation | list-vs-tuple | identity-operators-(is,-is-not) | factorial-function | application | loop | match | arithmetic-operation | class-and-inheritance | advanced-file-operations | escape-operator | multiple-inheritance | append | file | method-overloading | loops | loop-control-statements | thread-safe-data-structures-(queue.queue) | stack | static-method | built-in-modules | membership-operators-(in,-not-in) | string-slicing | logical-operators | sys-module | type_conversion | thread-synchronization | virtual-environment | matrix | assignment-operator | input-function | error-handling | filter | assert | class-decorators | tuple | min-max-function | collections | list,-set,-and-dictionary-comprehensions | set | class-and-object | using-assertions-(assertequal,-assertraises) | arithmetic-expression | list-slicing | string-iteration | loop-control | floating-point-precision | gil | syntax-error | matrix-list-comprehension | list-mutation | init | multiple-inheritance | zfill-function | anchors-(^,-$) | sys | aggregating-data-with-functools.reduce() | comparison | shallow-copy | input | slicing | inheritance | using-lists-as-stacks | for | boolean-and-non-boolean | key-value-pairs | file_handling | mysql | handling-missing-values-(fillna,-dropna) | bitwise-operator | threading | slice | working-with-file-paths | working-with-binary-files-(rb,-wb) | recursion | time-series-with-pandas | introduction-to-python | access-modifier | multiple-except-blocks | call | basic | while-loop | format | built-in-function | working-with-temporary-files-using-tempfile | indexing:-loc-vs-iloc | tuple-unpacking | sum() | software-design | max-min | update | using-else-and-finally | thread | __init_subclass__ | odd-number | functional-programming | iterable | benefit | function | while-else-loop | function-argument | identity-operator | tuples | method | list | logical-operator | with-statement | yield | recurssion | swapping | invalid-list | __future__ | range | parsing-with-strptime | center | syntax-error | overflow | async | set-operation | bitwise | class | python_version | zip-function | numeric | filtering-and-indexing | boolean-masking | collection | else-statement | oop | sets | binary | integers | bitwise-operator | arbitrary-arguments-(*args,-**kwargs) | python-history | namespace | overriding-methods | type-conversion | using-os-and-pathlib-modules | operators | immutable-data-type | __all__-attribute | comment | asyncio | string-concatenation | array | numpy | list-join | built-in | operator-overloading | command-line-parsing | join | staticmethod | tuple-methods | classes | object-attribute | round-function | pep | reading-and-writing-files | string | lambda | list-comprehensions | virtual-environment | attribute | fabs-function | while-loops | package-management | generators | assignment-operators | booleans | polymorphism | creating-and-starting-threads | class-and-instance-variable | print-statement | python-syntax-and-structure | datetime.date,-datetime.time,-datetime.datetime | head-and-tail | debugging | exception | syntaxerror | single-inheritance | operator-or | while-and-for-loop | decorator | datetime | sorting | parameter | inherit | indexing | nested-loop | raise-statement | regular-expressions | generators-in-python | file-handling | default-mutable-argument | pass | python-module | descriptors | dictionary | quantifiers-(*,-+,-?,-{}) | python-repl | python-operators | conditional-statement | introduction-to-multiprocessing | compute | rollback | syntax | random | why-use-multiprocessing-over-threading?-(gil) | type-conversion-and-casting | lambdas | counter-function | data-type | conversion | complex | version | global-variable | reading-and-writing-large-files-efficiently | precedence-and-associativity | test-discovery | python | heap-memory | literal-characters-and-special-characters | difference-between-threads-and-processes | counter | condition | logical-operator | turtle | zip | name-mangling | expression | mapping-function | min-function | unit-testing | list-comprehension | round | library | string-slicing | regular-expression | split | indentation | data-type-conversions | regex | data-structure | context-manager | control-flow | exception-handling | formal-and-actual-parameter | intering | defining-functions | design-principle | constructor | destructor | type-conversion | conditional-statements | lists | joining-and-merging-dataframes | control-flow | error | conditional-statement | dataframe-and-series-objects | objects | creating-custom-modules | dictionaries | list-indexing | logical-operation | pandas | identity-operator | import-method | statement | string-manipulation | mutable | error-handling | else | using-join()-and-is_alive()-methods | python-django | dictionary-comprehensions | sorted | namedtuple | scientific-notation | input-function | return-statement | map-function | functions | lambda-function | print | using-yield-in-functions | global | dicts | operations | string-methods | iterator | matplotlib | writing:-write(),-writelines() | opening-files-(open()) | installation | sum-function | higher-order-function | control-statement | floats | data-structures | raise | using-map()-for-transformations | data_structure | precedence | exception-handling | complex-number | docstring | variable | id-function | implementation | default-arguments | exponentiation | directory-operations | string-method | data-structure | goto-function | string-formatting | global-variable | formatting-with-strftime | data-structures-in-python | postfix | functional-programming | data-types | iterators | deep-copy | def | lambda-functions | generator | sorting-and-ranking | immutability | interpreter | comprehension | strings | copy | data-type | dictionary-methods | feature | encoding | file-handling | pickling--unpickling | memory | keyword | memory-management | expand-tab | identifier | function-and-scope | list-comprehension | int | mathematical-function | introduction-to-threads | global-keyword | walking-through-directories-using-os.walk() | string-method | working-with-dates-and-times | math-copysign | touples | operator-and | oops | managing-directories-with-os-and-shutil | methods | typeerror | multithreading | using-the-threading-module | magic-method | version-check | module | operator | random-function | string-formatting | pseudocode | decimal ...