INFACore
- INFACore
- All Products
import informatica.infacore as ic pf = ic.ParserFunctions() parser_data = pf.parse_unstructured_data("C:\\Users\\John\\Documents\\FF_SOURCES\\json_input.json", "C:\\Users\\John\\Documents\\FF_SOURCES\\sample_schema.txt")
For more information, see thedf_reader = ic.DataFrameReader(parser_data) p_df = df_reader.to_pandas() p_df.head()
State
| Account Length
| Area Code
| Phone
| Int'l Plan
| VMail Plan
| VMail Message
| token
| Mins
| Calls
| Charge
| CustServ Calls
| Churn
|
PA
| 163
| 806
| 403-2562
| no
| yes
| 300
| Day
| 8.162204
| 3
| 7.579174
| 3
| True.
|
PA
| 163
| 806
| 403-2562
| no
| yes
| 300
| Eve
| 3.933035
| 4
| 6.508639
| 3
| True.
|
PA
| 163
| 806
| 403-2562
| no
| yes
| 300
| Night
| 4.065759
| 100
| 5.111624
| 3
| True.
|
PA
| 163
| 806
| 403-2562
| no
| yes
| 300
| Intl
| 4.92816
| 6
| 5.673203
| 3
| True.
|
SC
| 15
| 836
| 158-8416
| yes
| no
| 0
| Day
| 10.018993
| 4
| 4.226289
| 8
| False.
|