Skip to content

Instantly share code, notes, and snippets.

View chrishwiggins's full-sized avatar

chris wiggins chrishwiggins

View GitHub Profile
import numpy as np
import matplotlib.pyplot as plt
def simulate_market_shares(n_firms, n_periods, volatility):
shares = np.random.dirichlet(np.ones(n_firms), n_periods)
# Apply some smoothing to simulate persistence
for t in range(1, n_periods):
shares[t] = shares[t - 1] + volatility * (shares[t] - shares[t - 1])
return shares
CS-
CS-108 Fundamentals of Computer Engineering
CS-109 Computer Programming
CS-111 Object Oriented Programming
CS-211 Discrete Structures
CS-212 Computer Organization & Design
CS-214 Digital Logic Design
CS-215 Signals and Systems
CS-216 Data Structures & Algorithms
CS-108 Fundamentals of Computer Engineering 2 1 3
CS-111 Object Oriented Programming 2 1 3
CS-109 Computer Programming 2 1 3
EL-102 Basic Electronics 3 1 4
EE-120 Basic Electrical Engineering 3 1 4
PH-122 Applied Physics 3 1 4
MT-114 Calculus 3 0 3
This file has been truncated, but you can view the full file.
THE SONNETS
by William Shakespeare
1
From fairest creatures we desire increase,
That thereby beauty's rose might never die,

In the beginning God created the heaven and the earth. And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters. And God said, Let there be light: and there was light. And God saw the light, that it was good: and God divided the light from the darkness. And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day. And God said, Let there be a firmament in the midst of the waters, and let it divide the waters from the waters. And God made the firmament, and divided the waters which were under the firmament from the waters which were above the firmament: and it was so. And God called the firmament Heaven. And the evening and the morning were the second day. And God said, Let the waters under the heaven be gathered together unto one place, and let the dry land appear: and it was so. And God called the dry land Earth; and the gathering together of the waters called he Seas: an

We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 43 columns, instead of 35 in line 6.
Seat No.,PH-121,HS-101,CY-105,HS-105/12,MT-111,CS-105,CS-106,EL-102,EE-119,ME-107,CS-107,HS-205/20,MT-222,EE-222,MT-224,CS-210,CS-211,CS-203,CS-214,EE-217,CS-212,CS-215,MT-331,EF-303,HS-304,CS-301,CS-302,TC-383,MT-442,EL-332,CS-318,CS-306,CS-312,CS-317,CS-403,CS-421,CS-406,CS-414,CS-419,CS-423,CS-412,CGPA
CS-97001,B-,D+,C-,C,C-,D+,D,C-,B-,C-,C-,B+,D,A-,B-,C+,D+,D+,D,A,D,C-,C,C-,C+,B,C,C+,B+,C,C-,C,C-,C-,C-,C-,A-,A,C-,B,A-,2.205
CS-97002,A,D,D+,D,B-,C,D,A,D+,D,B+,C+,B-,C-,D+,D+,D,C,D,B-,C,D,D+,D,C-,A-,D+,C-,C-,C,A-,D,D+,D,C,D,A-,B-,C,C,B,2.008
CS-97003,A,B,A,B-,B+,A,B-,B+,A-,A-,B-,A-,A,A,A,A,A+,A,A-,A,A-,A,A,C+,A,B+,A-,B,A,B+,A-,A-,B,B,A,C,A,A,A,A-,A,3.608
CS-97004,D,C+,D+,D,D,A-,D+,C-,D,C+,D,B,D+,B-,D,C,B+,C+,D,D+,D,D,D+,D,B-,D,B-,D+,C-,D+,B+,C-,D+,C,D+,C-,B-,B,C+,C+,C+,1.906
CS-97005,A-,A-,A-,B+,A,A,A-,B+,A,A-,C,A,A,A-,A-,A-,B-,A,A-,A,A-,A-,C+,C-,A-,B-,A-,C+,A-,A-,B-,A-,B-,B+,B+,B-,A-,A,A-,A-,A,3.448
CS-97006,A,B-,B,D+,C+,A-,C+,B,B+,B+,C-,A-,B-,B+,A-,B+,B,A-,B,A-,A-,C+,B+,C-,A-,B-,C+,B,A-,A-,B-,B+,C,B-
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://www.opengis.net/kml/2.2'>
<Document>
<Style id='Style2-point-1'>
<IconStyle>
<Icon>
<href>http://maps.google.com/mapfiles/kml/paddle/red-circle.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://www.opengis.net/kml/2.2'>
<Document>
<Placemark>
<snippet></snippet>
<description><![CDATA[<div class="googft-info-window" style="font-family:sans-serif">
<b>count:</b> 3
</div>]]></description>
<ExtendedData>
<Data name=''>