The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
Loan_Identifier: string
Monthly_Reporting_Period: date32[day]
Channel: string
Seller_Name: string
Original_Interest_Rate: double
Original_UPB: double
Original_Loan_Term: int32
Origination_Date: timestamp[us]
First_Payment_Date: timestamp[us]
Loan_Age: int64
Maturity_Date: timestamp[us]
Original_Loan_to_Value_Ratio_LTV: int32
Original_Combined_Loan_to_Value_Ratio_CLTV: int32
Number_of_Borrowers: int32
Debt_To_Income_DTI: int32
Borrower_Credit_Score_at_Origination: int32
Co_Borrower_Credit_Score_at_Origination: int32
has_coborrower: int32
First_Time_Home_Buyer_Indicator: string
Loan_Purpose: string
Property_Type: string
Number_of_Units: int32
Occupancy_Status: string
Property_State: string
MSA_or_MSDA: string
Zip_Code_Short: string
Mortgage_Insurance_Percentage: double
Amortization_Type: string
Prepayment_Penalty_Indicator: string
Interest_Only_Loan_Indicator: string
Loan_Payment_History: string
Total_Principal_Current: float
Mortgage_Insurance_Type: int32
Servicing_Activity_Indicator: string
Special_Eligibility_Program: string
Relocation_Mortgage_Indicator: string
Property_Valuation_Method: string
High_Balance_Loan_Indicator: string
HLTV_Refinance_Option_Indicator: string
Payment_Deferral_Modification_Event_Indicator: string
Servicer_Name: string
Current_Interest_Rate: double
Current_Actual_UPB: double
Remaining_Months_to_Legal_Maturity: int32
Remaining_Months_To_Maturity: int32
Current_Loan_Delinquency_Status: string
Modification_Flag: string
Borrower_Assistance_Plan: string
Alternative_Delinquency_Resolution: string
to
{'Loan_Identifier': Value('string'), 'Monthly_Reporting_Period': Value('date32'), 'Channel': Value('string'), 'Seller_Name': Value('string'), 'Original_Interest_Rate': Value('float64'), 'Original_UPB': Value('float64'), 'Original_Loan_Term': Value('int32'), 'Origination_Date': Value('timestamp[us]'), 'First_Payment_Date': Value('timestamp[us]'), 'Loan_Age': Value('int64'), 'Maturity_Date': Value('timestamp[us]'), 'Original_Loan_to_Value_Ratio_LTV': Value('int32'), 'Original_Combined_Loan_to_Value_Ratio_CLTV': Value('int32'), 'Number_of_Borrowers': Value('int32'), 'Debt_To_Income_DTI': Value('int32'), 'Borrower_Credit_Score_at_Origination': Value('int32'), 'Co_Borrower_Credit_Score_at_Origination': Value('int32'), 'has_coborrower': Value('int32'), 'First_Time_Home_Buyer_Indicator': Value('string'), 'Loan_Purpose': Value('string'), 'Property_Type': Value('string'), 'Number_of_Units': Value('int32'), 'Occupancy_Status': Value('string'), 'Property_State': Value('string'), 'MSA_or_MSDA': Value('string'), 'Zip_Code_Short': Value('string'), 'Mortgage_Insurance_Percentage': Value('float64'), 'Amortization_Type': Value('string'), 'Prepayment_Penalty_Indicator': Value('string'), 'Interest_Only_Loan_Indicator': Value('string'), 'Loan_Payment_History': Value('string'), 'Total_Principal_Current': Value('float32'), 'Mortgage_Insurance_Type': Value('int32'), 'Servicing_Activity_Indicator': Value('string'), 'Special_Eligibility_Program': Value('string'), 'Relocation_Mortgage_Indicator': Value('string'), 'Property_Valuation_Method': Value('string'), 'High_Balance_Loan_Indicator': Value('string'), 'HLTV_Refinance_Option_Indicator': Value('string'), 'Payment_Deferral_Modification_Event_Indicator': Value('string'), 'locf_Servicer_Name': Value('string'), 'locf_Current_Interest_Rate': Value('float64'), 'locf_Current_Actual_UPB': Value('float64'), 'locf_Remaining_Months_to_Legal_Maturity': Value('int32'), 'locf_Remaining_Months_To_Maturity': Value('int32'), 'locf_Current_Loan_Delinquency_Status': Value('string'), 'locf_Modification_Flag': Value('string'), 'locf_Borrower_Assistance_Plan': Value('string'), 'locf_Alternative_Delinquency_Resolution': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2543, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2083, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 544, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 383, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/parquet/parquet.py", line 180, in _generate_tables
yield Key(file_idx, batch_idx), self._cast_table(pa_table)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/parquet/parquet.py", line 143, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Loan_Identifier: string
Monthly_Reporting_Period: date32[day]
Channel: string
Seller_Name: string
Original_Interest_Rate: double
Original_UPB: double
Original_Loan_Term: int32
Origination_Date: timestamp[us]
First_Payment_Date: timestamp[us]
Loan_Age: int64
Maturity_Date: timestamp[us]
Original_Loan_to_Value_Ratio_LTV: int32
Original_Combined_Loan_to_Value_Ratio_CLTV: int32
Number_of_Borrowers: int32
Debt_To_Income_DTI: int32
Borrower_Credit_Score_at_Origination: int32
Co_Borrower_Credit_Score_at_Origination: int32
has_coborrower: int32
First_Time_Home_Buyer_Indicator: string
Loan_Purpose: string
Property_Type: string
Number_of_Units: int32
Occupancy_Status: string
Property_State: string
MSA_or_MSDA: string
Zip_Code_Short: string
Mortgage_Insurance_Percentage: double
Amortization_Type: string
Prepayment_Penalty_Indicator: string
Interest_Only_Loan_Indicator: string
Loan_Payment_History: string
Total_Principal_Current: float
Mortgage_Insurance_Type: int32
Servicing_Activity_Indicator: string
Special_Eligibility_Program: string
Relocation_Mortgage_Indicator: string
Property_Valuation_Method: string
High_Balance_Loan_Indicator: string
HLTV_Refinance_Option_Indicator: string
Payment_Deferral_Modification_Event_Indicator: string
Servicer_Name: string
Current_Interest_Rate: double
Current_Actual_UPB: double
Remaining_Months_to_Legal_Maturity: int32
Remaining_Months_To_Maturity: int32
Current_Loan_Delinquency_Status: string
Modification_Flag: string
Borrower_Assistance_Plan: string
Alternative_Delinquency_Resolution: string
to
{'Loan_Identifier': Value('string'), 'Monthly_Reporting_Period': Value('date32'), 'Channel': Value('string'), 'Seller_Name': Value('string'), 'Original_Interest_Rate': Value('float64'), 'Original_UPB': Value('float64'), 'Original_Loan_Term': Value('int32'), 'Origination_Date': Value('timestamp[us]'), 'First_Payment_Date': Value('timestamp[us]'), 'Loan_Age': Value('int64'), 'Maturity_Date': Value('timestamp[us]'), 'Original_Loan_to_Value_Ratio_LTV': Value('int32'), 'Original_Combined_Loan_to_Value_Ratio_CLTV': Value('int32'), 'Number_of_Borrowers': Value('int32'), 'Debt_To_Income_DTI': Value('int32'), 'Borrower_Credit_Score_at_Origination': Value('int32'), 'Co_Borrower_Credit_Score_at_Origination': Value('int32'), 'has_coborrower': Value('int32'), 'First_Time_Home_Buyer_Indicator': Value('string'), 'Loan_Purpose': Value('string'), 'Property_Type': Value('string'), 'Number_of_Units': Value('int32'), 'Occupancy_Status': Value('string'), 'Property_State': Value('string'), 'MSA_or_MSDA': Value('string'), 'Zip_Code_Short': Value('string'), 'Mortgage_Insurance_Percentage': Value('float64'), 'Amortization_Type': Value('string'), 'Prepayment_Penalty_Indicator': Value('string'), 'Interest_Only_Loan_Indicator': Value('string'), 'Loan_Payment_History': Value('string'), 'Total_Principal_Current': Value('float32'), 'Mortgage_Insurance_Type': Value('int32'), 'Servicing_Activity_Indicator': Value('string'), 'Special_Eligibility_Program': Value('string'), 'Relocation_Mortgage_Indicator': Value('string'), 'Property_Valuation_Method': Value('string'), 'High_Balance_Loan_Indicator': Value('string'), 'HLTV_Refinance_Option_Indicator': Value('string'), 'Payment_Deferral_Modification_Event_Indicator': Value('string'), 'locf_Servicer_Name': Value('string'), 'locf_Current_Interest_Rate': Value('float64'), 'locf_Current_Actual_UPB': Value('float64'), 'locf_Remaining_Months_to_Legal_Maturity': Value('int32'), 'locf_Remaining_Months_To_Maturity': Value('int32'), 'locf_Current_Loan_Delinquency_Status': Value('string'), 'locf_Modification_Flag': Value('string'), 'locf_Borrower_Assistance_Plan': Value('string'), 'locf_Alternative_Delinquency_Resolution': Value('string')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
- Downloads last month
- 9