OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Show the (RefLink[Import, paclet:ref/Import]) elements available in an MTP sample file:

Import[ "ExampleData/oldfaithful.mtp" , "Elements"]

Import this file as a list of rules, each representing a labeled dataset:

Import[ "ExampleData/oldfaithful.mtp" , "LabeledData"]

Import[ "ExampleData/oldfaithful.mtp" , "TextData"]

Read all numerical data from this file as an array, typesetting the first 10 rows as a table:

Take[Import[ "ExampleData/oldfaithful.mtp" , "Data"] ,10]// TableForm

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Listing of All Formats, paclet:guide/ListingOfAllFormats])}, {▪(RefLinkPlain[Numerical Data Formats, paclet:guide/NumericalDataFormats])}})}})