Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about lecture 13 and 14 materials: biopython #35

Open
k8hertweck opened this issue Nov 12, 2019 · 5 comments
Open

Questions about lecture 13 and 14 materials: biopython #35

k8hertweck opened this issue Nov 12, 2019 · 5 comments
Labels
question general questions about lecture/material

Comments

@k8hertweck
Copy link
Collaborator

@jbloom and I are happy to answer general questions about the biopython. For questions on homework 6, please use #34

@k8hertweck k8hertweck added the question general questions about lecture/material label Nov 12, 2019
@elizabeth303
Copy link

When I try to rename my dataframe columns I keep getting this error 'function' object has no attribute 'rename'

@jbloom
Copy link
Contributor

jbloom commented Nov 17, 2019

@elizabeth303: Can you post the exact code you are using that is giving this error?

@elizabeth303
Copy link

df_na = df_na.rename(columns={'index': 'barcode', 0: 'counts'})

@elizabeth303
Copy link

I have my sequence data in a dataframe. I just cant seem to rename it

@jbloom
Copy link
Contributor

jbloom commented Nov 17, 2019

What are the contents of df_na. For instance, what do you get if you just put:

df_na

in the last cell of a Jupyter notebook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question general questions about lecture/material
Projects
None yet
Development

No branches or pull requests

3 participants