I have a .csv file in an AWS machine i wanted to convert that .csv file to .dat file? Can you please help me?

Swetha. G

Instead of saving the dataframe to .CSV file i used below code to save dataframe into .dat file directly helped me to resolve the question.

import pandas as pd

how to csv to extractng the natural frequency and mode shapes out of the accelerometer data