# How to save a checkpoint with runtime\_parameter:{"batch\_data": pandasdataframe}

**URL:** <https://discourse.greatexpectations.io/t/how-to-save-a-checkpoint-with-runtime-parameter-batch-data-pandasdataframe/895>\
**Category:** Archive\
**Tags:** how-to, help-wanted\
**Created:** [October 7, 2021, 10:27am UTC](https://discourse.greatexpectations.io/t/how-to-save-a-checkpoint-with-runtime-parameter-batch-data-pandasdataframe/895 "2021-10-07T10:27:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mudit](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@Mudit](https://discourse.greatexpectations.io/u/Mudit)\
**Post date:** [October 7, 2021, 10:27am UTC](https://discourse.greatexpectations.io/t/how-to-save-a-checkpoint-with-runtime-parameter-batch-data-pandasdataframe/895/1 "2021-10-07T10:27:35Z")

</div>

Hi I am trying to save a checkpoint and I am working with in memory dataframe (pandas)

Here is my batch request : -  
batch\_request = RuntimeBatchRequest(  
datasource\_name=“large\_\_dir”,  
data\_connector\_name=“default\_runtime\_data\_connector\_name”,  
data\_asset\_name=“largeDataAssets”, # This can be anything that identifies this data\_asset for you  
runtime\_parameters={“batch\_data”: temptable}, # df is your dataframe  
batch\_identifiers={“default\_identifier\_name”: “default\_identifier”},  
)

Here is my checkpoint configuration: -  
my\_checkpoint\_config = {  
“class\_name”: “SimpleCheckpoint”,  
“run\_name\_template”: “%Y%m%d-%H%M%S-my-run-name-template”,  
“validations”: [  
{  
“batch\_request”: {  
“datasource\_name”: “large\_\_dir”,  
“data\_connector\_name”: “default\_runtime\_data\_connector\_name”,  
“data\_asset\_name”: “data\_asset\_name”,  
“runtime\_parameters”:{“batch\_data”: temptable},  
“batch\_identifiers”:{“default\_identifier\_name”: “default\_identifier”},  
},  
“expectation\_suite\_name”: “Ex\_suite”  
}  
]  
}

context.add\_checkpoint(\*\*my\_checkpoint\_config) ### not working kernel is stucking at this line… Is this a bug or what is the procedure to save a checkpoint
