Untitled
Guest 424 11th May, 2022
with open('tekst1.txt', 'r+',encoding='UTF8') as f:
s = f.read()
f.seek(7)
f.write('Olsztyn')
print(f.closed)
# next zad
import numpy as np
data = np.genfromtxt('jajka.csv', delimiter=";", dtype=None,encoding='Windows-1250')
data = np.char.replace(data,',','-')
print(type(data))
data[data=='']='nan'
print(data)
prices =data[1::,1::].astype(float)
print(prices)
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
- Untitled
Markup | 19 | 6 hours ago
- Untitled
Markup | 22 | 8 hours ago
- Wanted to see what your conviction is on this theme
Markdown | 12 | 9 hours ago
- Untitled
Markup | 63 | 1 day ago
- mega555kf7lsmb54yd6etzginolhxxi4ytdoma2rf77ngq55fhfcnyid.onion
Template Toolkit 2 | 24 | 1 day ago
- Untitled
Markup | 70 | 2 days ago
- Untitled
Markup | 76 | 2 days ago