Giter Club home page Giter Club logo

ds-class-intro's People

Contributors

emma-oc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ds-class-intro's Issues

Question for adding and removing a string for each line from a txt file

老师因为今天QA session有事所以就来这里问了,因为自己没什么coding基础所以就想到什么就会自己去试试能不能用code解决;问题如下

Question 1:
单纯好奇为什么这里elif会比else快
image

Question 2:
不知道code的问题出在哪里,或者老师有哪些推荐更合理的code来remove string
image

Question 3:
不知道下面的code问题出在哪里
with open('1.txt', 'r') as f:
file_lines = [''.join(['#', x.strip(), '\n']) for x in f.readlines() if not line.startswith("#")]
with open('1.txt', 'w') as f:
f.writelines(file_lines)

谢谢^

Issue

clone到本地之后,我的本地只有class 01,没有class 02.

The pandas book you mentioned in class

Hi Emma,

I'm curious what's the name of the pandas book you mentioned in the class that has a red cover and you said you have read through the whole book. Thanks.

And what other books you would recommend for data scientists overall, not only for data analyst but other parts like machine learning, coding, or statistic?

Thanks.

Confused about the branches

Hi Emma,

I got a bit confused about what I should be looking for in each branch. For instance, class01 branch has class 01, class 02 also has class01, class 04 has class01, class02, and class03. So is each branch an update from the last one? Does this mean I always look for the latest branch, e.g., class05, since it has all the contents from branches class01-04?

Also, there seems to be a new fold in the master branch that has the same content as other branches, should I just ignore branchs class01 - class05?

Thanks

图形操作界面的git (pull/stage/commit/push)-- SourceTree

同学们好,以下是我个人觉得比较方便的一个git 工具,可以非常直观方便地完成git 相关的操作。而且比较符合我们使用程序的习惯,只需要鼠标点击即可。

这款软件的名字叫做SourceTree. 下载链接如下:https://www.sourcetreeapp.com/.

下载并且注册完成之后,打开软件会看到这样的一个画面
image

首次使用我们需要将我们个人github 上的repo clone 下来,我们点击Clone
image
如上图, 第一栏我们输入github上自己repo 的clone 链接,第二栏是我本地新创建的一个文件的路径。

clone成功之我们可以看到这样的界面,
image

左边菜单栏里的“remote” 显示的就是我github上所有的branch,双击其中任何一个之后,本地的环境就会自动check out 对应的branch。如图所示,我双击了homework1 之后,我在本地文件做的任何改动都会最终对应到“homework” 这个branch 上。

当你做出任何改动的时候,sourcetree 就会侦测到,如下图,我创建了一个test.txt 的文件
image

我们只要相应地点击stage all, commit, push. 就可以将这一个改动,推送到我的github repo上
image

当我们的remote repo 有任何改动,然而我们的本地文件夹并没有跟上的时候,我们只需要点击“Pull” 即可。
image

希望上面的内容能对大家有所帮助

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.