Category : pycharm

I recently copy pasted a project to a new location along with its venv so that I wouldn’t have to redo everything. I can set up the venv in the settings by doing Settings|Project: Interpreter and then setting it to the venv path. However, I noticed that when doing pip commands in the pycharm terminal, ..

Read more

Inside one of my sheets on excell I have 2 columns(Sample/Population) that I need to count the number of rows. And I need to count them on pycharm using pandas. How can I do that? I tried this but did not work: import pandas as pd x = pd.read_excel(r"C:UsersnanPycharmProjectsgiraffeGENERA.xlsx", sheet_name=["Sample Info"], engine="openpyxl") print(pd.value_counts(x["Sample"])) print(pd.value_counts(x["Population"])) giving ..

Read more