open in google colab a .dat code example
Example: stackoverflow - import data on colabs
import csv
from google.colab import drive
drive.mount('/content/gdrive')
df = pd.read_csv('/content/gdrive/My Drive/My_drive_folder/my_file.csv', sep=',')
import csv
from google.colab import drive
drive.mount('/content/gdrive')
df = pd.read_csv('/content/gdrive/My Drive/My_drive_folder/my_file.csv', sep=',')