0

I want to change separators between columns on the picture you see as separator I want to change the separator from ; to \t but I dont know how.

Streamlit DataFrame with ";" as separators

import pandas as pd
from tkinter import Tk
from tkinter.filedialog import askopenfilenames
def funkcja():
    Tk().withdraw()
    filename = askopenfilenames()
    df = pd.read_csv(filename[0],sep='\t')
    return df
import streamlit as st
from sciezka import *

st.title('Welcome on DataFrame printing site')
st.write('On this website you can choose and analize files from your computer')

button = st.button('Pick fille')

if button is True:
    a = funkcja()
    st.write(a)
vinzee
  • 17,022
  • 14
  • 42
  • 60
mlodycezar
  • 11
  • 1

0 Answers0