Answers for "read dat file python"

3

read .dat python

import numpy as np
sed = np.loadtxt('spectra.dat', unpack = True)
Posted by: Guest on June-03-2020
0

read a data file in python

import pandas as pd

df = pd.read_csv('data.csv')

print(df.to_string())
Posted by: Guest on April-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language